summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Engelhard <rene@debian.org>2025-10-28 16:56:51 +0100
committergit-ubuntu importer <ubuntu-devel-discuss@lists.ubuntu.com>2025-11-08 04:36:59 +0000
commitf6befaee2196d57c2a2ec458050a60d92cf6f490 (patch)
treee10541d0d6deae7e7c2cb1b449adc32b95797a1e
parent94ec8630e9a05b6a4ec62472b3942a2868e9d315 (diff)
Imported using git-ubuntu import.
Notes
Notes: * add debian/watch * run dh_auto_build -- javadoc instead of manual gradle javadoc otherwise it fails to even run in sbuild * B-D on default-jdk-doc and recommend it in -doc per Java policy * build and package the javadoc
-rw-r--r--debian/changelog15
-rw-r--r--debian/control14
-rw-r--r--debian/libjava-websocket-java-doc.install1
-rwxr-xr-xdebian/rules4
-rw-r--r--debian/watch2
5 files changed, 34 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index 440578b..6228432 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,18 @@
+java-websocket (1.6.0-5) unstable; urgency=medium
+
+ * add debian/watch
+ * run dh_auto_build -- javadoc instead of manual gradle javadoc
+ otherwise it fails to even run in sbuild
+ * B-D on default-jdk-doc and recommend it in -doc per Java policy
+
+ -- Rene Engelhard <rene@debian.org> Tue, 28 Oct 2025 16:56:51 +0100
+
+java-websocket (1.6.0-4) unstable; urgency=medium
+
+ * build and package the javadoc
+
+ -- Rene Engelhard <rene@debian.org> Mon, 27 Oct 2025 17:15:17 +0100
+
java-websocket (1.6.0-3) unstable; urgency=medium
* debian/copyright: mention PD status of
diff --git a/debian/control b/debian/control
index 99dfec4..2f00af4 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: java
Priority: optional
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Uploaders: Rene Engelhard <rene@debian.org>
-Build-Depends: debhelper-compat (= 13), default-jdk, gradle-debian-helper, maven-repo-helper
+Build-Depends: debhelper-compat (= 13), default-jdk, gradle-debian-helper, maven-repo-helper, default-jdk-doc
Build-Depends-Indep: junit4 (>= 4.13.1), libslf4j2-java (>= 2.0.13)
Standards-Version: 4.7.0
Vcs-Git: https://salsa.debian.org/java-team/java-websocket.git
@@ -15,6 +15,16 @@ Architecture: all
Depends: ${misc:Depends}, ${maven:Depends}
Suggests: ${maven:OptionalDepends}
Description: Java WebSocket client and server implementation in Java
- A barebone WebSocket client and server implementation written 100% in
+ A barebones WebSocket client and server implementation written 100% in
Java
+Package: libjava-websocket-java-doc
+Architecture: all
+Depends: ${misc:Depends}
+Recommends: default-jdk-doc
+Description: Java WebSocket client and server implementation in Java -- API documentation
+ A barebones WebSocket client and server implementation written 100% in
+ Java
+ .
+ This package contains the javadoc/API documentation.
+
diff --git a/debian/libjava-websocket-java-doc.install b/debian/libjava-websocket-java-doc.install
new file mode 100644
index 0000000..a19ecc6
--- /dev/null
+++ b/debian/libjava-websocket-java-doc.install
@@ -0,0 +1 @@
+build/docs/javadoc/* usr/share/doc/libjava-websocket-java/api
diff --git a/debian/rules b/debian/rules
index 2686f5a..faa9617 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,10 @@ override_dh_auto_clean:
dh_auto_clean
mh_clean
+override_dh_auto_build:
+ dh_auto_build
+ dh_auto_build -- javadoc
+
override_dh_auto_test:
override_dh_auto_install:
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..41f1eac
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=4
+https://github.com/TooTallNate/Java-WebSocket/tags .*/v?(\d.*)@ARCHIVE_EXT@