[Pkg-cli-libs-commits] [SCM] taglib-sharp branch, master, updated. debian/2.0.3.7+dfsg-2-15-g67578a9

Chow Loong Jin hyperair at debian.org
Sun Feb 5 17:23:08 UTC 2012


The following commit has been merged in the master branch:
commit ba1c490da2473cefa50fa5292a27537653378a22
Author: Chow Loong Jin <hyperair at debian.org>
Date:   Mon Feb 6 01:14:19 2012 +0800

    Patch to fix ABI breakage in Taglib.Mpeg4.FIleParser

diff --git a/debian/patches/0004-Readd-Taglib.Mpeg4.FileParser.UserDataBox-property.patch b/debian/patches/0004-Readd-Taglib.Mpeg4.FileParser.UserDataBox-property.patch
new file mode 100644
index 0000000..295081d
--- /dev/null
+++ b/debian/patches/0004-Readd-Taglib.Mpeg4.FileParser.UserDataBox-property.patch
@@ -0,0 +1,27 @@
+From: Chow Loong Jin <hyperair at debian.org>
+Date: Mon, 6 Feb 2012 01:06:24 +0800
+Subject: Readd Taglib.Mpeg4.FileParser.UserDataBox property
+
+The UserDataBox property was renamed to UserDataBoxes and its return type
+changed to an array between 2.0.3.7 and 2.0.4.0, resulting in an ABI
+breakage. This patch readds the property for backward compatibility.
+---
+ src/TagLib/Mpeg4/FileParser.cs |    4 ++++
+ 1 files changed, 4 insertions(+), 0 deletions(-)
+
+diff --git a/src/TagLib/Mpeg4/FileParser.cs b/src/TagLib/Mpeg4/FileParser.cs
+index 2043a50..72efde7 100644
+--- a/src/TagLib/Mpeg4/FileParser.cs
++++ b/src/TagLib/Mpeg4/FileParser.cs
+@@ -157,6 +157,10 @@ namespace TagLib.Mpeg4 {
+ 			get {return udta_boxes.ToArray ();}
+ 		}
+ 		
++		public IsoUserDataBox UserDataBox {
++			get {return UserDataBoxes.Length == 0 ? null : UserDataBoxes[0];}
++		}
++
+ 		/// <summary>
+ 		///    Gets the audio sample entry read by the current instance.
+ 		/// </summary>
+-- 
diff --git a/debian/patches/series b/debian/patches/series
index e57b382..6c9eb62 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 0001-Fix-build-system-for-building-docs.patch
 0002-Amend-taglib-sharp.dll-path-in-pc-file.patch
 0003-Use-gacutil-for-ICSharpCode.SharpZipLib-check.patch
+0004-Readd-Taglib.Mpeg4.FileParser.UserDataBox-property.patch

-- 
taglib-sharp



More information about the Pkg-cli-libs-commits mailing list