$ equery s www-client/firefox * www-client/firefox-6.0 Total files : 3779 Total size : 86.27 MiB $ cat /etc/portage/env/www-client/firefox INSTALL_MASK="${INSTALL_MASK} /usr/include /usr/lib64/firefox/idl /usr/lib64/firefox/include /usr/lib64/firefox/lib /usr/lib64/firefox/sdk " $ emerge -1vk firefox $ equery s firefox * www-client/firefox-6.0 Total files : 353 Total size : 33.45 MiB Firefox does not need sdk at runtime, you can check with 'strace -fe open -o ~/logfile.txt firefox' and lsof. Also debian and ubuntu do not install this files as part of firefox package: http://packages.debian.org/sid/amd64/iceweasel/filelist http://packages.ubuntu.com/natty-updates/amd64/firefox/filelist http://packages.ubuntu.com/natty-updates/amd64/firefox-dev/filelist Please disable installation of sdk by default.
Actually, it seems to be a good point to once again ask why exactly are we installing libxul twice. I do remember Anarchy saying it's on purpose, but is it really a good purpose ?
(In reply to comment #1) > Actually, it seems to be a good point to once again ask why exactly are we > installing libxul twice. > > I do remember Anarchy saying it's on purpose, but is it really a good purpose ? your not installing it twice, firefox no longer makes use of system xulrunner which is depreciated.
>your not installing it twice Are you sure? /usr/lib64/firefox/libmozalloc.so /usr/lib64/firefox/sdk/lib/libmozalloc.so /usr/lib64/firefox/libxpcom.so /usr/lib64/firefox/sdk/lib/libxpcom.so /usr/lib64/firefox/libxul.so /usr/lib64/firefox/sdk/lib/libxul.so Check this files with 'du -s'
Yes a copy of the file is placed in the sdk as well. Like always you the users want to compare gentoo to every other distro. If they were to build xulrunner-6.0.2 you would expect it for gentoo even tho it is rather useless these days with no system gre. If you all would like I can step down as the mozilla lead and let another member of the team take over.
I asked to make package 2,6 times smaller, ubuntu was just used as proof of possibility. Is there any technical problem with adding sdk(minimal) USE flag?
Please, don't make it personal. My point was that I'm quite aware that mozilla's build system is quite crazy in several places and so if both of the copies are identical (and not by chance either), it made a lot more sense to add a quirk to the build system than to install them twice. It would be probably much less than what we're doing to i.e. boost.
*** This bug has been marked as a duplicate of bug 381151 ***
This bug is not duplicate of bug 381151, possibly it depends on it. #gentoo-desktop irc: [15:58:53] <Nikoli> nirbheek, do you think your new package (www-plugins/nsplugin-headers) will make size of firefox package 2,6 times smaller? ... [15:59:53] <nirbheek> Nikoli, no, the aim of that package is to allow plugins to be compiled for other browsers
(In reply to comment #8) > This bug is not duplicate of bug 381151, possibly it depends on it. > > #gentoo-desktop irc: > [15:58:53] <Nikoli> nirbheek, do you think your new package > (www-plugins/nsplugin-headers) will make size of firefox package 2,6 times > smaller? > ... > [15:59:53] <nirbheek> Nikoli, no, the aim of that package is to allow plugins > to be compiled for other browsers I still do not see what you expect to gain other then disk space. You are still gonna have to have the complete compile. I personally am not in favor of breaking the package apart as ubuntu and debian and others do.
I have actually thought about this much more and I do not see a point in keeping the sdk period. I have made a decision to remove all non-essential files unless the needs arises to revert the sdk install for both firefox and thunderbird.
Do you plan to make changes in eclass and also affect thunderbird, icecat and other mozilla related packages?
(In reply to comment #10) > I have actually thought about this much more and I do not see a point in > keeping the sdk period. I have made a decision to remove all non-essential > files unless the needs arises to revert the sdk install for both firefox and > thunderbird. If we're going to remove the sdk libraries, we should also remove the headers which should avoid another 30MB of useless files.
Created attachment 301443 [details, diff] remove sdk from firefox and thunderbird with minimal useflag enabled Please comment as soon as possible, we will be looking to land this with the 10.0.1 release.
Patch seems good. May be you also want to add custom USE description to metadata.xml? Something like "Remove SDK and headers".
{Firefox,Thunderbird}-10.0.1 are in the tree with minimal useflag enabled by default.