summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerkan Kaba <serkan@gentoo.org>2008-05-28 18:43:54 +0000
committerSerkan Kaba <serkan@gentoo.org>2008-05-28 18:43:54 +0000
commit515f303e6de15e800e89b97b72b4f96cc46f3d8c (patch)
tree3fdf1629b528aabf4ca89e0de456e657ca309ac0 /dev-java/jid3
parentRemoving Alon Bar-Lev (alonbl) from metadata.xml (as per #147110). Assigning ... (diff)
downloadhistorical-515f303e6de15e800e89b97b72b4f96cc46f3d8c.tar.gz
historical-515f303e6de15e800e89b97b72b4f96cc46f3d8c.tar.bz2
historical-515f303e6de15e800e89b97b72b4f96cc46f3d8c.zip
Revbump to fix the tests. Fixes bug #220245. Thanks to Jose Quinteiro <gentoo@quinteiro.com> for the patch.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'dev-java/jid3')
-rw-r--r--dev-java/jid3/ChangeLog9
-rw-r--r--dev-java/jid3/Manifest14
-rw-r--r--dev-java/jid3/files/0.46-tests-and-unicode.patch179
-rw-r--r--dev-java/jid3/jid3-0.46-r1.ebuild56
4 files changed, 246 insertions, 12 deletions
diff --git a/dev-java/jid3/ChangeLog b/dev-java/jid3/ChangeLog
index a0301201c4c8..c2576accc211 100644
--- a/dev-java/jid3/ChangeLog
+++ b/dev-java/jid3/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-java/jid3
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jid3/ChangeLog,v 1.4 2008/05/09 20:58:52 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jid3/ChangeLog,v 1.5 2008/05/28 18:43:52 serkan Exp $
+
+*jid3-0.46-r1 (28 May 2008)
+
+ 28 May 2008; Serkan Kaba <serkan@gentoo.org>
+ +files/0.46-tests-and-unicode.patch, +jid3-0.46-r1.ebuild:
+ Revbump to fix the tests. Fixes bug #220245. Thanks to Jose Quinteiro
+ <gentoo@quinteiro.com> for the patch.
09 May 2008; Christian Faulhammer <opfer@gentoo.org> jid3-0.46.ebuild:
stable x86, bug 220191
diff --git a/dev-java/jid3/Manifest b/dev-java/jid3/Manifest
index 7a80fed12400..8d125ac0a5f1 100644
--- a/dev-java/jid3/Manifest
+++ b/dev-java/jid3/Manifest
@@ -1,16 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX 0.46-javadoc.patch 521 RMD160 542be396146c6167e4e831e590c01371229aca81 SHA1 0cfd8cf9e60aa6ac7a91a976a20ab7390c8cf2f4 SHA256 90ba9eb669e1220722be9b69b4ef1bc16303c6f680deafb372d347ac02e343af
+AUX 0.46-tests-and-unicode.patch 17518 RMD160 8e9295edb800df359c00d53dd57911192f7fff46 SHA1 e91cd050f1b78686323f690b224ef8700c92373c SHA256 cfdde9b8bf9e225b16a9828ebd0f957a2fb30aba4690aadf161a44af035270b8
AUX 0.46-tests.patch 1029 RMD160 13ffa4cf41ca8ab852cbb41210a53baa0f9bc084 SHA1 394926826baadb5da417838ee67b00dcd89b79c3 SHA256 f33b55d7cd45eebe2138053481a530ffc8f8b2177fff7a732fc7ceea7feb5551
DIST jid3_0.46.tar.gz 972609 RMD160 05c9ff6c5bea6544bd2f8627acfdec09f1e12d18 SHA1 3a5bf0c2132d1450560ffc51cad91e1652f4d0e6 SHA256 eab5813cf0268c4a114f0ac361e6ffbfc6e233d493cee8a6dba00334b1833491
+EBUILD jid3-0.46-r1.ebuild 1408 RMD160 bffc3a26020e2c41a7655bd63fc559123769e8a9 SHA1 d8a16e61693621de3e9f398942db9ae032f02c44 SHA256 9cd3e2e59332e03bbb58b2318fdfb27082568121c19e34cea346f78cd02769dd
EBUILD jid3-0.46.ebuild 1490 RMD160 74cf935bf9491b5a19ef035d1b9190791646416a SHA1 9f42535d81cb6b9ff2d236e353581fc617399348 SHA256 2c53b2a8ed683d5e971daf720f51832b63db7d5b4b04532c41d2e3c43c1c8928
-MISC ChangeLog 761 RMD160 a748e337ff9fda9b23e4d5699ba0bb6f3aaae468 SHA1 588f3f8d9b771a373133b75b1faabf34aa8d1627 SHA256 36f3c3e09c86d153455a64652ea3793ccc8870703439654720be7f723a26c101
+MISC ChangeLog 1012 RMD160 eea86e344971161b04b226718749fef578906c37 SHA1 45326eb3950b9ab43f244023b8ab7cbccb168242 SHA256 1df4237b8a6c49af23d99a1f0310b93c636b0e21eee8cff092d8833476c5bd55
MISC metadata.xml 380 RMD160 c335281775b69047b5ab0a009afa61b2e4330f03 SHA1 978159ea8268bbf43adbae2ea7796c22c6165ac7 SHA256 3fcd1dc78b79a3f996f6a034a36247e90fdeaae1ae8f6ce1de23b834f0dc380b
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
-
-iEYEARECAAYFAkgkuxIACgkQNQqtfCuFneORYQCgiQ6ArH7UWM0skyaRzSgRYxpt
-bewAmQFTWpZTgr2hHkVi9PMPrO2A1xTb
-=8KIp
------END PGP SIGNATURE-----
diff --git a/dev-java/jid3/files/0.46-tests-and-unicode.patch b/dev-java/jid3/files/0.46-tests-and-unicode.patch
new file mode 100644
index 000000000000..1453cb38b996
--- /dev/null
+++ b/dev-java/jid3/files/0.46-tests-and-unicode.patch
@@ -0,0 +1,179 @@
+--- src/org/blinkenlights/jid3/io/TextEncoding.java 2008-05-27 11:23:03.000000000 -0700
++++ src/org/blinkenlights/jid3/io/TextEncoding.java 2008-05-26 10:39:01.000000000 -0700
+@@ -91,7 +91,7 @@
+ case (byte)0x00:
+ return "ISO-8859-1";
+ case (byte)0x01:
+- return "Unicode";
++ return "UTF-16";
+ default:
+ return null; // can't happen because we control construction of this object
+ }
+--- src/org/blinkenlights/jid3/test/AllTests.java 2008-05-27 11:23:03.000000000 -0700
++++ src/org/blinkenlights/jid3/test/AllTests.java 2008-05-27 11:11:32.000000000 -0700
+@@ -44,7 +44,7 @@
+ public class AllTests extends TestCase
+ {
+ // set root path for testing, so tests can find the test files
+- public static String s_RootPath = "c:/work/jid3/test_data/";
++ public static String s_RootPath = "./test_data/";
+
+ public static void main(String[] args)
+ {
+@@ -134,7 +134,7 @@
+ }
+
+ // a 'visit list' was created by our visitor, recording which frames were visited, so we can compare
+- if ( ! oTestID3Visitor.getVisitList().equals("3=DS+uw_PsKMr(VT$ICBUtvNyEzRL)W[QJO6*-"))
++ if ( ! oTestID3Visitor.getVisitList().equals("3rstuvwyzBCDEIJKLMNOPQRSTUVW$()_=+[6*-"))
+ {
+ fail("Unexpected resulting visit list: " + oTestID3Visitor.getVisitList());
+ }
+--- src/org/blinkenlights/jid3/test/ID3V2Test.java 2008-05-27 11:23:03.000000000 -0700
++++ src/org/blinkenlights/jid3/test/ID3V2Test.java 2008-05-26 10:39:01.000000000 -0700
+@@ -540,7 +540,7 @@
+ oTALB.setTextEncoding(TextEncoding.UNICODE);
+ oID3V2_3_0Tag.setTALBTextInformationFrame(oTALB);
+
+- String sPrefix = "ID3<bh:03><bh:00><bh:00><bh:00><bh:00><bh:00>ATALB<bh:00><bh:00><bh:00>7<bh:00><bh:00><bh:01><bh:ff><bh:fe>a<bh:00>b<bh:00>c<bh:00>d<bh:00>e<bh:00>f<bh:00>g<bh:00>h<bh:00>i<bh:00>j<bh:00>k<bh:00>l<bh:00>m<bh:00>n<bh:00>o<bh:00>p<bh:00>q<bh:00>r<bh:00>s<bh:00>t<bh:00>u<bh:00>v<bh:00>w<bh:00>x<bh:00>y<bh:00>z<bh:00>";
++ String sPrefix = "ID3<bh:03><bh:00><bh:00><bh:00><bh:00><bh:00>ATALB<bh:00><bh:00><bh:00>7<bh:00><bh:00><bh:01><bh:fe><bh:ff><bh:00>a<bh:00>b<bh:00>c<bh:00>d<bh:00>e<bh:00>f<bh:00>g<bh:00>h<bh:00>i<bh:00>j<bh:00>k<bh:00>l<bh:00>m<bh:00>n<bh:00>o<bh:00>p<bh:00>q<bh:00>r<bh:00>s<bh:00>t<bh:00>u<bh:00>v<bh:00>w<bh:00>x<bh:00>y<bh:00>z";
+
+ runTagVerifyTest(oID3V2_3_0Tag, sPrefix);
+ }
+@@ -744,7 +744,7 @@
+ oTIME.setTextEncoding(TextEncoding.UNICODE);
+ oID3V2_3_0Tag.setTIMETextInformationFrame(oTIME);
+
+- String sPrefix = "ID3<bh:03><bh:00><bh:00><bh:00><bh:00><bh:00><bh:15>TIME<bh:00><bh:00><bh:00><bh:0b><bh:00><bh:00><bh:01><bh:ff><bh:fe>0<bh:00>8<bh:00>0<bh:00>5<bh:00>";
++ String sPrefix = "ID3<bh:03><bh:00><bh:00><bh:00><bh:00><bh:00><bh:15>TIME<bh:00><bh:00><bh:00><bh:0b><bh:00><bh:00><bh:01><bh:fe><bh:ff><bh:00>0<bh:00>8<bh:00>0<bh:00>5";
+
+ runTagVerifyTest(oID3V2_3_0Tag, sPrefix);
+ }
+@@ -1258,7 +1258,7 @@
+ oTXXX = new TXXXTextInformationID3V2Frame("description2", "information2");
+ oID3V2_3_0Tag.addTXXXTextInformationFrame(oTXXX);
+
+- String sPrefix = "ID3<bh:03><bh:00><bh:00><bh:00><bh:00><bh:00>aTXXX<bh:00><bh:00><bh:00>3<bh:00><bh:00><bh:01><bh:ff><bh:fe>d<bh:00>e<bh:00>s<bh:00>c<bh:00>r<bh:00>i<bh:00>p<bh:00>t<bh:00>i<bh:00>o<bh:00>n<bh:00><bh:00><bh:00><bh:ff><bh:fe>i<bh:00>n<bh:00>f<bh:00>o<bh:00>r<bh:00>m<bh:00>a<bh:00>t<bh:00>i<bh:00>o<bh:00>n<bh:00>TXXX<bh:00><bh:00><bh:00><bh:1a><bh:00><bh:00><bh:00>description2<bh:00>information2";
++ String sPrefix = "ID3<bh:03><bh:00><bh:00><bh:00><bh:00><bh:00>aTXXX<bh:00><bh:00><bh:00>3<bh:00><bh:00><bh:01><bh:fe><bh:ff><bh:00>d<bh:00>e<bh:00>s<bh:00>c<bh:00>r<bh:00>i<bh:00>p<bh:00>t<bh:00>i<bh:00>o<bh:00>n<bh:00><bh:00><bh:fe><bh:ff><bh:00>i<bh:00>n<bh:00>f<bh:00>o<bh:00>r<bh:00>m<bh:00>a<bh:00>t<bh:00>i<bh:00>o<bh:00>nTXXX<bh:00><bh:00><bh:00><bh:1a><bh:00><bh:00><bh:00>description2<bh:00>information2";
+
+ runTagVerifyTest(oID3V2_3_0Tag, sPrefix);
+ }
+@@ -1464,7 +1464,7 @@
+ oWXXX = new WXXXUrlLinkID3V2Frame("another description", "http://www.grebenc.ca");
+ oID3V2_3_0Tag.addWXXXUrlLinkFrame(oWXXX);
+
+- String sPrefix = "ID3<bh:03><bh:00><bh:00><bh:00><bh:00><bh:00>vWXXX<bh:00><bh:00><bh:00>*<bh:00><bh:00><bh:00>another description<bh:00>http://www.grebenc.caWXXX<bh:00><bh:00><bh:00>8<bh:00><bh:00><bh:01><bh:ff><bh:fe>d<bh:00>e<bh:00>s<bh:00>c<bh:00>r<bh:00>i<bh:00>p<bh:00>t<bh:00>i<bh:00>o<bh:00>n<bh:00><bh:00><bh:00>http://jid3.blinkenlights.org";
++ String sPrefix = "ID3<bh:03><bh:00><bh:00><bh:00><bh:00><bh:00>vWXXX<bh:00><bh:00><bh:00>*<bh:00><bh:00><bh:00>another description<bh:00>http://www.grebenc.caWXXX<bh:00><bh:00><bh:00>8<bh:00><bh:00><bh:01><bh:fe><bh:ff><bh:00>d<bh:00>e<bh:00>s<bh:00>c<bh:00>r<bh:00>i<bh:00>p<bh:00>t<bh:00>i<bh:00>o<bh:00>n<bh:00><bh:00>http://jid3.blinkenlights.org";
+
+ runTagVerifyTest(oID3V2_3_0Tag, sPrefix);
+ }
+@@ -1519,7 +1519,7 @@
+ oID3V2_3_0Tag.addAPICFrame(oAPIC);
+ oID3V2_3_0Tag.addAPICFrame(new APICID3V2Frame("image/jpeg", APICID3V2Frame.PictureType.FrontCover, "Front cover.", new byte[] { 0x05, 0x04, 0x03, 0x02, 0x01 }));
+
+- String sPrefix = "ID3<bh:03><bh:00><bh:00><bh:00><bh:00><bh:00>bAPIC<bh:00><bh:00><bh:00>/<bh:00><bh:00><bh:01>image/png<bh:00><bh:08><bh:ff><bh:fe>A<bh:00>r<bh:00>t<bh:00>i<bh:00>s<bh:00>t<bh:00> <bh:00>i<bh:00>m<bh:00>a<bh:00>g<bh:00>e<bh:00>.<bh:00><bh:00><bh:00><bh:01><bh:02><bh:03><bh:04><bh:05>APIC<bh:00><bh:00><bh:00><bh:1f><bh:00><bh:00><bh:00>image/jpeg<bh:00><bh:03>Front cover.<bh:00><bh:05><bh:04><bh:03><bh:02><bh:01>";
++ String sPrefix = "ID3<bh:03><bh:00><bh:00><bh:00><bh:00><bh:00>bAPIC<bh:00><bh:00><bh:00>/<bh:00><bh:00><bh:01>image/png<bh:00><bh:08><bh:fe><bh:ff><bh:00>A<bh:00>r<bh:00>t<bh:00>i<bh:00>s<bh:00>t<bh:00> <bh:00>i<bh:00>m<bh:00>a<bh:00>g<bh:00>e<bh:00>.<bh:00><bh:00><bh:01><bh:02><bh:03><bh:04><bh:05>APIC<bh:00><bh:00><bh:00><bh:1f><bh:00><bh:00><bh:00>image/jpeg<bh:00><bh:03>Front cover.<bh:00><bh:05><bh:04><bh:03><bh:02><bh:01>";
+
+ runTagVerifyTest(oID3V2_3_0Tag, sPrefix);
+ }
+@@ -1556,7 +1556,7 @@
+ oID3V2_3_0Tag.addCOMMFrame(oCOMM);
+ oID3V2_3_0Tag.addCOMMFrame(new COMMID3V2Frame("rus", "next description", "next actual text"));
+
+- String sPrefix = "ID3<bh:03><bh:00><bh:00><bh:00><bh:00><bh:00>{COMM<bh:00><bh:00><bh:00>B<bh:00><bh:00><bh:01>eng<bh:ff><bh:fe>s<bh:00>h<bh:00>o<bh:00>r<bh:00>t<bh:00> <bh:00>d<bh:00>e<bh:00>s<bh:00>c<bh:00>r<bh:00>i<bh:00>p<bh:00>t<bh:00>i<bh:00>o<bh:00>n<bh:00><bh:00><bh:00><bh:ff><bh:fe>a<bh:00>c<bh:00>t<bh:00>u<bh:00>a<bh:00>l<bh:00> <bh:00>t<bh:00>e<bh:00>x<bh:00>t<bh:00>COMM<bh:00><bh:00><bh:00>%<bh:00><bh:00><bh:00>rusnext description<bh:00>next actual text";
++ String sPrefix = "ID3<bh:03><bh:00><bh:00><bh:00><bh:00><bh:00>{COMM<bh:00><bh:00><bh:00>B<bh:00><bh:00><bh:01>eng<bh:fe><bh:ff><bh:00>s<bh:00>h<bh:00>o<bh:00>r<bh:00>t<bh:00> <bh:00>d<bh:00>e<bh:00>s<bh:00>c<bh:00>r<bh:00>i<bh:00>p<bh:00>t<bh:00>i<bh:00>o<bh:00>n<bh:00><bh:00><bh:fe><bh:ff><bh:00>a<bh:00>c<bh:00>t<bh:00>u<bh:00>a<bh:00>l<bh:00> <bh:00>t<bh:00>e<bh:00>x<bh:00>tCOMM<bh:00><bh:00><bh:00>%<bh:00><bh:00><bh:00>rusnext description<bh:00>next actual text";
+
+ runTagVerifyTest(oID3V2_3_0Tag, sPrefix);
+ }
+@@ -1605,7 +1605,7 @@
+ oCOMR.setTextEncoding(TextEncoding.UNICODE);
+ oID3V2_3_0Tag.setCOMRFrame(oCOMR);
+
+- String sPrefix = "ID3<bh:03><bh:00><bh:00><bh:00><bh:00><bh:00>tCOMR<bh:00><bh:00><bh:00>j<bh:00><bh:00><bh:01>cad12.99<bh:00>25250101http://jid3.blinkenlights.org<bh:00><bh:03><bh:ff><bh:fe>s<bh:00>e<bh:00>l<bh:00>l<bh:00>e<bh:00>r<bh:00><bh:00><bh:00><bh:ff><bh:fe>d<bh:00>e<bh:00>s<bh:00>c<bh:00>r<bh:00>i<bh:00>p<bh:00>t<bh:00>i<bh:00>o<bh:00>n<bh:00><bh:00><bh:00>image/png<bh:00><bh:01><bh:02><bh:03><bh:04><bh:05>";
++ String sPrefix = "ID3<bh:03><bh:00><bh:00><bh:00><bh:00><bh:00>tCOMR<bh:00><bh:00><bh:00>j<bh:00><bh:00><bh:01>cad12.99<bh:00>25250101http://jid3.blinkenlights.org<bh:00><bh:03><bh:fe><bh:ff><bh:00>s<bh:00>e<bh:00>l<bh:00>l<bh:00>e<bh:00>r<bh:00><bh:00><bh:fe><bh:ff><bh:00>d<bh:00>e<bh:00>s<bh:00>c<bh:00>r<bh:00>i<bh:00>p<bh:00>t<bh:00>i<bh:00>o<bh:00>n<bh:00><bh:00>image/png<bh:00><bh:01><bh:02><bh:03><bh:04><bh:05>";
+
+ runTagVerifyTest(oID3V2_3_0Tag, sPrefix);
+ }
+@@ -1717,7 +1717,7 @@
+ oGEOB = new GEOBID3V2Frame("image/jpeg", "filename2", "another content description", new byte[] { 0x05, 0x04, 0x03, 0x02, 0x01 });
+ oID3V2_3_0Tag.addGEOBFrame(oGEOB);
+
+- String sPrefix = "ID3<bh:03><bh:00><bh:00><bh:00><bh:00><bh:01><bh:19>GEOB<bh:00><bh:00><bh:00>7<bh:00><bh:00><bh:00>image/jpeg<bh:00>filename2<bh:00>another content description<bh:00><bh:05><bh:04><bh:03><bh:02><bh:01>GEOB<bh:00><bh:00><bh:00>N<bh:00><bh:00><bh:01>image/png<bh:00><bh:ff><bh:fe>f<bh:00>i<bh:00>l<bh:00>e<bh:00>n<bh:00>a<bh:00>m<bh:00>e<bh:00><bh:00><bh:00><bh:ff><bh:fe>c<bh:00>o<bh:00>n<bh:00>t<bh:00>e<bh:00>n<bh:00>t<bh:00> <bh:00>d<bh:00>e<bh:00>s<bh:00>c<bh:00>r<bh:00>i<bh:00>p<bh:00>t<bh:00>i<bh:00>o<bh:00>n<bh:00><bh:00><bh:00><bh:01><bh:02><bh:03><bh:04><bh:05>";
++ String sPrefix = "ID3<bh:03><bh:00><bh:00><bh:00><bh:00><bh:01><bh:19>GEOB<bh:00><bh:00><bh:00>7<bh:00><bh:00><bh:00>image/jpeg<bh:00>filename2<bh:00>another content description<bh:00><bh:05><bh:04><bh:03><bh:02><bh:01>GEOB<bh:00><bh:00><bh:00>N<bh:00><bh:00><bh:01>image/png<bh:00><bh:fe><bh:ff><bh:00>f<bh:00>i<bh:00>l<bh:00>e<bh:00>n<bh:00>a<bh:00>m<bh:00>e<bh:00><bh:00><bh:fe><bh:ff><bh:00>c<bh:00>o<bh:00>n<bh:00>t<bh:00>e<bh:00>n<bh:00>t<bh:00> <bh:00>d<bh:00>e<bh:00>s<bh:00>c<bh:00>r<bh:00>i<bh:00>p<bh:00>t<bh:00>i<bh:00>o<bh:00>n<bh:00><bh:00><bh:01><bh:02><bh:03><bh:04><bh:05>";
+
+ runTagVerifyTest(oID3V2_3_0Tag, sPrefix);
+ }
+@@ -1779,7 +1779,7 @@
+ oIPLS.setTextEncoding(TextEncoding.UNICODE);
+ oID3V2_3_0Tag.setIPLSFrame(oIPLS);
+
+- String sPrefix = "ID3<bh:03><bh:00><bh:00><bh:00><bh:00><bh:01><bh:15>IPLS<bh:00><bh:00><bh:00><bh:8b><bh:00><bh:00><bh:01><bh:ff><bh:fe>i<bh:00>n<bh:00>v<bh:00>o<bh:00>l<bh:00>v<bh:00>e<bh:00>m<bh:00>e<bh:00>n<bh:00>t<bh:00>1<bh:00><bh:00><bh:00><bh:ff><bh:fe>p<bh:00>e<bh:00>r<bh:00>s<bh:00>o<bh:00>n<bh:00>1<bh:00><bh:00><bh:00><bh:ff><bh:fe>i<bh:00>n<bh:00>v<bh:00>o<bh:00>l<bh:00>v<bh:00>e<bh:00>m<bh:00>e<bh:00>n<bh:00>t<bh:00>1<bh:00><bh:00><bh:00><bh:ff><bh:fe>p<bh:00>e<bh:00>r<bh:00>s<bh:00>o<bh:00>n<bh:00>2<bh:00><bh:00><bh:00><bh:ff><bh:fe>i<bh:00>n<bh:00>v<bh:00>o<bh:00>l<bh:00>v<bh:00>e<bh:00>m<bh:00>e<bh:00>n<bh:00>t<bh:00>2<bh:00><bh:00><bh:00><bh:ff><bh:fe>p<bh:00>e<bh:00>r<bh:00>s<bh:00>o<bh:00>n<bh:00>3<bh:00><bh:00><bh:00>";
++ String sPrefix = "ID3<bh:03><bh:00><bh:00><bh:00><bh:00><bh:01><bh:15>IPLS<bh:00><bh:00><bh:00><bh:8b><bh:00><bh:00><bh:01><bh:fe><bh:ff><bh:00>i<bh:00>n<bh:00>v<bh:00>o<bh:00>l<bh:00>v<bh:00>e<bh:00>m<bh:00>e<bh:00>n<bh:00>t<bh:00>1<bh:00><bh:00><bh:fe><bh:ff><bh:00>p<bh:00>e<bh:00>r<bh:00>s<bh:00>o<bh:00>n<bh:00>1<bh:00><bh:00><bh:fe><bh:ff><bh:00>i<bh:00>n<bh:00>v<bh:00>o<bh:00>l<bh:00>v<bh:00>e<bh:00>m<bh:00>e<bh:00>n<bh:00>t<bh:00>1<bh:00><bh:00><bh:fe><bh:ff><bh:00>p<bh:00>e<bh:00>r<bh:00>s<bh:00>o<bh:00>n<bh:00>2<bh:00><bh:00><bh:fe><bh:ff><bh:00>i<bh:00>n<bh:00>v<bh:00>o<bh:00>l<bh:00>v<bh:00>e<bh:00>m<bh:00>e<bh:00>n<bh:00>t<bh:00>2<bh:00><bh:00><bh:fe><bh:ff><bh:00>p<bh:00>e<bh:00>r<bh:00>s<bh:00>o<bh:00>n<bh:00>3<bh:00><bh:00>";
+
+ runTagVerifyTest(oID3V2_3_0Tag, sPrefix);
+ }
+@@ -1871,7 +1871,7 @@
+ oOWNE.setTextEncoding(TextEncoding.UNICODE);
+ oID3V2_3_0Tag.setOWNEFrame(oOWNE);
+
+- String sPrefix = "ID3<bh:03><bh:00><bh:00><bh:00><bh:00><bh:00>*OWNE<bh:00><bh:00><bh:00> <bh:00><bh:00><bh:01>cad12.34<bh:00>20000102<bh:ff><bh:fe>s<bh:00>e<bh:00>l<bh:00>l<bh:00>e<bh:00>r<bh:00>";
++ String sPrefix = "ID3<bh:03><bh:00><bh:00><bh:00><bh:00><bh:00>*OWNE<bh:00><bh:00><bh:00> <bh:00><bh:00><bh:01>cad12.34<bh:00>20000102<bh:fe><bh:ff><bh:00>s<bh:00>e<bh:00>l<bh:00>l<bh:00>e<bh:00>r";
+
+ runTagVerifyTest(oID3V2_3_0Tag, sPrefix);
+ }
+@@ -2063,7 +2063,7 @@
+ oSYLT.addSyncEntry(new SYLTID3V2Frame.SyncEntry("def", 5));
+ oID3V2_3_0Tag.addSYLTFrame(oSYLT);
+
+- String sPrefix = "ID3<bh:03><bh:00><bh:00><bh:00><bh:00><bh:01><bh:1a>SYLT<bh:00><bh:00><bh:00><bh:5c><bh:00><bh:00><bh:01>eng<bh:02><bh:01><bh:ff><bh:fe>c<bh:00>o<bh:00>n<bh:00>t<bh:00>e<bh:00>n<bh:00>t<bh:00> <bh:00>d<bh:00>e<bh:00>s<bh:00>c<bh:00>r<bh:00>i<bh:00>p<bh:00>t<bh:00>o<bh:00>r<bh:00><bh:00><bh:00><bh:ff><bh:fe>o<bh:00>n<bh:00>e<bh:00><bh:00><bh:00><bh:00><bh:00><bh:00><bh:01><bh:ff><bh:fe>t<bh:00>w<bh:00>o<bh:00><bh:00><bh:00><bh:00><bh:00><bh:00><bh:02><bh:ff><bh:fe>t<bh:00>h<bh:00>r<bh:00>e<bh:00>e<bh:00><bh:00><bh:00><bh:00><bh:00><bh:00><bh:03>SYLT<bh:00><bh:00><bh:00>*<bh:00><bh:00><bh:00>rus<bh:01><bh:06>another description<bh:00>abc<bh:00><bh:00><bh:00><bh:00><bh:04>def<bh:00><bh:00><bh:00><bh:00><bh:05>";
++ String sPrefix = "ID3<bh:03><bh:00><bh:00><bh:00><bh:00><bh:01><bh:1a>SYLT<bh:00><bh:00><bh:00><bh:5c><bh:00><bh:00><bh:01>eng<bh:02><bh:01><bh:fe><bh:ff><bh:00>c<bh:00>o<bh:00>n<bh:00>t<bh:00>e<bh:00>n<bh:00>t<bh:00> <bh:00>d<bh:00>e<bh:00>s<bh:00>c<bh:00>r<bh:00>i<bh:00>p<bh:00>t<bh:00>o<bh:00>r<bh:00><bh:00><bh:fe><bh:ff><bh:00>o<bh:00>n<bh:00>e<bh:00><bh:00><bh:00><bh:00><bh:00><bh:01><bh:fe><bh:ff><bh:00>t<bh:00>w<bh:00>o<bh:00><bh:00><bh:00><bh:00><bh:00><bh:02><bh:fe><bh:ff><bh:00>t<bh:00>h<bh:00>r<bh:00>e<bh:00>e<bh:00><bh:00><bh:00><bh:00><bh:00><bh:03>SYLT<bh:00><bh:00><bh:00>*<bh:00><bh:00><bh:00>rus<bh:01><bh:06>another description<bh:00>abc<bh:00><bh:00><bh:00><bh:00><bh:04>def<bh:00><bh:00><bh:00><bh:00><bh:05>";
+
+ runTagVerifyTest(oID3V2_3_0Tag, sPrefix);
+ }
+@@ -2141,7 +2141,7 @@
+ oUSER.setTextEncoding(TextEncoding.UNICODE);
+ oID3V2_3_0Tag.setUSERFrame(oUSER);
+
+- String sPrefix = "ID3<bh:03><bh:00><bh:00><bh:00><bh:00><bh:00>*USER<bh:00><bh:00><bh:00> <bh:00><bh:00><bh:01>eng<bh:ff><bh:fe>T<bh:00>e<bh:00>r<bh:00>m<bh:00>s<bh:00> <bh:00>o<bh:00>f<bh:00> <bh:00>u<bh:00>s<bh:00>e<bh:00>.<bh:00>";
++ String sPrefix = "ID3<bh:03><bh:00><bh:00><bh:00><bh:00><bh:00>*USER<bh:00><bh:00><bh:00> <bh:00><bh:00><bh:01>eng<bh:fe><bh:ff><bh:00>T<bh:00>e<bh:00>r<bh:00>m<bh:00>s<bh:00> <bh:00>o<bh:00>f<bh:00> <bh:00>u<bh:00>s<bh:00>e<bh:00>.";
+
+ runTagVerifyTest(oID3V2_3_0Tag, sPrefix);
+ }
+@@ -2177,7 +2177,7 @@
+ oUSLT.setTextEncoding(TextEncoding.UNICODE);
+ oID3V2_3_0Tag.addUSLTFrame(oUSLT);
+
+- String sPrefix = "ID3<bh:03><bh:00><bh:00><bh:00><bh:00><bh:00>DUSLT<bh:00><bh:00><bh:00>:<bh:00><bh:00><bh:01>eng<bh:ff><bh:fe>c<bh:00>o<bh:00>n<bh:00>t<bh:00>e<bh:00>n<bh:00>t<bh:00> <bh:00>d<bh:00>e<bh:00>s<bh:00>c<bh:00>r<bh:00>i<bh:00>p<bh:00>t<bh:00>o<bh:00>r<bh:00><bh:00><bh:00><bh:ff><bh:fe>l<bh:00>y<bh:00>r<bh:00>i<bh:00>c<bh:00>s<bh:00>";
++ String sPrefix = "ID3<bh:03><bh:00><bh:00><bh:00><bh:00><bh:00>DUSLT<bh:00><bh:00><bh:00>:<bh:00><bh:00><bh:01>eng<bh:fe><bh:ff><bh:00>c<bh:00>o<bh:00>n<bh:00>t<bh:00>e<bh:00>n<bh:00>t<bh:00> <bh:00>d<bh:00>e<bh:00>s<bh:00>c<bh:00>r<bh:00>i<bh:00>p<bh:00>t<bh:00>o<bh:00>r<bh:00><bh:00><bh:fe><bh:ff><bh:00>l<bh:00>y<bh:00>r<bh:00>i<bh:00>c<bh:00>s";
+
+ runTagVerifyTest(oID3V2_3_0Tag, sPrefix);
+ }
+@@ -2599,7 +2599,7 @@
+ ID3Tag.useStrict(false);
+ try
+ {
+- File oSourceDir = new File("c:/temp/mp3");
++ File oSourceDir = new File("test_data");
+ recurseDirectoryForMP3s(oSourceDir);
+ }
+ catch (Exception e)
+--- src/org/blinkenlights/jid3/v2/ID3V2Tag.java 2008-05-27 11:23:03.000000000 -0700
++++ src/org/blinkenlights/jid3/v2/ID3V2Tag.java 2008-05-27 11:09:51.000000000 -0700
+@@ -50,7 +50,7 @@
+ protected boolean m_bCRCDataFlag;
+
+ /** Mapping from frame ID to list containing frames. For frames that can only be used once. */
+- protected Map m_oFrameIdToFrameMap = null;
++ protected SortedMap m_oFrameIdToFrameMap = null;
+
+ /** Default padding for ID3 v2 frames, if not specified. 16 bytes, because Winamp does not read the last
+ * frame when there isn't at least 6 bytes of padding following it in a tag. */
+@@ -72,7 +72,7 @@
+ m_bUnsynchronizationUsedFlag = bUnsynchronizationUsedFlag;
+ m_bExtendedHeaderFlag = bExtendedHeaderFlag;
+ m_bExperimentalFlag = bExperimentalFlag;
+- m_oFrameIdToFrameMap = new HashMap();
++ m_oFrameIdToFrameMap = new TreeMap();
+ //HACK: Default padding of 16 bytes, because Winamp doesn't seem to see the last frame in a v2 tag
+ // when there is less than 6 bytes of padding. (???)
+ m_iPaddingLength = s_iDefaultPaddingLength;
diff --git a/dev-java/jid3/jid3-0.46-r1.ebuild b/dev-java/jid3/jid3-0.46-r1.ebuild
new file mode 100644
index 000000000000..8226f40269d5
--- /dev/null
+++ b/dev-java/jid3/jid3-0.46-r1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jid3/jid3-0.46-r1.ebuild,v 1.1 2008/05/28 18:43:52 serkan 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="~amd64 ~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-3.8* )"
+
+DEPEND=">=virtual/jdk-1.4
+ test? ( =dev-java/junit-3.8* )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${PV}-javadoc.patch"
+ epatch "${FILESDIR}/${PV}-tests-and-unicode.patch"
+ rm -v "${S}"/dist/*.jar || die
+ if use !test; then
+ rm -rv "${S}/src/org/blinkenlights/jid3/test" || 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/
+}