[SCM] qtimageformats packaging branch, master, updated. debian/5.2.1-2-3-g42b9d12

Dmitry Shachnev mitya57-guest at moszumanska.debian.org
Tue May 13 13:10:21 UTC 2014


Gitweb-URL: http://git.debian.org/?p=pkg-kde/qt/qtimageformats.git;a=commitdiff;h=42b9d12

The following commit has been merged in the master branch:
commit 42b9d120d6ec25bbc98423cc934502231278bd2d
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date:   Tue May 13 17:10:08 2014 +0400

    Run tests during build (based on a patch by Chris Gagnon).
---
 debian/changelog | 1 +
 debian/control   | 4 +++-
 debian/rules     | 5 ++++-
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 241f8b6..62d6876 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ qtimageformats-opensource-src (5.2.1-3) UNRELEASED; urgency=medium
 
   [ Dmitry Shachnev ]
   * Remove dh_builddeb override, xz is now the default compression method.
+  * Run tests during build (based on a patch by Chris Gagnon).
 
  -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Tue, 13 May 2014 17:04:06 +0400
 
diff --git a/debian/control b/debian/control
index 3cfa0e1..4fd10be 100644
--- a/debian/control
+++ b/debian/control
@@ -13,7 +13,9 @@ Build-Depends: debhelper (>= 9),
                pkg-kde-tools,
                qtbase5-private-dev (>= 5.2.1+dfsg~),
                libmng-dev,
-               libtiff-dev
+               libtiff-dev,
+               xauth,
+               xvfb
 Standards-Version: 3.9.5
 Homepage: http://qt-project.org/
 Vcs-Git: git://anonscm.debian.org/pkg-kde/qt/qtimageformats.git
diff --git a/debian/rules b/debian/rules
index 65d7221..df32812 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,10 +12,13 @@ export QT_SELECT := qt5
 	dh $@ --parallel
 
 override_dh_auto_configure:
-	qmake
+	qmake QT_BUILD_PARTS+=tests
 
 override_dh_auto_install:
 	dh_auto_install
 	
 	# Remove the development stuff of the installed plugins
 	rm -rfv $(CURDIR)/debian/qt5-image-formats-plugins/usr/lib/*/cmake/
+
+override_dh_auto_test:
+	xvfb-run -a dh_auto_test -- QT_PLUGIN_PATH=$(CURDIR)/plugins

-- 
qtimageformats packaging



More information about the pkg-kde-commits mailing list