Source: kguiaddons Version: 5.77.0-3 Severity: important Tags: patch User: debian-h...@lists.debian.org Usertags: hurd
Hello, kguiaddons currently doesn't build on non-Linux, where Wayland is not available. The attached patch fixes this. Samuel -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 'proposed-updates'), (500, 'oldoldstable'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.10.0 (SMP w/8 CPU threads) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled -- Samuel <S> KK1 a 1 conseil de comment s'attaquer a du code java ou ya plus de 50 classes ? par kel bout ? <B> le troisième -+- #ens-mim en stage -+-
--- debian/control.original 2020-12-26 20:33:59.000000000 +0000 +++ debian/control 2020-12-26 20:34:21.000000000 +0000 @@ -10,9 +10,9 @@ extra-cmake-modules (>= 5.77.0~), graphviz, libqt5sql5-sqlite:native, - libqt5waylandclient5-dev (>= 5.13.0~), + libqt5waylandclient5-dev (>= 5.13.0~) [linux-any], libqt5x11extras5-dev (>= 5.13.0~), - libwayland-dev (>= 1.9~), + libwayland-dev (>= 1.9~) [linux-any], libx11-dev, libxcb1-dev, pkg-config, @@ -21,7 +21,7 @@ qtbase5-private-dev, qttools5-dev, qttools5-dev-tools (>= 5.4), - qtwayland5-dev-tools (>= 5.13.0~), + qtwayland5-dev-tools (>= 5.13.0~) [linux-any], Standards-Version: 4.5.1 Homepage: https://invent.kde.org/frameworks/kguiaddons Vcs-Browser: https://salsa.debian.org/qt-kde-team/kde/kguiaddons --- debian/rules.original 2020-12-26 20:42:47.000000000 +0000 +++ debian/rules 2020-12-26 20:43:55.000000000 +0000 @@ -2,11 +2,15 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all +ifneq ($(DEB_BUILD_ARCH_OS),linux) +WAYLAND=-DWITH_WAYLAND=OFF +endif + %: dh $@ --with kf5,pkgkde_symbolshelper --buildsystem kf5 --without build_stamp override_dh_auto_configure: - dh_auto_configure -- -DBUILD_QCH=ON -DBUILD_TESTING=OFF + dh_auto_configure -- -DBUILD_QCH=ON -DBUILD_TESTING=OFF $(WAYLAND) override_dh_auto_test: # Disable auto tests at build time --- debian/libkf5guiaddons5.symbols.original 2020-12-26 20:49:28.000000000 +0000 +++ debian/libkf5guiaddons5.symbols 2020-12-26 20:49:33.000000000 +0000 @@ -184,5 +184,5 @@ _ZTV19KeySequenceRecorder@Base 5.77.0 _ZTV24KModifierKeyInfoProvider@Base 5.61.0 _ZTV30KLocalImageCacheImplementation@Base 4.96.0 - zwp_keyboard_shortcuts_inhibit_manager_v1_interface@Base 5.77.0 - zwp_keyboard_shortcuts_inhibitor_v1_interface@Base 5.77.0 + (arch=linux-any)zwp_keyboard_shortcuts_inhibit_manager_v1_interface@Base 5.77.0 + (arch=linux-any)zwp_keyboard_shortcuts_inhibitor_v1_interface@Base 5.77.0