firefox-2-dev lists wrong directory in .pc files

Bug #224611 reported by j^
4
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
Won't Fix
High
Unassigned

Bug Description

many .pc files shipped with firefox-2-dev list
/usr/lib/firefox-2 instead of /usr/lib/firefox in there pkg-config files.
and so its not possible to link against firefox-2-dev uding pkg-config.

 grep usr/lib/firefox-2 /usr/lib/pkgconfig/*.pc

to see which ones

replacing /usr/lib/firefox-2 with /usr/lib/firefox i am able to build my plugin again

the .pc files should list existing folder.

this is in ubuntu/hardy using firefox-2-dev version 2.0.0.14+2nobinonly-0ubuntu1

Revision history for this message
Alexander Sack (asac) wrote : Re: [Bug 224611] [NEW] firefox-2-dev lists wrong directory in .pc files

On Wed, Apr 30, 2008 at 10:19:37AM -0000, Launchpad Bug Tracker wrote:
> You have been subscribed to a public bug:
>
> many .pc files shipped with firefox-2-dev list
> /usr/lib/firefox-2 instead of /usr/lib/firefox in there pkg-config files.
> and so its not possible to link against firefox-2-dev uding pkg-config.
>
> grep usr/lib/firefox-2 /usr/lib/pkgconfig/*.pc
>
> to see which ones
>
> replacing /usr/lib/firefox-2 with /usr/lib/firefox i am able to build my plugin again
>
> the .pc files should list existing folder.
>
> this is in ubuntu/hardy using firefox-2-dev version 2.0.0.14+2nobinonly-
> 0ubuntu1
>

right ... we should either ship a link or fix the .pc files. patches
welcome

 status triaged
 importance high

 - Alexander

Changed in firefox:
importance: Undecided → High
status: New → Triaged
Revision history for this message
Cesare Tirabassi (norsetto) wrote :

The attached patch just hardcodes the "right" directories instead of using the configuration variables mozappdir or includedir.
It is untested but I see no reason why it shouldn't work?

Revision history for this message
Alexander Sack (asac) wrote :

what about idldir?

Revision history for this message
Cesare Tirabassi (norsetto) wrote :

That is only used in /usr/lib/pkgconfig/firefox-2-xpcom.pc, I have no idea what uses it has. If that also needs patching, than the attached one will do.

Revision history for this message
Alexander Sack (asac) wrote : Re: [Bug 224611] Re: firefox-2-dev lists wrong directory in .pc files

On Mon, May 26, 2008 at 04:38:35PM -0000, Cesare Tirabassi wrote:
> That is only used in /usr/lib/pkgconfig/firefox-2-xpcom.pc, I have no
> idea what uses it has. If that also needs patching, than the attached
> one will do.
>
> ** Attachment added: "Untested patch to mozilla/build/unix/Makefile.in; includes hacked idldir"
> http://launchpadlibrarian.net/14720143/bug224611.patch
>

OK, except that the patch doesnt contain the full path this looks
ok.

 affects ubuntu/firefox
 status triaged

 - Alexander

Revision history for this message
Micah Gersten (micahg) wrote :

No more fixes for Firefox 2. Changelog does not confirm fix was actually released.

Changed in firefox (Ubuntu):
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.