[Git][java-team/java-websocket][experimental] add packaging of 1.6.1 snapshot as of now (for reference)

Rene Engelhard (@rene) gitlab at salsa.debian.org
Sun Nov 16 20:34:41 GMT 2025



Rene Engelhard pushed to branch experimental at Debian Java Maintainers / java-websocket


Commits:
ca0d3a9f by Rene Engelhard at 2025-11-16T21:34:16+01:00
add packaging of 1.6.1 snapshot as of now (for reference)

- - - - -


5 changed files:

- debian/changelog
- debian/control
- + debian/patches/no-junit.diff
- + debian/patches/series
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,13 @@
+java-websocket (1.6.1~git20251109-1) UNRELEASED; urgency=medium
+
+  * New upstream snapshot
+
+  * remove junit (junit5 now) from B-D for now and disable it in build.gradle;
+    too old gradle (and junit5?) in Debian apparently and we don't run the
+    test anyway
+
+ -- Rene Engelhard <rene at debian.org>  Sun, 09 Nov 2025 14:03:22 +0100
+
 java-websocket (1.6.0-6) UNRELEASED; urgency=medium
 
   * support nodoc build profile 


=====================================
debian/control
=====================================
@@ -4,7 +4,10 @@ Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 Uploaders: Rene Engelhard <rene at debian.org>
 Build-Depends: debhelper-compat (= 13), default-jdk, gradle-debian-helper, maven-repo-helper, default-jdk-doc <!nodoc>
-Build-Depends-Indep: junit4 (>= 4.13.1), libslf4j2-java (>= 2.0.13)
+Build-Depends-Indep: libslf4j2-java (>= 2.0.15)
+# needed for junit 5 support, see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=998708
+# the junit build-dep is patched-out with 
+# junit5 (>= 5.11.4), gradle (>= 4.6) <!nocheck>
 Standards-Version: 4.7.0
 Vcs-Git: https://salsa.debian.org/java-team/java-websocket.git
 Vcs-Browser: https://salsa.debian.org/java-team/java-websocket


=====================================
debian/patches/no-junit.diff
=====================================
@@ -0,0 +1,14 @@
+diff --git a/build.gradle b/build.gradle
+index e6891cf..8bc9c7e 100644
+--- a/build.gradle
++++ b/build.gradle
+@@ -37,9 +37,5 @@ publishing {
+ dependencies {
+     implementation group: 'org.slf4j', name: 'slf4j-api', version: '2.0.15'
+     testImplementation group: 'org.slf4j', name: 'slf4j-simple', version: '2.0.15'
+-    testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter', version: '5.11.4'
+ }
+ 
+-test {
+-    useJUnitPlatform()  // This is required for JUnit 5
+-}


=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+no-junit.diff


=====================================
debian/rules
=====================================
@@ -17,4 +17,4 @@ override_dh_auto_test:
 
 override_dh_auto_install:
 	mh_installpoms
-	mh_installjar -plibjava-websocket-java -l pom.xml ./build/libs/java-websocket-1.6.0.jar
+	mh_installjar -plibjava-websocket-java -l pom.xml ./build/libs/java-websocket-1.6.1-SNAPSHOT.jar



View it on GitLab: https://salsa.debian.org/java-team/java-websocket/-/commit/ca0d3a9f6f5b217f35eccbe4e53e904dae691b67

-- 
View it on GitLab: https://salsa.debian.org/java-team/java-websocket/-/commit/ca0d3a9f6f5b217f35eccbe4e53e904dae691b67
You're receiving this email because of your account on salsa.debian.org.


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


More information about the pkg-java-commits mailing list