[DRE-commits] [diaspora] 02/14: remove minified js files

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Sun Aug 2 12:59:53 UTC 2015


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

praveen pushed a commit to branch master
in repository diaspora.

commit 84585b64377104edcc08195491127eee68201af9
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Sun Aug 2 17:08:04 2015 +0530

    remove minified js files
---
 debian/gbp.conf                                    |  2 +-
 .../patches/042-remove-minified-js-require.patch   | 23 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 3 files changed, 25 insertions(+), 1 deletion(-)

diff --git a/debian/gbp.conf b/debian/gbp.conf
index 0507180..2b2ff6b 100644
--- a/debian/gbp.conf
+++ b/debian/gbp.conf
@@ -6,4 +6,4 @@ sign-tags = True
 
 [import-orig]
 filter-pristine-tar = True
-filter = ['bin','Gemfile.lock']
+filter = ['bin','Gemfile.lock','vendor/assets/javascripts/mbp-modernizr-custom.js','vendor/assets/javascripts/mbp-respond.min.js']
diff --git a/debian/patches/042-remove-minified-js-require.patch b/debian/patches/042-remove-minified-js-require.patch
new file mode 100644
index 0000000..1d66144
--- /dev/null
+++ b/debian/patches/042-remove-minified-js-require.patch
@@ -0,0 +1,23 @@
+From fa411c73a729d0203899ecc2c8966e121eeff0bd Mon Sep 17 00:00:00 2001
+From: cmrd Senya <senya at riseup.net>
+Date: Tue, 28 Jul 2015 17:17:30 +0300
+Subject: [PATCH] Remove unused minified js files mbp-respond.min.js and
+ mbp-modernizr-custom.js (#5939).
+
+closes #6257
+---
+ app/assets/javascripts/mobile/mobile.js           |  2 --
+
+diff --git a/app/assets/javascripts/mobile/mobile.js b/app/assets/javascripts/mobile/mobile.js
+index 0915480..5a97bd5 100644
+--- a/app/assets/javascripts/mobile/mobile.js
++++ b/app/assets/javascripts/mobile/mobile.js
+@@ -6,8 +6,6 @@
+  */
+ //= require jquery.charcount
+ //= require js-routes
+-//= require mbp-modernizr-custom
+-//= require mbp-respond.min
+ //= require mbp-helper
+ //= require jquery.autoSuggest.custom
+ //= require fileuploader-custom
diff --git a/debian/patches/series b/debian/patches/series
index 3142025..970b97c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+042-remove-minified-js-require.patch
 002-remove-development-test-from-gemfile.patch
 006-loosen-messagebus-ruby-api-version.patch
 007-loosen-roxml-version.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/diaspora.git



More information about the Pkg-ruby-extras-commits mailing list