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


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 <elb...@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

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to