Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 48878 - mozilla-1.7_rc1 pkg-config files say 1.7b
Summary: mozilla-1.7_rc1 pkg-config files say 1.7b
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-24 08:03 UTC by Alex C
Modified: 2004-05-08 16:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex C 2004-04-24 08:03:49 UTC
Mozilla 1.7_rc1 is either keeping old package config files from the beta or shipping old pkg-config files from the beta

Reproducible: Always
Steps to Reproduce:
1. $ cd /usr/lib/pkgconfig 
2. $ epm -qf mozilla-xpcom.pc && echo "=====" && cat mozilla-xpcom.pc

Actual Results:  
mozilla-1.7_rc1
=====
prefix=/usr/lib/mozilla
exec_prefix=/usr/lib/mozilla
libdir=/usr/lib/mozilla/lib/mozilla-1.7b
includedir=/usr/lib/mozilla/include/mozilla-1.7b
 
Name: XPCOM
Description: The Mozilla Cross Platform Component Library
Version: 1.7b
Requires: mozilla-nspr = 1.7b
Libs: -L${libdir} -lxpcom
Cflags: -I${includedir}/xpcom -I${includedir}/string

Expected Results:  
The pkg-config files should refer to rc1
Comment 1 Aron Griffis (RETIRED) gentoo-dev 2004-04-26 15:34:41 UTC
Thanks, fixed in latest commit to mozilla-1.7_rc1
Comment 2 Brad Laue (RETIRED) gentoo-dev 2004-04-28 09:43:42 UTC
Yikes, this turned out to be an upstream thing from the looks of it - let's keep an eye on how our fix impacts the final release if at all (shouldn't, but you never know with the mozilla guys ;) )
Comment 3 Brad Laue (RETIRED) gentoo-dev 2004-04-28 09:44:36 UTC
Yikes, looks like an upstream thing from the looks of the fix - let's keep an eye on how this impacts the final release, if at all.
Comment 4 Alex C 2004-05-08 13:51:46 UTC
The "fix" seems to break all the prefixes in the pkg-config files

$ echo ==== && cat mozilla-gtkmozembed.pc && echo ==== 
====
prefix=/usr
exec_prefix=/usr
libdir=/usr
includedir=/usr/include
 
Name: Mozilla Gtk Embedding Widget
Description: Mozilla Embedding Widget for Gtk+
Version: 1.7rc1
Requires: mozilla-xpcom = 1.7rc1
Libs: -L${libdir} -lgtkembedmoz
Cflags: -I${includedir}/gtkembedmoz
====

the includedir should be /usr/lib/mozilla/include and the libdir should be /usr/lib/mozilla
Comment 5 Aron Griffis (RETIRED) gentoo-dev 2004-05-08 16:21:54 UTC
No, it wasn't that fix, it was just my mistake.  I accidentally replaced ./configure --prefix=/usr/lib/mozilla with econf.  Sorry about that, it's fixed now (just committed)