Control: tag 679669 + patch On Sat, 30 Jun 2012 18:24:31 +0200, Julien Cristau wrote:
> underscore in wheezy build-depends on uglifyjs, which is missing there. > This needs to be fixed before release. Hi Jonas, how about using perl (libjavascript-minifier-perl) to minify the JavaScript? Patch attached. Cheers, gregor -- .''`. 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: U2: Kite
diff -Nru underscore-1.3.3/debian/changelog underscore-1.3.3/debian/changelog --- underscore-1.3.3/debian/changelog 2012-04-13 18:48:41.000000000 +0200 +++ underscore-1.3.3/debian/changelog 2012-07-26 19:57:27.000000000 +0200 @@ -1,3 +1,13 @@ +underscore (1.3.3-1.1) UNRELEASED; urgency=low + + * Non-maintainer upload. + * Fix "build-dependency on uglifyjs not satisfiable in wheezy": + use libjavascript-minifier-perl to minify the JavaScript file instead of + uglifyjs. + (Closes: #679669) + + -- gregor herrmann <gre...@debian.org> Thu, 26 Jul 2012 19:30:55 +0200 + underscore (1.3.3-1) unstable; urgency=low * New upstream release. diff -Nru underscore-1.3.3/debian/control underscore-1.3.3/debian/control --- underscore-1.3.3/debian/control 2012-04-13 18:49:32.000000000 +0200 +++ underscore-1.3.3/debian/control 2012-07-26 19:51:15.000000000 +0200 @@ -7,7 +7,7 @@ Build-Depends: cdbs, debhelper, dh-buildinfo, - uglifyjs + libjavascript-minifier-perl Standards-Version: 3.9.3 Homepage: http://documentcloud.github.com/underscore/ Vcs-Git: git://git.debian.org/git/collab-maint/underscore diff -Nru underscore-1.3.3/debian/rules underscore-1.3.3/debian/rules --- underscore-1.3.3/debian/rules 2012-04-13 18:46:34.000000000 +0200 +++ underscore-1.3.3/debian/rules 2012-07-26 19:56:38.000000000 +0200 @@ -29,7 +29,7 @@ CDBS_BUILD_DEPENDS_rules_upstream-tarball = CDBS_BUILD_DEPENDS_rules_utils_copyright-check = -CDBS_BUILD_DEPENDS += , uglifyjs +CDBS_BUILD_DEPENDS += , libjavascript-minifier-perl DEB_UPSTREAM_URL = http://githubredir.debian.net/github/documentcloud/$(libname) DEB_UPSTREAM_TARBALL_BASENAME = $(DEB_UPSTREAM_TARBALL_VERSION) @@ -50,7 +50,7 @@ build/$(libpkgname):: $(js-min) $(js-min): debian/%.min.js: $(js-basedir)%.js - uglifyjs -o $@ $< + perl debian/uglifyjs $< $@ clean:: rm -f debian/*.js diff -Nru underscore-1.3.3/debian/uglifyjs underscore-1.3.3/debian/uglifyjs --- underscore-1.3.3/debian/uglifyjs 1970-01-01 01:00:00.000000000 +0100 +++ underscore-1.3.3/debian/uglifyjs 2012-07-26 19:51:52.000000000 +0200 @@ -0,0 +1,12 @@ +#!/usr/bin/perl + +use strict; +use warnings; + +use JavaScript::Minifier qw(minify); + +open( my $infh, '<', $ARGV[0] ) or die; +open( my $outfh, '>', $ARGV[1] ) or die; +minify( input => $infh, outfile => $outfh ); +close($infh); +close($outfh);
signature.asc
Description: Digital signature