Hi,libjavascript-perl version 1.16-2 has an FTBS bug. 1.16-3 which fixes it is working its way to unstable. A debdiff output is attached. Could it be allowed through please?
diff -Nru libjavascript-perl-1.16/debian/changelog libjavascript-perl-1.16/debian/changelog --- libjavascript-perl-1.16/debian/changelog 2010-04-22 20:43:59.000000000 +0100 +++ libjavascript-perl-1.16/debian/changelog 2010-10-17 16:19:17.000000000 +0100 @@ -1,3 +1,13 @@ +libjavascript-perl (1.16-3) unstable; urgency=low + + * Add patch for e4x test failure (Closes: #591132) + * Added myself to Uploaders + * Upped standards version to 3.9.1 + * Refreshed patches + * Refreshed copyright + + -- Nicholas Bamber <[email protected]> Sun, 17 Oct 2010 16:19:12 +0100 + libjavascript-perl (1.16-2) unstable; urgency=low * add a patch fixing tests for double numbers evaluation. diff -Nru libjavascript-perl-1.16/debian/control libjavascript-perl-1.16/debian/control --- libjavascript-perl-1.16/debian/control 2010-04-22 20:42:57.000000000 +0100 +++ libjavascript-perl-1.16/debian/control 2010-10-12 07:59:30.000000000 +0100 @@ -8,8 +8,8 @@ Krzysztof Krzyżaniak (eloy) <[email protected]>, Niko Tyni <[email protected]>, gregor herrmann <[email protected]>, Tim Retout <[email protected]>, Jonathan Yu <[email protected]>, Franck Joncourt <[email protected]>, - Damyan Ivanov <[email protected]> -Standards-Version: 3.8.4 + Damyan Ivanov <[email protected]>, Nicholas Bamber <[email protected]> +Standards-Version: 3.9.1 Homepage: http://search.cpan.org/dist/JavaScript/ Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libjavascript-perl/ Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libjavascript-perl/ diff -Nru libjavascript-perl-1.16/debian/copyright libjavascript-perl-1.16/debian/copyright --- libjavascript-perl-1.16/debian/copyright 2010-03-15 05:24:56.000000000 +0000 +++ libjavascript-perl-1.16/debian/copyright 2010-10-17 17:03:05.000000000 +0100 @@ -13,24 +13,26 @@ License: Artistic or GPL-1+ Files: debian/* -Copyright: 2010, Franck Joncourt <[email protected]> - 2010, Jonathan Yu <[email protected]> - 2009, Tim Retout <[email protected]> - 2008-2010, gregor herrmann <[email protected]> - 2005-2009, Krzysztof Krzyzaniak (eloy) <[email protected]> - 2008, Niko Tyni <[email protected]> - 2008, Roberto C. Sanchez <[email protected]> - 2005-2007, Niko Tyni <[email protected]> +Copyright: 2004, Daniel Ruoso <[email protected]> 2004, Joachim Breitner <[email protected]> + 2005-2008, Niko Tyni <[email protected]> + 2005, 2009, Krzysztof Krzyżaniak (eloy) <[email protected]> + 2008-2009, gregor herrmann <[email protected]> + 2008, Roberto C. Sanchez <[email protected]> + 2009, Tim Retout <[email protected]> + 2010, Damyan Ivanov <[email protected]> + 2010, Franck Joncourt <[email protected]> + 2010, Jonathan Yu <[email protected]> + 2010, Nicholas Bamber <[email protected]> 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 GNU/Linux systems, the complete text of the Artistic License - can be found in `/usr/share/common-licenses/Artistic' + 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 @@ -38,5 +40,5 @@ the Free Software Foundation; either version 1, or (at your option) any later version. . - On Debian GNU/Linux systems, the complete text of the GNU General - Public License can be found in `/usr/share/common-licenses/GPL' + On Debian systems, the complete text of version 1 of the + General Public License can be found in `/usr/share/common-licenses/GPL-1'. diff -Nru libjavascript-perl-1.16/debian/patches/e4x.patch libjavascript-perl-1.16/debian/patches/e4x.patch --- libjavascript-perl-1.16/debian/patches/e4x.patch 1970-01-01 01:00:00.000000000 +0100 +++ libjavascript-perl-1.16/debian/patches/e4x.patch 2010-10-17 17:03:05.000000000 +0100 @@ -0,0 +1,26 @@ +Author: Niko Tyni <[email protected]> +Reviewed-by: Nicholas Bamber <[email protected]> +Last-Updated: 2010-10-12 +Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=60120 +Bug-Debian: http://bugs.debian.org/591132 +Subject: [PATCH] Fix E4X test failure with new SpiderMonkey versions + As of Mozilla 1.9.1.11, a pure XML element is not treated as valid + top level JavaScript but rather gets rejected with "XML cannot be the + whole program". + Work around this by throwing some valid JavaScript in the mix that + explicitly takes the value of the object. + See + http://hg.mozilla.org/releases/mozilla-1.9.1/rev/d4b2224cf458 + http://hg.mozilla.org/releases/mozilla-1.9.1/rev/c4ba70070012 + +--- a/t/26-e4x.t ++++ b/t/26-e4x.t +@@ -19,7 +19,7 @@ + my $context = $runtime->create_context(); + + my $ret = $context->eval(<<'EOP'); +-<xml>this is an E4X object</xml> ++(<xml>this is an E4X object</xml>).valueOf(); + EOP + is($ret, '<xml>this is an E4X object</xml>'); + diff -Nru libjavascript-perl-1.16/debian/patches/fix-longdouble-comparison.patch libjavascript-perl-1.16/debian/patches/fix-longdouble-comparison.patch --- libjavascript-perl-1.16/debian/patches/fix-longdouble-comparison.patch 2010-04-22 20:15:29.000000000 +0100 +++ libjavascript-perl-1.16/debian/patches/fix-longdouble-comparison.patch 2010-10-17 17:03:05.000000000 +0100 @@ -2,14 +2,14 @@ Thing is, doubles are not exact and errors are possible in the least significant digit. This patch replaces the equality tests with a test if the difference is smaller than a very small number -Bug-Debian: 578548 +Bug-Debian: http://bugs.debian.org/578548 Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=56830 Author: Damyan Ivanov <[email protected]> Last-Update: 2010-04-22 --- a/t/01-types-from-js.t +++ b/t/01-types-from-js.t -@@ -21,9 +21,9 @@ is($cx1->eval("1;"), 1, "Positive intege +@@ -21,9 +21,9 @@ is($cx1->eval("5000000000;"), 5_000_000_000, "Really big integers"); # Doubles diff -Nru libjavascript-perl-1.16/debian/patches/pod-spelling.patch libjavascript-perl-1.16/debian/patches/pod-spelling.patch --- libjavascript-perl-1.16/debian/patches/pod-spelling.patch 2010-02-07 08:12:34.000000000 +0000 +++ libjavascript-perl-1.16/debian/patches/pod-spelling.patch 2010-10-12 08:28:28.000000000 +0100 @@ -1,6 +1,8 @@ Author: gregor herrmann <[email protected]> Description: spelling mistakes - +Reviewed-by: Nicholas Bamber <[email protected]> +Last-Update: 2010-10-12 +Forwarded: no --- a/lib/JavaScript.pm +++ b/lib/JavaScript.pm @@ -50,7 +50,7 @@ diff -Nru libjavascript-perl-1.16/debian/patches/series libjavascript-perl-1.16/debian/patches/series --- libjavascript-perl-1.16/debian/patches/series 2010-04-22 19:42:38.000000000 +0100 +++ libjavascript-perl-1.16/debian/patches/series 2010-10-12 07:42:00.000000000 +0100 @@ -1,3 +1,4 @@ remove-branch-handler pod-spelling.patch fix-longdouble-comparison.patch +e4x.patch
<<attachment: nicholas.vcf>>

