r21370 - in /trunk/libogg-vorbis-header-pureperl-perl/debian: ./ changelog compat control copyright docs patches/ patches/00list patches/10comment_tags.dpatch patches/20tracklength.dpatch rules

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Sun Jun 15 14:40:39 UTC 2008


Author: gregoa
Date: Sun Jun 15 14:40:39 2008
New Revision: 21370

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=21370
Log:
[svn-inject] Applying Debian modifications to trunk

Added:
    trunk/libogg-vorbis-header-pureperl-perl/debian/
    trunk/libogg-vorbis-header-pureperl-perl/debian/changelog
    trunk/libogg-vorbis-header-pureperl-perl/debian/compat
    trunk/libogg-vorbis-header-pureperl-perl/debian/control
    trunk/libogg-vorbis-header-pureperl-perl/debian/copyright
    trunk/libogg-vorbis-header-pureperl-perl/debian/docs
    trunk/libogg-vorbis-header-pureperl-perl/debian/patches/
    trunk/libogg-vorbis-header-pureperl-perl/debian/patches/00list
    trunk/libogg-vorbis-header-pureperl-perl/debian/patches/10comment_tags.dpatch   (with props)
    trunk/libogg-vorbis-header-pureperl-perl/debian/patches/20tracklength.dpatch   (with props)
    trunk/libogg-vorbis-header-pureperl-perl/debian/rules   (with props)

Added: trunk/libogg-vorbis-header-pureperl-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libogg-vorbis-header-pureperl-perl/debian/changelog?rev=21370&op=file
==============================================================================
--- trunk/libogg-vorbis-header-pureperl-perl/debian/changelog (added)
+++ trunk/libogg-vorbis-header-pureperl-perl/debian/changelog Sun Jun 15 14:40:39 2008
@@ -1,0 +1,24 @@
+libogg-vorbis-header-pureperl-perl (0.07-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix FTBFS with Perl 5.10.  Closes: #467995
+
+ -- Mark Hymers <mhy at debian.org>  Sat, 05 Apr 2008 21:09:16 +0100
+
+libogg-vorbis-header-pureperl-perl (0.07-2) unstable; urgency=low
+
+  * Applied patch from Jeff King <peff-debbug at peff.net> to remove duplicates
+    from comment_tags (Closes: #295238).
+  * Applied patch from Jeff King <peff-debbug at peff.net> to make the
+    calculation of the tracklength optional to increase performance
+    (Closes: #295240)
+  * Added dpatch Build-Dep.
+
+ -- Florian Ragwitz <florian at mookooh.org>  Thu, 14 Apr 2005 16:30:44 +0200
+
+libogg-vorbis-header-pureperl-perl (0.07-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Florian Ragwitz <florian at mookooh.org>  Wed, 15 Sep 2004 06:36:03 +0200
+

Added: trunk/libogg-vorbis-header-pureperl-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libogg-vorbis-header-pureperl-perl/debian/compat?rev=21370&op=file
==============================================================================
--- trunk/libogg-vorbis-header-pureperl-perl/debian/compat (added)
+++ trunk/libogg-vorbis-header-pureperl-perl/debian/compat Sun Jun 15 14:40:39 2008
@@ -1,0 +1,1 @@
+4

Added: trunk/libogg-vorbis-header-pureperl-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libogg-vorbis-header-pureperl-perl/debian/control?rev=21370&op=file
==============================================================================
--- trunk/libogg-vorbis-header-pureperl-perl/debian/control (added)
+++ trunk/libogg-vorbis-header-pureperl-perl/debian/control Sun Jun 15 14:40:39 2008
@@ -1,0 +1,19 @@
+Source: libogg-vorbis-header-pureperl-perl
+Section: perl
+Priority: optional
+Maintainer: Florian Ragwitz <florian at mookooh.org>
+Build-Depends: debhelper (>= 4.0.0)
+Build-Depends-Indep: perl, dpatch
+Standards-Version: 3.6.1
+
+Package: libogg-vorbis-header-pureperl-perl
+Architecture: all
+Depends: ${perl:Depends}
+Description: A pure Perl interface to Ogg Vorbis information fields
+ Ogg::Vorbis::Header::PurePerl is an object-oriented interface to Ogg Vorbis
+ information and comment fields, implemented entirely in Perl. Intended to be a
+ drop in replacement for Ogg::Vobis::Header.
+ .
+ Unlike Ogg::Vorbis::Header, this module will go ahead and fill in all of the
+ information fields as soon as you construct the object. In other words, the new
+ and load constructors have identical behavior.

Added: trunk/libogg-vorbis-header-pureperl-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libogg-vorbis-header-pureperl-perl/debian/copyright?rev=21370&op=file
==============================================================================
--- trunk/libogg-vorbis-header-pureperl-perl/debian/copyright (added)
+++ trunk/libogg-vorbis-header-pureperl-perl/debian/copyright Sun Jun 15 14:40:39 2008
@@ -1,0 +1,19 @@
+This package was debianized by Florian Ragwitz <florian at mookooh.org> on
+Wed, 15 Sep 2004 06:36:03 +0200.
+
+It was downloaded from http://search.cpan.org/~amolloy/Ogg-Vorbis-Header-PurePerl/
+
+Upstream Author: Andrew Molloy <amolloy at kaizolabs.com>
+
+Copyright:
+
+  Copyright (c) 2003, Andrew Molloy.  All Rights Reserved.
+
+  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.  A copy of this license is included
+  with this module (LICENSE.GPL).
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL-2'.

Added: trunk/libogg-vorbis-header-pureperl-perl/debian/docs
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libogg-vorbis-header-pureperl-perl/debian/docs?rev=21370&op=file
==============================================================================
--- trunk/libogg-vorbis-header-pureperl-perl/debian/docs (added)
+++ trunk/libogg-vorbis-header-pureperl-perl/debian/docs Sun Jun 15 14:40:39 2008
@@ -1,0 +1,1 @@
+README

Added: trunk/libogg-vorbis-header-pureperl-perl/debian/patches/00list
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libogg-vorbis-header-pureperl-perl/debian/patches/00list?rev=21370&op=file
==============================================================================
--- trunk/libogg-vorbis-header-pureperl-perl/debian/patches/00list (added)
+++ trunk/libogg-vorbis-header-pureperl-perl/debian/patches/00list Sun Jun 15 14:40:39 2008
@@ -1,0 +1,2 @@
+10comment_tags
+20tracklength

Added: trunk/libogg-vorbis-header-pureperl-perl/debian/patches/10comment_tags.dpatch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libogg-vorbis-header-pureperl-perl/debian/patches/10comment_tags.dpatch?rev=21370&op=file
==============================================================================
--- trunk/libogg-vorbis-header-pureperl-perl/debian/patches/10comment_tags.dpatch (added)
+++ trunk/libogg-vorbis-header-pureperl-perl/debian/patches/10comment_tags.dpatch Sun Jun 15 14:40:39 2008
@@ -1,0 +1,28 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 10comment_tags.dpatch by Florian Ragwitz <florian.ragwitz at s2004.tu-chemnitz.de>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Remove dupes from comment_tags.
+
+ at DPATCH@
+--- libogg-vorbis-header-pureperl-perl-0.07.orig/PurePerl.pm	2004-07-08 00:29:41.000000000 +0200
++++ libogg-vorbis-header-pureperl-perl-0.07/PurePerl.pm	2005-04-14 16:16:41.105898384 +0200
+@@ -380,6 +380,7 @@
+     $byteCount += 4;
+ 
+     $data->{'COMMENT_KEYS'} = [];
++	my %seen_comments;
+ 
+     # finally, read the comments
+     for (my $i = 0; $i < $user_comment_count; $i++)
+@@ -397,7 +398,9 @@
+ 	my ($value) = $buffer =~ /=(.*)$/;
+ 
+ 	push @{$comments{lc $key}}, $value;
+-	push @{$data->{'COMMENT_KEYS'}}, lc $key;
++	push @{$data->{'COMMENT_KEYS'}}, lc $key
++		unless $seen_comments{lc $key};
++	$seen_comments{lc $key} = 1;
+     }
+     
+     # read past the framing_bit

Propchange: trunk/libogg-vorbis-header-pureperl-perl/debian/patches/10comment_tags.dpatch
------------------------------------------------------------------------------
    svn:executable = *

Added: trunk/libogg-vorbis-header-pureperl-perl/debian/patches/20tracklength.dpatch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libogg-vorbis-header-pureperl-perl/debian/patches/20tracklength.dpatch?rev=21370&op=file
==============================================================================
--- trunk/libogg-vorbis-header-pureperl-perl/debian/patches/20tracklength.dpatch (added)
+++ trunk/libogg-vorbis-header-pureperl-perl/debian/patches/20tracklength.dpatch Sun Jun 15 14:40:39 2008
@@ -1,0 +1,37 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 20tracklength.dpatch by Florian Ragwitz <florian.ragwitz at s2004.tu-chemnitz.de>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: make calculating track length optional.
+
+ at DPATCH@
+--- libogg-vorbis-header-pureperl-perl-0.07.orig/PurePerl.pm	2005-04-14 16:25:09.047679496 +0200
++++ libogg-vorbis-header-pureperl-perl-0.07/PurePerl.pm	2005-04-14 16:26:03.352423920 +0200
+@@ -12,15 +12,16 @@
+ {
+     my $class = shift;
+     my $file = shift;
++	my $opts = shift;
+ 
+-    return load($class, $file);
++    return load($class, $file, $opts);
+ }
+ 
+ sub load 
+ {
+     my $class    = shift;
+     my $file     = shift;
+-    my $from_new = shift;
++    my $opts     = shift || {};
+     my %data;
+     my $self;
+ 
+@@ -59,7 +60,7 @@
+     _init(\%data);
+     _loadInfo(\%data);
+     _loadComments(\%data);
+-    _calculateTrackLength(\%data);
++    _calculateTrackLength(\%data) unless $opts->{notracklength};
+ 
+     close FILE;
+ 

Propchange: trunk/libogg-vorbis-header-pureperl-perl/debian/patches/20tracklength.dpatch
------------------------------------------------------------------------------
    svn:executable = *

Added: trunk/libogg-vorbis-header-pureperl-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libogg-vorbis-header-pureperl-perl/debian/rules?rev=21370&op=file
==============================================================================
--- trunk/libogg-vorbis-header-pureperl-perl/debian/rules (added)
+++ trunk/libogg-vorbis-header-pureperl-perl/debian/rules Sun Jun 15 14:40:39 2008
@@ -1,0 +1,73 @@
+#!/usr/bin/make -f
+
+# 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.
+
+include /usr/share/dpatch/dpatch.make
+
+PACKAGE=$(shell dh_listpackages)
+
+ifndef PERL
+PERL = /usr/bin/perl
+endif
+
+TMP     =$(CURDIR)/debian/$(PACKAGE)
+
+build: build-stamp
+build-stamp: patch-stamp
+	dh_testdir
+
+	$(PERL) Makefile.PL INSTALLDIRS=vendor
+	$(MAKE)
+
+	touch build-stamp
+
+clean: clean1 unpatch
+clean1:
+	dh_testdir
+	dh_testroot
+	-$(MAKE) distclean
+	dh_clean build-stamp install-stamp
+
+install: install-stamp
+install-stamp: build-stamp
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+
+	$(MAKE) test
+	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+	
+	#As this is a architecture independent package, we are not supposed to install
+	#stuff to /usr/lib. MakeMaker creates the dirs, we delete them from the deb:
+	[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5
+	rm $(TMP)/usr/share/perl5/Ogg/Vorbis/Header/ogginfo.pl
+
+	touch install-stamp
+
+binary-arch:
+# We have nothing to do by default.
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs
+	dh_installexamples ogginfo.pl
+	dh_perl
+	dh_installchangelogs Changes
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	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 patch unpatch

Propchange: trunk/libogg-vorbis-header-pureperl-perl/debian/rules
------------------------------------------------------------------------------
    svn:executable = *




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