[DRE-commits] [SCM] Packaging for ruby-taglib2 branch, master, updated. upstream/0.1.3-5-g1a17bd2
Vincent Carmona
vinc4mai at gmail.com
Thu Apr 28 21:35:53 UTC 2011
The following commit has been merged in the master branch:
commit 5a19536dd224b27762df9cec274501a40155cc12
Author: Vincent Carmona <vinc4mai at gmail.com>
Date: Fri Apr 29 00:45:30 2011 +0200
Compatibility with ruby-taglib
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..89bcfa5
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,10 @@
+ruby-taglib2 for debian
+-----------------------
+
+The librairy is built so it can replace ruby-taglib
+(old libtagc0-ruby debian package) in place.
+When the librairy is called using "require 'taglib'" ruby-taglib2 should
+provides the same interface as ruby-taglib.
+New code based on ruby-taglib2 should use "require 'taglib2'".
+
+ -- Vincent Carmona <vinc4mai at gmail.com> Thu, 28 Apr 2011 20:13:21 +0200
diff --git a/debian/changelog b/debian/changelog
index 39ed6d8..6ab88cd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,7 @@
ruby-taglib2 (0.1.3-1) unstable; urgency=low
* Initial release (Closes: #624428)
+ * d/patches:
+ - add compat.diff see README.Debian
-- Vincent Carmona <vinc4mai at gmail.com> Thu, 28 Apr 2011 20:13:21 +0200
diff --git a/debian/patches/compat.diff b/debian/patches/compat.diff
new file mode 100644
index 0000000..905c322
--- /dev/null
+++ b/debian/patches/compat.diff
@@ -0,0 +1,30 @@
+--- /dev/null
++++ b/lib/taglib.rb
+@@ -0,0 +1,27 @@
++=begin
++Copyright 2010-2011 Vincent Carmona
++vinc4mai+taglib at gmail.com
++
++This file is part of ruby-taglib2.
++
++ ruby-taglib2 is free software; you can redistribute it and/or modify
++ it under the terms of the GNU General Public License as published by
++ the Free Software Foundation; either version 2 of the License, or
++ (at your option) any later version.
++
++ ruby-taglib2 is distributed in the hope that it will be useful,
++ but WITHOUT ANY WARRANTY; without even the implied warranty of
++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++ GNU General Public License for more details.
++
++ You should have received a copy of the GNU General Public License
++ along with ruby-taglib2; if not, write to the Free Software
++ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
++=end
++
++require "taglib2"
++
++module TagLib
++class BadPath < Exception
++end
++end
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..e96754c
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+compat.diff
--
Packaging for ruby-taglib2
More information about the Pkg-ruby-extras-commits
mailing list