[Pkg-javascript-devel] Bug#495178: (no subject)

Thomas Bechtold thomasbechtold at jpberlin.de
Tue Jul 30 17:35:53 UTC 2013


diff -Nru jquery-1.7.2+dfsg/debian/changelog jquery-1.7.2+dfsg/debian/changelog
--- jquery-1.7.2+dfsg/debian/changelog	2013-05-11 18:35:00.000000000 +0200
+++ jquery-1.7.2+dfsg/debian/changelog	2013-07-30 19:09:22.000000000 +0200
@@ -1,3 +1,11 @@
+jquery (1.7.2+dfsg-2.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Build-Depends on yui-compressor and generate jquery.min.js from jquery.js
+    (Closes: #495178).
+
+ -- Thomas Bechtold <thomasbechtold at jpberlin.de>  Tue, 30 Jul 2013 18:54:25 +0200
+
 jquery (1.7.2+dfsg-2) unstable; urgency=high
 
   * Added Breaks to movabletype-opensource (Closes: #700527)
diff -Nru jquery-1.7.2+dfsg/debian/control jquery-1.7.2+dfsg/debian/control
--- jquery-1.7.2+dfsg/debian/control	2013-05-11 18:33:50.000000000 +0200
+++ jquery-1.7.2+dfsg/debian/control	2013-07-30 18:54:22.000000000 +0200
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
 Uploaders: Marcelo Jorge Vieira (metal) <metal at debian.org>, Steve Kemp <skx at debian.org>
-Build-Depends: debhelper (>= 7.0.50~)
+Build-Depends: debhelper (>= 7.0.50~), yui-compressor
 Standards-Version: 3.9.3
 Homepage: http://jquery.com/
 Vcs-Browser: http://git.debian.org/?p=pkg-javascript/jquery.git
diff -Nru jquery-1.7.2+dfsg/debian/links jquery-1.7.2+dfsg/debian/links
--- jquery-1.7.2+dfsg/debian/links	2013-05-11 18:33:50.000000000 +0200
+++ jquery-1.7.2+dfsg/debian/links	2013-07-30 19:01:48.000000000 +0200
@@ -1,3 +1,2 @@
 /usr/share/javascript/jquery/jquery.min.js	/usr/share/javascript/jquery/jquery.pack.js
 /usr/share/javascript/jquery/jquery.min.js	/usr/share/javascript/jquery/jquery.lite.js
-/usr/share/javascript/jquery/jquery.js	/usr/share/javascript/jquery/jquery.min.js
diff -Nru jquery-1.7.2+dfsg/debian/rules jquery-1.7.2+dfsg/debian/rules
--- jquery-1.7.2+dfsg/debian/rules	2013-05-11 18:33:50.000000000 +0200
+++ jquery-1.7.2+dfsg/debian/rules	2013-07-30 19:01:30.000000000 +0200
@@ -2,6 +2,11 @@
 build %:
 	dh $@
 
+override_dh_auto_build:
+	dh_auto_build
+	#generate compressed jquery.min.js
+	yui-compressor dist/jquery.js > dist/jquery.min.js
+
 override_dh_auto_clean:
 	rm -rf dist/
 	dh_clean
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 897 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20130730/dd1391f5/attachment.sig>


More information about the Pkg-javascript-devel mailing list