tags 674353 + patch tags 674353 + pending thanks Dear maintainer,
I've prepared an NMU for libcss-perl (versioned as 1.08-1+nmu3) and uploaded it to DELAYED/2. Please feel free to tell me if I should delay it longer. Regards. -- .''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06 : :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe `- NP: Rolling Stones
diff -u libcss-perl-1.08/debian/changelog libcss-perl-1.08/debian/changelog --- libcss-perl-1.08/debian/changelog +++ libcss-perl-1.08/debian/changelog @@ -1,3 +1,14 @@ +libcss-perl (1.08-1+nmu3) unstable; urgency=low + + * Non-maintainer upload. + * Fix "FTBFS: tests failed": + this is the third NMU in a row that's necessary due to the compiled + grammar; following Niko Tyni's advice in #56940, a script now recompiles + the grammar at build time. + Closes: #674353 + + -- gregor herrmann <gre...@debian.org> Fri, 08 Jun 2012 15:37:46 +0200 + libcss-perl (1.08-1+nmu2) unstable; urgency=low * Non-maintainer upload. diff -u libcss-perl-1.08/debian/rules libcss-perl-1.08/debian/rules --- libcss-perl-1.08/debian/rules +++ libcss-perl-1.08/debian/rules @@ -2,6 +2,7 @@ build: build-stamp build-stamp: + perl $(CURDIR)/debian/rebuild-grammar.pl dh build touch $@ only in patch2: unchanged: --- libcss-perl-1.08.orig/debian/rebuild-grammar.pl +++ libcss-perl-1.08/debian/rebuild-grammar.pl @@ -0,0 +1,17 @@ +#!/usr/bin/perl + +# taken from +# https://rt.cpan.org/Ticket/Attachment/735088/379845/build-grammar.pl +# and +# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=569404#17 + +use Parse::RecDescent; +use CSS::Parse::PRDGrammar; + +$Parse::RecDescent::skip = ''; +$::RD_AUTOACTION = 'print "token: ".shift @item; print " : @item\n"'; +Parse::RecDescent->Precompile( $CSS::Parse::PRDGrammar::GRAMMAR, + "CSS::Parse::CompiledGrammar" ) + or die("precompile failed"); +rename( "CompiledGrammar.pm", "CSS/Parse/CompiledGrammar.pm" ) + or die("rename failed: $!");
signature.asc
Description: Digital signature