Gentoo Archives: gentoo-commits

From: "Vlastimil Babka (caster)" <caster@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-emulation/emul-linux-x86-java: ChangeLog emul-linux-x86-java-1.6.0.27.ebuild emul-linux-x86-java-1.6.0.24.ebuild emul-linux-x86-java-1.6.0.25.ebuild
Date: Thu, 01 Sep 2011 13:55:21
Message-Id: 20110901135510.E45B92004C@flycatcher.gentoo.org
1 caster 11/09/01 13:55:10
2
3 Modified: ChangeLog
4 Added: emul-linux-x86-java-1.6.0.27.ebuild
5 Removed: emul-linux-x86-java-1.6.0.24.ebuild
6 emul-linux-x86-java-1.6.0.25.ebuild
7 Log:
8 Version bump. Due to DLJ bundles no longer provided by Oracle, the package changes license to Oracle-BCLA-JavaSE and is fetch restricted again.
9
10 (Portage version: 2.2.0_alpha51/cvs/Linux x86_64)
11
12 Revision Changes Path
13 1.104 app-emulation/emul-linux-x86-java/ChangeLog
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/emul-linux-x86-java/ChangeLog?rev=1.104&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/emul-linux-x86-java/ChangeLog?rev=1.104&content-type=text/plain
17 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/emul-linux-x86-java/ChangeLog?r1=1.103&r2=1.104
18
19 Index: ChangeLog
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-java/ChangeLog,v
22 retrieving revision 1.103
23 retrieving revision 1.104
24 diff -u -r1.103 -r1.104
25 --- ChangeLog 18 Jun 2011 11:50:01 -0000 1.103
26 +++ ChangeLog 1 Sep 2011 13:55:10 -0000 1.104
27 @@ -1,6 +1,14 @@
28 # ChangeLog for app-emulation/emul-linux-x86-java
29 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-java/ChangeLog,v 1.103 2011/06/18 11:50:01 hwoarang Exp $
31 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-java/ChangeLog,v 1.104 2011/09/01 13:55:10 caster Exp $
32 +
33 +*emul-linux-x86-java-1.6.0.27 (01 Sep 2011)
34 +
35 + 01 Sep 2011; Vlastimil Babka <caster@g.o>
36 + -emul-linux-x86-java-1.6.0.24.ebuild, -emul-linux-x86-java-1.6.0.25.ebuild,
37 + +emul-linux-x86-java-1.6.0.27.ebuild:
38 + Version bump. Due to DLJ bundles no longer provided by Oracle, the package
39 + changes license to Oracle-BCLA-JavaSE and is fetch restricted again.
40
41 18 Jun 2011; Markos Chandras <hwoarang@g.o>
42 emul-linux-x86-java-1.6.0.26.ebuild:
43
44
45
46 1.1 app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.6.0.27.ebuild
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.6.0.27.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.6.0.27.ebuild?rev=1.1&content-type=text/plain
50
51 Index: emul-linux-x86-java-1.6.0.27.ebuild
52 ===================================================================
53 # Copyright 1999-2011 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.6.0.27.ebuild,v 1.1 2011/09/01 13:55:10 caster Exp $
56
57 inherit versionator pax-utils java-vm-2 eutils
58
59 UPDATE="$(get_version_component_range 4)"
60 UPDATE="${UPDATE#0}"
61 MY_PV="$(get_version_component_range 2)u${UPDATE}"
62
63 DOWNLOAD_LINK="http://www.oracle.com/technetwork/java/javase/downloads/jre-${MY_PV}-download-440425.html"
64 X86_AT="jre-${MY_PV}-linux-i586.bin"
65
66 DESCRIPTION="Oracle (formerly Sun) Java SE Runtime Environment (32bit)"
67 HOMEPAGE="http://www.oracle.com/technetwork/java/javase/overview/index-jsp-136246.html"
68 SRC_URI="${X86_AT}"
69
70 SLOT="1.6"
71 LICENSE="Oracle-BCLA-JavaSE"
72 KEYWORDS="-* ~amd64"
73 RESTRICT="fetch strip"
74 IUSE="X alsa nsplugin"
75
76 JAVA_VM_NO_GENERATION1=true
77
78 RDEPEND="alsa? ( app-emulation/emul-linux-x86-soundlibs )
79 X? ( app-emulation/emul-linux-x86-xlibs )"
80
81 JAVA_PROVIDE="jdbc-stdext jdbc-rowset"
82
83 QA_TEXTRELS_amd64="opt/${P}/lib/i386/motif21/libmawt.so
84 opt/${P}/lib/i386/libdeploy.so
85 opt/${P}/lib/i386/client/libjvm.so
86 opt/${P}/lib/i386/server/libjvm.so"
87 QA_DT_HASH="opt/${P}/.*"
88
89 S="${WORKDIR}/jre$(replace_version_separator 3 _)"
90
91 pkg_nofetch() {
92
93 einfo "Due to Oracle no longer providing the distro-friendly DLJ bundles, the package has become fetch restricted again."
94
95 einfo "Please download ${X86_AT} from:"
96 einfo "${DOWNLOAD_LINK}"
97 einfo "and move it to ${DISTDIR}"
98 }
99
100 src_unpack() {
101 sh "${DISTDIR}"/${A} -noregister || die "Failed to unpack"
102 }
103
104
105 src_compile() {
106 # Set PaX markings on all JDK/JRE executables to allow code-generation on
107 # the heap by the JIT compiler. This has to be done before CDS - #215225
108 pax-mark m $(list-paxables "${S}"/bin/*)
109
110 # see bug #207282
111 einfo "Creating the Class Data Sharing archives"
112 "${S}"/bin/java -client -Xshare:dump || die
113 "${S}"/bin/java -server -Xshare:dump || die
114 }
115
116 src_install() {
117 local dirs="bin lib man javaws plugin"
118 dodir /opt/${P}
119
120 cp -pPR ${dirs} "${D}/opt/${P}/" || die "failed to copy"
121
122 dodoc README THIRDPARTYLICENSEREADME.txt || die
123 dohtml Welcome.html || die
124 dodir /opt/${P}/share/
125
126 if use nsplugin; then
127 local plugin_dir="ns7-gcc29"
128 if has_version '>=sys-devel/gcc-3' ; then
129 plugin_dir="ns7"
130 fi
131
132 install_mozilla_plugin /opt/${P}/lib/i386/libnpjp2.so
133 install_mozilla_plugin /opt/${P}/plugin/i386/$plugin_dir/libjavaplugin_oji.so old_oji
134 fi
135
136 # FIXME figure out how to handle the control pannel conflict with
137 # sun-jdk-bin
138
139 # install control panel for Gnome/KDE
140 # sed -e "s/INSTALL_DIR\/JRE_NAME_VERSION/\/opt\/${P}\/jre/" \
141 # -e "s/\(Name=Java\)/\1 Control Panel ${SLOT}/" \
142 # ${D}/opt/${P}/plugin/desktop/sun_java.desktop > \
143 # ${T}/sun_java-${SLOT}.desktop
144
145 # domenu ${T}/sun_java-${SLOT}.desktop
146
147 set_java_env
148 java-vm_revdep-mask
149 }
150
151 pkg_postinst() {
152 # Set as default VM if none exists
153 java-vm-2_pkg_postinst
154
155 elog
156 elog "Two variants of the nsplugin are available via eselect java-nsplugin."
157 elog "Note that starting with ${PN}-1.6.0.19 their naming and the default changed,"
158 elog "users with the old plugin set are switched to the new default automatically."
159 elog "The default ${VMHANDLE} is the new 'plugin2' which works in Firefox 3 (xulrunner-1.9)"
160 elog "and newer, the ${VMHANDLE}-old_oji is the old plugin using the OJI API"
161 elog "that was removed in Firefox 3.6 (xulrunner-1.9.2)."
162 elog "For more info see https://jdk6.dev.java.net/plugin2/"
163 elog
164
165 if ! use X; then
166 local xwarn="X11 libraries and/or"
167 fi
168
169 echo
170 ewarn "Some parts of Sun's JDK require ${xwarn} net-print/cups or net-print/lprng to be installed."
171 ewarn "Be careful which Java libraries you attempt to use."
172 }