[Pkg-sympa-commits] [sympa] 01/03: Support JQuery >= 3 using jquery-migrate

Emmanuel Bouthenot kolter at moszumanska.debian.org
Tue Mar 7 06:03:29 UTC 2017


This is an automated email from the git hooks/post-receive script.

kolter pushed a commit to branch master
in repository sympa.

commit 01fef8f792821ccbf291b925c1a9bf212920e990
Author: Emmanuel Bouthenot <kolter at openics.org>
Date:   Sun Mar 5 07:03:46 2017 +0100

    Support JQuery >= 3 using jquery-migrate
---
 debian/control                                         |  1 +
 .../patches/2002_support_jquery3_using_migrate.patch   | 18 ++++++++++++++++++
 debian/patches/series                                  |  1 +
 debian/sympa.links                                     |  1 +
 4 files changed, 21 insertions(+)

diff --git a/debian/control b/debian/control
index 4a99848..41f590b 100644
--- a/debian/control
+++ b/debian/control
@@ -88,6 +88,7 @@ Depends:
     libsoap-lite-perl,
     fonts-font-awesome,
     libjs-jquery (>= 1.11),
+    libjs-jquery-migrate-1,
     libjs-jquery-ui,
     libjs-jquery-placeholder,
     libjs-modernizr,
diff --git a/debian/patches/2002_support_jquery3_using_migrate.patch b/debian/patches/2002_support_jquery3_using_migrate.patch
new file mode 100644
index 0000000..3c5835b
--- /dev/null
+++ b/debian/patches/2002_support_jquery3_using_migrate.patch
@@ -0,0 +1,18 @@
+Description: Support JQuery >= 3 using jquery-migrate
+Author: Emmanuel Bouthenot <kolter at debian.org>
+Bug-Debian: https://bugs.debian.org/855199
+Forwarded: not-needed
+Last-Update: 2017-02-10
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/default/web_tt2/head_javascript.tt2
++++ b/default/web_tt2/head_javascript.tt2
+@@ -55,6 +55,8 @@
+ 
+ <script src="[% static_content_url %]/external/jquery.js"></script>
+ 
++<script src="[% static_content_url %]/external/jquery-migrate.js"></script>
++
+ <script src="[% static_content_url %]/external/jquery-ui.js"></script>
+ 
+ <script src="[% static_content_url %]/external/jquery.jqplot.min.js"></script>
diff --git a/debian/patches/series b/debian/patches/series
index 6212d6d..89f9d62 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
 1003_fix_various_log_severity
 1004_make_build_reproducible.patch
 2001_ca_bundle_check_as_warning.patch
+2002_support_jquery3_using_migrate.patch
diff --git a/debian/sympa.links b/debian/sympa.links
index f21affb..cd2e4ad 100644
--- a/debian/sympa.links
+++ b/debian/sympa.links
@@ -7,6 +7,7 @@
 /usr/lib/sympa/bin/bouncequeue                                  /usr/lib/sympa/lib/sympa/bouncequeue
 /usr/share/fonts-font-awesome                                   /var/lib/sympa/static_content/external/font-awesome
 /usr/share/javascript/jquery/jquery.js                          /var/lib/sympa/static_content/external/jquery.js
+/usr/share/javascript/jquery-migrate-1.js                       /var/lib/sympa/static_content/external/jquery-migrate.js
 /usr/share/twitter-bootstrap/files/html5shiv/html5shiv.js       /var/lib/sympa/static_content/external/html5shiv/html5shiv.js
 /usr/share/javascript/jquery-ui/jquery-ui.js                    /var/lib/sympa/static_content/external/jquery-ui.js
 /usr/share/javascript/jquery-ui/themes/base/jquery-ui.css       /var/lib/sympa/static_content/external/jquery-ui.css

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/sympa.git



More information about the Pkg-sympa-commits mailing list