debian/0000755000000000000000000000000012245210141007156 5ustar debian/rules0000755000000000000000000000003612245210141010235 0ustar #!/usr/bin/make -f %: dh $@ debian/control0000644000000000000000000000206612245210141010565 0ustar Source: libmusicbrainz-discid-perl Maintainer: Debian Perl Group Uploaders: Jonathan Yu Section: perl Priority: optional Build-Depends: debhelper (>= 9.20120312), pkg-config, libdiscid0-dev, libtest-pod-perl Standards-Version: 3.9.5 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libmusicbrainz-discid-perl.git Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libmusicbrainz-discid-perl.git Homepage: https://metacpan.org/release/MusicBrainz-DiscID/ Package: libmusicbrainz-discid-perl Architecture: any Depends: ${perl:Depends}, ${shlibs:Depends}, ${misc:Depends} Description: Perl interface to the MusicBrainz libdiscid library MusicBrainz::DiscID is a Perl interface to the MusicBrainz libdiscid library. It is useful for calculating a MusicBrainz DiscID from an audio compact disc in the drive. The coding style differs slightly from the C library as this module supports Perl's Object-Oriented programming features. debian/source/0000755000000000000000000000000012245210141010456 5ustar debian/source/format0000644000000000000000000000001412245210141011664 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000225612245210141011035 0ustar libmusicbrainz-discid-perl (0.03-3) unstable; urgency=low * Team upload. * Add patch for test to work with URLs returned by old and new libdiscid. (Closes: #725584) * Declare compliance with Debian Policy 3.9.5. -- gregor herrmann Tue, 26 Nov 2013 22:19:00 +0100 libmusicbrainz-discid-perl (0.03-2) unstable; urgency=low * Team upload. [ gregor herrmann ] * Remove alternative (build) dependencies that are already satisfied in oldstable. [ Ansgar Burchardt ] * debian/control: Convert Vcs-* fields to Git. [ Salvatore Bonaccorso ] * Change search.cpan.org based URIs to metacpan.org based URIs [ gregor herrmann ] * Add a patch to fix the POD encoding issue. (Closes: #708079) * debian/copyright: switch formatting to Copyright-Format 1.0. * debian/copyright: update license stanzas. * Use debhelper 9.20120312 to get all hardening flags. * Set Standards-Version to 3.9.4 (no changes). -- gregor herrmann Mon, 13 May 2013 21:43:10 +0200 libmusicbrainz-discid-perl (0.03-1) unstable; urgency=low * Initial Release (Closes: #578411) -- Jonathan Yu Mon, 19 Apr 2010 13:48:59 -0400 debian/compat0000644000000000000000000000000212245210141010354 0ustar 9 debian/patches/0000755000000000000000000000000012245210141010605 5ustar debian/patches/series0000644000000000000000000000003512245210141012020 0ustar pod-encoding.patch url.patch debian/patches/url.patch0000644000000000000000000000346512245210141012440 0ustar Description: libdiscid 0.6.x has updated the URLs modify test to accept old and new ones Origin: vendor Bug: https://rt.cpan.org/Public/Bug/Display.html?id=89285 Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=89285 Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=725584 Author: gregor herrmann Reviewed-by: gregor herrmann Last-Update: 2013-11-26 --- a/t/10discid.t +++ b/t/10discid.t @@ -28,8 +28,8 @@ is( $disc->freedb_id, '370fce16'); is( $disc->last_track_num, 22); is( $disc->sectors, 303602); -is( $disc->submission_url, 'http://mm.musicbrainz.org/bare/cdlookup.html?id=xUp1F2NkfP8s8jaeFn_Av3jNEI4-&tracks=22&toc=1+22+303602+150+9700+25887+39297+53795+63735+77517+94877+107270+123552+135522+148422+161197+174790+192022+205545+218010+228700+239590+255470+266932+288750'); -is( $disc->webservice_url, 'http://mm.musicbrainz.org/ws/1/release?type=xml&discid=xUp1F2NkfP8s8jaeFn_Av3jNEI4-&toc=1+22+303602+150+9700+25887+39297+53795+63735+77517+94877+107270+123552+135522+148422+161197+174790+192022+205545+218010+228700+239590+255470+266932+288750'); +like( $disc->submission_url, qr{http://(mm\.musicbrainz\.org/bare/cdlookup\.html|musicbrainz\.org/cdtoc/attach)\?id=xUp1F2NkfP8s8jaeFn_Av3jNEI4-&tracks=22&toc=1\+22\+303602\+150\+9700\+25887\+39297\+53795\+63735\+77517\+94877\+107270\+123552\+135522\+148422\+161197\+174790\+192022\+205545\+218010\+228700\+239590\+255470\+266932\+288750}); +like( $disc->webservice_url, qr{http://(mm\.)?musicbrainz\.org/ws/1/release\?type=xml&discid=xUp1F2NkfP8s8jaeFn_Av3jNEI4-&toc=1\+22\+303602\+150\+9700\+25887\+39297\+53795\+63735\+77517\+94877\+107270\+123552\+135522\+148422\+161197\+174790\+192022\+205545\+218010\+228700\+239590\+255470\+266932\+288750}); is( $disc->track_offset(1), 150); is( $disc->track_offset(2), 9700); debian/patches/pod-encoding.patch0000644000000000000000000000124212245210141014173 0ustar Description: use plain ascii apostrophe Origin: vendor Bug: https://rt.cpan.org/Ticket/Display.html?id=85212 Bug-Debian: http://bugs.debian.org/708079 Forwarded: https://rt.cpan.org/Ticket/Display.html?id=85212 Author: gregor herrmann Last-Update: 2013-05-13 --- a/lib/MusicBrainz/DiscID.pm +++ b/lib/MusicBrainz/DiscID.pm @@ -156,7 +156,7 @@ Construct a new DiscID object. As an optional argument the name of the device to read the ID from may -be given. If you donÔt specify a device here you can later read the ID with +be given. If you don't specify a device here you can later read the ID with the read method. =item $discid->error_msg() debian/copyright0000644000000000000000000000263612245210141011120 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: MusicBrainz-DiscID Upstream-Contact: Nicholas J. Humfrey Source: https://metacpan.org/release/MusicBrainz-DiscID/ Files: * Copyright: 2009, Nicholas J. Humfrey License: GPL-2+ Files: debian/* Copyright: 2010, Jonathan Yu License: Artistic or GPL-1+ License: Artistic This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, which comes with Perl. . On Debian systems, the complete text of the Artistic License can be found in `/usr/share/common-licenses/Artistic'. License: GPL-1+ 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 1, or (at your option) any later version. . On Debian systems, the complete text of the GNU General Public License version 1 can be found in `/usr/share/common-licenses/GPL-1'. 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, or (at your option) any later version. . On Debian systems, the complete text of the GNU General Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. debian/libmusicbrainz-discid-perl.examples0000644000000000000000000000001312245210141016122 0ustar examples/* debian/watch0000644000000000000000000000020212245210141010201 0ustar version=3 https://metacpan.org/release/MusicBrainz-DiscID/ .*/MusicBrainz-DiscID-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$