1 |
ercpe 14/09/28 16:07:47 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: emul-linux-x86-java-1.7.0.67.ebuild |
5 |
Log: |
6 |
Version bump as per #515992 |
7 |
|
8 |
(Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key 77C501ED) |
9 |
|
10 |
Revision Changes Path |
11 |
1.139 app-emulation/emul-linux-x86-java/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/emul-linux-x86-java/ChangeLog?rev=1.139&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/emul-linux-x86-java/ChangeLog?rev=1.139&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/emul-linux-x86-java/ChangeLog?r1=1.138&r2=1.139 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-java/ChangeLog,v |
20 |
retrieving revision 1.138 |
21 |
retrieving revision 1.139 |
22 |
diff -u -r1.138 -r1.139 |
23 |
--- ChangeLog 26 Apr 2014 09:09:03 -0000 1.138 |
24 |
+++ ChangeLog 28 Sep 2014 16:07:47 -0000 1.139 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for app-emulation/emul-linux-x86-java |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-java/ChangeLog,v 1.138 2014/04/26 09:09:03 ago Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-java/ChangeLog,v 1.139 2014/09/28 16:07:47 ercpe Exp $ |
30 |
+ |
31 |
+*emul-linux-x86-java-1.7.0.67 (28 Sep 2014) |
32 |
+ |
33 |
+ 28 Sep 2014; Johann Schmitz <ercpe@g.o> |
34 |
+ +emul-linux-x86-java-1.7.0.67.ebuild: |
35 |
+ Version bump as per #515992 |
36 |
|
37 |
26 Apr 2014; Agostino Sarubbo <ago@g.o> |
38 |
emul-linux-x86-java-1.7.0.55.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.1 app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.7.0.67.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.7.0.67.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.7.0.67.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: emul-linux-x86-java-1.7.0.67.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2014 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.7.0.67.ebuild,v 1.1 2014/09/28 16:07:47 ercpe Exp $ |
52 |
|
53 |
EAPI="5" |
54 |
|
55 |
inherit java-vm-2 eutils prefix versionator |
56 |
|
57 |
# This URIs need to be updated when bumping! |
58 |
JRE_URI="http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1880261.html" |
59 |
|
60 |
MY_PV="$(get_version_component_range 2)u$(get_version_component_range 4)" |
61 |
S_PV="$(replace_version_separator 3 '_')" |
62 |
|
63 |
X86_AT="jre-${MY_PV}-linux-i586.tar.gz" |
64 |
|
65 |
DESCRIPTION="Oracle's Java SE Runtime Environment (32bit)" |
66 |
HOMEPAGE="http://www.oracle.com/technetwork/java/javase/" |
67 |
SRC_URI="${X86_AT}" |
68 |
|
69 |
LICENSE="Oracle-BCLA-JavaSE" |
70 |
SLOT="1.7" |
71 |
KEYWORDS="-* ~amd64" |
72 |
IUSE="+X alsa nsplugin pax_kernel" |
73 |
|
74 |
RESTRICT="fetch strip" |
75 |
QA_PREBUILT="*" |
76 |
|
77 |
RDEPEND=" |
78 |
X? ( app-emulation/emul-linux-x86-xlibs ) |
79 |
alsa? ( app-emulation/emul-linux-x86-soundlibs )" |
80 |
# scanelf won't create a PaX header, so depend on paxctl to avoid fallback |
81 |
# marking. #427642 |
82 |
DEPEND=" |
83 |
pax_kernel? ( sys-apps/paxctl )" |
84 |
|
85 |
S="${WORKDIR}/jre${S_PV}" |
86 |
|
87 |
pkg_nofetch() { |
88 |
einfo "Due to Oracle no longer providing the distro-friendly DLJ bundles, the package has become fetch restricted again." |
89 |
einfo "" |
90 |
einfo "Please download '${X86_AT}' from:" |
91 |
einfo "'${JRE_URI}'" |
92 |
einfo "and move it to '${DISTDIR}'" |
93 |
} |
94 |
|
95 |
src_compile() { |
96 |
# This needs to be done before CDS - #215225 |
97 |
java-vm_set-pax-markings "${S}" |
98 |
|
99 |
# see bug #207282 |
100 |
einfo "Creating the Class Data Sharing archives" |
101 |
bin/java -client -Xshare:dump || die |
102 |
bin/java -server -Xshare:dump || die |
103 |
} |
104 |
|
105 |
src_install() { |
106 |
local dest="/opt/${P}" |
107 |
local ddest="${ED}${dest}" |
108 |
|
109 |
# We should not need the ancient plugin for Firefox 2 anymore, plus it has |
110 |
# writable executable segments |
111 |
rm -vf lib/i386/libjavaplugin_oji.so \ |
112 |
lib/i386/libjavaplugin_nscp*.so |
113 |
rm -vrf plugin/i386 |
114 |
# Without nsplugin flag, also remove the new plugin |
115 |
arch=i386; |
116 |
if ! use nsplugin; then |
117 |
rm -vf lib/${arch}/libnpjp2.so \ |
118 |
lib/${arch}/libjavaplugin_jni.so |
119 |
fi |
120 |
|
121 |
dodir "${dest}" |
122 |
cp -pPR bin lib man "${ddest}" || die |
123 |
|
124 |
# Remove empty dirs we might have copied |
125 |
find "${D}" -type d -empty -exec rmdir {} + || die |
126 |
|
127 |
dodoc COPYRIGHT README |
128 |
|
129 |
if use nsplugin; then |
130 |
install_mozilla_plugin "${dest}"/lib/${arch}/libnpjp2.so |
131 |
fi |
132 |
|
133 |
# Install desktop file for the Java Control Panel. |
134 |
# Using ${PN}-${SLOT} to prevent file collision with jre and or other slots. |
135 |
# make_desktop_entry can't be used as ${P} would end up in filename. |
136 |
newicon lib/desktop/icons/hicolor/48x48/apps/sun-jcontrol.png \ |
137 |
sun-jcontrol-${PN}-${SLOT}.png || die |
138 |
sed -e "s#Name=.*#Name=Java Control Panel for Oracle JDK ${SLOT} (${PN})#" \ |
139 |
-e "s#Exec=.*#Exec=${dest}/bin/jcontrol#" \ |
140 |
-e "s#Icon=.*#Icon=sun-jcontrol-${PN}-${SLOT}#" \ |
141 |
-e "s#Application;##" \ |
142 |
-e "/Encoding/d" \ |
143 |
lib/desktop/applications/sun_java.desktop > \ |
144 |
"${T}"/jcontrol-${PN}-${SLOT}.desktop || die |
145 |
domenu "${T}"/jcontrol-${PN}-${SLOT}.desktop |
146 |
|
147 |
# http://docs.oracle.com/javase/6/docs/technotes/guides/intl/fontconfig.html |
148 |
rm "${ddest}"/lib/fontconfig.* || die |
149 |
cp "${FILESDIR}"/fontconfig.Gentoo.properties "${T}"/fontconfig.properties || die |
150 |
eprefixify "${T}"/fontconfig.properties |
151 |
insinto "${dest}"/lib/ |
152 |
doins "${T}"/fontconfig.properties |
153 |
|
154 |
set_java_env "${FILESDIR}/${VMHANDLE}.env-r1" |
155 |
java-vm_revdep-mask |
156 |
} |