[zookeeper] 01/02: Reproducible javadoc

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Fri Jul 24 17:05:39 UTC 2015


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

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

commit e71b9d58b52f6b78f28ea44ef06ec8d50454299f
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Fri Jul 24 17:23:15 2015 +0200

    Reproducible javadoc
---
 debian/changelog                                 |  2 ++
 debian/patches/debian/reproducible-javadoc.patch | 23 +++++++++++++++++++++++
 debian/patches/series                            |  1 +
 3 files changed, 26 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 12eb5ba..39ecd5c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ zookeeper (3.4.6-5) UNRELEASED; urgency=medium
 
   * Team upload.
   * Fixed the packaging type of the Maven artifact (pom -> jar)
+  * Improved the build reproducibility:
+    - Set the locale to 'en' when generating the javadoc
 
  -- Emmanuel Bourg <ebourg at apache.org>  Fri, 03 Jul 2015 19:35:29 +0200
 
diff --git a/debian/patches/debian/reproducible-javadoc.patch b/debian/patches/debian/reproducible-javadoc.patch
new file mode 100644
index 0000000..f5d1002
--- /dev/null
+++ b/debian/patches/debian/reproducible-javadoc.patch
@@ -0,0 +1,23 @@
+Description: Remove the timestamp and set the locale when generating the javadoc to make it reproducible
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: no
+--- a/build.xml
++++ b/build.xml
+@@ -464,6 +464,8 @@
+          windowtitle="${Name} ${version} API"
+          doctitle="${Name} ${version} API"
+          bottom="Copyright &copy; ${year} The Apache Software Foundation"
++         locale="en"
++         additionalparam="-notimestamp"
+          >
+     	<packageset dir="${java.src.dir}">
+           <include name="org/apache/**"/>
+@@ -488,6 +490,8 @@
+          windowtitle="${Name} ${version} API"
+          doctitle="${Name} ${version} API"
+          bottom="Copyright &copy; ${year} The Apache Software Foundation"
++         locale="en"
++         additionalparam="-notimestamp"
+          >
+     	<fileset dir="${java.src.dir}">
+           <include name="org/apache/**/*Main.java"/>
diff --git a/debian/patches/series b/debian/patches/series
index 6138795..c9f42f8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@ fixes/ZOOKEEPER-705.patch
 ftbfs-gcc-4.7.patch
 fixes/ZOOKEEPER-770.patch
 debian/remove-non-reproducible-manifest-entries.patch
+debian/reproducible-javadoc.patch

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



More information about the pkg-java-commits mailing list