Source: colord
Version: 1.2.0-1
Severity: important
Tags: patch
User: debian-h...@lists.debian.org
Usertags: hurd
Control: block -1 by 749221

Hi,

colord 1.2.0-1 cannot be built on hurd-i386 as it build depends on
argyll, which is not available on this architecture at the moment.

Since its usage is only to generate extra print profiles, attached
there is a patch to disable them on hurd-i386. Note that this patch
applies on top of #749221, as that bug applies also on hurd-i386
(being a non-Linux architecture).

Thanks,
-- 
Pino
--- a/debian/control
+++ b/debian/control
@@ -24,7 +24,7 @@ Build-Depends:
  libsystemd-login-dev [linux-any],
  bash-completion,
  dh-systemd (>= 1.4),
- argyll,
+ argyll [!hurd-any],
 Standards-Version: 3.9.5
 XS-Testsuite: autopkgtest
 Section: graphics
--- a/debian/rules
+++ b/debian/rules
@@ -22,8 +22,7 @@ confflags = \
  --with-systemdsystemunitdir=/lib/systemd/system \
  --with-udevrulesdir=/lib/udev/rules.d \
  --enable-vala \
- --disable-silent-rules \
- --enable-print-profiles
+ --disable-silent-rules
 
 # Disabled; Needs Argyll >= 1.6 (not yet in Debian) to be useful
 # Installs plugin into global search path; we'll probably need to patch
@@ -36,6 +35,12 @@ else
 	confflags += --disable-sane --disable-gusb --disable-systemd-login --disable-udev
 endif
 
+ifeq ($(DEB_HOST_ARCH_OS),hurd)
+	confflags += --disable-print-profiles
+else
+	confflags += --enable-print-profiles
+endif
+
 override_dh_auto_configure:
 	dh_auto_configure -- $(confflags)
 

Reply via email to