Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58410 - Upgrade: netscape-7.2
Summary: Upgrade: netscape-7.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal enhancement (vote)
Assignee: Mamoru KOMACHI (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2004-07-26 07:40 UTC by Antonio
Modified: 2005-02-12 08:10 UTC (History)
1 user (show)

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


Attachments
netscape-7.2.ebuild (netscape-7.2.ebuild,1.09 KB, text/plain)
2004-12-06 16:08 UTC, Harald van Dijk (RETIRED)
Details
netscape-7.2.ebuild (netscape-7.2.ebuild,2.33 KB, text/plain)
2004-12-07 13:20 UTC, Harald van Dijk (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Antonio 2004-07-26 07:40:41 UTC
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.
Comment 1 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-07-26 08:45:52 UTC
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.
Comment 2 Harald van Dijk (RETIRED) gentoo-dev 2004-12-06 16:08:28 UTC
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).
Comment 3 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-12-06 23:05:22 UTC
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)
Comment 4 Harald van Dijk (RETIRED) gentoo-dev 2004-12-07 00:21:04 UTC
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. :) )
Comment 5 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-12-07 04:21:07 UTC
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?)
Comment 6 Harald van Dijk (RETIRED) gentoo-dev 2004-12-07 11:38:06 UTC
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.)
Comment 7 Harald van Dijk (RETIRED) gentoo-dev 2004-12-07 13:20:58 UTC
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.
Comment 8 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-02-04 21:04:13 UTC
Sorry for the delay. I've just added it to CVS.
Thanks a lot!
Comment 9 Harald van Dijk (RETIRED) gentoo-dev 2005-02-05 12:27:37 UTC
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!
Comment 10 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-02-12 08:10:58 UTC
Thanks, fixed in CVS.