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