Package: lxqt-config Severity: important Version: 0.14.1-2 Tags: patch User: debian-h...@lists.debian.org Usertags: hurd
(Sending to debian-bsd because the patch also affects kfreebsd) Dear maintainer, the package lxqt-config fails to build from source on hurd-i386 because udev is not available on non-linux (on kfreebsd-any, it is in state BD- Uninstallable). If the option WITH_TOUCHPAD is disabled, lxqt-config compiles. The applied patch disables WITH_TOUCHPAD on non-linux architectures and is based on [0]. I have not tested on kfreebsd, the patch should however be necessary for kfreebsd too. Thanks. Build-Log: https://buildd.debian.org/status/fetch.php?pkg=lxqt-config&arch=hurd-i386&ver=0.14.1-2&stamp=1564267325&raw=0 [0]: https://salsa.debian.org/lxqt-team/lxqt-panel/blob/debian/sid/debian/rules
diff --git a/debian/rules b/debian/rules index 4f7c70d..81335e7 100755 --- a/debian/rules +++ b/debian/rules @@ -5,6 +5,12 @@ export LC_ALL=C.UTF-8 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed export DEB_BUILD_MAINT_OPTIONS = hardening=+all +WHICH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS 2>/dev/null) + +ifneq ($(WHICH_OS), linux) + NOT_LINUX := -DWITH_TOUCHPAD=NO +endif + %: dh ${@} --buildsystem cmake @@ -14,7 +20,8 @@ override_dh_missing: override_dh_auto_configure: dh_auto_configure -- \ -DUPDATE_TRANSLATIONS=OFF \ - -DCMAKE_BUILD_TYPE=RelWithDebInfo + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + $(NOT_LINUX) override_dh_makeshlibs: dh_makeshlibs -Xlxqt-config