[SCM] sonnet packaging branch, master, updated. debian/5.37.0-2-108-g5f8dcf6

Maximiliano Curia maxy at moszumanska.debian.org
Fri Jan 26 19:48:08 UTC 2018


Gitweb-URL: http://git.debian.org/?p=pkg-kde/frameworks/sonnet.git;a=commitdiff;h=031732c

The following commit has been merged in the master branch:
commit 031732ceee039ff6a3eb878c47e6acd0b53ed337
Author: Maximiliano Curia <maxy at gnuservers.com.ar>
Date:   Fri Jan 26 16:30:18 2018 -0300

    Use xvfb for dh_auto_test
---
 debian/control | 2 ++
 debian/rules   | 5 +++++
 2 files changed, 7 insertions(+)

diff --git a/debian/control b/debian/control
index 675993f..b84bc9a 100644
--- a/debian/control
+++ b/debian/control
@@ -19,6 +19,8 @@ Build-Depends: aspell,
                qtbase5-dev (>= 5.7.0~),
                qttools5-dev (>= 5.4),
                qttools5-dev-tools (>= 5.4),
+               xauth,
+               xvfb,
                zlib1g-dev,
 Standards-Version: 4.1.2
 Homepage: http://projects.kde.org/sonnet
diff --git a/debian/rules b/debian/rules
index d2ae0a5..16b3bfe 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,5 +8,10 @@ export DEB_LDFLAGS_MAINT_APPEND := -Wl,--as-needed
 override_dh_auto_configure:
 	dh_auto_configure -- -DBUILD_QCH=ON
 
+override_dh_auto_test:
+	export XDG_RUNTIME_DIR="$$(mktemp -d)"; \
+	 xvfb-run -a dh_auto_test; \
+	 rm -rf "$$XDG_RUNTIME_DIR"
+
 override_dh_strip:
 	dh_strip --dbgsym-migration='libkf5sonnet5-dbg (<= 5.19.0-1~~)'

-- 
sonnet packaging



More information about the pkg-kde-commits mailing list