netscape in portage is very old (4.79). Because is not possible upgrade a new version ? (7.01) http://channels.netscape.com/ns/browsers/download.jsp Thank's Reproducible: Always Steps to Reproduce: 1. 2. 3.
Right, I tried to make netscape-navigator-7.01.ebuild last year but with no succeed. (The current ebuild policy doesn't allow interaction between users during merge, so we need to write down each step that netscape graphical installer does) I might try it again, but as we already have mozilla-firefox-bin, it's not in high priority. If you have a complete ebuild, I'll check it for you.
Created attachment 45406 [details] netscape-7.2.ebuild Hi, Netscape 7.1 and 7.2 can be installed automatically without problems. This ebuild is for 7.2, but an ebuild for 7.1 would be exactly the same except for SRC_URI (linux -> linux22).
Hi, thank you very much. I tested and it worked flawlessly :) However, even though I renamed the ebuild to netscape-navigator-7.2.ebuild, it will still install netscape mail, chat and others. Do you know any way to avoid this? Anyhow, I'm very happy to add it to netscape-communicator-7.2.ebuild. (except I need to add rm ${D}/usr/lib/nsbrowser/plugins/libnullplugin.so)
To disable installation of mail and news, you can edit config.ini and disable Component2. This will also require renumbering: [Setup Type0] [...] C0=Component13 C1=Component0 C2=Component1 C3=Component2 C4=Component3 [...] should become [Setup Type0] [...] C0=Component13 C1=Component0 C2=Component1 C3=Component3 [...] Simply removing the line C3=Component2 is not good enough, as it will cause the installer to ignore C4, C5, etc, which means missing out on essential components. (I think that's what happened, anyway. Either way, Netscape didn't start anymore.) I did not have this problem disabling the Flash installation, because it was the last entry for the 'Recommended' installation that actually installed something. sed will not be good enough for this, but it should be very easy to create a patch. And you're right, libnullplugin collides with mozilla/-firefox (which both also provide libnullplugin and collide with each other), and removing it is probably the best answer. However, should this be done even when mozilla/-firefox both aren't installed (meaning libnullplugin doesn't yet exist)? Would it be possible to have this depend on a USE flag (ideally one that mozilla/-firefox would get support for too)? PS: I named the package 'netscape' because the product name is now just 'Netscape', and 'Netscape Navigator' and 'Netscape Communicator' are no more. Personally, I would prefer to see one ebuild, instead of two ebuilds, if they install the same package with different options. If you want, I can try to modify the ebuild to offer the options of a custom manual installation, using mozilla's USE flags. (And no, if you don't, I won't complain. :) )
Okay, I understand your reasoning and I agree with you that point. However, I don't know what libnullplugin.so does. Removing it completely doesn't stop netscape, so I suppose it's not needed. If you know what this file is for, could you please explain why we need it? It can be modified to install libnullplugin only if netscape installs it, but it's not perfect because you can install mozilla after installing netscape (so you have libnullplugin from netscape), remove netscape, and then you get mozilla without libnullplugin (because libnullplugin is removed when you remove netscape since it belongs to netscape). If libnullplugin is essential for both mozilla and netscape to run, it should be handled in another way. (and I cannot think of it right now. any ideas?)
libnullplugin is what displays the missing plugin image and points you to Macromedia's site when a site uses Flash and Flash isn't installed, for example. It is not essential, just useful - without it, if a plugin is missing, you'll simply see nothing at all. Compare newgrounds.com with and without libnullplugin when Flash isn't installed for an easy way to see the difference. (Firefox ignores libnullplugin and handles missing plugins itself, though.)
Created attachment 45464 [details] netscape-7.2.ebuild This ebuild recognises the aim, flash, moznomail and spell USE flags. I can't get Java (installer aborts) or the development tools (installer ignores them) to work, so I disabled them. libnullplugin is removed. flash isn't really the right flag, since flash enables support for creating flash files, not viewing them, according to use.desc, but I couldn't think of a better flag and it can easily be renamed to whatever you want.
Sorry for the delay. I've just added it to CVS. Thanks a lot!
Hi, Thanks. Now that it's in portage, I reinstalled it, and noticed I made a mistake in the ebuild. rm -f ${D}/usr/lib/nsbrowser/libnullplugin.so That should be rm -f ${D}/usr/lib/nsbrowser/plugins/libnullplugin.so Sorry!
Thanks, fixed in CVS.