summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Nichols <nichoj@gentoo.org>2006-10-15 15:58:22 +0000
committerJoshua Nichols <nichoj@gentoo.org>2006-10-15 15:58:22 +0000
commit7319e3e232a3355b067b0a1811652d4968846885 (patch)
tree1b91c48f1db7c5bb59e0602302b222df7882a3a1 /dev-java/libglade-java
parentPruned old revisions. (diff)
downloadgentoo-2-7319e3e232a3355b067b0a1811652d4968846885.tar.gz
gentoo-2-7319e3e232a3355b067b0a1811652d4968846885.tar.bz2
gentoo-2-7319e3e232a3355b067b0a1811652d4968846885.zip
Pruned old revisions.
(Portage version: 2.1.2_pre2-r6) (Unsigned Manifest commit)
Diffstat (limited to 'dev-java/libglade-java')
-rw-r--r--dev-java/libglade-java/Manifest39
-rw-r--r--dev-java/libglade-java/files/digest-libglade-java-2.10.11
-rw-r--r--dev-java/libglade-java/files/digest-libglade-java-2.12.11
-rw-r--r--dev-java/libglade-java/files/digest-libglade-java-2.12.23
-rw-r--r--dev-java/libglade-java/files/digest-libglade-java-2.8.3.11
-rw-r--r--dev-java/libglade-java/libglade-java-2.10.1.ebuild94
-rw-r--r--dev-java/libglade-java/libglade-java-2.12.1.ebuild74
-rw-r--r--dev-java/libglade-java/libglade-java-2.12.2.ebuild74
-rw-r--r--dev-java/libglade-java/libglade-java-2.8.3.1.ebuild101
9 files changed, 4 insertions, 384 deletions
diff --git a/dev-java/libglade-java/Manifest b/dev-java/libglade-java/Manifest
index 316135e82ee0..0b477f3a14a2 100644
--- a/dev-java/libglade-java/Manifest
+++ b/dev-java/libglade-java/Manifest
@@ -14,58 +14,27 @@ AUX libglade-java-2.8.3.1_gentoo-PN-SLOT.patch 508 RMD160 5f916e205cfbd2c8cb11b1
MD5 7ca0226e8641ea6429ce47f0d1cc1bde files/libglade-java-2.8.3.1_gentoo-PN-SLOT.patch 508
RMD160 5f916e205cfbd2c8cb11b18354a94e15b822d716 files/libglade-java-2.8.3.1_gentoo-PN-SLOT.patch 508
SHA256 a1b14fb0357743ff35e8600e6e9180deaae807583a56f38360173fa036a86416 files/libglade-java-2.8.3.1_gentoo-PN-SLOT.patch 508
-DIST libglade-java-2.10.1.tar.bz2 251071
-DIST libglade-java-2.12.1.tar.gz 357731
DIST libglade-java-2.12.2.tar.gz 357231 RMD160 2483e8dec463cfdd20aaaf7bb5f846f76892f88b SHA1 c21209bdd0fef00dbb38ac4cc8710c940cc64c25 SHA256 9e88ab20cf88b5bae80b14aee3c353317efec03163207776e26bec6b7164fcac
DIST libglade-java-2.12.6.tar.gz 363473 RMD160 a6985955c78773da32b4005449116c7e5e52b479 SHA1 58cd40693129b58be2f0784869250fd2624635ef SHA256 85cd7eca15b9523a655b57beb13ffac6817ca4183769c77bd401a45b3bf9822a
-DIST libglade-java-2.8.3.1.tar.bz2 249745
-EBUILD libglade-java-2.10.1.ebuild 2689 RMD160 e4945ac7ffa99d83256bd30f3cc665187162be0a SHA1 c1a1164baff426d36f9ec2782b29ed61d3d610f2 SHA256 b226929ed9aa92eadbd5799f344dc3767d0141b0af899b393a28560eafb18a61
-MD5 1a69d9d42177342e2ca277f9eb22f178 libglade-java-2.10.1.ebuild 2689
-RMD160 e4945ac7ffa99d83256bd30f3cc665187162be0a libglade-java-2.10.1.ebuild 2689
-SHA256 b226929ed9aa92eadbd5799f344dc3767d0141b0af899b393a28560eafb18a61 libglade-java-2.10.1.ebuild 2689
-EBUILD libglade-java-2.12.1.ebuild 1863 RMD160 6d886c6b862fae844898d87c2336115868a05743 SHA1 37a7839eb7de86ea29b7f9208e263ea1e33f8bd4 SHA256 f60f5afd2debcc2b06fd33436cb1a06151dac4eddbc454e70246083a63b6561e
-MD5 cfc041b3242bca9ac9dc468c45a123d7 libglade-java-2.12.1.ebuild 1863
-RMD160 6d886c6b862fae844898d87c2336115868a05743 libglade-java-2.12.1.ebuild 1863
-SHA256 f60f5afd2debcc2b06fd33436cb1a06151dac4eddbc454e70246083a63b6561e libglade-java-2.12.1.ebuild 1863
EBUILD libglade-java-2.12.2-r1.ebuild 2122 RMD160 7ef0d83dd1254d78ee520edd9f02b498492b29b7 SHA1 1d250b1e2c6075eb175f283c99df766ab1c1231c SHA256 463c8011a393bcccc84b14858f21a3c338ec754cfd293ffbf9a61d8b12dd552b
MD5 ac161b836c40f0fcd76cf643ac41ff47 libglade-java-2.12.2-r1.ebuild 2122
RMD160 7ef0d83dd1254d78ee520edd9f02b498492b29b7 libglade-java-2.12.2-r1.ebuild 2122
SHA256 463c8011a393bcccc84b14858f21a3c338ec754cfd293ffbf9a61d8b12dd552b libglade-java-2.12.2-r1.ebuild 2122
-EBUILD libglade-java-2.12.2.ebuild 1863 RMD160 57f457427f1a5af6b6a05b743bc8764a555dd758 SHA1 0a84c1e1b7029b51675c3652f93506ea953c1cf5 SHA256 ed7e2472eab1e1f59de857e869b4624cb5f3d45fd27e10fb0722e03112cc332e
-MD5 b01fa170affa40da9e676e46fc6015a7 libglade-java-2.12.2.ebuild 1863
-RMD160 57f457427f1a5af6b6a05b743bc8764a555dd758 libglade-java-2.12.2.ebuild 1863
-SHA256 ed7e2472eab1e1f59de857e869b4624cb5f3d45fd27e10fb0722e03112cc332e libglade-java-2.12.2.ebuild 1863
EBUILD libglade-java-2.12.6.ebuild 685 RMD160 c2bc76f5887dd8fdcf2b5cf68f130d42702cce14 SHA1 9b82e3a10a02aab1950fbcd989d78c740b110c14 SHA256 cb7828e067d0a122e85885b07b510ef7b2dbed67c2a617ca10b4a7128e38853b
MD5 8d4db1494fde396f8cd550659ee5f087 libglade-java-2.12.6.ebuild 685
RMD160 c2bc76f5887dd8fdcf2b5cf68f130d42702cce14 libglade-java-2.12.6.ebuild 685
SHA256 cb7828e067d0a122e85885b07b510ef7b2dbed67c2a617ca10b4a7128e38853b libglade-java-2.12.6.ebuild 685
-EBUILD libglade-java-2.8.3.1.ebuild 3129 RMD160 1102733594ecc50caa49a6026988203b71d89cb8 SHA1 c332d76b76cfe6053611defb74aa2bf1f20c70fc SHA256 0fc14fa92784d6ab324edc4f19b55ac7da916a7f8140496b4a16ff3bbc7076b3
-MD5 28959b58733d4a35fb8920c1bf358a72 libglade-java-2.8.3.1.ebuild 3129
-RMD160 1102733594ecc50caa49a6026988203b71d89cb8 libglade-java-2.8.3.1.ebuild 3129
-SHA256 0fc14fa92784d6ab324edc4f19b55ac7da916a7f8140496b4a16ff3bbc7076b3 libglade-java-2.8.3.1.ebuild 3129
-MISC ChangeLog 4631 RMD160 8f039945544a86a922171764959f35cad902d5ae SHA1 d63370c435e524981ca9a5e4530b7d5efc3fe176 SHA256 521c57506cee0fb94a65f138c63757d47b20479d1eaadfbb4e5c00da9ca44bfa
-MD5 4030772ea7a56de65a14a46698962489 ChangeLog 4631
-RMD160 8f039945544a86a922171764959f35cad902d5ae ChangeLog 4631
-SHA256 521c57506cee0fb94a65f138c63757d47b20479d1eaadfbb4e5c00da9ca44bfa ChangeLog 4631
+MISC ChangeLog 4831 RMD160 6e031d847e3746a95fd3b79d3c6268a0361003f7 SHA1 67af60b5b7632e4e577b99b0ea583801732a9b0f SHA256 24bf42dff8ba036e5e8c9fd97e779a013dd45c73ab0a58133d034bf5ab93ca90
+MD5 ce29ba6b07060dbf32768355bb35c945 ChangeLog 4831
+RMD160 6e031d847e3746a95fd3b79d3c6268a0361003f7 ChangeLog 4831
+SHA256 24bf42dff8ba036e5e8c9fd97e779a013dd45c73ab0a58133d034bf5ab93ca90 ChangeLog 4831
MISC metadata.xml 1200 RMD160 3c771c1f11a7bcea72f41cf394f20d36002ebc86 SHA1 126dfd9fae64df0225edbcf75336ff208f924186 SHA256 1d5bde9a4828bcb9e88c0d415843d25ab5d68749c1607811c6313a2a339ac629
MD5 229cf9172805175293cacba842ba4d96 metadata.xml 1200
RMD160 3c771c1f11a7bcea72f41cf394f20d36002ebc86 metadata.xml 1200
SHA256 1d5bde9a4828bcb9e88c0d415843d25ab5d68749c1607811c6313a2a339ac629 metadata.xml 1200
-MD5 8d9af0864cfab76e448283a6e5782821 files/digest-libglade-java-2.10.1 73
-RMD160 9f2d2aa4e1b458d19e90b6cf6ac3c52275452d98 files/digest-libglade-java-2.10.1 73
-SHA256 a17a30f03ab44409188a4cb05e2e122e8266b0b3627268d45d585589a1039570 files/digest-libglade-java-2.10.1 73
-MD5 0bd010436e9913218d2c611576460c73 files/digest-libglade-java-2.12.1 72
-RMD160 d980d4f898e8059ec04c0c5147fd88300ea721cd files/digest-libglade-java-2.12.1 72
-SHA256 7aecedd111bc583ee818ba22ff6707d5c541270cbe4f6c65fae0077ffc2d8fd1 files/digest-libglade-java-2.12.1 72
-MD5 5eb459e91f6e642961fea913581bf887 files/digest-libglade-java-2.12.2 262
-RMD160 9ed144c3e3f2cc6a0a0ae7579f87273fe305c481 files/digest-libglade-java-2.12.2 262
-SHA256 ce015e994e537369084b85dcf831f608a38c1decd5d08c27f350927e9e0450b3 files/digest-libglade-java-2.12.2 262
MD5 5eb459e91f6e642961fea913581bf887 files/digest-libglade-java-2.12.2-r1 262
RMD160 9ed144c3e3f2cc6a0a0ae7579f87273fe305c481 files/digest-libglade-java-2.12.2-r1 262
SHA256 ce015e994e537369084b85dcf831f608a38c1decd5d08c27f350927e9e0450b3 files/digest-libglade-java-2.12.2-r1 262
MD5 39bc39d18a46058ae8296a5f874ace80 files/digest-libglade-java-2.12.6 262
RMD160 9064a3ef03b25daecf2e201e1fd7cda619353a91 files/digest-libglade-java-2.12.6 262
SHA256 f2fde548cf0e409c8c3de5e08adbff3e993d556ef887bcd1a8f33557957d7824 files/digest-libglade-java-2.12.6 262
-MD5 76a4839bd8baf7f40b90050f11d17277 files/digest-libglade-java-2.8.3.1 74
-RMD160 d824f34d801cd371519275a2c3d662e7493d784b files/digest-libglade-java-2.8.3.1 74
-SHA256 ec3a1e0d2ea34191077453fe405bf78b1008c95c5e3c21c0578c23218d8bef90 files/digest-libglade-java-2.8.3.1 74
diff --git a/dev-java/libglade-java/files/digest-libglade-java-2.10.1 b/dev-java/libglade-java/files/digest-libglade-java-2.10.1
deleted file mode 100644
index b37605f75898..000000000000
--- a/dev-java/libglade-java/files/digest-libglade-java-2.10.1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 edf7e9e113afa9f002f048d62c87920b libglade-java-2.10.1.tar.bz2 251071
diff --git a/dev-java/libglade-java/files/digest-libglade-java-2.12.1 b/dev-java/libglade-java/files/digest-libglade-java-2.12.1
deleted file mode 100644
index 70846b84c8bf..000000000000
--- a/dev-java/libglade-java/files/digest-libglade-java-2.12.1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 44a223d1c6d66f15288360bbd2ed0c22 libglade-java-2.12.1.tar.gz 357731
diff --git a/dev-java/libglade-java/files/digest-libglade-java-2.12.2 b/dev-java/libglade-java/files/digest-libglade-java-2.12.2
deleted file mode 100644
index 42864e7b9036..000000000000
--- a/dev-java/libglade-java/files/digest-libglade-java-2.12.2
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 a0b11f2b7ed7c9f998e860212ed3a400 libglade-java-2.12.2.tar.gz 357231
-RMD160 2483e8dec463cfdd20aaaf7bb5f846f76892f88b libglade-java-2.12.2.tar.gz 357231
-SHA256 9e88ab20cf88b5bae80b14aee3c353317efec03163207776e26bec6b7164fcac libglade-java-2.12.2.tar.gz 357231
diff --git a/dev-java/libglade-java/files/digest-libglade-java-2.8.3.1 b/dev-java/libglade-java/files/digest-libglade-java-2.8.3.1
deleted file mode 100644
index 479ebf8ee71a..000000000000
--- a/dev-java/libglade-java/files/digest-libglade-java-2.8.3.1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 21dea47798d29201d82247b8784ca7e5 libglade-java-2.8.3.1.tar.bz2 249745
diff --git a/dev-java/libglade-java/libglade-java-2.10.1.ebuild b/dev-java/libglade-java/libglade-java-2.10.1.ebuild
deleted file mode 100644
index 6dd0c7e7388c..000000000000
--- a/dev-java/libglade-java/libglade-java-2.10.1.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/libglade-java/libglade-java-2.10.1.ebuild,v 1.4 2006/09/14 20:15:46 nichoj Exp $
-
-#
-# WARNING: Because java-gnome is a set of bindings to native GNOME libraries,
-# it has, like any GNOME project, a massive autoconf setup, and unlike many
-# other java libraries, it has its own [necessary] `make install` step.
-# As a result, this ebuild is VERY sensitive to the internal layout of the
-# upstream project. Because these issues are currently evolving upstream,
-# simply version bumping this ebuild is not likely to work but FAILURES WILL
-# BE VERY SUBTLE IF IT DOES NOT WORK.
-#
-
-inherit eutils gnome.org
-
-DESCRIPTION="Java bindings for [Lib]Glade"
-HOMEPAGE="http://java-gnome.sourceforge.net/"
-RDEPEND=">=gnome-base/libglade-2.5.1
- gnome? ( >=gnome-base/libgnomeui-2.10.0 )
- gnome? ( >=gnome-base/libgnomecanvas-2.10.0 )
- >=dev-java/libgtk-java-2.6.2
- gnome? ( >=dev-java/libgnome-java-2.10.1 )
- >=virtual/jre-1.2"
-
-
-DEPEND=">=virtual/jdk-1.2
- ${RDEPEND}
- app-arch/zip"
-
-#
-# Critical that this match glade's apiversion
-#
-SLOT="2.10"
-LICENSE="LGPL-2.1"
-KEYWORDS="~ppc ~x86"
-IUSE="gcj gnome"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-
- epatch ${FILESDIR}/libglade-java-2.10.0_fix-install-dir.patch
-
- sed -i \
- -e "s:/share/${PN}/:/share/${PN}-${SLOT}/:" \
- -e "s:/share/java/:/share/${PN}-${SLOT}/lib/:" \
- configure || die "sed configure error"
-
- rm -f ${S}/config.cache
-}
-
-src_compile() {
- local conf
-
- use gcj || conf="${conf} --without-gcj-compile"
- use gnome || conf="${conf} --without-gnome"
-
- cd ${S}
-
- #
- # Ordinarily, moving things around post `make install` would do
- # the trick, but there are paths hard coded in .pc files and in the
- # `make install` step itself that need to be influenced.
- #
-
- ./configure \
- --host=${CHOST} \
- --prefix=/usr \
- --with-jardir=/usr/share/${PN}-${SLOT}/lib \
- ${conf} || die "./configure failed"
- make || die
-}
-
-src_install() {
-
- make DESTDIR=${D} install || die "install failed"
-
- # the upstream install scatters things around a bit. The following cleans
- # that up to make it policy compliant.
-
- mkdir ${D}/usr/share/${PN}-${SLOT}/src
- cd ${S}/src/java
- find . -name '*.java' | xargs zip ${D}/usr/share/${PN}-${SLOT}/src/libglade-java-${PV}.src.zip
-
- # with dojar misbehaving, better do to this manually for the
- # time being. Yes, this is bad hard coding, but what in this ebuild isn't?
-
- echo "DESCRIPTION=${DESCRIPTION}" \
- > ${D}/usr/share/${PN}-${SLOT}/package.env
-
- echo "CLASSPATH=/usr/share/${PN}-${SLOT}/lib/glade${SLOT}.jar" \
- >> ${D}/usr/share/${PN}-${SLOT}/package.env
-}
diff --git a/dev-java/libglade-java/libglade-java-2.12.1.ebuild b/dev-java/libglade-java/libglade-java-2.12.1.ebuild
deleted file mode 100644
index b6451856782d..000000000000
--- a/dev-java/libglade-java/libglade-java-2.12.1.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/libglade-java/libglade-java-2.12.1.ebuild,v 1.6 2006/09/14 20:15:46 nichoj Exp $
-
-# Must be before the gnome.org inherit
-GNOME_TARBALL_SUFFIX="gz"
-inherit java-pkg eutils gnome.org
-
-DESCRIPTION="Java bindings for Glade"
-HOMEPAGE="http://java-gnome.sourceforge.net/"
-
-# Not on gnome.org mirrors yet :-(
-SRC_URI="http://research.operationaldynamics.com/linux/java-gnome/dist/${PF}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="2.12"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="doc gcj gnome"
-
-DEPS=">=gnome-base/libglade-2.5.1
- >=dev-java/glib-java-0.2.1
- >=dev-java/libgnome-java-2.8.0
- gnome? ( >=gnome-base/libgnomeui-2.12.0 >=gnome-base/libgnomecanvas-2.12.0 )"
-
-DEPEND=">=virtual/jdk-1.4
- ${DEPS}"
-RDEPEND=">=virtual/jre-1.4
- ${DEPS}"
-
-pkg_setup() {
- java-pkg_pkg_setup
- if use gcj ; then
- if ! built_with_use sys-devel/gcc gcj ; then
- ewarn
- ewarn "You must build gcc with the gcj support to build with gcj"
- ewarn
- ebeep 5
- die "No GCJ support found!"
- fi
- fi
-}
-
-src_compile() {
- # JARDIR is a hack for java-config
- econf $(use_with gcj gcj-compile) \
- $(use_with doc javadocs) \
- $(use_with gnome) \
- --with-jardir=/usr/share/${PN}-${SLOT}/lib \
- || die "configure failed"
-
- emake || die "compile failed"
-
- # Fix the broken pkgconfig file
- sed -i \
- -e "s:classpath.*$:classpath=\${prefix}/share/${PN}-${SLOT}/lib/${PF}.jar:" \
- ${S}/glade-java.pc
-}
-
-src_install() {
- emake DESTDIR=${D} install || die "install failed"
-
- # Examples as documentation
- use doc || rm -rf ${D}/usr/share/doc/${PF}/examples
-
- # use java-pkg_dojar to install the jar
- rm -rf ${D}/usr/share/${PN}-${SLOT}
-
- mv ${S}/glade${SLOT}.jar ${S}/${PF}.jar
- java-pkg_dojar ${S}/${PF}.jar
-
- if use doc ; then
- java-pkg_dohtml -r ${S}/doc
- fi
-}
diff --git a/dev-java/libglade-java/libglade-java-2.12.2.ebuild b/dev-java/libglade-java/libglade-java-2.12.2.ebuild
deleted file mode 100644
index 601832fe2126..000000000000
--- a/dev-java/libglade-java/libglade-java-2.12.2.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/libglade-java/libglade-java-2.12.2.ebuild,v 1.2 2006/09/14 20:15:46 nichoj Exp $
-
-# Must be before the gnome.org inherit
-GNOME_TARBALL_SUFFIX="gz"
-inherit java-pkg eutils gnome.org
-
-DESCRIPTION="Java bindings for Glade"
-HOMEPAGE="http://java-gnome.sourceforge.net/"
-
-# Not on gnome.org mirrors yet :-(
-SRC_URI="http://research.operationaldynamics.com/linux/java-gnome/dist/${PF}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="2.12"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="doc gcj gnome"
-
-DEPS=">=gnome-base/libglade-2.5.1
- >=dev-java/glib-java-0.2.3
- >=dev-java/libgnome-java-2.8.0
- gnome? ( >=gnome-base/libgnomeui-2.12.0 >=gnome-base/libgnomecanvas-2.12.0 )"
-
-DEPEND=">=virtual/jdk-1.4
- ${DEPS}"
-RDEPEND=">=virtual/jre-1.4
- ${DEPS}"
-
-pkg_setup() {
- java-pkg_pkg_setup
- if use gcj ; then
- if ! built_with_use sys-devel/gcc gcj ; then
- ewarn
- ewarn "You must build gcc with the gcj support to build with gcj"
- ewarn
- ebeep 5
- die "No GCJ support found!"
- fi
- fi
-}
-
-src_compile() {
- # JARDIR is a hack for java-config
- econf $(use_with gcj gcj-compile) \
- $(use_with doc javadocs) \
- $(use_with gnome) \
- --with-jardir=/usr/share/${PN}-${SLOT}/lib \
- || die "configure failed"
-
- emake || die "compile failed"
-
- # Fix the broken pkgconfig file
- sed -i \
- -e "s:classpath.*$:classpath=\${prefix}/share/${PN}-${SLOT}/lib/${PF}.jar:" \
- ${S}/glade-java.pc
-}
-
-src_install() {
- emake DESTDIR=${D} install || die "install failed"
-
- # Examples as documentation
- use doc || rm -rf ${D}/usr/share/doc/${PF}/examples
-
- # use java-pkg_dojar to install the jar
- rm -rf ${D}/usr/share/${PN}-${SLOT}
-
- mv ${S}/glade${SLOT}.jar ${S}/${PF}.jar
- java-pkg_dojar ${S}/${PF}.jar
-
- if use doc ; then
- java-pkg_dohtml -r ${S}/doc
- fi
-}
diff --git a/dev-java/libglade-java/libglade-java-2.8.3.1.ebuild b/dev-java/libglade-java/libglade-java-2.8.3.1.ebuild
deleted file mode 100644
index 599534cd0610..000000000000
--- a/dev-java/libglade-java/libglade-java-2.8.3.1.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/libglade-java/libglade-java-2.8.3.1.ebuild,v 1.6 2006/09/14 20:15:46 nichoj Exp $
-
-#
-# WARNING: Because java-gnome is a set of bindings to native GNOME libraries,
-# it has, like any GNOME project, a massive autoconf setup, and unlike many
-# other java libraries, it has its own [necessary] `make install` step.
-# As a result, this ebuild is VERY sensitive to the internal layout of the
-# upstream project. Because these issues are currently evolving upstream,
-# simply version bumping this ebuild is not likely to work but FAILURES WILL
-# BE VERY SUBTLE IF IT DOES NOT WORK.
-#
-
-inherit eutils gnome.org
-
-DESCRIPTION="Java for [Lib]Glade"
-HOMEPAGE="http://java-gnome.sourceforge.net/"
-RDEPEND=">=gnome-base/libglade-2.3.6
- >=dev-java/libgtk-java-2.4.8.1
- >=dev-java/libgnome-java-2.8.3.1
- >=gnome-base/libgnomecanvas-2.8.0
- >=virtual/jre-1.2"
-
-DEPEND=">=virtual/jdk-1.2
- ${RDEPEND}
- app-arch/zip"
-
-#
-# Critical that this match glade's apiversion
-#
-SLOT="2.8"
-LICENSE="LGPL-2.1"
-KEYWORDS="~amd64 ~ppc x86"
-IUSE="gcj gnome"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/libglade-java-2.8.3.1_gentoo-PN-SLOT.patch
-# epatch ${FILESDIR}/libglade-java-2.8.3.1_gtk-dependency.patch
-
- rm -f ${S}/config.cache
-}
-
-src_compile() {
- local conf
-
- use gcj || conf="${conf} --without-gcj-compile"
- use gnome || conf="${conf} --without-gnome"
-
- cd ${S}
-
- #
- # Ordinarily, moving things around post `make install` would do
- # the trick, but there are paths hard coded in .pc files and in the
- # `make install` step itself that need to be influenced.
- #
-
- ./configure \
- --host=${CHOST} \
- --prefix=/usr \
- ${conf} || die "./configure failed"
- make INCLUDES="-I${JDK_HOME}/include -I${JDK_HOME}/include/linux/" || die
-}
-
-src_install() {
- # workaround Makefile bug not creating necessary parent directories
- mkdir -p ${D}/usr/lib
- mkdir -p ${D}/usr/share/java
- mkdir -p ${D}/usr/lib/pkgconfig
- mkdir -p ${D}/usr/share/doc/libglade${SLOT}-java
-
- make prefix=${D}/usr install || die
-
- # actually, at time of writing, there were no DOCUMENTS, but leave it here...
- mv ${D}/usr/share/doc/libglade${SLOT}-java ${D}/usr/share/doc/${PF}
-
- # the upstream install scatters things around a bit. The following cleans
- # that up to make it policy compliant.
-
- # I originally tried java-pkg_dojar here, but it has a few glitches
- # like not copying symlinks as symlinks which makes a mess.
-
- dodir /usr/share/${PN}-${SLOT}/lib
- mv ${D}/usr/share/java/*.jar ${D}/usr/share/${PN}-${SLOT}/lib
- rm -rf ${D}/usr/share/java
-
- mkdir ${D}/usr/share/${PN}-${SLOT}/src
- cd ${S}/src/java
- zip -r ${D}/usr/share/${PN}-${SLOT}/src/libglade-java-${PV}.src.zip *
-
- # again, with dojar misbehaving, better do to this manually for the
- # time being. Yes, this is bad hard coding, but what in this ebuild isn't?
-
- echo "DESCRIPTION=${DESCRIPTION}" \
- > ${D}/usr/share/${PN}-${SLOT}/package.env
-
- echo "CLASSPATH=/usr/share/${PN}-${SLOT}/lib/glade${SLOT}.jar" \
- >> ${D}/usr/share/${PN}-${SLOT}/package.env
-}