diff options
Diffstat (limited to 'debian/rules')
| -rwxr-xr-x | debian/rules | 16 |
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 |
