summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorhibby <d@vehibberd.com>2026-10-06 21:24:40 +0100
committerhibby <d@vehibberd.com>2026-10-06 21:24:40 +0100
commitc25cbdf6fb6d946175f4335fab77bfea601b56db (patch)
tree6f7a94b7b81f999e434f61b73d47e337dfd26bf2 /debian/rules
parent71f5689252c9f13e70e1c24856904475b2307809 (diff)
parent0685fcada9f95fe90f70b387cd7d757da8209624 (diff)
Merge tag 'debian/3.2.0_rc1+dfsg-2' into debian/trixie-backportsdebian/trixie-backports
tagging wsjtx 3.2.0~rc1+dfsg-2
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules16
1 files changed, 15 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 7b8eb96b..2c19e289 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,14 @@ export WSJT_SKIP_MANPAGES=1
# Debian Hardening
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+# GCC 16 (trixie) reports a -Wmaybe-uninitialized false positive in system
+# Boost headers on armhf; demote that warning on armhf only. Must be set
+# before buildflags.mk is included.
+include /usr/share/dpkg/architecture.mk
+ifeq ($(DEB_HOST_ARCH),armhf)
+DEB_CXXFLAGS_MAINT_APPEND = -Wno-error=maybe-uninitialized
+endif
+
DPKG_EXPORT_BUILDFLAGS := true
include /usr/share/dpkg/buildflags.mk
@@ -15,7 +23,7 @@ include /usr/share/dpkg/buildflags.mk
override_dh_auto_configure:
# look for documentation in /usr/share/doc/wsjtx instead of .../WSJT-X
- dh_auto_configure -- -DCMAKE_INSTALL_DOCDIR=share/doc/wsjtx
+ dh_auto_configure -- -DCMAKE_INSTALL_DOCDIR=share/doc/wsjtx -DWSJT_BUILD_UTILS=ON
override_dh_installchangelogs:
# there are various files with upstream notes, NEWS is the most comprehensive one
@@ -29,3 +37,9 @@ override_dh_installdocs-indep:
debian/tmp/usr/share/doc/wsjtx/wsjtx-main-*.html
# Create non-version-dependant filename
cd debian/wsjtx-doc/usr/share/doc/wsjtx && ln -s wsjtx-main-*.html wsjtx-main.html
+
+override_dh_auto_test:
+ # C.UTF-8 to fix the test_frequency_editors test
+ # the release archive identity tests expect the pristine upstream tree
+ # (unexpanded $Format:%H$ placeholder, export-subst .gitattributes)
+ LANG=C.UTF-8 xvfb-run dh_auto_test -- ARGS+=-E ARGS+=test_release