diff options
Diffstat (limited to 'dev-java/dbus-java')
-rw-r--r-- | dev-java/dbus-java/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/dbus-java/Manifest | 15 | ||||
-rw-r--r-- | dev-java/dbus-java/dbus-java-2.5.ebuild | 89 | ||||
-rw-r--r-- | dev-java/dbus-java/files/dbus-java-2.4-jarfixes.patch | 24 | ||||
-rw-r--r-- | dev-java/dbus-java/metadata.xml | 5 |
5 files changed, 143 insertions, 0 deletions
diff --git a/dev-java/dbus-java/ChangeLog b/dev-java/dbus-java/ChangeLog new file mode 100644 index 000000000000..1aac648d265b --- /dev/null +++ b/dev-java/dbus-java/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-java/dbus-java +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/dbus-java/ChangeLog,v 1.1 2008/07/18 19:37:49 serkan Exp $ + +*dbus-java-2.5 (18 Jul 2008) + + 18 Jul 2008; Serkan Kaba <serkan@gentoo.org> + +files/dbus-java-2.4-jarfixes.patch, +metadata.xml, +dbus-java-2.5.ebuild: + Initial ebuild. Fixes bug #157475. + diff --git a/dev-java/dbus-java/Manifest b/dev-java/dbus-java/Manifest new file mode 100644 index 000000000000..7cac6807b20a --- /dev/null +++ b/dev-java/dbus-java/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX dbus-java-2.4-jarfixes.patch 1631 RMD160 6071ee512ba89cccb6584a3fa03b732a66134b91 SHA1 673b89a278c9062fad59efc8dc1899f8be505bea SHA256 36fd40cfade9672a283c50ff52fa3bd8f2a06b6309e22a4ae08ee366c8982352 +DIST dbus-java-2.5.tar.gz 139899 RMD160 e3a90f9a025aa02eebf3a9b61727311408f0e9cb SHA1 7910a2be0b8390c7bba023077a3e526698b4493f SHA256 2b2001aa2fccc6cc3eedfeb35d2c7b13e52811c27820f27f0f6ce0e8f547ad65 +EBUILD dbus-java-2.5.ebuild 2403 RMD160 b3620681d59a3498fd8174a821b47755e9b08407 SHA1 41caec53fa8f51ca907c81c97fd867e3433bd241 SHA256 60d931e7ab032d177cc040be275cf5391d345c0f13ae07e7af6c60b9a4ab9929 +MISC ChangeLog 401 RMD160 a28a6a440892b3acf82e2c25e3d101bd0359cabb SHA1 61d1061df4aa562ebb43dd773ef2905d97cb82b9 SHA256 d34016ae79f6c037713616cf3edb935c980de2a05eeb42894ab6b7f95080c46f +MISC metadata.xml 159 RMD160 7da5c733c224383ffe350605bc36721a3ff2536f SHA1 99c2655c7bbee2cbc8c79edb2d00d481d62faf95 SHA256 a4ced33e98b00e3a3f725c4c40ef8e76c338db53389465ef871105fbe6e8cbbb +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.9 (GNU/Linux) + +iEYEARECAAYFAkiA8RoACgkQRh6X64ivZaJiHQCdFCqAOPmkXaw11riDEjb3rVvv +h8IAn2r2Bk05YhpIL3UigqfageifnGfS +=edC2 +-----END PGP SIGNATURE----- diff --git a/dev-java/dbus-java/dbus-java-2.5.ebuild b/dev-java/dbus-java/dbus-java-2.5.ebuild new file mode 100644 index 000000000000..7c7f302f636f --- /dev/null +++ b/dev-java/dbus-java/dbus-java-2.5.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/dbus-java/dbus-java-2.5.ebuild,v 1.1 2008/07/18 19:37:49 serkan Exp $ + +JAVA_PKG_IUSE="doc source" +inherit eutils java-pkg-2 + +DESCRIPTION="Java bindings for the D-Bus messagebus." +HOMEPAGE="http://dbus.freedesktop.org/" +SRC_URI="http://dbus.freedesktop.org/releases/dbus-java/${P}.tar.gz" + +LICENSE="|| ( GPL-2 AFL-2.1 )" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug" + +RDEPEND=">=virtual/jre-1.5 + >=dev-java/libmatthew-java-0.7-r1" + +DEPEND=">=virtual/jdk-1.5 + app-text/docbook-sgml-utils + dev-java/libmatthew-java + sys-devel/gettext + doc? ( + dev-tex/tex4ht + dev-texlive/texlive-latexextra + )" + +src_unpack() { + unpack ${A} + cd "${S}" || die + epatch "${FILESDIR}/${PN}-2.4-jarfixes.patch" +} + +src_compile() { + local debug="disable" + use debug && debug="enable" + local libdir=$(dirname $(java-pkg_getjar libmatthew-java unix.jar)) + emake -j1 JCFLAGS="$(java-pkg_javac-args)" \ + STRIP=echo DEBUG=${debug} JAVAUNIXJARDIR=${libdir} bin || die "emake failed" + + for i in *.sgml; do + docbook2man $i || die; + mv DBUS-JAVA.1 $(echo $i | sed 's/sgml/1/g') || die; + done + + if use doc; then + emake doc || die "emake doc failed" + fi +} + +src_install() { + local debug="disable" + use debug && debug="enable" + for jar in unix debug-${debug}; do + java-pkg_register-dependency libmatthew-java ${jar}.jar + done + java-pkg_newjar lib${P}.jar dbus.jar + java-pkg_newjar dbus-java-viewer-${PV}.jar dbus-java-viewer.jar + java-pkg_newjar dbus-java-bin-${PV}.jar dbus-java-bin.jar + local javaargs='-DPid=$$' + javaargs="${javaargs} -DVersion=${PV}" + + java-pkg_dolauncher CreateInterface \ + --main org.freedesktop.dbus.bin.CreateInterface \ + --java_args "${javaargs}" + + java-pkg_dolauncher DBusViewer \ + --main org.freedesktop.dbus.viewer.DBusViewer \ + --java_args "${javaargs}" + + java-pkg_dolauncher ListDBus \ + --main org.freedesktop.dbus.bin.ListDBus \ + --java_args "${javaargs}" + + java-pkg_dolauncher DBusDaemon \ + --main org.freedesktop.dbus.bin.DBusDaemon \ + --java_args "${javaargs}" + + java-pkg_dolauncher DBusCall \ + --main org.freedesktop.dbus.bin.Caller \ + --java_args "${javaargs}" + + doman *.1 + dodoc INSTALL changelog AUTHORS README || die + use source && java-pkg_dosrc org/ + use doc && java-pkg_dojavadoc doc/api + use doc && java-pkg_dohtml doc/dbus-java/* +} diff --git a/dev-java/dbus-java/files/dbus-java-2.4-jarfixes.patch b/dev-java/dbus-java/files/dbus-java-2.4-jarfixes.patch new file mode 100644 index 000000000000..edde1b6f90db --- /dev/null +++ b/dev-java/dbus-java/files/dbus-java-2.4-jarfixes.patch @@ -0,0 +1,24 @@ +--- Makefile 2008-01-10 17:49:28.000000000 +0200 ++++ Makefile.patched 2008-02-19 22:19:49.000000000 +0200 +@@ -82,17 +82,13 @@ + sed -n '/_(/s/.*_("\([^"]*\)").*/\1/p' $^ | sort -u | sed 's/\(.*\)/msgid "\1"\nmsgstr "\1"/' >> $@ + + libdbus-java-$(VERSION).jar: .classes +- echo "Class-Path: ${JAVAUNIXJARDIR}/unix.jar ${JAVAUNIXJARDIR}/debug-$(DEBUG).jar" > Manifest +- (cd classes; $(JAR) -cfm ../$@ ../Manifest org/freedesktop/dbus/*.class org/freedesktop/*.class org/freedesktop/dbus/types/*.class org/freedesktop/dbus/exceptions/*.class *localized*class) ++ (cd classes; $(JAR) -cf ../$@ org/freedesktop/dbus/*.class org/freedesktop/*.class org/freedesktop/dbus/types/*.class org/freedesktop/dbus/exceptions/*.class *localized*class) + dbus-java-test-$(VERSION).jar: .testclasses +- echo "Class-Path: ${JARPREFIX}/libdbus-java-$(VERSION).jar" > Manifest +- (cd classes; $(JAR) -cfm ../$@ ../Manifest org/freedesktop/dbus/test/*.class) ++ (cd classes; $(JAR) -cf ../$@ org/freedesktop/dbus/test/*.class) + dbus-java-viewer-$(VERSION).jar: .viewerclasses +- echo "Class-Path: ${JARPREFIX}/libdbus-java-$(VERSION).jar" > Manifest +- (cd classes; $(JAR) -cfm ../$@ ../Manifest org/freedesktop/dbus/viewer/*.class) ++ (cd classes; $(JAR) -cf ../$@ org/freedesktop/dbus/viewer/*.class) + dbus-java-bin-$(VERSION).jar: .binclasses +- echo "Class-Path: ${JARPREFIX}/libdbus-java-$(VERSION).jar" > Manifest +- (cd classes; $(JAR) -cfm ../$@ ../Manifest org/freedesktop/dbus/bin/*.class) ++ (cd classes; $(JAR) -cf ../$@ org/freedesktop/dbus/bin/*.class) + dbus.jar: libdbus-java-$(VERSION).jar + ln -sf $< $@ + dbus-bin.jar: dbus-java-bin-$(VERSION).jar diff --git a/dev-java/dbus-java/metadata.xml b/dev-java/dbus-java/metadata.xml new file mode 100644 index 000000000000..250f2d1940ea --- /dev/null +++ b/dev-java/dbus-java/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>java</herd> +</pkgmetadata> |