Source: gtk+3.0
Version: 3.8.6-1
Severity: wishlist
Tags: patch

As the subject says: the attached patch allows bootstrapping gtk+3.0 without 
colord available yet.  For an example of a build dependency cycle that this 
resolves: gtk+3.0 Build-Depends on libcolord-dev; colord Build-Depends on 
libpolkit-gobject-1-dev; and policykit-1 Build-Depends on libgtk-3-doc.  
(Also, on Linux, colord Build-Depends on libsane-dev; sane-backends Build-
Depends on libv4l-dev; v4l-utils Build-Depends on libqt4-dev; qt4-x11 Build-
Depends on libgstreamer-plugins-base0.10-dev; and gst-plugins-base0.10 Build-
Depends on libgtk-3-dev.)
-- 
Daniel Schepler
diff -urN gtk+3.0-3.8.2.old/debian/rules gtk+3.0-3.8.2/debian/rules
--- gtk+3.0-3.8.2.old/debian/rules	2013-05-23 06:18:15.000000000 -0700
+++ gtk+3.0-3.8.2/debian/rules	2013-07-10 15:13:23.476666663 -0700
@@ -61,11 +61,17 @@
 			--libdir=/$(LIBDIR) \
 			--enable-test-print-backend
 
+ifeq (,$(filter stage1,$(DEB_BUILD_PROFILES)))
+DEB_CONFIGURE_FLAGS_colord = --enable-colord
+else
+DEB_CONFIGURE_FLAGS_colord = --disable-colord
+endif
+
 DEB_CONFIGURE_FLAGS_shared = \
 			--enable-gtk-doc \
 			--enable-shared \
 			--enable-introspection \
-			--enable-colord \
+			$(DEB_CONFIGURE_FLAGS_colord) \
 			--disable-static
 
 DEB_CONFIGURE_FLAGS_shared_udeb = \

Reply via email to