[Pkg-mozext-commits] [SCM] wot extension for Firefox/Iceweasel branch, master, updated. debian/20110704-2-15-g18b00f2

David Prévot taffit at debian.org
Fri Jul 19 03:37:39 UTC 2013


The following commit has been merged in the master branch:
commit 5e33a13da9c7e2f5957b17ca9fbdea5f1f85ffe2
Author: David Prévot <taffit at debian.org>
Date:   Thu Jul 18 23:15:34 2013 -0400

    Rebuild minified JavaScript

diff --git a/debian/control b/debian/control
index 8f1eb80..69d0c59 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: web
 Priority: optional
 Maintainer: Debian Mozilla Extension Maintainers <pkg-mozext-maintainers at lists.alioth.debian.org>
 Uploaders: Fabrizio Regalli <fabreg at fabreg.it>
-Build-Depends: debhelper (>= 8), mozilla-devscripts (>= 0.29~)
+Build-Depends: debhelper (>= 8), mozilla-devscripts (>= 0.29~), node-uglify
 Standards-Version: 3.9.4
 Homepage: https://www.mywot.com
 Vcs-Git: git://anonscm.debian.org/pkg-mozext/wot.git
diff --git a/debian/rules b/debian/rules
index 889afad..9719003 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,13 @@
 %:
 	dh $@ --with xul-ext --buildsystem=xul_ext
 
+override_dh_auto_build:
+	mv $(CURDIR)/chrome/wot.jar\!/content/injections/jquery.js $(CURDIR)/jquery.js.bkp
+	uglifyjs -o $(CURDIR)/chrome/wot.jar\!/content/injections/jquery.js \
+		$(CURDIR)/chrome/wot.jar\!/content/injections/jquery-ui-1.9.2.custom.js
+	dh_auto_build -O--buildsystem=xul_ext
+	mv $(CURDIR)/jquery.js.bkp $(CURDIR)/chrome/wot.jar\!/content/injections/jquery.js
+
 override_dh_auto_install:
 	install-xpi --remove-license-files xul-ext-wot.xpi
 	rm -r $(CURDIR)/debian/xul-ext-wot/usr/share/xul-ext/wot/META-INF

-- 
wot extension for Firefox/Iceweasel



More information about the Pkg-mozext-commits mailing list