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.06.ebuild |
Date: | Sat, 19 Apr 2008 11:38:21 |
Message-Id: | E1JnBOd-0006Qm-0R@stork.gentoo.org |
1 | caster 08/04/19 11:38:19 |
2 | |
3 | Modified: ChangeLog |
4 | Added: emul-linux-x86-java-1.6.0.06.ebuild |
5 | Log: |
6 | Version bump. |
7 | (Portage version: 2.1.5_rc4) |
8 | |
9 | Revision Changes Path |
10 | 1.52 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.52&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/emul-linux-x86-java/ChangeLog?rev=1.52&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/emul-linux-x86-java/ChangeLog?r1=1.51&r2=1.52 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-java/ChangeLog,v |
19 | retrieving revision 1.51 |
20 | retrieving revision 1.52 |
21 | diff -u -r1.51 -r1.52 |
22 | --- ChangeLog 28 Mar 2008 23:21:35 -0000 1.51 |
23 | +++ ChangeLog 19 Apr 2008 11:38:18 -0000 1.52 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for app-emulation/emul-linux-x86-java |
26 | # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-java/ChangeLog,v 1.51 2008/03/28 23:21:35 caster Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-java/ChangeLog,v 1.52 2008/04/19 11:38:18 caster Exp $ |
29 | + |
30 | +*emul-linux-x86-java-1.6.0.06 (19 Apr 2008) |
31 | + |
32 | + 19 Apr 2008; Vlastimil Babka <caster@g.o> |
33 | + +emul-linux-x86-java-1.6.0.06.ebuild: |
34 | + Version bump. |
35 | |
36 | 28 Mar 2008; Vlastimil Babka <caster@g.o> |
37 | emul-linux-x86-java-1.5.0.15.ebuild, |
38 | |
39 | |
40 | |
41 | 1.1 app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.6.0.06.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.06.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.06.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: emul-linux-x86-java-1.6.0.06.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2008 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.06.ebuild,v 1.1 2008/04/19 11:38:18 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="32bit version Sun's J2SE Development Kit" |
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 | |
83 | src_unpack() { |
84 | mkdir bundled-jdk |
85 | cd bundled-jdk |
86 | sh "${DISTDIR}"/${At} --accept-license --unpack || die "Failed to unpack" |
87 | |
88 | cd .. |
89 | bash "${FILESDIR}"/construct-${SLOT}.sh bundled-jdk sun-jdk-${PV} ${P} || die "construct-${SLOT}.sh failed" |
90 | } |
91 | |
92 | src_compile() { |
93 | # Set PaX markings on all JDK/JRE executables to allow code-generation on |
94 | # the heap by the JIT compiler. This has to be done before CDS - #215225 |
95 | pax-mark m $(list-paxables "${S}"/bin/*) |
96 | |
97 | # see bug #207282 |
98 | einfo "Creating the Class Data Sharing archives" |
99 | "${S}"/bin/java -client -Xshare:dump || die |
100 | "${S}"/bin/java -server -Xshare:dump || die |
101 | } |
102 | |
103 | src_install() { |
104 | local dirs="bin lib man javaws plugin" |
105 | dodir /opt/${P} |
106 | |
107 | cp -pPR ${dirs} "${D}/opt/${P}/" || die "failed to copy" |
108 | |
109 | dodoc README THIRDPARTYLICENSEREADME.txt || die |
110 | dohtml Welcome.html || die |
111 | dodir /opt/${P}/share/ |
112 | |
113 | if use nsplugin; then |
114 | local plugin_dir="ns7-gcc29" |
115 | if has_version '>=sys-devel/gcc-3' ; then |
116 | plugin_dir="ns7" |
117 | fi |
118 | |
119 | install_mozilla_plugin /opt/${P}/plugin/i386/$plugin_dir/libjavaplugin_oji.so |
120 | fi |
121 | |
122 | # FIXME figure out how to handle the control pannel conflict with |
123 | # sun-jdk-bin |
124 | |
125 | # install control panel for Gnome/KDE |
126 | # sed -e "s/INSTALL_DIR\/JRE_NAME_VERSION/\/opt\/${P}\/jre/" \ |
127 | # -e "s/\(Name=Java\)/\1 Control Panel ${SLOT}/" \ |
128 | # ${D}/opt/${P}/plugin/desktop/sun_java.desktop > \ |
129 | # ${T}/sun_java-${SLOT}.desktop |
130 | |
131 | # domenu ${T}/sun_java-${SLOT}.desktop |
132 | |
133 | set_java_env |
134 | } |
135 | |
136 | pkg_postinst() { |
137 | # Set as default VM if none exists |
138 | java-vm-2_pkg_postinst |
139 | |
140 | if ! use X; then |
141 | local xwarn="X11 libraries and/or" |
142 | fi |
143 | |
144 | echo |
145 | ewarn "Some parts of Sun's JDK require ${xwarn} virtual/lpr to be installed." |
146 | ewarn "Be careful which Java libraries you attempt to use." |
147 | } |
148 | |
149 | |
150 | |
151 | -- |
152 | gentoo-commits@l.g.o mailing list |