Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120423 - build mozilla applications (mozilla, firefox, thunderbird, etc) with system nss
Summary: build mozilla applications (mozilla, firefox, thunderbird, etc) with system nss
Status: RESOLVED REMIND
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
: 120420 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-01-26 06:37 UTC by Hanno Zysik (geki)
Modified: 2006-02-07 15:37 UTC (History)
0 users

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


Attachments
eclass/mozcoreconf.eclass - with system nspr/nss configure switches (eclass-mozcoreconf.patch,384 bytes, patch)
2006-01-26 06:39 UTC, Hanno Zysik (geki)
Details | Diff
firefox ebuild - depend on system nspr/nss, apply patches (ebuild-firefox.patch,731 bytes, patch)
2006-01-26 06:42 UTC, Hanno Zysik (geki)
Details | Diff
hack to use pkg-config to get versions of nspr/nss (system-nss-gentoo.patch,2.77 KB, patch)
2006-01-26 06:45 UTC, Hanno Zysik (geki)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hanno Zysik (geki) 2006-01-26 06:37:36 UTC
Instead of shipping an own version of nss in their package use nss on system.

Thanks go to fedora developers.
http://cvs.fedora.redhat.com/viewcvs/*checkout*/devel/firefox/firefox-1.5-with-system-nss.patch
http://cvs.fedora.redhat.com/viewcvs/*checkout*/devel/mozilla/mozilla-1.7.12-with-system-nss.patch
http://cvs.fedora.redhat.com/viewcvs/*checkout*/devel/thunderbird/firefox-1.5-with-system-nss.patch

Are there any other packages depending on this?

I am building firefox with the patch from fedora right now.
Btw, they seem to depend on nss-3.10 and nspr-4.6(.1). I bumped
that versions. No compile-time issues yet. I may be wrong.

I will add some patches to address Gentoo/Portage specifics.
Comment 1 Hanno Zysik (geki) 2006-01-26 06:39:36 UTC
Created attachment 78164 [details, diff]
eclass/mozcoreconf.eclass - with system nspr/nss configure switches

To apply with system nspr/nss on all mozilla applications.
Comment 2 Hanno Zysik (geki) 2006-01-26 06:42:39 UTC
Created attachment 78165 [details, diff]
firefox ebuild - depend on system nspr/nss, apply patches

mozilla, thunderbird likewise.
Comment 3 Hanno Zysik (geki) 2006-01-26 06:45:16 UTC
Created attachment 78166 [details, diff]
hack to use pkg-config to get versions of nspr/nss

Gentoo does not ship nspr-config/nss-config.
So we just use pkg-config.
Comment 4 Hanno Zysik (geki) 2006-01-26 06:48:12 UTC
*** Bug 120420 has been marked as a duplicate of this bug. ***
Comment 5 Jory A. Pratt 2006-01-26 09:22:20 UTC
until such time nss and nspr are bumped in the tree we will not change over.
Comment 6 Jory A. Pratt 2006-01-26 13:46:13 UTC
Well I have managed to get the bump sooner then I expected. I am gonna test all the builds over next few days you can expect a mass commit on sunday of all mozilla related products with system nss/nspr
Comment 7 Jory A. Pratt 2006-02-05 05:09:32 UTC
Everything is pretty much in tree last few things will happen later.
Comment 8 Hanno Zysik (geki) 2006-02-07 15:37:25 UTC
I miss the hack for nspr/nss .m4 files upstream.
Neither in FILESDIR nor in firefox 1.5.0.1 patch collection.

If that hack is not applied it will silently enable the build of internal nspr/nss again.