r18494 - in /trunk/libogg-vorbis-header-perl/debian: changelog control patches/ patches/comments_case_insensitive.patch patches/series rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Sat Apr 12 12:28:16 UTC 2008


Author: gregoa-guest
Date: Sat Apr 12 12:28:15 2008
New Revision: 18494

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=18494
Log:
* Add patch comments_case_insensitive.patch: comment field names are
  case-insensitive as per the Vorbis specification (closes: #315985);
  add quilt framework. Thanks to Frank Murphy for the bug report and the
  patch.
* debian/rules: refresh, no functional changes.

Added:
    trunk/libogg-vorbis-header-perl/debian/patches/
    trunk/libogg-vorbis-header-perl/debian/patches/comments_case_insensitive.patch
    trunk/libogg-vorbis-header-perl/debian/patches/series
Modified:
    trunk/libogg-vorbis-header-perl/debian/changelog
    trunk/libogg-vorbis-header-perl/debian/control
    trunk/libogg-vorbis-header-perl/debian/rules

Modified: trunk/libogg-vorbis-header-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libogg-vorbis-header-perl/debian/changelog?rev=18494&op=diff
==============================================================================
--- trunk/libogg-vorbis-header-perl/debian/changelog (original)
+++ trunk/libogg-vorbis-header-perl/debian/changelog Sat Apr 12 12:28:15 2008
@@ -1,3 +1,13 @@
+libogg-vorbis-header-perl (0.03-3) UNRELEASED; urgency=low
+
+  * Add patch comments_case_insensitive.patch: comment field names are
+    case-insensitive as per the Vorbis specification (closes: #315985);
+    add quilt framework. Thanks to Frank Murphy for the bug report and the
+    patch.
+  * debian/rules: refresh, no functional changes.
+
+ -- gregor herrmann <gregor+debian at comodo.priv.at>  Sat, 12 Apr 2008 14:24:05 +0200
+
 libogg-vorbis-header-perl (0.03-2) unstable; urgency=low
 
   [ Damyan Ivanov ]

Modified: trunk/libogg-vorbis-header-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libogg-vorbis-header-perl/debian/control?rev=18494&op=diff
==============================================================================
--- trunk/libogg-vorbis-header-perl/debian/control (original)
+++ trunk/libogg-vorbis-header-perl/debian/control Sat Apr 12 12:28:15 2008
@@ -1,7 +1,8 @@
 Source: libogg-vorbis-header-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 6), perl (>= 5.8.0-7), libinline-perl (>=0.44-3), libvorbis-dev (>= 1.0.0-3)
+Build-Depends: debhelper (>= 6), perl (>= 5.8.0-7), libinline-perl (>=0.44-3),
+ libvorbis-dev (>= 1.0.0-3), quilt (>= 0.40)
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: gregor herrmann <gregor+debian at comodo.priv.at>, Niko Tyni <ntyni at debian.org>
 Standards-Version: 3.7.3

Added: trunk/libogg-vorbis-header-perl/debian/patches/comments_case_insensitive.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libogg-vorbis-header-perl/debian/patches/comments_case_insensitive.patch?rev=18494&op=file
==============================================================================
--- trunk/libogg-vorbis-header-perl/debian/patches/comments_case_insensitive.patch (added)
+++ trunk/libogg-vorbis-header-perl/debian/patches/comments_case_insensitive.patch Sat Apr 12 12:28:15 2008
@@ -1,0 +1,13 @@
+http://xiph.org/vorbis/doc/Vorbis_I_spec.html#vorbis-spec-comment
+"The field name is case-insensitive and may consist of ..."
+
+--- libogg-vorbis-header-perl.orig/Header.pm
++++ libogg-vorbis-header-perl/Header.pm
+@@ -71,7 +71,6 @@
+ 	while ($#comments >= 0) {
+ 		my $key = shift @comments;
+ 		$key =~ s/[^\x20-\x3C\x3E-\x7D]//g;
+-		$key = lc($key);
+ 		my $val = shift @comments;
+ 		$val =~ s/[^\x20-\x7D]//g;
+ 		push @{$self->{COMMENTS}->{$key}}, $val;

Added: trunk/libogg-vorbis-header-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libogg-vorbis-header-perl/debian/patches/series?rev=18494&op=file
==============================================================================
--- trunk/libogg-vorbis-header-perl/debian/patches/series (added)
+++ trunk/libogg-vorbis-header-perl/debian/patches/series Sat Apr 12 12:28:15 2008
@@ -1,0 +1,1 @@
+comments_case_insensitive.patch

Modified: trunk/libogg-vorbis-header-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libogg-vorbis-header-perl/debian/rules?rev=18494&op=diff
==============================================================================
--- trunk/libogg-vorbis-header-perl/debian/rules (original)
+++ trunk/libogg-vorbis-header-perl/debian/rules Sat Apr 12 12:28:15 2008
@@ -1,25 +1,23 @@
 #!/usr/bin/make -f
-#-*- makefile -*-
-# Made with the aid of dh_make, by Craig Small
-# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
-# Some lines taken from debmake, by Christoph Lameter.
+# This debian/rules file is provided as a template for normal perl
+# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> for
+# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
+# be used freely wherever it is useful.
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
+
+include /usr/share/quilt/quilt.make
 
 # If set to a true value then MakeMaker's prompt function will
 # always return the default without waiting for user input.
 export PERL_MM_USE_DEFAULT=1
 
-PACKAGE=$(shell dh_listpackages)
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
+PERL   ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
 TMP     = $(CURDIR)/debian/$(PACKAGE)
 
-# Allow disabling build optimation by setting noopt in
+# Allow disabling build optimisation by setting noopt in
 # $DEB_BUILD_OPTIONS
 CFLAGS = -Wall -g
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
@@ -32,21 +30,16 @@
 KEEP_ITEMS = test.ogg.bak
 
 build: build-stamp
-build-stamp:
+build-stamp: $(QUILT_STAMPFN)
 	dh_testdir
-
-	# Add here commands to compile the package.
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE) OPTIMIZE="$(OPTIMIZE)" LD_RUN_PATH=""
+	$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
 	$(MAKE) test
-
 	touch $@
 
-clean:
+clean: unpatch
 	dh_testdir
 	dh_testroot
-	rm -f build-stamp
-
 	dh_clean --exclude=$(KEEP_ITEMS) build-stamp install-stamp
 	[ ! -f Makefile ] || $(MAKE) realclean
 
@@ -55,35 +48,32 @@
 	dh_testdir
 	dh_testroot
 	dh_clean -k --exclude=$(KEEP_ITEMS)
-
 	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-	[ ! -d $(TMP)/usr/share/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/share/perl5/
-
+	[ ! -d $(TMP)/usr/share/perl5 ] || \
+		rmdir --ignore-fail-on-non-empty --parents --verbose \
+		$(TMP)/usr/share/perl5
 	touch $@
 
 # Build architecture-independent files here.
 binary-indep: build install
-# We have nothing to do by default.
+# We have nothing to do here for an architecture-dependent package
 
 # Build architecture-dependent files here.
 binary-arch: build install
 	dh_testdir
 	dh_testroot
 	dh_installdocs
+	dh_installexamples test.pl test.ogg test.ogg.bak
 	dh_installchangelogs Changes
-	dh_installexamples test.pl test.ogg test.ogg.bak
+	dh_shlibdeps
 	dh_strip
+	dh_perl
 	dh_compress
 	dh_fixperms
 	dh_installdeb
-	dh_perl
-	dh_shlibdeps
 	dh_gencontrol
 	dh_md5sums
 	dh_builddeb
 
-source diff:
-	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
-
 binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
+.PHONY: build clean binary-indep binary-arch binary install




More information about the Pkg-perl-cvs-commits mailing list