Your message dated Tue, 20 Dec 2011 02:49:28 +0000
with message-id <e1rcplg-00050m...@franck.debian.org>
and subject line Bug#652427: fixed in colord 0.1.15-2
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 ow...@bugs.debian.org
immediately.)


-- 
652427: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=652427
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: colord
Version: 0.1.15-1
Severity: serious
Tags: patch
User: debian-...@lists.debian.org
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-2

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-2.debian.tar.gz
  to main/c/colord/colord_0.1.15-2.debian.tar.gz
colord_0.1.15-2.dsc
  to main/c/colord/colord_0.1.15-2.dsc
colord_0.1.15-2_amd64.deb
  to main/c/colord/colord_0.1.15-2_amd64.deb
gir1.2-colord-1.0_0.1.15-2_amd64.deb
  to main/c/colord/gir1.2-colord-1.0_0.1.15-2_amd64.deb
libcolord-dev_0.1.15-2_amd64.deb
  to main/c/colord/libcolord-dev_0.1.15-2_amd64.deb
libcolord1_0.1.15-2_amd64.deb
  to main/c/colord/libcolord1_0.1.15-2_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 652...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christopher James Halse Rogers <r...@ubuntu.com> (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 ftpmas...@debian.org)


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

Format: 1.8
Date: Tue, 20 Dec 2011 13:04:34 +1100
Source: colord
Binary: libcolord-dev libcolord1 colord gir1.2-colord-1.0
Architecture: source amd64
Version: 0.1.15-2
Distribution: unstable
Urgency: low
Maintainer: Christopher James Halse Rogers <r...@ubuntu.com>
Changed-By: Christopher James Halse Rogers <r...@ubuntu.com>
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-2) unstable; urgency=low
 .
   * debian/control:
     + Move gir package to Section: introspection
   * debian/control:
   * debian/rules:
   * debian/colord.install:
     + Fix the kfreebsd build (Closes: 652427).  Thanks, Michael Biebl!
       - Restrict sane and gudev to linux-any.
       - Use libusb2-dev on kfreebsd-any.
Checksums-Sha1: 
 f98a441fb1c01ed145de5dba45d14c557f505652 2299 colord_0.1.15-2.dsc
 cb44576f84c83ae0af9ff9720f4611d7eab5ba8f 8184 colord_0.1.15-2.debian.tar.gz
 265d5df9630b11f8f9dd40f82c059e776adde01d 74430 libcolord-dev_0.1.15-2_amd64.deb
 6578a47aed305d49031fd2ad2d054ff08c670a45 93512 libcolord1_0.1.15-2_amd64.deb
 bf39fe8093b4c63a21aa22add84031d7bbc0632b 171738 colord_0.1.15-2_amd64.deb
 942155884aab525c20772f83355721b9ebd322c5 57904 
gir1.2-colord-1.0_0.1.15-2_amd64.deb
Checksums-Sha256: 
 a37fa4eae7b97b77d872f6c03a2dea175ceff1bdfd703fff884c68368403e41c 2299 
colord_0.1.15-2.dsc
 2ac2f46a78b19b6a6d27d3c9d7a60b741e38e014f41e43b11ea3d61a81de4506 8184 
colord_0.1.15-2.debian.tar.gz
 dbbc838a87c823820ba9f5f193658d59c8f63cf1d813e71ccb4453b9536c3220 74430 
libcolord-dev_0.1.15-2_amd64.deb
 f827b54ade95cfed31f619f8cb2b4e2e5936038527645b014c849d4f041fd170 93512 
libcolord1_0.1.15-2_amd64.deb
 f63401546b9c824df2baa5a802df84ce38f50bba4abb5622782c61741d3d390b 171738 
colord_0.1.15-2_amd64.deb
 c0166cef64e6915459f6edf9cd04b4985ac98b5df5604d42cbe50d9fdc92fd87 57904 
gir1.2-colord-1.0_0.1.15-2_amd64.deb
Files: 
 7b34abba54e5d3cedb02e3f22da5ea91 2299 graphics optional colord_0.1.15-2.dsc
 f7b28d81fd5462430d775bd80d4fede4 8184 graphics optional 
colord_0.1.15-2.debian.tar.gz
 fd44e8b805d7bb26313f77795abdcc1f 74430 libdevel optional 
libcolord-dev_0.1.15-2_amd64.deb
 f70bfb05e95a957932a96e6886dc0e4e 93512 libs optional 
libcolord1_0.1.15-2_amd64.deb
 2f1e7d7327d12e75dcbaa4ba4c54a524 171738 graphics optional 
colord_0.1.15-2_amd64.deb
 6d56b9098f53ebcb370e4e14fdc0f00e 57904 introspection optional 
gir1.2-colord-1.0_0.1.15-2_amd64.deb

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

iQIcBAEBCAAGBQJO7/FFAAoJEGrh3w1gjyLcBCkP/iDL9D0NHrRrN+6PCG8gSGqY
yfo14oUJf01wcXtcaDrC5n+kV5Nb6lJQQSUZ5mmeq3mwDbwj0nL54idDApYRd0sN
4/PApFqSuRariaA5VWSfOBdTSwzscjNPgNUyVFiaOG2cphLoo3z8Cow0OUEsCpiY
P2JJjrWAv4QBzoEc1nqxxDQwNQYDcd1/aC8i2GowI23Tek6oIp8oLpBnyQU9VwdV
AvXVBPQ6rU9NIldoqGuX8NoVVaowc2uaHrol/5QD+kEyHPC06Caoiz682JTSgQqy
5k1uGTUMdRB6Jf2oPxof9d/GxrmfK9DQrSVIcpsFuH3kZ8/NdX1/gxX8OsvBLuRp
2ueG483TkeipvFocjGZnTrab9FM32o1hBan+KjpnSsiLazUWDjJT0ae9Fb5WMrGK
pZtj9aVhrjIWNWiporhxptKq1V8QAhezP7m+6DvefQfoWLL2qWxt17zlFpjfRKQq
Tmw+LGnGlCvkmhVRFwFWZbnFaZy5A8Q4q4y8Hf9dWEN+fV+PhVW/2fGRIjfm7lm0
lYJF0cx6glcQUesXkrpEOpDvRLX6zACRU5QwikfMawAmg67tcPQcacxJuQ07PjBJ
YhPXm9gRN4/GHez7KUTCZyIFy9ZXNR0OrBJR01dAfv81JOUYMvkRsqT+ZMCjjdpY
z0R7Be2sBOuFnUvQ+rTM
=omHS
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to