1 |
caster 10/04/29 19:50:01 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gnu-classpath-0.98-r3.ebuild |
5 |
Log: |
6 |
Revbump to remove ecj from RDEPEND as it's used only build-time. Also make the dep unversioned thanks to globbing in new java-config. |
7 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.109 dev-java/gnu-classpath/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/gnu-classpath/ChangeLog?rev=1.109&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/gnu-classpath/ChangeLog?rev=1.109&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/gnu-classpath/ChangeLog?r1=1.108&r2=1.109 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-java/gnu-classpath/ChangeLog,v |
19 |
retrieving revision 1.108 |
20 |
retrieving revision 1.109 |
21 |
diff -u -r1.108 -r1.109 |
22 |
--- ChangeLog 25 Mar 2010 13:15:47 -0000 1.108 |
23 |
+++ ChangeLog 29 Apr 2010 19:50:01 -0000 1.109 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for dev-java/gnu-classpath |
26 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-java/gnu-classpath/ChangeLog,v 1.108 2010/03/25 13:15:47 caster Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-java/gnu-classpath/ChangeLog,v 1.109 2010/04/29 19:50:01 caster Exp $ |
29 |
+ |
30 |
+*gnu-classpath-0.98-r3 (29 Apr 2010) |
31 |
+ |
32 |
+ 29 Apr 2010; Vlastimil Babka <caster@g.o> |
33 |
+ +gnu-classpath-0.98-r3.ebuild: |
34 |
+ Revbump to remove ecj from RDEPEND as it's used only build-time. Also make |
35 |
+ the dep unversioned thanks to globbing in new java-config. |
36 |
|
37 |
25 Mar 2010; Vlastimil Babka <caster@g.o> |
38 |
gnu-classpath-0.97-r1.ebuild, gnu-classpath-0.97.2.ebuild, |
39 |
|
40 |
|
41 |
|
42 |
1.1 dev-java/gnu-classpath/gnu-classpath-0.98-r3.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/gnu-classpath/gnu-classpath-0.98-r3.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/gnu-classpath/gnu-classpath-0.98-r3.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: gnu-classpath-0.98-r3.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/gnu-classpath/gnu-classpath-0.98-r3.ebuild,v 1.1 2010/04/29 19:50:01 caster Exp $ |
52 |
|
53 |
EAPI=2 |
54 |
|
55 |
inherit eutils java-pkg-2 base multilib |
56 |
|
57 |
MY_P=${P/gnu-/} |
58 |
DESCRIPTION="Free core class libraries for use with virtual machines and compilers for the Java language" |
59 |
SRC_URI="mirror://gnu/classpath/${MY_P}.tar.gz" |
60 |
HOMEPAGE="http://www.gnu.org/software/classpath" |
61 |
|
62 |
LICENSE="GPL-2-with-linking-exception" |
63 |
SLOT="0.98" |
64 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
65 |
|
66 |
IUSE="alsa debug doc dssi examples gconf gjdoc gmp gtk gstreamer qt4 xml" |
67 |
|
68 |
RDEPEND="alsa? ( media-libs/alsa-lib ) |
69 |
doc? ( >=dev-java/gjdoc-0.7.9-r2 ) |
70 |
dssi? ( >=media-libs/dssi-0.9 ) |
71 |
gconf? ( gnome-base/gconf ) |
72 |
gjdoc? ( >=dev-java/antlr-2.7.1:0 ) |
73 |
gmp? ( >=dev-libs/gmp-4.2.4 ) |
74 |
gstreamer? ( |
75 |
>=media-libs/gstreamer-0.10.10 |
76 |
>=media-libs/gst-plugins-base-0.10.10 |
77 |
x11-libs/gtk+ |
78 |
) |
79 |
gtk? ( |
80 |
>=x11-libs/gtk+-2.8 |
81 |
>=dev-libs/glib-2.0 |
82 |
media-libs/freetype |
83 |
>=x11-libs/cairo-1.1.9 |
84 |
x11-libs/libICE |
85 |
x11-libs/libSM |
86 |
x11-libs/libX11 |
87 |
x11-libs/libXrandr |
88 |
x11-libs/libXrender |
89 |
x11-libs/libXtst |
90 |
x11-libs/pango |
91 |
) |
92 |
qt4? ( x11-libs/qt-gui:4 ) |
93 |
xml? ( >=dev-libs/libxml2-2.6.8 >=dev-libs/libxslt-1.1.11 )" |
94 |
|
95 |
# java-config >2.1.11 needed for ecj version globbing |
96 |
# We should make the build not pickup the wrong antlr binary from pccts |
97 |
DEPEND="app-arch/zip |
98 |
dev-java/eclipse-ecj |
99 |
>=dev-java/java-config-2.1.11 |
100 |
gjdoc? ( !!dev-util/pccts ) |
101 |
gtk? ( |
102 |
x11-libs/libXrender |
103 |
|| ( >=x11-libs/libXtst-1.1.0 <x11-proto/xextproto-7.1 ) |
104 |
x11-proto/xproto |
105 |
) |
106 |
>=virtual/jdk-1.5 |
107 |
${RDEPEND}" |
108 |
|
109 |
RDEPEND=">=virtual/jre-1.5 |
110 |
${RDEPEND}" |
111 |
|
112 |
S=${WORKDIR}/${MY_P} |
113 |
|
114 |
src_configure() { |
115 |
# We require ecj anyway, so force it to avoid problems with bad versions of javac |
116 |
export JAVAC="/usr/bin/ecj" |
117 |
export JAVA="/usr/bin/java" |
118 |
# build takes care of them itself, duplicate -source -target kills ecj |
119 |
export JAVACFLAGS="-nowarn" |
120 |
# build system is passing -J-Xmx768M which ecj however ignores |
121 |
# this will make the ecj launcher do it (seen case where default was not enough heap) |
122 |
export gjl_java_args="-Xmx768M" |
123 |
|
124 |
# don't use econf, because it ends up putting things under /usr, which may |
125 |
# collide with other slots of classpath |
126 |
local myconf |
127 |
if use gjdoc; then |
128 |
local antlr=$(java-pkg_getjar antlr antlr.jar) |
129 |
myconf="--with-antlr-jar=${antlr}" |
130 |
fi |
131 |
|
132 |
ANTLR= ./configure \ |
133 |
$(use_enable alsa) \ |
134 |
$(use_enable debug ) \ |
135 |
$(use_enable examples) \ |
136 |
$(use_enable gconf gconf-peer) \ |
137 |
$(use_enable gjdoc) \ |
138 |
$(use_enable gmp) \ |
139 |
$(use_enable gtk gtk-peer) \ |
140 |
$(use_enable gstreamer gstreamer-peer) \ |
141 |
$(use_enable qt4 qt-peer) \ |
142 |
$(use_enable xml xmlj) \ |
143 |
$(use_enable dssi ) \ |
144 |
$(use_with doc gjdoc) \ |
145 |
--enable-jni \ |
146 |
--disable-dependency-tracking \ |
147 |
--disable-plugin \ |
148 |
--host=${CHOST} \ |
149 |
--prefix=/usr/${PN}-${SLOT} \ |
150 |
--with-ecj-jar=$(java-pkg_getjar --build-only eclipse-ecj-* ecj.jar) \ |
151 |
--disable-Werror \ |
152 |
${myconf} \ |
153 |
|| die "configure failed" |
154 |
} |
155 |
|
156 |
src_install() { |
157 |
emake DESTDIR="${D}" install || die "emake install failed" |
158 |
dodoc AUTHORS BUGS ChangeLog* HACKING NEWS README THANKYOU TODO || die |
159 |
java-pkg_regjar /usr/${P}/share/classpath/glibj.zip |
160 |
} |