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

Bug 3554

Summary: sun-jdk-1.4.0.01.ebuild (update)
Product: Gentoo Linux Reporter: Steve Hyatt <saphlyx>
Component: New packagesAssignee: Matthew Kennedy (RETIRED) <mkennedy>
Status: RESOLVED FIXED    
Severity: normal CC: j_r_fonseca, robert.jan.schutten, saphlyx
Priority: High    
Version: 1.1a   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: sun-jdk-1.4.0.01.ebuild
new sun-jdk-1.4.0.01.ebuild - fixes java plugin installation
sun-jdk-1.4.0.01 settings for java-config

Description Steve Hyatt 2002-06-09 14:31:53 UTC
Hi.  Please see the attached 'sun-jdk-1.4.0.01.ebuild' file which is an 
updated version of the 'sun-jdk-1.4.0-r2.ebuild' file.  The new ebuild 
installs the newly available 1.4.0_01 version of the Sun SDK.  There were a 
few minor mods but it was used to install the new version on my machine.

Steve
Comment 1 Steve Hyatt 2002-06-09 14:33:27 UTC
Created attachment 1418 [details]
sun-jdk-1.4.0.01.ebuild
Comment 2 José Fonseca 2002-06-11 05:27:25 UTC
Created attachment 1451 [details]
new sun-jdk-1.4.0.01.ebuild - fixes java plugin installation

I didn't noticed that there was already an ebuild for sun-jdk-1.4.0.01 in
bugzilla so I made another one. The only difference is that this one installs
the mozilla java plugin properly:

--- sun-jdk-1.4.0.01.ebuild.old Tue Jun 11 11:21:25 2002
+++ sun-jdk-1.4.0.01.ebuild	Tue Jun 11 11:22:30 2002
@@ -45,9 +45,9 @@
	dodir /opt/${P}/share/
	cp -a demo src.zip ${D}/opt/${P}/share/
	
-	 if [ "`use mozilla`" ] ; then
+    if [ "`use mozilla`" ] ; then
		dodir /usr/lib/mozilla/plugins
-		dosym /opt/${P}/jre/plugin/i386/ns610/libjavaplugin_oji140.so
/usr/lib/mozilla/plugins/
+		dosym /opt/${P}/jre/plugin/i386/ns610/libjavaplugin_oji.so
/usr/lib/mozilla/plugins/
	fi
	
	 dodir /etc/env.d/java 
@@ -61,10 +61,10 @@
 
 pkg_postinst () {							       
 
	if [ "`use mozilla`" ] ; then					       

-		einfo "The Mozilla browser plugin has been installed as
/usr/lib/mozilla/plugins/libjavaplugin_oji140.so"
+		einfo "The Mozilla browser plugin has been installed as
/usr/lib/mozilla/plugins/libjavaplugin_oji.so"
	else								       

		einfo "To install the Java plugin for Mozilla manually, do:"
-		einfo "ln -s
/opt/${P}/jre/plugin/i386/ns610/libjavaplugin_oji140.so
/usr/lib/mozilla/plugins/"
+		einfo "ln -s
/opt/${P}/jre/plugin/i386/ns610/libjavaplugin_oji.so /usr/lib/mozilla/plugins/"

		einfo "(Make certain the directory /usr/lib/mozilla/plugins
exists first)"
	fi
 }
Comment 3 José Fonseca 2002-06-11 05:29:24 UTC
Created attachment 1452 [details]
sun-jdk-1.4.0.01 settings for java-config

This is a verbatim copy of dev-java/sun-jdk/sun-jdk-1.4.0
Comment 4 José Fonseca 2002-06-11 05:43:19 UTC
I just noticed that this bug is also an duplicate of #3371 #3372 and #3565... 

I wonder how many more duplicate bugs it's gonna take to someone finally put one
of these ebuilds on portage...
Comment 5 heuermh 2002-06-11 16:18:26 UTC
Jose, Steve, Paul, et al.

Perhaps one of us java guys should ask for commit privs to the portage CVS to
watch over binary Sun JDK releases.  karltk currently has 38 bugs assigned to him...

   michael
Comment 6 Craig Steinberger 2002-06-14 15:23:36 UTC
*** Bug 3737 has been marked as a duplicate of this bug. ***
Comment 7 Robert Jan Schutten 2002-06-18 01:55:03 UTC
*** Bug 3798 has been marked as a duplicate of this bug. ***
Comment 8 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2002-06-18 21:32:51 UTC
There is a real chance we will drop the Sun and IBM from Portage in the
not-so-distant future, as they require an unecessary amount of maintenance as we
are not allowed to mirror their files.

An alternative fix is being discussed, as many people need/want these Sun/JDK
offerings.
Comment 9 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2002-06-24 16:19:12 UTC
Hi Matthew, more work for you (duplicates of earlier bugs, no doubt).