[Pkg-javascript-commits] [SCM] Collection of jQuery plugins branch, master, updated. e9e4b12c0cc3f3773b9a490881f6a2020d68bddb

Per Andersson avtobiff at gmail.com
Thu Oct 25 09:10:50 UTC 2012


The following commit has been merged in the master branch:
commit 70ab20d9fd116d1f0f0ab560c6879f1d2b641a3b
Author: Per Andersson <avtobiff at gmail.com>
Date:   Fri Oct 12 23:03:33 2012 +0200

    Add binary package for jQuery Uploadify
    
    * libjs-jquery-uploadify

diff --git a/debian/control b/debian/control
index 34e8610..643ffc0 100644
--- a/debian/control
+++ b/debian/control
@@ -286,3 +286,20 @@ Description: jQuery resize (doc)
  than window.
  .
  This package contains the HTML documentation.
+
+Package: libjs-jquery-uploadify
+Architecture: all
+Depends: ${misc:Depends}, libjs-jquery, libjs-swfobject, libjs-swfupload
+Homepage: http://uploadify.com/
+Description: plugin for easy multiple file upload
+ Uploadify is a jQuery plugin that allows you to easily add multiple file
+ upload functionality to your website.
+ .
+ Features:
+  * Multiple file uploads
+  * Drag and drop
+  * Real-time progress indicators
+  * Custom upload restrictions
+  * Extreme customization
+ .
+ This package contains the Flash version of Uploadify.
diff --git a/debian/copyright b/debian/copyright
index 1af5e31..e5f50f0 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -97,6 +97,11 @@ Copyright: 2012 Ben Alman <cowboy at rj3.net>
 Homepage: http://benalman.com/projects/jquery-resize-plugin/
 License: MIT or GPL-2
 
+Files: uploadify/*
+Copyright: 2012 Reactive Apps, Ronnie Garcia
+Homepage: http://uploadify.com/
+License: MIT
+
 Files: debian/*
 Copyright: (c) 2009-2011 Marcelo Jorge Vieira <metal at debian.org>
 License: MIT or GPL-2+ or BSD or Apache-2.0
diff --git a/debian/libjs-jquery-uploadify.README.Debian b/debian/libjs-jquery-uploadify.README.Debian
new file mode 100644
index 0000000..8948e52
--- /dev/null
+++ b/debian/libjs-jquery-uploadify.README.Debian
@@ -0,0 +1,19 @@
+libjs-jquery-uploadify for Debian
+---------------------------------
+
+In order to make use of uploadify in your html, include the following
+lines in your html header
+
+    <script language="javascript" type="text/javascript"
+    src="/javascript/jquery/jquery.js"></script>
+
+    <script language="javascript" type="text/javascript"
+    src="/javascript/swfobject/swfobject.js"></script>
+
+    <script language="javascript" type="text/javascript"
+    src="/javascript/swfupload/swfupload.js"></script>
+
+    <script language="javascript" type="text/javascript"
+    src="/javascript/jquery-uploadify/jquery.uploadify.js"></script>
+
+ -- Per Andersson <avtobiff at gmail.com>  Fri, 12 Oct 2012 21:54:24 +0200
diff --git a/debian/libjs-jquery-uploadify.README.source b/debian/libjs-jquery-uploadify.README.source
new file mode 100644
index 0000000..96b62d2
--- /dev/null
+++ b/debian/libjs-jquery-uploadify.README.source
@@ -0,0 +1,13 @@
+Notes on Uploadify source
+-------------------------
+
+The upstream version of the file jquery.uploadify.js contains inlined
+minified versions of swfobject and swfupload.
+
+Since Debian treats minified javascript as binaries they need source (for
+these binaries) which is not shipped with Uploadify. Thus, these portions of
+the files need to be removed.
+
+It is manual boring work which I haven't put in any effort to automating...
+
+ -- Per Andersson <avtobiff at gmail.com>  Fri, 12 Oct 2012 21:56:40 +0200
diff --git a/debian/libjs-jquery-uploadify.docs b/debian/libjs-jquery-uploadify.docs
new file mode 100644
index 0000000..da8798b
--- /dev/null
+++ b/debian/libjs-jquery-uploadify.docs
@@ -0,0 +1 @@
+uploadify/Change?Log.txt
diff --git a/debian/libjs-jquery-uploadify.examples b/debian/libjs-jquery-uploadify.examples
new file mode 100644
index 0000000..b2b5805
--- /dev/null
+++ b/debian/libjs-jquery-uploadify.examples
@@ -0,0 +1,3 @@
+uploadify/check-exists.php
+uploadify/index.php
+uploadify/uploadify.php
diff --git a/debian/libjs-jquery-uploadify.install b/debian/libjs-jquery-uploadify.install
new file mode 100644
index 0000000..248c3b3
--- /dev/null
+++ b/debian/libjs-jquery-uploadify.install
@@ -0,0 +1,3 @@
+uploadify/*.js                  /usr/share/javascript/jquery-uploadify
+uploadify/uploadify.css         /usr/share/javascript/jquery-uploadify
+uploadify/uploadify-cancel.png  /usr/share/javascript/jquery-uploadify
diff --git a/debian/libjs-jquery-uploadify.links b/debian/libjs-jquery-uploadify.links
new file mode 100644
index 0000000..fd34cfe
--- /dev/null
+++ b/debian/libjs-jquery-uploadify.links
@@ -0,0 +1 @@
+/usr/share/javascript/swfupload/swfupload.swf /usr/share/javascript/jquery-uploadify/uploadify.swf
diff --git a/debian/rules b/debian/rules
index 3c1d938..ed51c71 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,6 +25,7 @@ override_dh_auto_build:
 	yui-compressor livequery/jquery.livequery.js -o  livequery/jquery.livequery.min.js
 	yui-compressor countdown/jquery.countdown.js -o countdown/jquery.countdown.min.js
 	yui-compressor resize/jquery.ba-resize.js -o resize/jquery.ba-resize.min.js
+	yui-compressor uploadify/jquery.uploadify.js -o uploadify/jquery.uploadify.min.js
 
 override_dh_installchangelogs:
 	dh_installchangelogs --package libjs-jquery-livequery livequery/ChangeLog.markdown
@@ -53,3 +54,4 @@ override_dh_auto_clean:
 	rm -f livequery/jquery.livequery.min.js
 	rm -f countdown/jquery.countdown.min.js
 	rm -f resize/jquery.ba-resize.min.js
+	rm -f uploadify/jquery.uploadify.min.js

-- 
Collection of jQuery plugins



More information about the Pkg-javascript-commits mailing list