Bug 204589
Summary: | mozilla-config points to the wrong places | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Göran Uddeborg <goeran> | ||||||||||
Component: | seamonkey | Assignee: | Christopher Aillon <caillon> | ||||||||||
Status: | CLOSED ERRATA | QA Contact: | Ben Levenson <benl> | ||||||||||
Severity: | medium | Docs Contact: | |||||||||||
Priority: | medium | ||||||||||||
Version: | 4.4 | CC: | stransky | ||||||||||
Target Milestone: | --- | ||||||||||||
Target Release: | --- | ||||||||||||
Hardware: | All | ||||||||||||
OS: | Linux | ||||||||||||
Whiteboard: | |||||||||||||
Fixed In Version: | RHSA-2007-0077 | Doc Type: | Bug Fix | ||||||||||
Doc Text: | Story Points: | --- | |||||||||||
Clone Of: | Environment: | ||||||||||||
Last Closed: | 2007-02-24 02:59:44 UTC | Type: | --- | ||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||
Documentation: | --- | CRM: | |||||||||||
Verified Versions: | Category: | --- | |||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||
Embargoed: | |||||||||||||
Attachments: |
|
Description
Göran Uddeborg
2006-08-30 09:10:24 UTC
As a workaround, use pkg-config --cflags mozilla-xpcom This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. The pkg-config workaround is better than hard-coding paths as we did first. Thanks! Created attachment 142177 [details]
proposed patch
This is the wrong patch. We need to keep things in /usr/lib/mozilla-* for applications. The right fix is to simply fix the mozilla-config script. Created attachment 147107 [details]
an updated patch
Created attachment 147677 [details]
a reworked patch
and we can remove this part from seamonkey.spec:
cd ${RPM_BUILD_ROOT}%{_libdir}/pkgconfig
for i in *.pc; do
sed -i -e 's|%{_libdir}/seamonkey|%{_libdir}/mozilla-seamonkey|' \
-e 's|%{_includedir}/seamonkey|%{_includedir}/mozilla-seamonkey|'
"${i}"
newfile="$(echo ${i} | sed s/^seamonkey-/mozilla-/)"
cp "${i}" "$newfile"
sed -i -e 's|Version: %{version}|Version: 1.8|' "$newfile"
done
cd -
I've just noticed we need to add "Version: 1.8" to all *.pc. So if this is the
right patch I'll add it there.
Created attachment 147894 [details]
hopefully the final patch
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2007-0077.html |