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