[Git][java-team/libnative-platform-java][master] 7 commits: Compile the native sources in a reproducible order

Emmanuel Bourg (@ebourg) gitlab at salsa.debian.org
Tue Oct 20 11:28:03 BST 2026



Emmanuel Bourg pushed to branch master at Debian Java Maintainers / libnative-platform-java


Commits:
57c65f7c by Emmanuel Bourg at 2026-10-20T12:18:20+02:00
Compile the native sources in a reproducible order

- - - - -
fe90ceca by Emmanuel Bourg at 2026-10-20T12:18:24+02:00
Standards-Version updated to 4.7.4

- - - - -
c2d2190f by Emmanuel Bourg at 2026-10-20T12:18:24+02:00
Removed the Priority field

- - - - -
e10dd913 by Emmanuel Bourg at 2026-10-20T12:18:24+02:00
Removed the Rules-Requires-Root field

- - - - -
7c824dc5 by Emmanuel Bourg at 2026-10-20T12:20:09+02:00
Removed the libnative-platform-java-doc package

- - - - -
038013b0 by Emmanuel Bourg at 2026-10-20T12:27:08+02:00
Converted debian/watch to the version 5 format

- - - - -
8df3d8ea by Emmanuel Bourg at 2026-10-20T12:27:46+02:00
Upload to unstable

- - - - -


6 changed files:

- debian/.gitignore
- debian/Makefile
- debian/changelog
- debian/control
- − debian/libnative-platform-java-doc.javadoc
- debian/watch


Changes:

=====================================
debian/.gitignore
=====================================
@@ -3,7 +3,6 @@
 /.debhelper/
 /.javahelper_clean
 /.mh/
-/*.doc-base.javadoc
 /debhelper-build-stamp
 /files
 /libnative-platform-*/


=====================================
debian/Makefile
=====================================
@@ -21,17 +21,16 @@ ifeq ($(DEB_HOST_ARCH_OS),linux)
   CPPFLAGS += -D_FILE_OFFSET_BITS=64
 endif
 
-MAIN_CXX_SRC = $(shell find src/main/cpp -name "*.cpp" -print) \
-               $(shell find src/shared/cpp -name "*.cpp" -print)
-CURSES_CXX_SRC = $(shell find src/curses/cpp -name "*.cpp" -print) \
-                 $(shell find src/shared/cpp -name "*.cpp" -print)
-JAVA_SRC = $(shell find src/main/java -name "*.java" -print) \
+MAIN_CXX_SRC = $(sort $(shell find src/main/cpp -name "*.cpp" -print)) \
+               $(sort $(shell find src/shared/cpp -name "*.cpp" -print))
+CURSES_CXX_SRC = $(sort $(shell find src/curses/cpp -name "*.cpp" -print)) \
+                 $(sort $(shell find src/shared/cpp -name "*.cpp" -print))
+JAVA_SRC = $(sort $(shell find src/main/java -name "*.java" -print)) \
            debian/additionalSrc/PosixFile.java
-JAVA_WITH_INTERNAL_SRC = $(shell find src/main/java -name "*.java" -print)
 
-.PHONY: clean javadoc build
+.PHONY: clean build
 
-build: $(BUILD_DIR)/libnative-platform.so $(BUILD_DIR)/libnative-platform-curses.so $(BUILD_DIR)/native-platform.jar javadoc
+build: $(BUILD_DIR)/libnative-platform.so $(BUILD_DIR)/libnative-platform-curses.so $(BUILD_DIR)/native-platform.jar
 
 $(BUILD_DIR)/libnative-platform.so: $(MAIN_CXX_SRC) $(BUILD_DIR)/classes/%.class
 	$(CXX) -shared $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ $(MAIN_CXX_SRC)
@@ -45,13 +44,9 @@ $(BUILD_DIR)/classes/%.class: $(JAVA_SRC)
 	javac -source $(JAVA_TARGET_VERSION) -target $(JAVA_SOURCE_VERSION) -encoding UTF-8 -d $(BUILD_DIR)/classes -h $(BUILD_DIR) $(JAVA_SRC)
 	cat $(BUILD_DIR)/net*.h > $(BUILD_DIR)/native.h
 
-javadoc: $(JAVA_WITH_INTERNAL_SRC)
-	mkdir --parents $(BUILD_DIR)/javadoc
-	javadoc -d $(BUILD_DIR)/javadoc -link file:///usr/share/doc/default-jdk/api $^
-
 $(BUILD_DIR)/native-platform.jar: $(BUILD_DIR)/classes/%.class
 	jar cf $@ -C $(BUILD_DIR)/classes .
 
 clean:
-	$(RM) -r $(BUILD_DIR)/javadoc $(BUILD_DIR)/classes
+	$(RM) -r $(BUILD_DIR)/classes
 	$(RM) $(BUILD_DIR)/*.jar $(BUILD_DIR)/*.so $(BUILD_DIR)/native.h


=====================================
debian/changelog
=====================================
@@ -1,3 +1,15 @@
+libnative-platform-java (0.14-7) unstable; urgency=medium
+
+  * Team upload.
+  * Compile the native sources in a reproducible order
+  * Standards-Version updated to 4.7.4
+  * Removed the Priority field
+  * Removed the Rules-Requires-Root field
+  * Removed the libnative-platform-java-doc package
+  * Converted debian/watch to the version 5 format
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Tue, 20 Oct 2026 12:27:39 +0200
+
 libnative-platform-java (0.14-6) unstable; urgency=medium
 
   [ Vladimir Petko ]


=====================================
debian/control
=====================================
@@ -1,24 +1,20 @@
 Source: libnative-platform-java
 Section: java
-Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 Uploaders: tony mancill <tmancill at debian.org>
 Build-Depends: debhelper-compat (= 13),
                default-jdk (>= 2:1.8),
-               default-jdk-doc,
                javahelper,
                libncurses-dev,
                maven-repo-helper (>= 1.5~)
-Standards-Version: 4.6.2
+Standards-Version: 4.7.4
 Vcs-Git: https://salsa.debian.org/java-team/libnative-platform-java.git
 Vcs-Browser: https://salsa.debian.org/java-team/libnative-platform-java
 Homepage: https://github.com/gradle/native-platform
-Rules-Requires-Root: no
 
 Package: libnative-platform-java
 Architecture: all
 Depends: libnative-platform-jni (>= ${source:Version}), ${misc:Depends}
-Suggests: libnative-platform-java-doc
 Breaks: libgradle-core-java (<< 3.1~)
 Description: Java bindings for various native APIs
  A collection of cross-platform Java APIs for various native APIs.
@@ -38,18 +34,3 @@ Description: Java bindings for various native APIs - JNI library
  available in later Java versions.
  .
  This package contains the java JNI library.
-
-Package: libnative-platform-java-doc
-Architecture: all
-Section: doc
-Depends: ${misc:Depends}
-Suggests: libnative-platform-java
-Multi-Arch: foreign
-Description: testing and specification framework for Java and Groovy - Docs
- A collection of cross-platform Java APIs for various native APIs.
- Supports OS X, Linux, Solaris and Windows.
- .
- These APIs support Java 5 and later. Some of these APIs overlap with APIs
- available in later Java versions.
- .
- This package contains Javadoc API for libnative-platform-java.


=====================================
debian/libnative-platform-java-doc.javadoc deleted
=====================================
@@ -1 +0,0 @@
-debian/out/javadoc     usr/share/doc/libnative-platform-java/api
\ No newline at end of file


=====================================
debian/watch
=====================================
@@ -1,5 +1,5 @@
-version=3
-opts=repack,compression=xz,uversionmangle=s/(\d)[\.\-]?((?:rc|RC|pre)(?:\.|-)?\d+(?:-\d+)?)$/$1~$2/,dversionmangle=s/(\da?)[\+\.\-~](?:dfsg|debian|ds|repack|repacked)\.?\d*$/$1/, \
- https://github.com/gradle/native-platform/tags \
- .*/archive/(?:upstream/)?(?:v||version-|release-|X|R|r)(\d\S*)\.tar\.gz
-# Bart Martens <bartm at debian.org>  Sat, 04 May 2013 09:06:25 +0000
+Version: 5
+Mode: git
+Source: https://github.com/gradle/native-platform
+Matching-Pattern: refs/tags/([\d.]+)
+Compression: xz



View it on GitLab: https://salsa.debian.org/java-team/libnative-platform-java/-/compare/26bd84023a3ec98eb687d7d9121f69d83d69a867...8df3d8eaa420d7cd6e97df32e73b58d8f1fa8fce

-- 
View it on GitLab: https://salsa.debian.org/java-team/libnative-platform-java/-/compare/26bd84023a3ec98eb687d7d9121f69d83d69a867...8df3d8eaa420d7cd6e97df32e73b58d8f1fa8fce
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/20261020/1c5774ec/attachment.htm>


More information about the pkg-java-commits mailing list