[Pkg-javascript-commits] [SCM] flot branch, master, updated. 14fc72a1c347418ef86c382948a89a4f604f9030
Marcelo Jorge Vieira (metal)
metal at alucinados.com
Tue Mar 9 01:42:35 UTC 2010
The following commit has been merged in the master branch:
commit ccd91757051d8b1e4906c0b2511ae073f7c7a832
Author: Marcelo Jorge Vieira (metal) <metal at alucinados.com>
Date: Sat Mar 6 15:17:27 2010 -0300
Generating compressed files from source (Closes: #571784)
Using yui-compressor to do it
diff --git a/debian/README.Source b/debian/README.Source
new file mode 100644
index 0000000..fcb9cba
--- /dev/null
+++ b/debian/README.Source
@@ -0,0 +1,9 @@
+All minified files (*.min.js) were removed from the upstream tarball,
+because these files are generated from source now.
+
+Also, the plugin jquery.flot.navigate.js was removed, because it
+contains obfuscated code. I will include it when the libs
+jquery.mousewheel and jquery.event.drag turn into a package.
+
+
+ -- Marcelo Jorge Vieira (metal) <metal at debian.org> Sun, 07 Mar 2010 01:01:10 -0300
diff --git a/debian/control b/debian/control
index b460d9b..6807247 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: web
Priority: optional
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
Uploaders: Marcelo Jorge Vieira (metal) <metal at debian.org>
-Build-Depends: debhelper (>= 7)
+Build-Depends: debhelper (>= 7.0.50~), yui-compressor
Standards-Version: 3.8.4
Homepage: http://code.google.com/p/flot/
Vcs-Browser: http://git.debian.org/?p=pkg-javascript/flot.git
diff --git a/debian/rules b/debian/rules
index cbe925d..281dc73 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,3 +1,11 @@
#!/usr/bin/make -f
%:
dh $@
+
+override_dh_auto_build:
+ for file in `ls *.js`; do \
+ `yui-compressor $$file -o $${file%.js}.min.js`; \
+ done
+
+override_dh_auto_clean:
+ rm -f *.min.js
--
flot
More information about the Pkg-javascript-commits
mailing list