Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 120423

Summary: build mozilla applications (mozilla, firefox, thunderbird, etc) with system nss
Product: Gentoo Linux Reporter: Hanno Zysik (geki) <h.mth>
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED REMIND    
Severity: normal    
Priority: High    
Version: 2005.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: eclass/mozcoreconf.eclass - with system nspr/nss configure switches
firefox ebuild - depend on system nspr/nss, apply patches
hack to use pkg-config to get versions of nspr/nss

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.