From 2d6b3097e53397c9ba5f0e114c46e5ebe78e90c2 Mon Sep 17 00:00:00 2001 From: Petteri Räty Date: Sun, 6 May 2007 10:19:28 +0000 Subject: Initial addition. Fixes bug #173993. Thanks to Serkan Kaba for the initial ebuild. Package-Manager: portage-2.1.2.5 --- dev-java/jid3/ChangeLog | 12 +++++++ dev-java/jid3/Manifest | 34 ++++++++++++++++++++ dev-java/jid3/files/0.46-javadoc.patch | 11 +++++++ dev-java/jid3/files/0.46-tests.patch | 21 ++++++++++++ dev-java/jid3/files/digest-jid3-0.46 | 3 ++ dev-java/jid3/jid3-0.46.ebuild | 58 ++++++++++++++++++++++++++++++++++ dev-java/jid3/metadata.xml | 10 ++++++ 7 files changed, 149 insertions(+) create mode 100644 dev-java/jid3/ChangeLog create mode 100644 dev-java/jid3/Manifest create mode 100644 dev-java/jid3/files/0.46-javadoc.patch create mode 100644 dev-java/jid3/files/0.46-tests.patch create mode 100644 dev-java/jid3/files/digest-jid3-0.46 create mode 100644 dev-java/jid3/jid3-0.46.ebuild create mode 100644 dev-java/jid3/metadata.xml (limited to 'dev-java/jid3') diff --git a/dev-java/jid3/ChangeLog b/dev-java/jid3/ChangeLog new file mode 100644 index 000000000000..74e44445ad4d --- /dev/null +++ b/dev-java/jid3/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for dev-java/jid3 +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jid3/ChangeLog,v 1.1 2007/05/06 10:19:28 betelgeuse Exp $ + +*jid3-0.46 (06 May 2007) + + 06 May 2007; Petteri Räty + +files/0.46-javadoc.patch, +files/0.46-tests.patch, +metadata.xml, + +jid3-0.46.ebuild: + Initial addition. Fixes bug #173993. Thanks to Serkan Kaba + for the initial ebuild. + diff --git a/dev-java/jid3/Manifest b/dev-java/jid3/Manifest new file mode 100644 index 000000000000..c66bcb473e94 --- /dev/null +++ b/dev-java/jid3/Manifest @@ -0,0 +1,34 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX 0.46-javadoc.patch 521 RMD160 542be396146c6167e4e831e590c01371229aca81 SHA1 0cfd8cf9e60aa6ac7a91a976a20ab7390c8cf2f4 SHA256 90ba9eb669e1220722be9b69b4ef1bc16303c6f680deafb372d347ac02e343af +MD5 9631cccbf07521134ef935e78976f406 files/0.46-javadoc.patch 521 +RMD160 542be396146c6167e4e831e590c01371229aca81 files/0.46-javadoc.patch 521 +SHA256 90ba9eb669e1220722be9b69b4ef1bc16303c6f680deafb372d347ac02e343af files/0.46-javadoc.patch 521 +AUX 0.46-tests.patch 1029 RMD160 13ffa4cf41ca8ab852cbb41210a53baa0f9bc084 SHA1 394926826baadb5da417838ee67b00dcd89b79c3 SHA256 f33b55d7cd45eebe2138053481a530ffc8f8b2177fff7a732fc7ceea7feb5551 +MD5 9f12b7b71682251574aca62997649749 files/0.46-tests.patch 1029 +RMD160 13ffa4cf41ca8ab852cbb41210a53baa0f9bc084 files/0.46-tests.patch 1029 +SHA256 f33b55d7cd45eebe2138053481a530ffc8f8b2177fff7a732fc7ceea7feb5551 files/0.46-tests.patch 1029 +DIST jid3_0.46.tar.gz 972609 RMD160 05c9ff6c5bea6544bd2f8627acfdec09f1e12d18 SHA1 3a5bf0c2132d1450560ffc51cad91e1652f4d0e6 SHA256 eab5813cf0268c4a114f0ac361e6ffbfc6e233d493cee8a6dba00334b1833491 +EBUILD jid3-0.46.ebuild 1477 RMD160 0d8289c5eee08e8436a466087efc25f06040a5f9 SHA1 211467f5f086ff374a24e01d1448ee3185a19747 SHA256 aa525e5b87820dbffc044d3cc84ead4633f1a4eedb91707cec2e44da68c5ad48 +MD5 109fc5708067d9880b6172952ebe699c jid3-0.46.ebuild 1477 +RMD160 0d8289c5eee08e8436a466087efc25f06040a5f9 jid3-0.46.ebuild 1477 +SHA256 aa525e5b87820dbffc044d3cc84ead4633f1a4eedb91707cec2e44da68c5ad48 jid3-0.46.ebuild 1477 +MISC ChangeLog 484 RMD160 91245e912a715345c0dd333a9c99978de14941c8 SHA1 3939b0c7012183d10f79d68522c5fddd3a44f5d7 SHA256 949a0151273cb753bf1df4767f1e443aab8878231157269da57ac2cef2193de3 +MD5 59815a44909e9b64d5f6d7e35d0f8985 ChangeLog 484 +RMD160 91245e912a715345c0dd333a9c99978de14941c8 ChangeLog 484 +SHA256 949a0151273cb753bf1df4767f1e443aab8878231157269da57ac2cef2193de3 ChangeLog 484 +MISC metadata.xml 380 RMD160 c335281775b69047b5ab0a009afa61b2e4330f03 SHA1 978159ea8268bbf43adbae2ea7796c22c6165ac7 SHA256 3fcd1dc78b79a3f996f6a034a36247e90fdeaae1ae8f6ce1de23b834f0dc380b +MD5 e8a4b12e51e0c94def4440c709b23584 metadata.xml 380 +RMD160 c335281775b69047b5ab0a009afa61b2e4330f03 metadata.xml 380 +SHA256 3fcd1dc78b79a3f996f6a034a36247e90fdeaae1ae8f6ce1de23b834f0dc380b metadata.xml 380 +MD5 023ad8f109164e5ead53d6d5ed7e16ae files/digest-jid3-0.46 229 +RMD160 5a08f3735cfd191c785177a53dedb2db23dde3b2 files/digest-jid3-0.46 229 +SHA256 e10dd423ce33d0290085e4b7d66c1812e524c10693e070888af8182a58dc76b9 files/digest-jid3-0.46 229 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.3 (GNU/Linux) + +iD8DBQFGPau1cxLzpIGCsLQRAsFuAJ0aKwM/HQNmwYi8sTRvKb4mPCPY2QCeNr7l +8Njp8fh366zgz6g5c1uj5xI= +=5cBE +-----END PGP SIGNATURE----- diff --git a/dev-java/jid3/files/0.46-javadoc.patch b/dev-java/jid3/files/0.46-javadoc.patch new file mode 100644 index 000000000000..8a17f1de73bb --- /dev/null +++ b/dev-java/jid3/files/0.46-javadoc.patch @@ -0,0 +1,11 @@ +diff -ur nbproject.old/build-impl.xml nbproject/build-impl.xml +--- nbproject.old/build-impl.xml 2007-05-05 13:32:49.000000000 +0300 ++++ nbproject/build-impl.xml 2007-05-05 13:32:56.000000000 +0300 +@@ -343,7 +343,6 @@ + + + +- + + + diff --git a/dev-java/jid3/files/0.46-tests.patch b/dev-java/jid3/files/0.46-tests.patch new file mode 100644 index 000000000000..7c557a6a8528 --- /dev/null +++ b/dev-java/jid3/files/0.46-tests.patch @@ -0,0 +1,21 @@ +diff -ur src.old/org/blinkenlights/jid3/test/ID3V2Test.java src/org/blinkenlights/jid3/test/ID3V2Test.java +--- src.old/org/blinkenlights/jid3/test/ID3V2Test.java 2007-05-05 14:15:53.000000000 +0300 ++++ src/org/blinkenlights/jid3/test/ID3V2Test.java 2007-05-05 14:17:02.000000000 +0300 +@@ -2612,7 +2612,7 @@ + throws Exception + { + File[] aoMP3File = getMP3FileList(oDirectory); +- for (int i=0; i < aoMP3File.length; i++) ++ for (int i=0; aoMP3File != null && i < aoMP3File.length; i++) + { + // mp3 file to read + MP3File oMP3File = new MP3File(aoMP3File[i]); +@@ -2626,7 +2626,7 @@ + } + } + File[] aoDirectory = getSubDirectories(oDirectory); +- for (int i=0; i < aoDirectory.length; i++) ++ for (int i=0; aoDirectory != null && i < aoDirectory.length; i++) + { + // subdirectory to recurse into + System.out.println("Recursing into subdirectory: " + aoDirectory[i].getAbsolutePath()); diff --git a/dev-java/jid3/files/digest-jid3-0.46 b/dev-java/jid3/files/digest-jid3-0.46 new file mode 100644 index 000000000000..880d7cd3adc3 --- /dev/null +++ b/dev-java/jid3/files/digest-jid3-0.46 @@ -0,0 +1,3 @@ +MD5 fb33adfd67cfd744751de7d02f5c0d95 jid3_0.46.tar.gz 972609 +RMD160 05c9ff6c5bea6544bd2f8627acfdec09f1e12d18 jid3_0.46.tar.gz 972609 +SHA256 eab5813cf0268c4a114f0ac361e6ffbfc6e233d493cee8a6dba00334b1833491 jid3_0.46.tar.gz 972609 diff --git a/dev-java/jid3/jid3-0.46.ebuild b/dev-java/jid3/jid3-0.46.ebuild new file mode 100644 index 000000000000..262baa146913 --- /dev/null +++ b/dev-java/jid3/jid3-0.46.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jid3/jid3-0.46.ebuild,v 1.1 2007/05/06 10:19:28 betelgeuse Exp $ + +JAVA_PKG_IUSE="doc source test" +# To make sure the javadoc patch doesn't break things +WANT_SPLIT_WANT="true" + +inherit eutils java-pkg-2 java-ant-2 + +MY_P=${P/-/_} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="ID3 Class Library Implementation" +HOMEPAGE="http://jid3.blinkenlights.org/" +SRC_URI="http://jid3.blinkenlights.org/release/${MY_P}.tar.gz" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +# Feel free to submit a patch that doesn't bundle the classes +# into the result jar +RDEPEND=">=virtual/jre-1.4 + test? ( dev-java/junit )" + +DEPEND=">=virtual/jdk-1.4 + test? ( dev-java/junit )" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/0.46-javadoc.patch" + rm -v "${S}"/dist/*.jar || die + if use !test; then + rm -rv "${S}/src/org/blinkenlights/jid3/test" || die + else + epatch "${FILESDIR}/0.46-tests.patch" + sed -e "s%c:/work/jid3/%${S}/%" -i \ + src/org/blinkenlights/jid3/test/AllTests.java || die + fi +} + +src_compile() { + local junit="-Dlibs.junit.classpath" + eant jar $(use_doc) \ + $(use test && echo ${junit}=$(java-pkg_getjars junit)) +} + +src_test() { + ejunit -cp dist/JID3.jar org.blinkenlights.jid3.test.AllTests +} + +src_install() { + java-pkg_dojar dist/JID3.jar + use doc && java-pkg_dojavadoc dist/javadoc + use source && java-pkg_dosrc src/ +} diff --git a/dev-java/jid3/metadata.xml b/dev-java/jid3/metadata.xml new file mode 100644 index 000000000000..5c85ecc2bd69 --- /dev/null +++ b/dev-java/jid3/metadata.xml @@ -0,0 +1,10 @@ + + + + java + + JID3 is a class library, written in Java and licensed under the LGPL, + which provides the required functionality for editing ID3 tags commonly + used in MP3 media files. + + -- cgit v1.2.3-65-gdbad