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.
Created attachment 78164 [details, diff] eclass/mozcoreconf.eclass - with system nspr/nss configure switches To apply with system nspr/nss on all mozilla applications.
Created attachment 78165 [details, diff] firefox ebuild - depend on system nspr/nss, apply patches mozilla, thunderbird likewise.
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.
*** Bug 120420 has been marked as a duplicate of this bug. ***
until such time nss and nspr are bumped in the tree we will not change over.
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
Everything is pretty much in tree last few things will happen later.
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.