Source: xrootconsole
Version: 1:0.6-4
Tags: patch
User: [email protected]
Usertags: ftcbfs

xrootconsole fails to cross build from source, because it fails running
tests despite being given DEB_BUILD_OPTIONS=nocheck. The attached patch
implements support for the nocheck build option. Please consider
applying it.

Helmut
diff --minimal -Nru xrootconsole-0.6/debian/changelog 
xrootconsole-0.6/debian/changelog
--- xrootconsole-0.6/debian/changelog   2017-10-30 02:57:03.000000000 +0100
+++ xrootconsole-0.6/debian/changelog   2020-09-07 20:24:47.000000000 +0200
@@ -1,3 +1,10 @@
+xrootconsole (1:0.6-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Support DEB_BUILD_OPTIONS=nocheck. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Mon, 07 Sep 2020 20:24:47 +0200
+
 xrootconsole (1:0.6-4) unstable; urgency=medium
 
   [ Axel Beckert ]
diff --minimal -Nru xrootconsole-0.6/debian/control 
xrootconsole-0.6/debian/control
--- xrootconsole-0.6/debian/control     2017-10-30 02:51:16.000000000 +0100
+++ xrootconsole-0.6/debian/control     2020-09-07 20:24:47.000000000 +0200
@@ -7,7 +7,7 @@
 Build-Depends: debhelper (>= 10~),
                libx11-dev,
                xauth,
-               xvfb
+               xvfb <!nocheck>
 Homepage: https://sourceforge.net/projects/xrootconsole/
 Vcs-Git: https://anonscm.debian.org/git/collab-maint/xrootconsole.git
 Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/xrootconsole.git
diff --minimal -Nru xrootconsole-0.6/debian/rules xrootconsole-0.6/debian/rules
--- xrootconsole-0.6/debian/rules       2017-10-30 01:32:02.000000000 +0100
+++ xrootconsole-0.6/debian/rules       2020-09-07 20:24:45.000000000 +0200
@@ -12,7 +12,9 @@
        dh_installchangelogs NEWS
 
 override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
        xvfb-run ./test
+endif
 
 # Empty target
 override_dh_auto_install:

Reply via email to