[Pkg-javascript-devel] Bug#736551: [PATCH] Add jQuery FullScreen Plugin

2014-01-30 Thread Jerome Charaoui
Tags: patch

Here's a patch against the jquery-goodies' source code Git tree.

---
 debian/control   |  11 ++
 debian/copyright |   6 ++
 debian/libjs-jquery-fullscreen.README.Debian |  13 +++
 debian/libjs-jquery-fullscreen.docs  |   1 +
 debian/libjs-jquery-fullscreen.install   |   1 +
 debian/rules |   6 ++
 fullscreen/jquery.fullscreen.js  | 147 +++
 fullscreen/readme.md |  75 ++
 8 files changed, 260 insertions(+)
 create mode 100644 debian/libjs-jquery-fullscreen.README.Debian
 create mode 100644 debian/libjs-jquery-fullscreen.docs
 create mode 100644 debian/libjs-jquery-fullscreen.install
 create mode 100644 fullscreen/jquery.fullscreen.js
 create mode 100644 fullscreen/readme.md

diff --git a/debian/control b/debian/control
index 914a50c..3af8f2d 100644
--- a/debian/control
+++ b/debian/control
@@ -316,3 +316,14 @@ Description: Simple slideshow plugin for jQuery
  A simple slideshow plugin for jQuery packed with a useful set of features to
  help novice and advanced developers alike create elegant and user-friendly
  slideshows.
+
+Package: libjs-jquery-fullscreen
+Architecture: all
+Depends: ${misc:Depends}, libjs-jquery
+Recommends: javascript-common
+Homepage: http://tutorialzine.com/2012/02/enhance-your-website-fullscreen-api/
+Description:  jQuery FullScreen Plugin
+ A jQuery 1.7 plugin that wraps around the Full Screen API and works around
+ various browser differences. Works in FF 10, Chrome and Safari. It is useful
+ for presenting users with an easier to read version of your web pages, or
+ zooming canvas and video elements.
diff --git a/debian/copyright b/debian/copyright
index 10cafbd..078d2f4 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -106,6 +106,12 @@ Files: slides/*
 Copyright: 2011 Nathan Searles, http://nathansearles.com
 License: Apache-2.0
 
+Files: fullscreen/*
+Copyright: 2012 Martin Angelov
+Homepage: http://tutorialzine.com/2012/02/enhance-your-website-fullscreen-api/
+License: Expat
+Source: https://github.com/martinaglv/jQuery-FullScreen/issues/13
+
 Files: debian/*
 Copyright: (c) 2009-2011 Marcelo Jorge Vieira me...@debian.org
 License: MIT or GPL-2+ or BSD or Apache-2.0
diff --git a/debian/libjs-jquery-fullscreen.README.Debian 
b/debian/libjs-jquery-fullscreen.README.Debian
new file mode 100644
index 000..35e78ef
--- /dev/null
+++ b/debian/libjs-jquery-fullscreen.README.Debian
@@ -0,0 +1,13 @@
+libjs-jquery-fullscreen for Debian
+--
+
+In order to make use of fullscreen 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/jquery-fullscreen/jquery.fullscreen.js/script
+
+ -- Jerome Charaoui jer...@riseup.net, Sun, 26 Jan 2014 19:41:54 -0500
diff --git a/debian/libjs-jquery-fullscreen.docs 
b/debian/libjs-jquery-fullscreen.docs
new file mode 100644
index 000..c97d3b7
--- /dev/null
+++ b/debian/libjs-jquery-fullscreen.docs
@@ -0,0 +1 @@
+fullscreen/readme.md
diff --git a/debian/libjs-jquery-fullscreen.install 
b/debian/libjs-jquery-fullscreen.install
new file mode 100644
index 000..1e23cc1
--- /dev/null
+++ b/debian/libjs-jquery-fullscreen.install
@@ -0,0 +1 @@
+fullscreen/jquery.fullscreen.js /usr/share/javascript/jquery-fullscreen
diff --git a/debian/rules b/debian/rules
index 4edbfeb..e33ee42 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,6 +27,7 @@ override_dh_auto_build:
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
yui-compressor slides/source/slides.jquery.js -o 
slides/source/slides.min.jquery.js
+   yui-compressor fullscreen/jquery.fullscreen.js -o 
fullscreen/jquery.fullscreen.min.js
 
 override_dh_installchangelogs:
dh_installchangelogs --package libjs-jquery-livequery 
livequery/ChangeLog.markdown
@@ -59,3 +60,8 @@ override_dh_auto_clean:
rm -f resize/jquery.ba-resize.min.js
rm -f uploadify/jquery.uploadify.min.js
rm -f slides/source/slides.min.jquery.js
+   rm -f fullscreen/jquery.fullscreen.min.js
+
+override_dh_gencontrol:
+   dh_gencontrol -plibjs-jquery-fullscreen -- -v1.2
+   dh_gencontrol --remaining-packages
diff --git a/fullscreen/jquery.fullscreen.js b/fullscreen/jquery.fullscreen.js
new file mode 100644
index 000..78499f0
--- /dev/null
+++ b/fullscreen/jquery.fullscreen.js
@@ -0,0 +1,147 @@
+/**
+ * @namejQuery FullScreen Plugin
+ * @author  Martin Angelov, Morten Sjøgren
+ * @version 1.2
+ * @url 
http://tutorialzine.com/2012/02/enhance-your-website-fullscreen-api/
+ * @license MIT License
+ */
+
+/*jshint browser: true, 

[Pkg-javascript-devel] Bug#736551: [PATCH] Add jQuery FullScreen Plugin

2014-01-30 Thread Jerome Charaoui
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Apologies, the previous message was obviously intended for another bug
report.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQEcBAEBCAAGBQJS6wWkAAoJEK/ZGpI6kvtMzU4IALjiCPFLB6sjHrdESg1FROCE
ix9DqGOoqsx/jcnT0Een5xg5JmOuG2k6nQHD/AFxLpKTZeUkk+9GYh0oOzN23u+M
sKpEpJL16bCMUOC0+ISs2dZQ3M0T3ep/LdlDJTL91yyNj7J+gAD4CmUHZhiaMEGr
dyHNNlvjGkdl9QB23lnHe9z0Wbe0iYoelJD9XGeZGE5x+7LjA6hOjue9ZkahXXtu
6va8QwBjJQL7RkDU18aVYF4DDk5a6qRpDe3wBIcgdA33q64BkU9qRxb5fl3LJrw/
BXdmrTVjfOLQqddT4GlHnWjVulVr+Kw14XseHM9jHljb/0KOZeF4Cd6Z6RdPe0M=
=QP5O
-END PGP SIGNATURE-

___
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel