Your message dated Sat, 15 Nov 2014 15:32:08 +0100
with message-id <546763e8.6020...@thykier.net>
and subject line Re: Bug#769323: unblock: libaudio-mpd-perl/2.000-2
has caused the Debian Bug report #769323,
regarding unblock: libaudio-mpd-perl/2.000-2
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
769323: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=769323
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian....@packages.debian.org
Usertags: unblock

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Please unblock package libaudio-mpd-perl:

2.000-2 adds a patch to fix #768692

Changelog with the explanation for the changes:


libaudio-mpd-perl (2.000-2) unstable; urgency=medium

  * Add patch to make tests work with mpd >= 0.19.

    One tests checks for the accumulated playtime of the audio samples.
    Test::Corpus::Audio::MPD contains 5 tracks just over 1.8 seconds each.
    mpd < 0.19 rounded each track up to 2 seconds then added the lengths in
    seconds to get 10s, but mpd >= 0.19 adds up the lengths in ms and then
    rounds it down to 9s.
    Change this test to look for >= 9 and <= 10 seconds.

    Thanks to Simon McVittie for the patch. (Closes: #768692)

 -- gregor herrmann <gre...@debian.org>  Wed, 12 Nov 2014 20:52:49 +0100


Full debdiff attached.


unblock libaudio-mpd-perl/2.000-2


Cheers,
gregor

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQJ8BAEBCgBmBQJUY79kXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXREMUUxMzE2RTkzQTc2MEE4MTA0RDg1RkFC
QjNBNjgwMTg2NDlBQTA2AAoJELs6aAGGSaoGINQP/RDJKIpSXFwvJ6ypki5TVsAv
HQkGC3L2WFkTJ1+ph4ql95xENmWM767NUIk4wQpX+wyNDFDGwmYLtpMruziV29eS
k0iZRgctsVYiilERjgNkZbLSRPJ+7zVLdaqFERrOKTZDR0HOvPbUwureAavOpw3J
E9Z7jGJ51YUvZb7Al5gCnyUKOs78kYSYvekhHSSvQip0DIsrfBuTXpEWz0YcR5PI
0xnOe8jIurh3P0hokD4Yp+DAWZTfM3tbXnkszHo6jm1P8cvcax5+/OeWQLOcFw/g
FFFVku5pn4jjIbqP/RkeUGzlb2lfFi0yJ0uLmxmAgBcbAqc5fldai1c16/pR/YjY
iZyvB9xnuQMNXe84neobjylbEQG57PLFcqZyZ6Afr6EDRU7lAq4Afi+IPFgol9k9
Zuff2sl1zZZPO7fNVehS46sujpYB0IwnV0wxDwcFNkuFo1v19U6AG811aZh+1NY7
bupcFraI6l346RMjVxYBpbs094jrewlerpWiPDJNwPOq0SOojGXKhwC+UMpkxXnY
39/r6HwZ6ePiZDriHj2FF70dG9h5ZkgKNFGQ9ZbHm9sTbFn0iU4MJxxZHJMcxKSX
iN9ZrLBaACHm43mtLkekTO5+wvvRS6kGKYxDNXcgkKUDA9LIolGGq9s1gRDUSEOv
XDoL0Mb7zTJy/inNogDh
=mZoZ
-----END PGP SIGNATURE-----
diff -Nru libaudio-mpd-perl-2.000/debian/changelog libaudio-mpd-perl-2.000/debian/changelog
--- libaudio-mpd-perl-2.000/debian/changelog	2014-06-11 19:40:31.000000000 +0200
+++ libaudio-mpd-perl-2.000/debian/changelog	2014-11-12 20:55:48.000000000 +0100
@@ -1,3 +1,18 @@
+libaudio-mpd-perl (2.000-2) unstable; urgency=medium
+
+  * Add patch to make tests work with mpd >= 0.19.
+    
+    One tests checks for the accumulated playtime of the audio samples.
+    Test::Corpus::Audio::MPD contains 5 tracks just over 1.8 seconds each.
+    mpd < 0.19 rounded each track up to 2 seconds then added the lengths in
+    seconds to get 10s, but mpd >= 0.19 adds up the lengths in ms and then
+    rounds it down to 9s.
+    Change this test to look for >= 9 and <= 10 seconds.
+
+    Thanks to Simon McVittie for the patch. (Closes: #768692)
+
+ -- gregor herrmann <gre...@debian.org>  Wed, 12 Nov 2014 20:52:49 +0100
+
 libaudio-mpd-perl (2.000-1) unstable; urgency=low
 
   [ Alessandro Ghedini ]
diff -Nru libaudio-mpd-perl-2.000/debian/patches/mpd-0.19.patch libaudio-mpd-perl-2.000/debian/patches/mpd-0.19.patch
--- libaudio-mpd-perl-2.000/debian/patches/mpd-0.19.patch	1970-01-01 01:00:00.000000000 +0100
+++ libaudio-mpd-perl-2.000/debian/patches/mpd-0.19.patch	2014-11-12 20:55:48.000000000 +0100
@@ -0,0 +1,34 @@
+Description: Adjust test to mpd >= 0.19
+ Test::Corpus::Audio::MPD contains 5 tracks just over 1.8 seconds each.
+ mpd < 0.19 rounded each track up to 2 seconds then added the lengths
+ in seconds to get 10s, but mpd >= 0.19 adds up the lengths in ms and then
+ rounds it down to 9s.
+Bug-Debian: https://bugs.debian.org/768692
+Origin: vendor
+Author: Simon McVittie <s...@debian.org>
+Reviewed-by: gregor herrmann <gre...@debian.org>
+Last-Update: 2014-11-12
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=100300
+Bug: https://rt.cpan.org/Ticket/Display.html?id=100300
+
+--- a/t/24-info.t
++++ b/t/24-info.t
+@@ -18,7 +18,7 @@
+ eval 'use Test::Corpus::Audio::MPD';
+ plan skip_all => $@ if $@ =~ s/\n+Compilation failed.*//s;
+ 
+-plan tests => 16;
++plan tests => 17;
+ my $mpd = Audio::MPD->new;
+ my $song;
+ 
+@@ -34,7 +34,8 @@
+ is( $stats->albums,       1, 'one album in the database' );
+ is( $stats->songs,        5, '5 songs in the database' );
+ is( $stats->playtime,     0, 'already played 0 seconds' );
+-is( $stats->db_playtime, 10, '10 seconds worth of music in the db' );
++cmp_ok( $stats->db_playtime, '>=', 9, '>= 9 seconds worth of music in the db' );
++cmp_ok( $stats->db_playtime, '<=', 10, '<= 10 seconds worth of music in the db' );
+ isnt( $stats->uptime, undef, 'uptime is defined' );
+ isnt( $stats->db_update,  0, 'database has been updated' );
+ 
diff -Nru libaudio-mpd-perl-2.000/debian/patches/series libaudio-mpd-perl-2.000/debian/patches/series
--- libaudio-mpd-perl-2.000/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ libaudio-mpd-perl-2.000/debian/patches/series	2014-11-12 20:55:48.000000000 +0100
@@ -0,0 +1 @@
+mpd-0.19.patch

--- End Message ---
--- Begin Message ---
On 2014-11-15 15:21, intrigeri wrote:
> Hi,
> 
> gregor herrmann wrote (12 Nov 2014 20:13:24 GMT) :
>> [...]
> 
> Looks good to me: the patch is minimal, the code makes sense, and
> I confirm it fixes the FTBFS it's supposed to fix.
> 
> (No reply from upstream, to whom the bug was submitted, yet.)
> 
>> unblock libaudio-mpd-perl/2.000-2
> 
> Yay.
> 
> Cheers,
> --
> intrigeri
> 
> 

Thanks for the request and the follow up review+test.  :)

It has been unblocked (by Julien Cristau). :)

~Niels

--- End Message ---

Reply via email to