[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

tpu upload for #679669 (underscore: build-depends on uglifyjs)



Julien Cristau <jcristau@debian.org> writes:
> On Sat, Oct 13, 2012 at 20:56:00 +0200, Ansgar Burchardt wrote:
>> Stuart Prescott <stuart@debian.org> writes:
>> > Looking at the underscore package in squeeze-backports, it is not possible to 
>> > build it from source using packages in squeeze+squeeze-backports. In 
>> > particular, the "uglifyjs" package (provided by node-uglify in sid) is not in 
>> > squeeze/squeeze-backports.
>> 
>> I modified the package in backports to not compress the *.js files:
>> 
> Any chance you could do that for wheezy too?

Sure.  I've attached the debdiff for an upload to wheezy (there's a
newer version in unstable).  The changes are the same as in the
backport.

Ansgar
diff -Nru underscore-1.1.6/debian/changelog underscore-1.1.6/debian/changelog
--- underscore-1.1.6/debian/changelog	2011-04-22 11:30:22.000000000 +0200
+++ underscore-1.1.6/debian/changelog	2012-10-15 20:48:23.000000000 +0200
@@ -1,3 +1,10 @@
+underscore (1.1.6-1+deb7u1) wheezy; urgency=low
+
+  * Include uncompressed version of *.js to avoid a build-dependency on
+    uglifyjs. (Closes: #679669)
+
+ -- Ansgar Burchardt <ansgar@debian.org>  Mon, 15 Oct 2012 20:46:34 +0200
+
 underscore (1.1.6-1) unstable; urgency=low
 
   * New upstream release.
diff -Nru underscore-1.1.6/debian/control underscore-1.1.6/debian/control
--- underscore-1.1.6/debian/control	2011-04-22 11:25:13.000000000 +0200
+++ underscore-1.1.6/debian/control	2012-10-15 20:46:31.000000000 +0200
@@ -5,8 +5,7 @@
 Uploaders: Jonas Smedegaard <dr@jones.dk>
 Build-Depends: cdbs,
  debhelper (>= 6),
- dh-buildinfo,
- uglifyjs
+ dh-buildinfo
 Standards-Version: 3.9.2
 Homepage: http://documentcloud.github.com/underscore/
 Vcs-Git: git://git.debian.org/git/collab-maint/underscore
diff -Nru underscore-1.1.6/debian/rules underscore-1.1.6/debian/rules
--- underscore-1.1.6/debian/rules	2011-04-22 11:30:00.000000000 +0200
+++ underscore-1.1.6/debian/rules	2012-10-15 20:46:31.000000000 +0200
@@ -28,7 +28,7 @@
 CDBS_BUILD_DEPENDS_rules_upstream-tarball =
 CDBS_BUILD_DEPENDS_rules_utils_copyright-check =
 
-CDBS_BUILD_DEPENDS += , uglifyjs
+#CDBS_BUILD_DEPENDS += , uglifyjs
 
 DEB_UPSTREAM_URL = http://githubredir.debian.net/github/documentcloud/underscore/
 DEB_UPSTREAM_TARBALL_BASENAME = $(DEB_UPSTREAM_TARBALL_VERSION)
@@ -47,6 +47,7 @@
 
 build/$(libpkgname):: $(js-min)
 $(js-min): debian/%.min.js: $(js-basedir)%.js
-	uglifyjs -o $@ $<
+	#uglifyjs -o $@ $<
+	ln -sf $< $@
 clean::
 	rm -f debian/*.js

Reply to: