Source: cinnamon-settings-daemon Version: 2.2.4.repack-5 Severity: important Tags: patch
Hi, cinnamon-settings-daemon fails to configure on non-Linux architectures. The issue is that the systemd support is forced on configure, while systemd (and its libraries) exists on Linux only. The easy fix is to pass --enable-systemd only on Linux. Thanks, -- Pino
--- a/debian/rules +++ b/debian/rules @@ -3,10 +3,15 @@ export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) +DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) # To avoid running configure twice (because gnome-autogen.sh) export NOCONFIGURE=yes +ifeq ($(DEB_HOST_ARCH_OS),linux) +CONFIGURE_ARGS += --enable-systemd +endif + %: dh $@ --parallel --with=autoreconf @@ -16,7 +21,7 @@ override_dh_autoreconf: override_dh_auto_configure: dh_auto_configure -- \ --libexecdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)/cinnamon-settings-daemon \ - --enable-systemd + $(CONFIGURE_ARGS) override_dh_link: # Make *.links compatible with multiarch