[mondrian] 15/18: Set the locale and disable the timestamps when generating the javadoc

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Fri Nov 6 13:26:02 UTC 2015


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

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

commit 5669fe0f7749fc3a34c812a9f4e5df3af1144023
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Fri Nov 6 13:48:33 2015 +0100

    Set the locale and disable the timestamps when generating the javadoc
---
 debian/changelog                            |  2 ++
 debian/patches/09_reproducible_javadoc.diff | 15 +++++++++++++++
 debian/patches/series                       |  1 +
 3 files changed, 18 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 7079c22..133a0de 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,8 @@ mondrian (1:3.11.0.1-1) UNRELEASED; urgency=medium
     - Removed fix_build_without_git_metadata.diff (no longer necessary)
     - Removed no_pentaho_kettle.diff (no longer necessary)
   * Removed the SourceForge logo from the javadoc
+  * Improved the reproducibility:
+    - Set the locale and disable the timestamps when generating the javadoc
   * debian/control:
     - Package co-maintained by the Java Team
     - Standards-Version updated to 3.9.6 (no changes)
diff --git a/debian/patches/09_reproducible_javadoc.diff b/debian/patches/09_reproducible_javadoc.diff
new file mode 100644
index 0000000..1ae9ba2
--- /dev/null
+++ b/debian/patches/09_reproducible_javadoc.diff
@@ -0,0 +1,15 @@
+Description: Set the locale and disable 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
+@@ -943,7 +943,8 @@
+         source="${javac.source}"
+         access="${access}"
+         Windowtitle="Mondrian OLAP Engine, version ${project.revision}"
+-        additionalparam="${additionalparam}"
++        locale="en"
++        additionalparam="${additionalparam} -notimestamp"
+       >
+       <tag name="pre" description="Pre-condition:"
+            scope="constructors,methods"/>
diff --git a/debian/patches/series b/debian/patches/series
index db46760..c8851ba 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
 05_servlet_api_25.diff
 07_javadoc_links.diff
 08_remove_javadoc_footer.diff
+09_reproducible_javadoc.diff

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



More information about the pkg-java-commits mailing list