Source: colord
Version: 1.2.0-1
Severity: serious
Tags: patch
Justification: fails to build from source

Hi,

colord 1.2.0-1 fails to build on non-Linux archs [1][2].

The issue is that udev is searched by default, and configure bails out
if it is not found.

Easy solution is to enable udev on Linux architectures, and forcing it
off on non-Linux ones; patch attached for it.

[1] 
https://buildd.debian.org/status/fetch.php?pkg=colord&arch=kfreebsd-amd64&ver=1.2.0-1&stamp=1400394452
[2] 
https://buildd.debian.org/status/fetch.php?pkg=colord&arch=kfreebsd-i386&ver=1.2.0-1&stamp=1400394114

Thanks,
-- 
Pino
--- a/debian/rules
+++ b/debian/rules
@@ -31,9 +31,9 @@ confflags = \
 # --enable-libcolordcompat
 
 ifeq ($(DEB_HOST_ARCH_OS),linux)
-	confflags += --enable-sane --enable-gusb --enable-systemd-login
+	confflags += --enable-sane --enable-gusb --enable-systemd-login --enable-udev
 else
-	confflags += --disable-sane --disable-gusb --disable-systemd-login
+	confflags += --disable-sane --disable-gusb --disable-systemd-login --disable-udev
 endif
 
 override_dh_auto_configure:

Reply via email to