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/icedtea6-bin: ChangeLog icedtea6-bin-1.7.2.ebuild
Date: Thu, 01 Apr 2010 14:00:02
Message-Id: E1NxKwA-00080s-5y@stork.gentoo.org
1 caster 10/04/01 13:59:58
2
3 Modified: ChangeLog
4 Added: icedtea6-bin-1.7.2.ebuild
5 Log:
6 Version bump, security bug #312297. Built from dev-java/icedtea-6.1.7.2-r1 which is equal to upstream 1.7.3 release.
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.25 dev-java/icedtea6-bin/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/icedtea6-bin/ChangeLog?rev=1.25&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/icedtea6-bin/ChangeLog?rev=1.25&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/icedtea6-bin/ChangeLog?r1=1.24&r2=1.25
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-java/icedtea6-bin/ChangeLog,v
19 retrieving revision 1.24
20 retrieving revision 1.25
21 diff -u -r1.24 -r1.25
22 --- ChangeLog 29 Mar 2010 17:29:30 -0000 1.24
23 +++ ChangeLog 1 Apr 2010 13:59:58 -0000 1.25
24 @@ -1,6 +1,13 @@
25 # ChangeLog for dev-java/icedtea6-bin
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea6-bin/ChangeLog,v 1.24 2010/03/29 17:29:30 phajdan.jr Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea6-bin/ChangeLog,v 1.25 2010/04/01 13:59:58 caster Exp $
29 +
30 +*icedtea6-bin-1.7.2 (01 Apr 2010)
31 +
32 + 01 Apr 2010; Vlastimil Babka <caster@g.o>
33 + +icedtea6-bin-1.7.2.ebuild:
34 + Version bump, security bug #312297. Built from dev-java/icedtea-6.1.7.2-r1
35 + which is equal to upstream 1.7.3 release.
36
37 29 Mar 2010; Pawel Hajdan jr <phajdan.jr@g.o>
38 icedtea6-bin-1.7.1.ebuild:
39
40
41
42 1.1 dev-java/icedtea6-bin/icedtea6-bin-1.7.2.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/icedtea6-bin/icedtea6-bin-1.7.2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/icedtea6-bin/icedtea6-bin-1.7.2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: icedtea6-bin-1.7.2.ebuild
48 ===================================================================
49 # Copyright 1999-2010 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea6-bin/icedtea6-bin-1.7.2.ebuild,v 1.1 2010/04/01 13:59:58 caster Exp $
52
53 EAPI="1"
54
55 inherit java-vm-2
56
57 dist="mirror://gentoo/"
58 DESCRIPTION="A Gentoo-made binary build of the icedtea6 JDK"
59 TARBALL_VERSION="${PV}"
60 SRC_URI="amd64? ( ${dist}/${PN}-core-${TARBALL_VERSION}-amd64.tar.bz2
61 ${dist}/${PN}-libpng14-${TARBALL_VERSION}-amd64.tar.bz2 )
62 x86? ( ${dist}/${PN}-core-${TARBALL_VERSION}-x86.tar.bz2
63 ${dist}/${PN}-libpng14-${TARBALL_VERSION}-x86.tar.bz2 )
64 doc? ( ${dist}/${PN}-doc-${TARBALL_VERSION}.tar.bz2 )
65 examples? (
66 amd64? ( ${dist}/${PN}-examples-${TARBALL_VERSION}-amd64.tar.bz2 )
67 x86? ( ${dist}/${PN}-examples-${TARBALL_VERSION}-x86.tar.bz2 )
68 )
69 nsplugin? (
70 amd64? ( ${dist}/${PN}-nsplugin-${TARBALL_VERSION}-amd64.tar.bz2 )
71 x86? ( ${dist}/${PN}-nsplugin-${TARBALL_VERSION}-x86.tar.bz2 )
72 )
73 source? ( ${dist}/${PN}-src-${TARBALL_VERSION}.tar.bz2 )"
74 HOMEPAGE="http://icedtea.classpath.org"
75
76 IUSE="X alsa doc examples nsplugin source"
77 RESTRICT="strip"
78
79 LICENSE="GPL-2-with-linking-exception"
80 SLOT="0"
81 KEYWORDS="~amd64 ~x86"
82
83 S="${WORKDIR}/${PN}-${TARBALL_VERSION}"
84
85 RDEPEND=">=sys-devel/gcc-4.3
86 >=sys-libs/glibc-2.9
87 >=media-libs/giflib-4.1.6-r1
88 >=media-libs/jpeg-8
89 >=media-libs/libpng-1.2
90 >=sys-libs/zlib-1.2.3-r1
91 alsa? ( >=media-libs/alsa-lib-1.0.20 )
92 X? (
93 >=media-libs/freetype-2.3.9:2
94 >=media-libs/fontconfig-2.6.0-r2:1.0
95 >=x11-libs/libXext-1.0.5
96 >=x11-libs/libXi-1.2.1
97 >=x11-libs/libXtst-1.0.3
98 >=x11-libs/libX11-1.2.2
99 x11-libs/libXt
100 )
101 nsplugin? (
102 >=dev-libs/atk-1.26.0
103 >=dev-libs/glib-2.20.5:2
104 >=dev-libs/nspr-4.8
105 >=x11-libs/cairo-1.8.8
106 >=x11-libs/gtk+-2.16.6:2
107 >=x11-libs/pango-1.24.5
108 )"
109 DEPEND=""
110
111 src_unpack() {
112 unpack ${A}
113
114 if has_version '>=media-libs/libpng-1.4.0'; then
115 einfo "Installing libpng-1.4 ABI version"
116 local arch=${ARCH}
117 use x86 && arch=i386
118 mv -v ${P}-libpng14/jre/lib/${arch}/*.so ${P}/jre/lib/${arch} || die
119 else
120 elog "Installing libpng-1.2 ABI version"
121 elog "You will have to remerge icedtea6-bin after upgrading to libpng-1.4"
122 elog "Note that revdep-rebuild will not do it automatically due to the mask file."
123 fi
124 }
125
126 src_install() {
127 local dest="/opt/${P}"
128 local ddest="${D}/${dest}"
129 dodir "${dest}" || die
130
131 local arch=${ARCH}
132
133 # doins can't handle symlinks.
134 cp -pRP bin include jre lib man "${ddest}" || die "failed to copy"
135
136 dodoc ../doc/{ASSEMBLY_EXCEPTION,THIRD_PARTY_README} || die
137 if use doc ; then
138 dohtml -r ../doc/html/* || die "Failed to install documentation"
139 fi
140
141 if use examples; then
142 cp -pRP share/{demo,sample} "${ddest}" || die
143 fi
144
145 if use source ; then
146 cp src.zip "${ddest}" || die
147 fi
148
149 if use nsplugin ; then
150 use x86 && arch=i386
151 install_mozilla_plugin "${dest}/jre/lib/${arch}/IcedTeaNPPlugin.so"
152 fi
153
154 set_java_env
155 java-vm_revdep-mask
156 }
157
158 pkg_postinst() {
159 # Set as default VM if none exists
160 java-vm-2_pkg_postinst
161
162 if use nsplugin; then
163 elog "The icedtea6-bin browser plugin can be enabled using eselect java-nsplugin"
164 elog "We now install the new IcedTeaNPPlugin, note that it's alpha quality."
165 elog "Note that the plugin works only in browsers based on xulrunner-1.9.1+"
166 elog "such as Firefox 3.5+ and recent Chromium versions."
167 fi
168 }