[Git][java-team/grammatica][master] 6 commits: Removed the stale directories to make the jar reproducible

Emmanuel Bourg (@ebourg) gitlab at salsa.debian.org
Fri Oct 16 12:20:34 BST 2026



Emmanuel Bourg pushed to branch master at Debian Java Maintainers / grammatica


Commits:
ed787b64 by Emmanuel Bourg at 2026-10-16T12:55:48+02:00
Removed the stale directories to make the jar reproducible

- - - - -
da392c6e by Emmanuel Bourg at 2026-10-16T12:59:32+02:00
Converted debian/watch to the version 5 format

- - - - -
18b794fe by Emmanuel Bourg at 2026-10-16T12:59:41+02:00
Removed the Priority field

- - - - -
c24f89a5 by Emmanuel Bourg at 2026-10-16T12:59:41+02:00
Removed the Rules-Requires-Root field

- - - - -
721fe508 by Emmanuel Bourg at 2026-10-16T12:59:41+02:00
Standards-Version updated to 4.7.4

- - - - -
bd921b48 by Emmanuel Bourg at 2026-10-16T13:03:26+02:00
Upload to unstable

- - - - -


5 changed files:

- debian/changelog
- debian/control
- + debian/patches/reproducible-jar.patch
- debian/patches/series
- debian/watch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,14 @@
+grammatica (1.6+ds-5) unstable; urgency=medium
+
+  * Team upload.
+  * Removed the stale directories to make the jar reproducible
+  * Converted debian/watch to the version 5 format
+  * Removed the Priority field
+  * Removed the Rules-Requires-Root field
+  * Standards-Version updated to 4.7.4
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Fri, 16 Oct 2026 13:03:19 +0200
+
 grammatica (1.6+ds-4) unstable; urgency=medium
 
   [ Andrius Merkys ]


=====================================
debian/control
=====================================
@@ -1,6 +1,5 @@
 Source: grammatica
 Section: java
-Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 Uploaders:
  Andrius Merkys <merkys at debian.org>,
@@ -10,11 +9,10 @@ Build-Depends:
  debhelper-compat (= 13),
  default-jdk,
  junit4,
-Standards-Version: 4.1.3
+Standards-Version: 4.7.4
 Homepage: https://grammatica.percederberg.net
 Vcs-Browser: https://salsa.debian.org/java-team/grammatica
 Vcs-Git: https://salsa.debian.org/java-team/grammatica.git
-Rules-Requires-Root: no
 
 Package: libgrammatica-java
 Architecture: all


=====================================
debian/patches/reproducible-jar.patch
=====================================
@@ -0,0 +1,17 @@
+Description: Remove the stale directories to make the jar reproducible
+ compile-clean deletes the class files but leaves the empty directories behind,
+ so a jar rebuilt after the tests picks up an empty entry for the test package
+ and differs from a jar built with DEB_BUILD_OPTIONS=nocheck.
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: no
+--- a/build.xml
++++ b/build.xml
+@@ -54,7 +54,7 @@
+   </target>
+ 
+   <target name="compile-clean">
+-    <delete quiet="true">
++    <delete quiet="true" includeemptydirs="true">
+       <fileset dir="classes" />
+       <fileset dir="lib" includes="${build.name}-*" />
+     </delete>


=====================================
debian/patches/series
=====================================
@@ -1,3 +1,4 @@
 classpath.patch
 fix-deprecated-constructors.patch
 skip-32bit-incompatible-tests.patch
+reproducible-jar.patch


=====================================
debian/watch
=====================================
@@ -1,4 +1,8 @@
-version=4
-opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%grammatica-$1.tar.gz%,repack,repacksuffix=+ds,dversionmangle=s/\+ds$//" \
- https://github.com/cederberg/grammatica/tags \
- (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate
+Version: 5
+Source: https://github.com/cederberg/grammatica/tags
+Matching-Pattern: (?:.*?/)?v?(\d[\d.]*)\.tar\.gz
+Filename-Mangle: s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%grammatica-$1.tar.gz%
+Dversion-Mangle: s/\+ds$//
+Repack: yes
+Repacksuffix: +ds
+Compression: xz



View it on GitLab: https://salsa.debian.org/java-team/grammatica/-/compare/26334bf7944e6d47d8d490fcbd13d68c4348aa17...bd921b4815d221357bf191272869148c2423f99b

-- 
View it on GitLab: https://salsa.debian.org/java-team/grammatica/-/compare/26334bf7944e6d47d8d490fcbd13d68c4348aa17...bd921b4815d221357bf191272869148c2423f99b
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20261016/3c7a18fd/attachment.htm>


More information about the pkg-java-commits mailing list