Your message dated Thu, 22 Dec 2011 00:02:33 +0000
with message-id <[email protected]>
and subject line Bug#652427: fixed in colord 0.1.15-3
has caused the Debian Bug report #652427,
regarding Missing kfreebsd-* packages
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
652427: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=652427
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: colord
Version: 0.1.15-1
Severity: serious
Tags: patch
User: [email protected]
Usertags: kfreebsd

Hi,

colord currently does not build on kfreebsd [1] due to unsatisfied build
dependencies.
libcolord-dev is a build-dependency of gnome-control-center 3.2 and
gnome-settings-daemon 3.2, which are central pieces of the GNOME 3.2
desktop, so we need colord to build on those archs.

The attached patch should make it possible to successfully compile
colord on kfreebsd.
1/ It marks libgudev-1.0-dev and libusb-1.0-0-dev as linux-any.
2/ As USB support is not optional, it adds libusb2-dev (which provides
libusb-1.0.pc) on kfreebsd-any.
3/ As libsane-dev depends on libusb-dev, and libusb-dev and libusb2-dev
conflict on kfreebsd, that build-dependency is also marked linux-any
(sane support is optional).
4/ Updates debian/rules to adjust the configure flags according to the
plattform
5/ Uses a wildcard in debian/colord.install, as no sensors are built on
kfreebsd, so the usr/lib/*/colord-sensors does not exist there.
6/ Removes an outdated comment from debian/rules.

I don't actually use kfreebsd, so I can't tell if the resulting package
does something useful. But it at least builds successfully in a kfreebsd
VM.

Cheers,
Michael

[1] https://buildd.debian.org/status/package.php?p=colord

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- no debconf information
diff --git a/debian/colord.install b/debian/colord.install
index 5d8f7f6..286dbb2 100644
--- a/debian/colord.install
+++ b/debian/colord.install
@@ -1,8 +1,7 @@
 debian/tmp/etc/
 lib/udev/rules.d/
 usr/bin/
-usr/lib/*/colord
-usr/lib/*/colord-sensors
+usr/lib/*/colord*
 usr/share/color
 usr/share/dbus-1
 usr/share/locale
diff --git a/debian/control b/debian/control
index 42e9c65..acfaca5 100644
--- a/debian/control
+++ b/debian/control
@@ -7,12 +7,13 @@ Build-Depends:
  intltool,
  libglib2.0-dev,
  liblcms2-dev,
- libgudev-1.0-dev,
+ libgudev-1.0-dev [linux-any],
  libsqlite3-dev,
  docbook-utils,
- libusb-1.0-0-dev,
+ libusb-1.0-0-dev [linux-any],
+ libusb2-dev [kfreebsd-any],
  libpolkit-gobject-1-dev (>= 0.103),
- libsane-dev,
+ libsane-dev [linux-any],
  valac,
  gobject-introspection,
  libgirepository1.0-dev,
diff --git a/debian/rules b/debian/rules
index 38776c2..ef75202 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,19 +11,24 @@
 
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
+ifeq ($(DEB_HOST_ARCH_OS),linux)
+	confflags = --enable-gudev --enable-sane
+else
+	confflags = --disable-gudev --disable-sane
+endif
+
 override_dh_install:
 	# The .la file(s) are entirely useless; kill them with fire.
 	find debian/tmp -name '*.la' -delete
 	dh_install --fail-missing
 
 override_dh_auto_configure:
-	# Pass --disable-polkit because PolicyKit doesn't (currently) allow
-	# checking for authorisation as a non-root user.
-	# 
-	# Instead we use dbus policy to restrict access to the daemon.
-	dh_auto_configure -- --libexecdir=/usr/lib/$(DEB_HOST_MULTIARCH)/colord \
-		--enable-gudev --enable-sane --disable-static \
-		--disable-volume-search --with-daemon-user=colord
+	dh_auto_configure -- \
+		--libexecdir=/usr/lib/$(DEB_HOST_MULTIARCH)/colord \
+		--disable-static \
+		--disable-volume-search \
+		--with-daemon-user=colord \
+		$(confflags)
 
 override_dh_auto_test:
 	@echo "TODO: Test suite disabled - requires running dbus daemon, currently fails"

--- End Message ---
--- Begin Message ---
Source: colord
Source-Version: 0.1.15-3

We believe that the bug you reported is fixed in the latest version of
colord, which is due to be installed in the Debian FTP archive:

colord_0.1.15-3.debian.tar.gz
  to main/c/colord/colord_0.1.15-3.debian.tar.gz
colord_0.1.15-3.dsc
  to main/c/colord/colord_0.1.15-3.dsc
colord_0.1.15-3_amd64.deb
  to main/c/colord/colord_0.1.15-3_amd64.deb
gir1.2-colord-1.0_0.1.15-3_amd64.deb
  to main/c/colord/gir1.2-colord-1.0_0.1.15-3_amd64.deb
libcolord-dev_0.1.15-3_amd64.deb
  to main/c/colord/libcolord-dev_0.1.15-3_amd64.deb
libcolord1_0.1.15-3_amd64.deb
  to main/c/colord/libcolord1_0.1.15-3_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christopher James Halse Rogers <[email protected]> (supplier of updated colord 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 22 Dec 2011 10:15:18 +1100
Source: colord
Binary: libcolord-dev libcolord1 colord gir1.2-colord-1.0
Architecture: source amd64
Version: 0.1.15-3
Distribution: unstable
Urgency: low
Maintainer: Christopher James Halse Rogers <[email protected]>
Changed-By: Christopher James Halse Rogers <[email protected]>
Description: 
 colord     - system service to manage device colour profiles -- system daemon
 gir1.2-colord-1.0 - GObject introspection data for the colord library
 libcolord-dev - system service to manage device colour profiles -- development 
fi
 libcolord1 - system service to manage device colour profiles -- runtime
Closes: 652427
Changes: 
 colord (0.1.15-3) unstable; urgency=low
 .
   * debian/rules:
     + Pass --disable-examples to configure; we don't ship them, and they add
       an unnecessary Build-Dependancy on libdbus-1-dev.  Really fixes the
       kFreeBSD build. (Closes: 652427)
Checksums-Sha1: 
 f5256124ac5dd8003f519cd6e224930152636181 2299 colord_0.1.15-3.dsc
 54ba1420d0186c8b3fd3b309b91055a957003046 8377 colord_0.1.15-3.debian.tar.gz
 c61ee627a84a37a8c0b7ba14e94c2db2eecdedd0 74598 libcolord-dev_0.1.15-3_amd64.deb
 487ee7f997ce3d6462577fc24344dffdc6b10953 93612 libcolord1_0.1.15-3_amd64.deb
 7591c0c0856e415804bc41d91fd42a4073606522 171826 colord_0.1.15-3_amd64.deb
 ca82519e5e78f81fe763f4938c67d3b081963013 58006 
gir1.2-colord-1.0_0.1.15-3_amd64.deb
Checksums-Sha256: 
 42d978347eb6c49cd60e79dbfe3a529dfd51c49860ced69914ad99bfea5b79e5 2299 
colord_0.1.15-3.dsc
 3a8f2ca6f934522b247f17e05e05e6d5195a9430555a58fa53dd24af4fc7ba73 8377 
colord_0.1.15-3.debian.tar.gz
 0c623e93fed5e5119b32ae5b85fd8aba3bd34a9a2181e0e6877bef19546dfb17 74598 
libcolord-dev_0.1.15-3_amd64.deb
 f2dc38502406972a6ee9896959d1bfe31073e21dd1272c61c25cb8c21ad18f49 93612 
libcolord1_0.1.15-3_amd64.deb
 b915afca5ee1aa70a91fef531021e58ab817be883ed63055d4a5f29e92a1706f 171826 
colord_0.1.15-3_amd64.deb
 77b0220d9a88f294c248e9e207e803698fa66a9f72cf5339a7db58c62b44d404 58006 
gir1.2-colord-1.0_0.1.15-3_amd64.deb
Files: 
 42209b0578b6fd237622b036ea956af2 2299 graphics optional colord_0.1.15-3.dsc
 b2bcde22661655db1cca89eb25ee1d8b 8377 graphics optional 
colord_0.1.15-3.debian.tar.gz
 878e89d6e91d9bb2e2f7eb63b0041d51 74598 libdevel optional 
libcolord-dev_0.1.15-3_amd64.deb
 14f1f2c0a608c0448760868c5d1579dd 93612 libs optional 
libcolord1_0.1.15-3_amd64.deb
 c4e074f16bb8260e74ba65b9bcb370a8 171826 graphics optional 
colord_0.1.15-3_amd64.deb
 5104310e50d81d291f9c71d80510b2f6 58006 introspection optional 
gir1.2-colord-1.0_0.1.15-3_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJO8nL7AAoJEGrh3w1gjyLcyU0P/iCnoqGuft/ttes7rGJaJ+PT
RfKF7mv0sRMLCksKboLYgLUqHeZZboU20hxfOIGMfa8IYRnDn8r5W7KZmGioWPR0
B8wgtb3UXUHmJiPqacx+fm5y9wR1aqCxmvczdGtqxnCVgXIeeEy7De9VH2rfVIkN
8CCk2VH9k+Jnw9jlTB0XBwbMl3kJEpFFcCBSrV2xOf+fTtq2rl6iTQzwLAxpcN4I
9SGNXuOIIsx+HAdpYAr844RWi33Ly8ogkOv1m4+7v+GeVP6zmlvVREOeWBlMtBNv
qO1jPWCq+N9vAfm4OPtH6cMIXaj8J65ruUFAD50BFxd7YzkO0WO5ENKbx3vn1cbs
2BqDoLcb1otNf1FQLAWTzF+x+5At9dhfRG6FZTA/8BFqlLK6rj6SjX5ZzYLsX5ol
0NQwQic+52irp7vN8Mi1WGeN3kQrqOJBPQfXjSQtojPfRkH16cFtLljUhGeDwaS0
5Jgyg8TNfULn8FVfbPfR1kpzOAnsVRXZfVql2WlhcN2CRx+RmULmYGsUwCG/3F7w
ekV8kMSoGVs9hCnPuM+SOW361KkmGUl4NjMjyh2K+Vi4Tp05ArufUxmnzd/Yg7c9
PLI/E/9TLSpYNFesNVNC1wNwl7ZHlBidg9CeO4IQ6VS8jKfXllfOTtyEw+UcQyWc
NATK1zZWaEO5reV5q43T
=os5G
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to