1 |
commit: 231473fccd5043d2ffd20e46bb6aff7d0ff86bd1 |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 29 21:59:33 2017 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 29 22:00:21 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=231473fc |
7 |
|
8 |
dev-java/gnu-classpath: Remove old 0.98-r5, closes bug #629138 |
9 |
|
10 |
Package-Manager: Portage-2.3.8, Repoman-2.3.2 |
11 |
|
12 |
.../gnu-classpath/gnu-classpath-0.98-r5.ebuild | 127 --------------------- |
13 |
dev-java/gnu-classpath/metadata.xml | 2 - |
14 |
2 files changed, 129 deletions(-) |
15 |
|
16 |
diff --git a/dev-java/gnu-classpath/gnu-classpath-0.98-r5.ebuild b/dev-java/gnu-classpath/gnu-classpath-0.98-r5.ebuild |
17 |
deleted file mode 100644 |
18 |
index da840a48a04..00000000000 |
19 |
--- a/dev-java/gnu-classpath/gnu-classpath-0.98-r5.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,127 +0,0 @@ |
22 |
-# Copyright 1999-2017 Gentoo Foundation |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=5 |
26 |
- |
27 |
-inherit eutils java-pkg-2 multilib |
28 |
- |
29 |
-MY_P=${P/gnu-/} |
30 |
-DESCRIPTION="Free core class libraries for use with Java VMs and compilers" |
31 |
-SRC_URI="mirror://gnu/classpath/${MY_P}.tar.gz" |
32 |
-HOMEPAGE="https://www.gnu.org/software/classpath" |
33 |
- |
34 |
-LICENSE="GPL-2-with-linking-exception" |
35 |
-SLOT="0.98" |
36 |
-KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux ~x86-macos" |
37 |
- |
38 |
-IUSE="alsa debug doc dssi examples gconf +gjdoc gmp gtk gstreamer qt4 xml" |
39 |
-REQUIRED_USE="doc? ( gjdoc )" |
40 |
- |
41 |
-RDEPEND="alsa? ( media-libs/alsa-lib ) |
42 |
- dssi? ( >=media-libs/dssi-0.9 ) |
43 |
- gconf? ( gnome-base/gconf:2= ) |
44 |
- gjdoc? ( >=dev-java/antlr-2.7.7-r7:0 ) |
45 |
- gmp? ( >=dev-libs/gmp-4.2.4:0= ) |
46 |
- gstreamer? ( |
47 |
- >=media-libs/gstreamer-0.10.10:0.10= |
48 |
- >=media-libs/gst-plugins-base-0.10.10:0.10= |
49 |
- x11-libs/gtk+:2= |
50 |
- ) |
51 |
- gtk? ( |
52 |
- >=x11-libs/gtk+-2.8:2= |
53 |
- dev-libs/glib:2= |
54 |
- media-libs/freetype:2= |
55 |
- >=x11-libs/cairo-1.1.9:= |
56 |
- x11-libs/libICE |
57 |
- x11-libs/libSM |
58 |
- x11-libs/libX11 |
59 |
- x11-libs/libXrandr |
60 |
- x11-libs/libXrender |
61 |
- x11-libs/libXtst |
62 |
- x11-libs/pango |
63 |
- ) |
64 |
- qt4? ( dev-qt/qtgui:4= ) |
65 |
- xml? ( >=dev-libs/libxml2-2.6.8:2= >=dev-libs/libxslt-1.1.11 )" |
66 |
- |
67 |
-DEPEND="app-arch/zip |
68 |
- gtk? ( |
69 |
- x11-libs/libXrender |
70 |
- >=x11-libs/libXtst-1.1.0 |
71 |
- x11-proto/xproto |
72 |
- ) |
73 |
- >=virtual/jdk-1.5 |
74 |
- ${RDEPEND}" |
75 |
- |
76 |
-RDEPEND=">=virtual/jre-1.5 |
77 |
- ${RDEPEND}" |
78 |
- |
79 |
-S=${WORKDIR}/${MY_P} |
80 |
- |
81 |
-java_prepare() { |
82 |
- epatch "${FILESDIR}"/${P}-freetype-2.5.3-support.patch |
83 |
-} |
84 |
- |
85 |
-src_configure() { |
86 |
- # don't use econf, because it ends up putting things under /usr, which may |
87 |
- # collide with other slots of classpath |
88 |
- local myconf |
89 |
- if use gjdoc; then |
90 |
- local antlr=$(java-pkg_getjar antlr antlr.jar) |
91 |
- myconf="--with-antlr-jar=${antlr}" |
92 |
- fi |
93 |
- |
94 |
- if use doc; then |
95 |
- # Avoid a cyclic dependency on gjdoc by building gjdoc before |
96 |
- # the docs. First we need to trick configure. Hack alert! |
97 |
- echo -e "#!/bin/sh\necho gjdoc 0.8" > tools/gjdoc.build || die |
98 |
- chmod 755 tools/gjdoc.build || die |
99 |
- fi |
100 |
- |
101 |
- # Force Qt version, bug #619004. |
102 |
- export QT_SELECT=qt4 |
103 |
- |
104 |
- ANTLR= ./configure \ |
105 |
- $(use_enable alsa) \ |
106 |
- $(use_enable debug ) \ |
107 |
- $(use_enable examples) \ |
108 |
- $(use_enable gconf gconf-peer) \ |
109 |
- $(use_enable gjdoc) \ |
110 |
- $(use_enable gmp) \ |
111 |
- $(use_enable gtk gtk-peer) \ |
112 |
- $(use_enable gstreamer gstreamer-peer) \ |
113 |
- $(use_enable qt4 qt-peer) \ |
114 |
- $(use_enable xml xmlj) \ |
115 |
- $(use_enable dssi ) \ |
116 |
- $(use_with doc gjdoc "${S}/tools/gjdoc.build") \ |
117 |
- --enable-jni \ |
118 |
- --disable-dependency-tracking \ |
119 |
- --disable-plugin \ |
120 |
- --host=${CHOST} \ |
121 |
- --prefix="${EPREFIX}"/usr/${PN}-${SLOT} \ |
122 |
- --disable-Werror \ |
123 |
- ${myconf} || die "configure failed" |
124 |
-} |
125 |
- |
126 |
-src_compile() { |
127 |
- if use doc; then |
128 |
- # Build gjdoc before the docs. We need to hack the real gjdoc |
129 |
- # script to run from the build directory instead. |
130 |
- sed -r "s:^(tools_dir=).*:\1${S}/tools:" tools/gjdoc > tools/gjdoc.build || die |
131 |
- emake -C lib |
132 |
- emake -C tools |
133 |
- fi |
134 |
- |
135 |
- default |
136 |
-} |
137 |
- |
138 |
-src_install() { |
139 |
- emake DESTDIR="${D}" install |
140 |
- dodoc AUTHORS BUGS ChangeLog* HACKING NEWS README THANKYOU TODO |
141 |
- java-pkg_regjar /usr/${P}/share/classpath/glibj.zip |
142 |
- |
143 |
- if use doc; then |
144 |
- # Strangely the Makefile doesn't install these. |
145 |
- insinto "/usr/${PN}-${SLOT}/share/classpath/api" |
146 |
- doins -r doc/api/html/* |
147 |
- fi |
148 |
-} |
149 |
|
150 |
diff --git a/dev-java/gnu-classpath/metadata.xml b/dev-java/gnu-classpath/metadata.xml |
151 |
index 336b9ee0b43..da784f85824 100644 |
152 |
--- a/dev-java/gnu-classpath/metadata.xml |
153 |
+++ b/dev-java/gnu-classpath/metadata.xml |
154 |
@@ -12,8 +12,6 @@ |
155 |
<flag name="gmp">Build with GMP backend for java.math.BigInteger</flag> |
156 |
<flag name="gjdoc">Build GJDoc, a documentation generator</flag> |
157 |
<flag name="gtk">Build with Gtk+ AWT peers</flag> |
158 |
- <flag name="gstreamer">Build with GStreamer javax.sound.sampler provider</flag> |
159 |
- <flag name="qt4">Build with Qt4 AWT peers</flag> |
160 |
<flag name="xml">Build with native XML backend</flag> |
161 |
</use> |
162 |
</pkgmetadata> |