[gradle-1.12] 191/211: diagnostics_jquery.diff: New patch for using local jQuery in gradle-diagnostics
Kai-Chung Yan
seamlik-guest at moszumanska.debian.org
Wed Jul 1 14:18:50 UTC 2015
This is an automated email from the git hooks/post-receive script.
seamlik-guest pushed a commit to branch master
in repository gradle-1.12.
commit 00a00b0cc339408c8d0e6d08fa2daf3951429321
Author: Kai-Chung Yan <seamlikok at gmail.com>
Date: Sat Jun 20 23:12:08 2015 +0800
diagnostics_jquery.diff: New patch for using local jQuery in gradle-diagnostics
---
debian/changelog | 1 +
debian/control | 1 +
debian/copyright | 1 +
debian/patches/diagnostics_jquery.diff | 26 ++++++++++++++++++++++++++
debian/patches/series | 1 +
5 files changed, 30 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 61fd85b..62746cc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -24,6 +24,7 @@ gradle (1.12-1) UNRELEASED; urgency=medium
- bintray-api.diff: Update the usage of bintray APIs 0.8.1
- bintray-dependencies.diff: bintray libraries are renamed in 0.8.1
- build_init.diff: build-init.gradle uses APIs higher than Gradle 1.5
+ - diagnostics_jquery.diff: Use local jQuery instead of shipping one
- disable_buildSrc_tests.diff: Disable buildSrc tests
- disable_distributions.diff: Disable the tasks to generate a Zip file
- disable_docs.diff: Temporarily disable Gradle documentations
diff --git a/debian/control b/debian/control
index a278fd3..d97cbab 100644
--- a/debian/control
+++ b/debian/control
@@ -166,6 +166,7 @@ Depends: ant-optional,
libjaxen-java,
libjetty-java,
libjetty-extra-java,
+ libjs-jquery,
libmaven-ant-tasks-java,
libobjenesis-java,
libplexus-containers1.5-java,
diff --git a/debian/copyright b/debian/copyright
index b71401b..5ac283a 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -22,6 +22,7 @@ License: Apache-2.0
Files: debian/*
Copyright: © 2010-2011, Miguel Landaeta <miguel at miguel.cc>
+ © 2015, Kai-Chung Yan <seamlikok at gmail.com>
License: Apache-2.0
License: Apache-2.0
diff --git a/debian/patches/diagnostics_jquery.diff b/debian/patches/diagnostics_jquery.diff
new file mode 100644
index 0000000..51f28f8
--- /dev/null
+++ b/debian/patches/diagnostics_jquery.diff
@@ -0,0 +1,26 @@
+Description: Use local jQuery instead of shipping one. The upstream contains
+ a minified jQuery .js file but we have removed it.
+Author: Kai-Chung Yan <seamlikok at gmail.com>
+Last-Update: 2015-06-20
+--- a/subprojects/diagnostics/src/main/resources/org/gradle/api/tasks/diagnostics/htmldependencyreport/index.html
++++ b/subprojects/diagnostics/src/main/resources/org/gradle/api/tasks/diagnostics/htmldependencyreport/index.html
+@@ -20,7 +20,7 @@
+ <title>Dependency Reports</title>
+ <link href="base-style.css" rel="stylesheet" type="text/css"/>
+ <link href="style.css" rel="stylesheet" type="text/css"/>
+- <script src="jquery-1.10.1.min.js" charset="utf-8"></script>
++ <script src="file:///usr/share/javascript/jquery/jquery.min.js" charset="utf-8"></script>
+ <script src="index.js" charset="utf-8"></script>
+ <script src="script.js" charset="utf-8"></script>
+ </head>
+--- a/subprojects/diagnostics/src/main/resources/org/gradle/api/tasks/diagnostics/htmldependencyreport/template.html
++++ b/subprojects/diagnostics/src/main/resources/org/gradle/api/tasks/diagnostics/htmldependencyreport/template.html
+@@ -20,7 +20,7 @@
+ <title>Dependency report</title>
+ <link href="base-style.css" rel="stylesheet" type="text/css">
+ <link href="style.css" rel="stylesheet" type="text/css">
+- <script src="jquery-1.10.1.min.js" charset="utf-8"></script>
++ <script src="file:///usr/share/javascript/jquery/jquery.min.js" charset="utf-8"></script>
+ <script src="jquery.jstree.js" charset="utf-8"></script>
+ <script src="@js@" charset="utf-8"></script>
+ <script src="script.js" charset="utf-8"></script>
diff --git a/debian/patches/series b/debian/patches/series
index f85ea7d..c054848 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -24,3 +24,4 @@ disable_release_notes.diff
search_system_jar.diff
26_disable_commitid.diff
disable_css3pie.diff
+diagnostics_jquery.diff
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/gradle-1.12.git
More information about the pkg-java-commits
mailing list