diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-java/dbus-java |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/dbus-java')
-rw-r--r-- | dev-java/dbus-java/Manifest | 7 | ||||
-rw-r--r-- | dev-java/dbus-java/dbus-java-2.7-r1.ebuild | 101 | ||||
-rw-r--r-- | dev-java/dbus-java/files/dbus-java-2.5.1-jarfixes.patch | 25 | ||||
-rw-r--r-- | dev-java/dbus-java/files/dbus-java-htlatex.patch | 11 | ||||
-rw-r--r-- | dev-java/dbus-java/metadata.xml | 8 |
5 files changed, 152 insertions, 0 deletions
diff --git a/dev-java/dbus-java/Manifest b/dev-java/dbus-java/Manifest new file mode 100644 index 000000000000..598fc810b8ef --- /dev/null +++ b/dev-java/dbus-java/Manifest @@ -0,0 +1,7 @@ +AUX dbus-java-2.5.1-jarfixes.patch 1761 SHA256 62ac2a80728468a4e32c07a67c244eba088b6bc434fa6e3ede4bd3cf508fb557 SHA512 7f16a3cf42296f4c8f0c083f07f7afc664c0c51b78548b05c53ad7537c70f8cfcbf178b4bdf554cd9559edf3ff401fbe73097866ca842030b1619b4c92212df0 WHIRLPOOL 0009f5d4338c8fcbc77446663e6e2b566753637730ad6b5cc905fe548750a550f856b1bc692fee2bc9b41256055708917c4a27e018c13eec3473ffd560970890 +AUX dbus-java-htlatex.patch 638 SHA256 2744afb097919c3ffdca8e2846c7d8644097b38da916dec402c55bb51da77919 SHA512 d9c86980f9263bac50ba357a9293d3630eadc35e0b67cf4c3547caf96d0b6d9a076dab548b54d43e466f8c77412eec2ed6527de98fe10cfdd7d26645285daede WHIRLPOOL 6a86c36150ea7ae954c2654d385f29cede9f1a170b4104ce9a3b9c323014f65067eff5c8f4fe1fc6b88419e820a574a329678b4cac57627b6553b8abc3d0fbed +DIST dbus-java-2.7.tar.gz 145450 SHA256 be404ea36284d938646192d0ee42e146853064217d4e3aaf89b56bd351ebca33 SHA512 15b44b877ce123948b07aa67bdf73e1fbf6bf2de89d09647dd11d33fc6beb76509b61b73e8a8c5f6331300ac0d9760d7e715b4b9467307f13cfc94b5c856eaa3 WHIRLPOOL 5f2df9de628fbd1178baf5cca75b34f4845db6a8d998901123ec8f93e9cb8b7e0c274de4c75b5a1352c263092c790bb4f78d8cbde6db6d41fecf4b733c038666 +EBUILD dbus-java-2.7-r1.ebuild 2722 SHA256 831bab141b51a15598ee37f3fd8ec1751c6ee3174d600b06799d498b5ca14f50 SHA512 7291603929c3b7d4a8d884055420091a52fa50b4dca63b5980bbbcc503e31426f587efa88a75e666b9426a64fc3811ce9f09c2fd3d05641dff5ea3c3fee76506 WHIRLPOOL 1b169908104267a7380bbf12a6bc7261302e684d58b193c4e0aa7d6fa939d0c0f5b21a4139bc82951590736cc912bc4f2131d1881e67184f47c476a0b9cd9787 +MISC ChangeLog 3719 SHA256 3f2af74a1683f49e60a130632395a5f419d74cc1e50e042cbc0ccbe78154b2ec SHA512 5942c8722a2ede9cb6dbe2f9fcd17fbbfc8b6384cee97a774dc53a49fcf4e8c997789413f1b0a1db118b3dd82c913d693dbcccda326c6dac6cc85750e97827f7 WHIRLPOOL eb41f65ce391ba88aa6110467dc168726b4167a8fb5cde90cd95590d0893526d88bfdfacee8d247dc9baa545f0afacc320f7a108425c793329a47053318e5e4c +MISC ChangeLog-2015 2765 SHA256 33497b670c81c63a15239c427e35f603d13fea1e3a7ce82f66bbdfe0cbe56b22 SHA512 c6e77db89a5a4421d5056225b0daace538f0e2e6332148e6e10d1b75b7110f86c8a03e130ecfed1c8c2e15f24db396e09971a36f3ac82dfa004d13b4b9bbe10e WHIRLPOOL 6caa29990411df1a19ed4f593d96aff52262b45ddcf94158021ffa581ba8899f5e6591d9bb078f44e169efabc5034729ee1a7bc8630fb67b1285c746b2ac8226 +MISC metadata.xml 242 SHA256 653cd0d34675fe6c6201752e96e6b035bad682c39a376c236b0a8f70dbdcc1c9 SHA512 50f4d6219b995b723d6ebbb4f2a18adbf558a685f862aea00f072254dcc0fe6c1388e4aeaf21fb3ce0fb840a2ef4851807536d037c9682b21cb1986198715a4f WHIRLPOOL 12c33e00040d7a3f4c26a8b7a6a6eaf10007a9e29af9904d192f89db5120a2760a7174fa40c40068eb6066d6a4f0dbbc57a12e852581de95cc956e210351b705 diff --git a/dev-java/dbus-java/dbus-java-2.7-r1.ebuild b/dev-java/dbus-java/dbus-java-2.7-r1.ebuild new file mode 100644 index 000000000000..655984b4b0ae --- /dev/null +++ b/dev-java/dbus-java/dbus-java-2.7-r1.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="2" + +JAVA_PKG_IUSE="doc source" +inherit eutils java-pkg-2 + +DESCRIPTION="Java bindings for the D-Bus messagebus" +HOMEPAGE="https://dbus.freedesktop.org/" +SRC_URI="https://dbus.freedesktop.org/releases/dbus-java/${P}.tar.gz" + +LICENSE="|| ( GPL-2 AFL-2.1 )" +SLOT="0" +KEYWORDS="amd64 ppc64 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 + )" + +java_prepare() { + epatch "${FILESDIR}/${PN}-2.5.1-jarfixes.patch" + + # dev-tex/tex4ht changed htlatex path, see bug #318963 + if use doc; then + epatch "${FILESDIR}/${PN}-htlatex.patch" + fi +} + +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 hexdump 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/* +} + +src_test() { + local debug="disable" + use debug && debug="enable" + local libdir=$(dirname $(java-pkg_getjar libmatthew-java unix.jar)) + emake -j1 JCFLAGS="$(java-pkg_javac-args) -encoding UTF-8" \ + DEBUG=${debug} JAVAUNIXJARDIR=${libdir} JAVAUNIXLIBDIR=/usr/lib/libmatthew-java check || die "emake check failed" +} diff --git a/dev-java/dbus-java/files/dbus-java-2.5.1-jarfixes.patch b/dev-java/dbus-java/files/dbus-java-2.5.1-jarfixes.patch new file mode 100644 index 000000000000..cd49726b6403 --- /dev/null +++ b/dev-java/dbus-java/files/dbus-java-2.5.1-jarfixes.patch @@ -0,0 +1,25 @@ +diff -Nur dbus-java-2.5.1/Makefile dbus-java-2.5.1_patched/Makefile +--- dbus-java-2.5.1/Makefile 2008-07-21 13:44:10.000000000 +0300 ++++ dbus-java-2.5.1_patched/Makefile 2008-11-28 07:10:30.000000000 +0200 +@@ -87,17 +87,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}/hexdump.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/files/dbus-java-htlatex.patch b/dev-java/dbus-java/files/dbus-java-htlatex.patch new file mode 100644 index 000000000000..ebb278ad169b --- /dev/null +++ b/dev-java/dbus-java/files/dbus-java-htlatex.patch @@ -0,0 +1,11 @@ +--- Makefile~ 2009-11-01 14:53:27.000000000 +0100 ++++ Makefile 2010-05-08 16:26:10.000000000 +0200 +@@ -131,7 +131,7 @@ + (cd doc; pdflatex ../dbus-java.tex) + doc/dbus-java/index.html: dbus-java.tex .doc + mkdir -p doc/dbus-java/ +- (cd doc/dbus-java; TEX4HTENV=/etc/tex4ht/tex4ht.env htlatex ../../dbus-java.tex "xhtml,2" "" "-cvalidate") ++ (cd doc/dbus-java; TEX4HTENV=/etc/tex4ht/tex4ht.env mk4ht htlatex ../../dbus-java.tex "xhtml,2" "" "-cvalidate") + rm -f doc/dbus-java/*{4ct,4tc,aux,dvi,idv,lg,log,tmp,xref} + cp doc/dbus-java/dbus-java.html doc/dbus-java/index.html + doc/api/index.html: $(SRCDIR)/*.java $(SRCDIR)/dbus/*.java .doc diff --git a/dev-java/dbus-java/metadata.xml b/dev-java/dbus-java/metadata.xml new file mode 100644 index 000000000000..37998bf40746 --- /dev/null +++ b/dev-java/dbus-java/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> + </maintainer> +</pkgmetadata> |