summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2005-10-28 16:57:54 +0000
committerThomas Matthijs <axxo@gentoo.org>2005-10-28 16:57:54 +0000
commit32df51a47fb1c711265ea4afd56a5096065ba181 (patch)
tree2d08e8517846ef4c573aa09595236f2988d4fd45 /dev-java/sablevm
parentAdded USE_DESTDIR declaration (bug #110016) (diff)
downloadhistorical-32df51a47fb1c711265ea4afd56a5096065ba181.tar.gz
historical-32df51a47fb1c711265ea4afd56a5096065ba181.tar.bz2
historical-32df51a47fb1c711265ea4afd56a5096065ba181.zip
compile with gtk28
Package-Manager: portage-2.0.53_rc6
Diffstat (limited to 'dev-java/sablevm')
-rw-r--r--dev-java/sablevm/ChangeLog6
-rw-r--r--dev-java/sablevm/Manifest15
-rw-r--r--dev-java/sablevm/files/gtk28.patch36
-rw-r--r--dev-java/sablevm/sablevm-1.11.3.ebuild13
4 files changed, 55 insertions, 15 deletions
diff --git a/dev-java/sablevm/ChangeLog b/dev-java/sablevm/ChangeLog
index 70e56d7d4969..c2f7f0d6f3a6 100644
--- a/dev-java/sablevm/ChangeLog
+++ b/dev-java/sablevm/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-java/sablevm
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/sablevm/ChangeLog,v 1.20 2005/10/17 21:22:35 axxo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sablevm/ChangeLog,v 1.21 2005/10/28 16:57:54 axxo Exp $
+
+ 28 Oct 2005; Thomas Matthijs <axxo@gentoo.org> +files/gtk28.patch,
+ sablevm-1.11.3.ebuild:
+ compile with gtk28
17 Oct 2005; Thomas Matthijs <axxo@gentoo.org> sablevm-1.11.3.ebuild:
Depend on gtk =2.6*, since it doesnt build with 2.8
diff --git a/dev-java/sablevm/Manifest b/dev-java/sablevm/Manifest
index 87aa64a1a8ad..86dbede31f95 100644
--- a/dev-java/sablevm/Manifest
+++ b/dev-java/sablevm/Manifest
@@ -1,16 +1,7 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 4d1aa97095ec7d47e73f59baf4ec8653 ChangeLog 2583
+MD5 cd8a4215b58f09aae64d5e72d090e30c ChangeLog 2699
MD5 254f0b29aeeb018b6e6df0c98c493190 files/digest-sablevm-1.1.10 143
MD5 5d5d8b8cfb0eb3524c5bf1ee3bf628ae files/digest-sablevm-1.11.3 143
+MD5 32d01b803070b894548f1c74e3d6bd93 files/gtk28.patch 1390
MD5 e9018a8e99df4c7e6d1a26908f42ed22 metadata.xml 579
MD5 8216e4a03c2a6e42605d0e35d1be9161 sablevm-1.1.10.ebuild 1530
-MD5 b0de3d7ea60957c1348d34b24c6db3c2 sablevm-1.11.3.ebuild 1568
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDVBY1/rLF9B432nYRArLIAJ9irX7vp32ieywr6gVjwRHuM5HaZQCgs2Yl
-2jArJPeyziI5Fha7HFYMkeM=
-=TmcX
------END PGP SIGNATURE-----
+MD5 74fd20c41c777b2aabe4bb9a8d2bb230 sablevm-1.11.3.ebuild 1707
diff --git a/dev-java/sablevm/files/gtk28.patch b/dev-java/sablevm/files/gtk28.patch
new file mode 100644
index 000000000000..85972448a13e
--- /dev/null
+++ b/dev-java/sablevm/files/gtk28.patch
@@ -0,0 +1,36 @@
+--- configure.ac 2005-03-24 22:00:40.000000000 +0100
++++ configure.ac 2005-10-28 18:48:16.000000000 +0200
+@@ -325,12 +325,16 @@
+ if test "x${enable_gtk_cairo}" = xyes
+ then
+ PKG_CHECK_MODULES(CAIRO, cairo)
+- PKG_CHECK_MODULES(PANGOFT2, pangoft2)
+ fi
++ PKG_CHECK_MODULES(PANGOFT2, pangoft2)
++ PKG_CHECK_MODULES(FREETYPE2, freetype2)
++
+ AC_SUBST(CAIRO_LIBS)
+ AC_SUBST(CAIRO_CFLAGS)
+ AC_SUBST(PANGOFT2_LIBS)
+ AC_SUBST(PANGOFT2_CFLAGS)
++ AC_SUBST(FREETYPE2_LIBS)
++ AC_SUBST(FREETYPE2_CFLAGS)
+ fi
+
+ CLASSPATH_WITH_JAVAH
+--- native/jni/gtk-peer/Makefile.am 2005-03-24 21:58:00.000000000 +0100
++++ native/jni/gtk-peer/Makefile.am 2005-10-28 18:51:45.000000000 +0200
+@@ -53,10 +53,11 @@
+
+ libgtkpeer_la_LIBADD = $(top_builddir)/native/jni/classpath/native_state.lo
+
+-AM_LDFLAGS = @CLASSPATH_MODULE@ @GTK_LIBS@ @CAIRO_LIBS@ @PANGOFT2_LIBS@ @X_LIBS@
++AM_LDFLAGS = @CLASSPATH_MODULE@ @GTK_LIBS@ @CAIRO_LIBS@ @PANGOFT2_LIBS@ \
++ @FREETYPE2_LIBS@ @X_PRE_LIBS@ @X_LIBS@ @X_EXTRA_LIBS@ -lX11 -lXtst
+ AM_CPPFLAGS = @CLASSPATH_INCLUDES@
+
+ # Just the WARNING_CFLAGS. We cannot use the strict flags since the gtk
+ # headers contain broken prototypes (by design, see gtkitemfactory.h).
+ AM_CFLAGS = @WARNING_CFLAGS@ @ERROR_CFLAGS@ \
+- @GTK_CFLAGS@ @CAIRO_CFLAGS@ @PANGOFT2_CFLAGS@
++ @GTK_CFLAGS@ @CAIRO_CFLAGS@ @PANGOFT2_CFLAGS@ @FREETYPE2_CFLAGS@ @X_FLAGS@
diff --git a/dev-java/sablevm/sablevm-1.11.3.ebuild b/dev-java/sablevm/sablevm-1.11.3.ebuild
index 82513a849902..8346ab20e652 100644
--- a/dev-java/sablevm/sablevm-1.11.3.ebuild
+++ b/dev-java/sablevm/sablevm-1.11.3.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/sablevm/sablevm-1.11.3.ebuild,v 1.6 2005/10/17 21:18:57 axxo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sablevm/sablevm-1.11.3.ebuild,v 1.7 2005/10/28 16:57:54 axxo Exp $
+
+inherit eutils autotools
DESCRIPTION="A robust, clean, extremely portable, efficient, and specification-compliant Java virtual machine."
HOMEPAGE="http://sablevm.org/"
@@ -19,13 +21,20 @@ DEPEND=">=dev-libs/libffi-1.20
>=dev-libs/popt-1.7
>=dev-java/jikes-1.19
gtk? (
- =x11-libs/gtk+-2.6*
+ >=x11-libs/gtk+-2.4
>=media-libs/libart_lgpl-2.1
)"
RDEPEND="${DEPEND}"
S=${WORKDIR}
+src_unpack() {
+ unpack ${A}
+ cd ${WORKDIR}/sablevm-classpath-${PV}
+ epatch ${FILESDIR}/gtk28.patch
+ eautoconf
+}
+
src_compile() {
export LDFLAGS="$LDFLAGS -L/usr/lib/libffi" CPPFLAGS="$CPPFLAGS -I/usr/include/libffi"