--- libogg-vorbis-header-perl-0.03.orig/debian/changelog +++ libogg-vorbis-header-perl-0.03/debian/changelog @@ -0,0 +1,61 @@ +libogg-vorbis-header-perl (0.03-3build1) oneiric; urgency=low + + * Rebuild for Perl 5.12. + + -- Colin Watson Sun, 08 May 2011 13:22:20 +0100 + +libogg-vorbis-header-perl (0.03-3) unstable; 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 Sat, 12 Apr 2008 14:29:45 +0200 + +libogg-vorbis-header-perl (0.03-2) unstable; urgency=low + + [ Damyan Ivanov ] + * take over the package for the Debian Perl Group on maintainer's request + http://lists.debian.org/debian-perl/2008/02/msg00045.html + + [ gregor herrmann ] + * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser + field (source stanza); Homepage field (source stanza). Changed: + Maintainer set to Debian Perl Group (was: Amit Shah + ). Add /me to uploaders. + * debian/watch: use dist-based URL. + * debian/rules: + - delete /usr/share/perl5 only if it exists (closes: #463557) + - remove DESTDIR variable + - use $(CURDIR) instead of `pwd` + - don't ignore errors of make realclean + - mv dh_clean before make realclean und use it for rm'ing stamp files + - create install-stamp target + - use $@ for touching stamp files + - remove dh_installdirs, dh_link, dh_installman and a few commented out + other dh_* calls + - use PREFIX and DESTDIR for make install + - move removal of /usr/share/perl5 to install-stamp target + - don't install README anymore + - enable test suite + - rewrite CFLAGS generation + * Set Standards-Version to 3.7.3 (no changes). + * Set debhelper compatibility level to 6. + + [ Niko Tyni ] + * Update and reformat debian/copyright: inc/* is licensed under LGPL-2. + * Add myself to Uploaders. + + -- Niko Tyni Thu, 28 Feb 2008 21:25:29 +0200 + +libogg-vorbis-header-perl (0.03-1) unstable; urgency=low + + * Initial Release (closes: #213223) + * Remove the reference to the /usr/share/perl5/ directory if it's not + empty from the resulting .deb. + + + -- Amit Shah Thu, 27 Nov 2003 20:01:56 +0530 --- libogg-vorbis-header-perl-0.03.orig/debian/rules +++ libogg-vorbis-header-perl-0.03/debian/rules @@ -0,0 +1,79 @@ +#!/usr/bin/make -f +# This debian/rules file is provided as a template for normal perl +# packages. It was created by Marc Brockschmidt 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 + +PERL ?= /usr/bin/perl +PACKAGE = $(shell dh_listpackages) +TMP = $(CURDIR)/debian/$(PACKAGE) + +# Allow disabling build optimisation by setting noopt in +# $DEB_BUILD_OPTIONS +CFLAGS = -Wall -g +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +# Do not delete the test.ogg.bak file; it's present in the upstream +KEEP_ITEMS = test.ogg.bak + +build: build-stamp +build-stamp: $(QUILT_STAMPFN) + dh_testdir + $(PERL) Makefile.PL INSTALLDIRS=vendor + $(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH="" + $(MAKE) test + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + dh_clean --exclude=$(KEEP_ITEMS) build-stamp install-stamp + [ ! -f Makefile ] || $(MAKE) realclean + +install: install-stamp +install-stamp: build-stamp + 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 + touch $@ + +# Build architecture-independent files here. +binary-indep: build install +# 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_shlibdeps + dh_strip + dh_perl + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- libogg-vorbis-header-perl-0.03.orig/debian/watch +++ libogg-vorbis-header-perl-0.03/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://search.cpan.org/dist/Ogg-Vorbis-Header/ .*/Ogg-Vorbis-Header-v?(\d[\d_.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip) --- libogg-vorbis-header-perl-0.03.orig/debian/compat +++ libogg-vorbis-header-perl-0.03/debian/compat @@ -0,0 +1 @@ +6 --- libogg-vorbis-header-perl-0.03.orig/debian/README.Debian +++ libogg-vorbis-header-perl-0.03/debian/README.Debian @@ -0,0 +1,13 @@ +README for libogg-vorbis-header-perl for Debian: + +To run the test script that comes with Ogg::Vorbis::Header located in +examples/, gunzip the two ogg files and then run + + perl test.pl + +Information on how to use the module is given in the man page, which +is accessible via + + man Ogg::Vorbis::Header + + -- Amit Shah , Wed Jan 14 12:07:48 2004 --- libogg-vorbis-header-perl-0.03.orig/debian/control +++ libogg-vorbis-header-perl-0.03/debian/control @@ -0,0 +1,20 @@ +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), quilt (>= 0.40) +Maintainer: Debian Perl Group +Uploaders: gregor herrmann , Niko Tyni +Standards-Version: 3.7.3 +Homepage: http://search.cpan.org/dist/Ogg-Vorbis-Header/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libogg-vorbis-header-perl/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libogg-vorbis-header-perl/ + +Package: libogg-vorbis-header-perl +Architecture: any +Depends: ${perl:Depends}, ${shlibs:Depends}, libinline-perl (>=0.44-3) +Description: perl interface to Ogg Vorbis information and comments + This package provides the module Ogg::Vorbis::Header. This module + presents an object-oriented interface to Ogg Vorbis files which + allows a user to view Vorbis information and comments and to modify + or add comments. --- libogg-vorbis-header-perl-0.03.orig/debian/copyright +++ libogg-vorbis-header-perl-0.03/debian/copyright @@ -0,0 +1,33 @@ +This is the debian package for the Ogg::Vorbis::Header module. It was +created by Amit Shah . + +The sources were downloaded from +http://search.cpan.org/dist/Ogg-Vorbis-Header/ + +Upstream Authors: Dan Pemstein , Michael Smith + +Files: * +Copyright: Copyright (c) 2002,2003 Dan Pemstein. All Rights Reserved. +License: GPL-2+ + This program 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. + +Files: inc/* +Copyright: (c) 2000-2001 Michael Smith +License: LGPL-2 + This program is licensed under the GNU Library General Public License, version 2, + a copy of which is included with this program (with filename LICENSE.LGPL). + +Files: debian/* +Copyright: © 2003-4 Amit Shah + © 2008 Debian Perl Group +License: other + It is assumed that all contributors have chosen a license that is compatible + with the upstream one. + +On Debian GNU/Linux systems, the complete text of the GNU General Public +License can be found in `/usr/share/common-licenses/GPL' and the complete +text of the GNU Library General Public License, version 2, can be found in +`/usr/share/common-licenses/LGPL-2'. --- libogg-vorbis-header-perl-0.03.orig/debian/patches/comments_case_insensitive.patch +++ libogg-vorbis-header-perl-0.03/debian/patches/comments_case_insensitive.patch @@ -0,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; --- libogg-vorbis-header-perl-0.03.orig/debian/patches/series +++ libogg-vorbis-header-perl-0.03/debian/patches/series @@ -0,0 +1 @@ +comments_case_insensitive.patch