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.ebuild
Date: Mon, 01 Feb 2010 09:13:45
Message-Id: E1NbsLm-0007Lb-I1@stork.gentoo.org
1 caster 10/02/01 09:13:42
2
3 Modified: ChangeLog
4 Added: icedtea6-bin-1.7.ebuild
5 Log:
6 Version bump. Contains new IcedTeaNPPlugin compatible with xulrunner 1.9.1 and 1.9.2, Firefox 3.5+, Chromium. Also compatible with both jpeg-7 and jpeg-8 - the ebuild detects the installed version in src_unpack().
7 (Portage version: 2.2_rc62/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.14 dev-java/icedtea6-bin/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/icedtea6-bin/ChangeLog?rev=1.14&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/icedtea6-bin/ChangeLog?rev=1.14&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/icedtea6-bin/ChangeLog?r1=1.13&r2=1.14
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-java/icedtea6-bin/ChangeLog,v
19 retrieving revision 1.13
20 retrieving revision 1.14
21 diff -u -r1.13 -r1.14
22 --- ChangeLog 22 Jan 2010 10:25:17 -0000 1.13
23 +++ ChangeLog 1 Feb 2010 09:13:41 -0000 1.14
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.13 2010/01/22 10:25:17 caster Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea6-bin/ChangeLog,v 1.14 2010/02/01 09:13:41 caster Exp $
29 +
30 +*icedtea6-bin-1.7 (01 Feb 2010)
31 +
32 + 01 Feb 2010; Vlastimil Babka <caster@g.o> +icedtea6-bin-1.7.ebuild:
33 + Version bump. Contains new IcedTeaNPPlugin compatible with xulrunner 1.9.1
34 + and 1.9.2, Firefox 3.5+, Chromium. Also compatible with both jpeg-7 and
35 + jpeg-8 - the ebuild detects the installed version in src_unpack().
36
37 *icedtea6-bin-1.6.2-r2 (22 Jan 2010)
38
39
40
41
42 1.1 dev-java/icedtea6-bin/icedtea6-bin-1.7.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/icedtea6-bin/icedtea6-bin-1.7.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/icedtea6-bin/icedtea6-bin-1.7.ebuild?rev=1.1&content-type=text/plain
46
47 Index: icedtea6-bin-1.7.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.ebuild,v 1.1 2010/02/01 09:13:41 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="${PVR}"
60 SRC_URI="amd64? ( ${dist}/${PN}-core-${TARBALL_VERSION}-amd64.tar.bz2
61 ${dist}/${PN}-jpeg8-${TARBALL_VERSION}-amd64.tar.bz2 )
62 x86? ( ${dist}/${PN}-core-${TARBALL_VERSION}-x86.tar.bz2
63 ${dist}/${PN}-jpeg8-${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-7
89 >=media-libs/libpng-1.2.38
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 QA_EXECSTACK_amd64="opt/${P}/jre/lib/amd64/server/libjvm.so"
112 QA_EXECSTACK_x86="opt/${P}/jre/lib/i386/server/libjvm.so
113 opt/${P}/jre/lib/i386/client/libjvm.so"
114
115 src_unpack() {
116 unpack ${A}
117
118 if has_version '>=media-libs/jpeg-8'; then
119 einfo "Installing jpeg-8 ABI version"
120 local arch=${ARCH}
121 use x86 && arch=i386
122 mv -v ${PN}-jpeg8/jre/lib/${arch}/*.so ${P}/jre/lib/${arch} || die
123 else
124 elog "Installing jpeg-7 ABI version"
125 elog "You will have to remerge icedtea6-bin after upgrading to jpeg-8"
126 elog "Note that revdep-rebuild will not do it automatically due to the mask file."
127 fi
128 }
129
130 src_install() {
131 local dest="/opt/${P}"
132 local ddest="${D}/${dest}"
133 dodir "${dest}" || die
134
135 local arch=${ARCH}
136
137 # doins can't handle symlinks.
138 cp -pRP bin include jre lib man "${ddest}" || die "failed to copy"
139
140 dodoc ../doc/{ASSEMBLY_EXCEPTION,THIRD_PARTY_README} || die
141 if use doc ; then
142 dohtml -r ../doc/html/* || die "Failed to install documentation"
143 fi
144
145 if use examples; then
146 cp -pRP share/{demo,sample} "${ddest}" || die
147 fi
148
149 if use source ; then
150 cp src.zip "${ddest}" || die
151 fi
152
153 if use nsplugin ; then
154 use x86 && arch=i386
155 install_mozilla_plugin "${dest}/jre/lib/${arch}/IcedTeaNPPlugin.so"
156 fi
157
158 set_java_env
159 java-vm_revdep-mask
160 }
161
162 pkg_postinst() {
163 # Set as default VM if none exists
164 java-vm-2_pkg_postinst
165
166 if use nsplugin; then
167 elog "The icedtea6-bin browser plugin can be enabled using eselect java-nsplugin"
168 elog "We now install the new IcedTeaNPPlugin, note that it's alpha quality."
169 elog "Note that the plugin works only in browsers based on xulrunner-1.9.1+"
170 elog "such as Firefox 3.5+ and recent Chromium versions."
171 fi
172 }