Bug#1070417: rxtx: diff for NMU version 2.2.0+dfsg-3.1

Paul Gevers elbrus at debian.org
Mon Oct 14 17:22:03 BST 2024


Control: tags 1070417 + patch
Control: tags 1070417 + pending

Dear maintainer,

I've prepared an NMU for rxtx (versioned as 2.2.0+dfsg-3.1) and
uploaded it to DELAYED/5. Please feel free to tell me if I
should delay it longer.

Regards.
Paul


-------------- next part --------------
diff -Nru rxtx-2.2.0+dfsg/debian/changelog rxtx-2.2.0+dfsg/debian/changelog
--- rxtx-2.2.0+dfsg/debian/changelog	2024-05-01 10:53:26.000000000 +0100
+++ rxtx-2.2.0+dfsg/debian/changelog	2024-10-14 16:55:34.000000000 +0100
@@ -1,3 +1,11 @@
+rxtx (2.2.0+dfsg-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload
+  * d/rules: only enable printer support on architectures where sys/io.h
+    exists (Closes: #1070417)
+
+ -- Paul Gevers <elbrus at debian.org>  Mon, 14 Oct 2024 16:55:34 +0100
+
 rxtx (2.2.0+dfsg-3) unstable; urgency=medium
 
   * Team upload.
diff -Nru rxtx-2.2.0+dfsg/debian/rules rxtx-2.2.0+dfsg/debian/rules
--- rxtx-2.2.0+dfsg/debian/rules	2024-05-01 10:37:31.000000000 +0100
+++ rxtx-2.2.0+dfsg/debian/rules	2024-10-14 16:55:34.000000000 +0100
@@ -1,7 +1,19 @@
 #!/usr/bin/make -f
+
+# only enable the (experimental) printer support on
+# architectures where sys.io.h is available (#1070417)
+ifneq (,$(filter $(DEB_HOST_ARCH), amd64 i386 x32))
+	DH_CONFIGURE_OPTIONS = --enable-PRINTER
+else
+	DH_CONFIGURE_OPTIONS = --disable-PRINTER
+endif
+
 %:
 	dh $@ --with javahelper
 
+override_dh_auto_configure:
+	dh_auto_configure -- $(DH_CONFIGURE_OPTIONS)
+
 override_dh_auto_install:
 	$(MAKE) install RXTX_PATH=$(CURDIR)/debian/librxtx-java/usr/lib/jni \
 			JHOME=$(CURDIR)/debian/librxtx-java/usr/share/java
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20241014/075ab689/attachment.sig>


More information about the pkg-java-maintainers mailing list