Gentoo Archives: gentoo-commits

From: "Vlastimil Babka (caster)" <caster@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-java/icedtea-bin: ChangeLog icedtea-bin-7.2.1.ebuild icedtea-bin-6.1.11.ebuild icedtea-bin-6.1.10.4-r1.ebuild icedtea-bin-1.10.4.ebuild
Date: Sat, 03 Mar 2012 21:25:42
Message-Id: 20120303212532.06D392004B@flycatcher.gentoo.org
1 caster 12/03/03 21:25:32
2
3 Modified: ChangeLog
4 Added: icedtea-bin-7.2.1.ebuild
5 Removed: icedtea-bin-6.1.11.ebuild
6 icedtea-bin-6.1.10.4-r1.ebuild
7 icedtea-bin-1.10.4.ebuild
8 Log:
9 Version bump, security bug #404095.
10
11 (Portage version: 2.2.0_alpha89/cvs/Linux x86_64)
12
13 Revision Changes Path
14 1.15 dev-java/icedtea-bin/ChangeLog
15
16 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/icedtea-bin/ChangeLog?rev=1.15&view=markup
17 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/icedtea-bin/ChangeLog?rev=1.15&content-type=text/plain
18 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/icedtea-bin/ChangeLog?r1=1.14&r2=1.15
19
20 Index: ChangeLog
21 ===================================================================
22 RCS file: /var/cvsroot/gentoo-x86/dev-java/icedtea-bin/ChangeLog,v
23 retrieving revision 1.14
24 retrieving revision 1.15
25 diff -u -r1.14 -r1.15
26 --- ChangeLog 19 Feb 2012 10:46:58 -0000 1.14
27 +++ ChangeLog 3 Mar 2012 21:25:31 -0000 1.15
28 @@ -1,6 +1,13 @@
29 # ChangeLog for dev-java/icedtea-bin
30 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
31 -# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea-bin/ChangeLog,v 1.14 2012/02/19 10:46:58 ago Exp $
32 +# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea-bin/ChangeLog,v 1.15 2012/03/03 21:25:31 caster Exp $
33 +
34 +*icedtea-bin-7.2.1 (03 Mar 2012)
35 +
36 + 03 Mar 2012; Vlastimil Babka <caster@g.o> -files/icedtea6-bin.env,
37 + -icedtea-bin-1.10.4.ebuild, -icedtea-bin-6.1.10.4-r1.ebuild,
38 + -icedtea-bin-6.1.11.ebuild, +icedtea-bin-7.2.1.ebuild:
39 + Version bump, security bug #404095.
40
41 19 Feb 2012; Agostino Sarubbo <ago@g.o> icedtea-bin-6.1.11.1.ebuild:
42 Stable for AMD64, wrt security bug #404095
43
44
45
46 1.1 dev-java/icedtea-bin/icedtea-bin-7.2.1.ebuild
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/icedtea-bin/icedtea-bin-7.2.1.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/icedtea-bin/icedtea-bin-7.2.1.ebuild?rev=1.1&content-type=text/plain
50
51 Index: icedtea-bin-7.2.1.ebuild
52 ===================================================================
53 # Copyright 1999-2012 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea-bin/icedtea-bin-7.2.1.ebuild,v 1.1 2012/03/03 21:25:31 caster Exp $
56
57 EAPI="4"
58
59 inherit java-vm-2 prefix
60
61 dist="http://dev.gentoo.org/~caster/distfiles/"
62 TARBALL_VERSION="${PV}"
63
64 DESCRIPTION="A Gentoo-made binary build of the IcedTea JDK"
65 HOMEPAGE="http://icedtea.classpath.org"
66 SRC_URI="
67 amd64? ( ${dist}/${PN}-core-${TARBALL_VERSION}-amd64.tar.bz2 )
68 x86? ( ${dist}/${PN}-core-${TARBALL_VERSION}-x86.tar.bz2 )
69 doc? ( ${dist}/${PN}-doc-${TARBALL_VERSION}.tar.bz2 )
70 examples? (
71 amd64? ( ${dist}/${PN}-examples-${TARBALL_VERSION}-amd64.tar.bz2 )
72 x86? ( ${dist}/${PN}-examples-${TARBALL_VERSION}-x86.tar.bz2 )
73 )
74 nsplugin? (
75 amd64? ( ${dist}/${PN}-nsplugin-${TARBALL_VERSION}-amd64.tar.bz2 )
76 x86? ( ${dist}/${PN}-nsplugin-${TARBALL_VERSION}-x86.tar.bz2 )
77 )
78 source? ( ${dist}/${PN}-src-${TARBALL_VERSION}.tar.bz2 )"
79
80 LICENSE="GPL-2-with-linking-exception"
81 SLOT="7"
82 KEYWORDS="~amd64 ~x86"
83
84 IUSE="+X +alsa cjk +cups doc examples nsplugin source"
85 REQUIRED_USE="nsplugin? ( X )"
86 RESTRICT="strip"
87
88 ALSA_COMMON_DEP="
89 >=media-libs/alsa-lib-1.0.20"
90 CUPS_COMMON_DEP="
91 >=net-print/cups-1.4"
92 X_COMMON_DEP="
93 >=dev-libs/atk-1.30.0
94 >=dev-libs/glib-2.20.5:2
95 >=media-libs/fontconfig-2.6.0-r2:1.0
96 >=media-libs/freetype-2.3.9:2
97 >=x11-libs/cairo-1.8.8
98 x11-libs/gdk-pixbuf:2
99 >=x11-libs/gtk+-2.20.1:2
100 >=x11-libs/libX11-1.3
101 >=x11-libs/libXext-1.1
102 >=x11-libs/libXi-1.3
103 x11-libs/libXrender
104 >=x11-libs/libXtst-1.1
105 >=x11-libs/pango-1.24.5"
106
107 COMMON_DEP="
108 >=media-libs/giflib-4.1.6-r1
109 media-libs/lcms:2
110 >=media-libs/libpng-1.5
111 >=sys-devel/gcc-4.3
112 >=sys-libs/glibc-2.11.2
113 >=sys-libs/zlib-1.2.3-r1
114 virtual/jpeg"
115
116 # cups is needed for X. #390945 #390975
117 RDEPEND="${COMMON_DEP}
118 X? (
119 ${CUPS_COMMON_DEP}
120 ${X_COMMON_DEP}
121 media-fonts/dejavu
122 cjk? (
123 media-fonts/arphicfonts
124 media-fonts/baekmuk-fonts
125 media-fonts/lklug
126 media-fonts/lohit-fonts
127 media-fonts/sazanami
128 )
129 )
130 alsa? ( ${ALSA_COMMON_DEP} )
131 cups? ( ${CUPS_COMMON_DEP} )"
132
133 src_install() {
134 local dest="/opt/${P}"
135 local ddest="${ED}/${dest}"
136 dodir "${dest}"
137
138 # Ensures HeadlessGraphicsEnvironment is used.
139 if ! use X; then
140 rm -r jre/lib/$(get_system_arch)/xawt || die
141 fi
142
143 # doins can't handle symlinks.
144 cp -pRP bin include jre lib man "${ddest}" || die
145
146 # Remove on next bump as the needed marks are already set by icedtea ebuild.
147 java-vm_set-pax-markings "${ddest}"
148
149 dodoc ../doc/{ASSEMBLY_EXCEPTION,THIRD_PARTY_README}
150
151 if use doc; then
152 dohtml -r ../doc/html/*
153 fi
154
155 if use examples; then
156 cp -pRP share/{demo,sample} "${ddest}" || die
157 fi
158
159 if use source; then
160 cp src.zip "${ddest}" || die
161 fi
162
163 if use nsplugin; then
164 cp -pPR ../icedtea-web-bin-${SLOT} "${ddest}"/.. || die
165 install_mozilla_plugin "/opt/icedtea-web-bin-${SLOT}/$(get_libdir)/IcedTeaPlugin.so"
166 docinto icedtea-web
167 dodoc ../doc/icedtea-web/*
168 fi
169
170 # Remove after next bump, handled by icedtea ebuild. Bug 390663
171 cp "${FILESDIR}"/fontconfig.Gentoo.properties.src "${T}"/fontconfig.Gentoo.properties || die
172 eprefixify "${T}"/fontconfig.Gentoo.properties
173 insinto "${dest}"/jre/lib
174 doins "${T}"/fontconfig.Gentoo.properties
175
176 set_java_env
177 java-vm_revdep-mask "${dest}"
178 java-vm_sandbox-predict /proc/self/coredump_filter
179 }
180
181 pkg_postinst() {
182 # Set as default VM if none exists
183 java-vm-2_pkg_postinst
184
185 if use nsplugin && [[ -z ${REPLACING_VERSIONS} ]]; then
186 elog "The icedtea-bin-${SLOT} browser plugin can be enabled using eselect java-nsplugin"
187 elog "Note that the plugin works only in browsers based on xulrunner-1.9.1+"
188 elog "such as Firefox 3.5+ and recent Chromium versions."
189 fi
190 }