Source: libxcb
Version: 1.10-3
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

Currently, trying to satisfy cross Build-Depends for libxcb fails,
because the python dependency selects the host arch python and the
python-xcbgen dependency requires the build arch python. The solution to
this problem is to add ":native" (or ":any") to the python dependency.

In addition, it would be nice if building check could be avoided. This
requires marking the check dependency with the nocheck build profile.

Please consider applying the attached patch.

Helmut
diff -u libxcb-1.10/debian/changelog libxcb-1.10/debian/changelog
--- libxcb-1.10/debian/changelog
+++ libxcb-1.10/debian/changelog
@@ -1,3 +1,12 @@
+libxcb (1.10-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Make dependencies cross-sastifiable (closes: #-1).
+    + Mark python dependency with :native to pick an executable python.
+    + Do not build-depend on check when the nocheck profile is passed.
+
+ -- Helmut Grohne <hel...@subdivi.de>  Mon, 15 Jun 2015 15:24:14 +0200
+
 libxcb (1.10-3) unstable; urgency=medium
 
   * Add missing dependencies to libxcb-present-dev.  Thanks, Michel Dänzer!
diff -u libxcb-1.10/debian/control libxcb-1.10/debian/control
--- libxcb-1.10/debian/control
+++ libxcb-1.10/debian/control
@@ -12,11 +12,11 @@
  debhelper (>= 8.9.4~),
  pkg-config,
  xsltproc (>= 1.1.19),
- check (>= 0.9.4-2),
+ check (>= 0.9.4-2) <!nocheck>,
  python-xcbgen (>= 1.10),
  libtool,
  automake,
- python,
+ python:native,
  dctrl-tools
 Build-Depends-Indep:
 # libxcb-doc

Reply via email to