Source: colord
Version: 0.1.21-2
Severity: serious
Tags: patch
Justification: fails to build from source

Hi,

colord 0.1.21-2 does not build anymore on non-Linux archs, such as
GNU/kFreeBSD[1][2] and GNU/Hurd[3].

This happens because the dbus usage, introduced in 0.1.21-2, lacks the
proper build dependency, i.e. libdbus-1-dev. On Linux it "works" just
because of the following dependency chain:
  libsane-dev -> libavahi-client-dev -> libdbus-1-dev
The attached patch adds the build dependency for any architecture.

[1] 
https://buildd.debian.org/status/fetch.php?pkg=colord&arch=kfreebsd-i386&ver=0.1.21-2&stamp=1347522383
[2] 
https://buildd.debian.org/status/fetch.php?pkg=colord&arch=kfreebsd-amd64&ver=0.1.21-2&stamp=1347522518
[3] 
https://buildd.debian.org/status/fetch.php?pkg=colord&arch=hurd-i386&ver=0.1.21-2&stamp=1347522346

Thanks,
-- 
Pino
--- a/debian/control
+++ b/debian/control
@@ -14,6 +14,7 @@
  libgusb-dev [linux-any],
  libpolkit-gobject-1-dev (>= 0.103),
  libsane-dev [linux-any],
+ libdbus-1-dev,
  valac,
  gobject-introspection,
  libgirepository1.0-dev,

Reply via email to