[xz-java] 01/03: Reproducible javadoc

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Jul 6 08:06:43 UTC 2015


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

ebourg-guest pushed a commit to branch master
in repository xz-java.

commit 283b833d46616378789a7a3211f5d6da78db03bd
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Mon Jul 6 10:03:48 2015 +0200

    Reproducible javadoc
---
 debian/changelog                             |  8 ++++++++
 debian/patches/01-reproducible-javadoc.patch | 13 +++++++++++++
 debian/patches/series                        |  1 +
 3 files changed, 22 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 35b825f..bf79301 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+xz-java (1.5-2) UNRELEASED; urgency=medium
+
+  * Improved the reproducibility:
+    - Set the locale to 'en' when generating the javadoc
+    - Removed the timestamp from the javadoc
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Mon, 06 Jul 2015 10:01:45 +0200
+
 xz-java (1.5-1) unstable; urgency=medium
 
   * New upstream release
diff --git a/debian/patches/01-reproducible-javadoc.patch b/debian/patches/01-reproducible-javadoc.patch
new file mode 100644
index 0000000..94276e1
--- /dev/null
+++ b/debian/patches/01-reproducible-javadoc.patch
@@ -0,0 +1,13 @@
+Description: Make the javadoc reproducible
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: no
+--- a/build.xml
++++ b/build.xml
+@@ -39,6 +39,7 @@
+              dest="${extdoc_dir}/package-list" skipexisting="true"/>
+         <javadoc sourcepath="${src_dir}" destdir="${doc_dir}"
+                  source="${sourcever}" packagenames="org.tukaani.xz"
++                 locale="en" additionalparam="-notimestamp"
+                  windowtitle="XZ data compression"
+                  linkoffline="${extdoc_url} ${extdoc_dir}"/>
+     </target>
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..59f0dc8
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01-reproducible-javadoc.patch

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



More information about the pkg-java-commits mailing list