[libmetadata-extractor-java] 12/22: Add no-google-analytics.patch

Markus Koschany apo at moszumanska.debian.org
Fri Jun 30 22:13:13 UTC 2017


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

apo pushed a commit to branch master
in repository libmetadata-extractor-java.

commit 3c3ab128c6d4c55ffe17a5e083a5d1920d628316
Author: Markus Koschany <apo at debian.org>
Date:   Fri Jun 30 22:51:24 2017 +0200

    Add no-google-analytics.patch
    
    The javascript code causes a FTBFS due to the new behavior of Java 8 to treat
    javascript in Javadoc as error. This behvavior can be ignored by using the
    option
    
      <additionalparam>--allow-script-in-comments</additionalparam>
    
    However the Google Analytics code is also a privacy issue hence I prefer to
    remove it.
---
 debian/patches/no-google-analytics.patch | 27 +++++++++++++++++++++++++++
 debian/patches/series                    |  1 +
 2 files changed, 28 insertions(+)

diff --git a/debian/patches/no-google-analytics.patch b/debian/patches/no-google-analytics.patch
new file mode 100644
index 0000000..784e26b
--- /dev/null
+++ b/debian/patches/no-google-analytics.patch
@@ -0,0 +1,27 @@
+From: Markus Koschany <apo at debian.org>
+Date: Fri, 30 Jun 2017 22:51:10 +0200
+Subject: no google analytics
+
+---
+ pom.xml | 8 --------
+ 1 file changed, 8 deletions(-)
+
+diff --git a/pom.xml b/pom.xml
+index da678c6..f46b230 100644
+--- a/pom.xml
++++ b/pom.xml
+@@ -164,14 +164,6 @@
+                         image files
+                     </windowtitle>
+                     <notimestamp>true</notimestamp>
+-                    <header>
+-                        <![CDATA[<a href='https://drewnoakes.com/code/exif/' title='Go to the project home page.'><img src='https://raw.githubusercontent.com/drewnoakes/metadata-extractor/master/Resources/metadata-extractor-logo-131x30.png' border="0" alt='Metadata Extractor Logo'></a>]]></header>
+-                    <bottom><![CDATA[<i>Copyright © 2002-2017 Drew Noakes. All Rights Reserved.</i>
+-<script src='http://www.google-analytics.com/urchin.js' type='text/javascript'></script>
+-<script type='text/javascript'>
+-_uacct = 'UA-936661-1';
+-urchinTracker();
+-</script>]]></bottom>
+                     <excludePackageNames>com.drew.tools</excludePackageNames>
+                     <stylesheetfile>Resources/javadoc-stylesheet.css</stylesheetfile>
+                 </configuration>
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..2ebf8ee
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+no-google-analytics.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libmetadata-extractor-java.git



More information about the pkg-java-commits mailing list