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