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.8.1.ebuild icedtea6-bin-1.7.2.ebuild
Date: Fri, 30 Jul 2010 15:02:26
Message-Id: 20100730145242.5947A2CE15@corvid.gentoo.org
1 caster 10/07/30 14:52:42
2
3 Modified: ChangeLog
4 Added: icedtea6-bin-1.8.1.ebuild
5 Removed: icedtea6-bin-1.7.2.ebuild
6 Log:
7 Version bump, security bug #330205.
8 (Portage version: 2.2_rc67/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.32 dev-java/icedtea6-bin/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/icedtea6-bin/ChangeLog?rev=1.32&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/icedtea6-bin/ChangeLog?rev=1.32&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/icedtea6-bin/ChangeLog?r1=1.31&r2=1.32
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-java/icedtea6-bin/ChangeLog,v
20 retrieving revision 1.31
21 retrieving revision 1.32
22 diff -u -r1.31 -r1.32
23 --- ChangeLog 24 Jun 2010 20:58:12 -0000 1.31
24 +++ ChangeLog 30 Jul 2010 14:52:42 -0000 1.32
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-java/icedtea6-bin
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea6-bin/ChangeLog,v 1.31 2010/06/24 20:58:12 pacho Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea6-bin/ChangeLog,v 1.32 2010/07/30 14:52:42 caster Exp $
30 +
31 +*icedtea6-bin-1.8.1 (30 Jul 2010)
32 +
33 + 30 Jul 2010; Vlastimil Babka <caster@g.o>
34 + -icedtea6-bin-1.7.2.ebuild, +icedtea6-bin-1.8.1.ebuild:
35 + Version bump, security bug #330205.
36
37 24 Jun 2010; Pacho Ramos <pacho@g.o> icedtea6-bin-1.8.0.ebuild:
38 stable amd64, bug 320163
39
40
41
42 1.1 dev-java/icedtea6-bin/icedtea6-bin-1.8.1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/icedtea6-bin/icedtea6-bin-1.8.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/icedtea6-bin/icedtea6-bin-1.8.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: icedtea6-bin-1.8.1.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.8.1.ebuild,v 1.1 2010/07/30 14:52:42 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 x86? ( ${dist}/${PN}-core-${TARBALL_VERSION}-x86.tar.bz2 )
62 doc? ( ${dist}/${PN}-doc-${TARBALL_VERSION}.tar.bz2 )
63 examples? (
64 amd64? ( ${dist}/${PN}-examples-${TARBALL_VERSION}-amd64.tar.bz2 )
65 x86? ( ${dist}/${PN}-examples-${TARBALL_VERSION}-x86.tar.bz2 )
66 )
67 nsplugin? (
68 amd64? ( ${dist}/${PN}-nsplugin-${TARBALL_VERSION}-amd64.tar.bz2 )
69 x86? ( ${dist}/${PN}-nsplugin-${TARBALL_VERSION}-x86.tar.bz2 )
70 )
71 source? ( ${dist}/${PN}-src-${TARBALL_VERSION}.tar.bz2 )"
72 HOMEPAGE="http://icedtea.classpath.org"
73
74 IUSE="X alsa doc examples nsplugin source"
75 RESTRICT="strip"
76
77 LICENSE="GPL-2-with-linking-exception"
78 SLOT="0"
79 KEYWORDS="~amd64 ~x86"
80
81 S="${WORKDIR}/${PN}-${TARBALL_VERSION}"
82
83 RDEPEND=">=sys-devel/gcc-4.3
84 >=sys-libs/glibc-2.9
85 >=media-libs/giflib-4.1.6-r1
86 >=media-libs/jpeg-8
87 >=media-libs/libpng-1.4:0
88 >=sys-libs/zlib-1.2.3-r1
89 alsa? ( >=media-libs/alsa-lib-1.0.20 )
90 X? (
91 >=media-libs/freetype-2.3.9:2
92 >=media-libs/fontconfig-2.6.0-r2:1.0
93 >=x11-libs/libXext-1.0.5
94 >=x11-libs/libXi-1.2.1
95 >=x11-libs/libXtst-1.0.3
96 >=x11-libs/libX11-1.2.2
97 x11-libs/libXt
98 )
99 nsplugin? (
100 >=dev-libs/atk-1.26.0
101 >=dev-libs/glib-2.20.5:2
102 >=dev-libs/nspr-4.8
103 >=x11-libs/cairo-1.8.8
104 >=x11-libs/gtk+-2.16.6:2
105 >=x11-libs/pango-1.24.5
106 )"
107 DEPEND=""
108
109 src_install() {
110 local dest="/opt/${P}"
111 local ddest="${D}/${dest}"
112 dodir "${dest}" || die
113
114 local arch=${ARCH}
115
116 # doins can't handle symlinks.
117 cp -pRP bin include jre lib man "${ddest}" || die "failed to copy"
118
119 dodoc ../doc/{ASSEMBLY_EXCEPTION,THIRD_PARTY_README} || die
120 if use doc ; then
121 dohtml -r ../doc/html/* || die "Failed to install documentation"
122 fi
123
124 if use examples; then
125 cp -pRP share/{demo,sample} "${ddest}" || die
126 fi
127
128 if use source ; then
129 cp src.zip "${ddest}" || die
130 fi
131
132 if use nsplugin ; then
133 use x86 && arch=i386
134 install_mozilla_plugin "${dest}/jre/lib/${arch}/IcedTeaPlugin.so"
135 fi
136
137 set_java_env
138 java-vm_revdep-mask
139 }
140
141 pkg_postinst() {
142 # Set as default VM if none exists
143 java-vm-2_pkg_postinst
144
145 if use nsplugin; then
146 elog "The icedtea6-bin browser plugin can be enabled using eselect java-nsplugin"
147 elog "Note that the plugin works only in browsers based on xulrunner-1.9.1+"
148 elog "such as Firefox 3.5+ and recent Chromium versions."
149 fi
150 }