[libjna-java] 03/04: Set the locale and remove the timestamps when generating the javadoc

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Tue Nov 3 22:52:15 UTC 2015


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

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

commit c15fbd5a5fce592bc8d3b7e9c4f871d83634a205
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Tue Nov 3 23:48:31 2015 +0100

    Set the locale and remove the timestamps when generating the javadoc
---
 debian/changelog                             |  2 ++
 debian/patches/13-reproducible-javadoc.patch | 15 +++++++++++++++
 debian/patches/series                        |  1 +
 3 files changed, 18 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 808b9a5..b1c82d2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ libjna-java (4.2.1-1) UNRELEASED; urgency=medium
   * Team upload.
   * New upstream release
     - Refreshed the patches
+  * Improved the reproducibility:
+    - Set the locale and remove the timestamps when generating the javadoc
 
  -- Emmanuel Bourg <ebourg at apache.org>  Tue, 03 Nov 2015 23:27:46 +0100
 
diff --git a/debian/patches/13-reproducible-javadoc.patch b/debian/patches/13-reproducible-javadoc.patch
new file mode 100644
index 0000000..eeffc8f
--- /dev/null
+++ b/debian/patches/13-reproducible-javadoc.patch
@@ -0,0 +1,15 @@
+Description: Set the locale and remove the timestamps when generating the javadoc to make it reproducible
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: no
+--- a/build.xml
++++ b/build.xml
+@@ -1086,7 +1086,8 @@
+              maxmemory="256m"
+              packagenames="com.sun.jna,com.sun.jna.ptr,com.sun.jna.types,com.sun.jna.platform,com.sun.jna.platform.win32"
+              overview="${src}/com/sun/jna/overview.html"
+-             additionalparam="${javadoc.opts}"
++             additionalparam="${javadoc.opts} -notimestamp"
++             locale="en"
+              destdir="${javadoc}">
+       <!-- stylesheetfile="${stylesheet}" -->
+       <doctitle>JNA API Documentation</doctitle>
diff --git a/debian/patches/series b/debian/patches/series
index 705cad6..0a5b6f3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@
 09-javadoc.patch
 10-disable-full-jar.patch
 12-structure-backward-compatibility.patch
+13-reproducible-javadoc.patch

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



More information about the pkg-java-commits mailing list