[SCM] qtsvg packaging branch, master, updated. debian/5.1.1-2-3-gb98be9f

Lisandro Damián Nicanor Pérez lisandro at alioth.debian.org
Fri Sep 13 20:26:59 UTC 2013


Gitweb-URL: http://git.debian.org/?p=pkg-kde/qt/qtsvg.git;a=commitdiff;h=952a893

The following commit has been merged in the master branch:
commit 952a893968313d4ea9161606d16f11eaac965fcb
Author: Lisandro Damián Nicanor Pérez Meyer <perezmeyer at gmail.com>
Date:   Fri Sep 13 17:26:07 2013 -0300

    Enable tests.
    
    Thanks Michael Terry from Ubuntu for the patch.
---
 debian/changelog |    4 ++++
 debian/control   |    2 +-
 debian/rules     |    5 ++++-
 3 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f0e83a9..792a622 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,9 @@
 qtsvg-opensource-src (5.1.1-3) UNRELEASED; urgency=low
 
+  [ Lisandro Damián Nicanor Pérez Meyer ]
+  * Enable tests. Thanks Michael Terry from Ubuntu for the patch
+   (Closes: 722718).
+
  -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Fri, 13 Sep 2013 17:18:56 -0300
 
 qtsvg-opensource-src (5.1.1-2) unstable; urgency=low
diff --git a/debian/control b/debian/control
index 0853715..3e661df 100644
--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,7 @@ Uploaders: Fathi Boudra <fabo at debian.org>,
            Lisandro Damián Nicanor Pérez Meyer <lisandro at debian.org>,
            Felix Geyer <fgeyer at debian.org>,
            Timo Jyrinki <timo at debian.org>
-Build-Depends: debhelper (>= 9),
+Build-Depends: dbus, xvfb, debhelper (>= 9),
                qtbase5-dev (>= 5.1.1+dfsg~),
                qtbase5-private-dev (>= 5.1.1+dfsg~),
                libqt5opengl5-dev (>= 5.1.1+dfsg~),
diff --git a/debian/rules b/debian/rules
index c8970db..6149914 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,11 +12,14 @@ export QT_SELECT := qt5
 	dh $@ --parallel --with pkgkde_symbolshelper --dbg-package=qtsvg5-dbg
 
 override_dh_auto_configure:
-	qmake 
+	qmake QT_BUILD_PARTS+=tests
 
 override_dh_auto_build-indep:
 	dh_auto_build -Smakefile -- docs
 
+override_dh_auto_test:
+	xvfb-run -a make check QT_PLUGIN_PATH=$(CURDIR)/plugins LD_LIBRARY_PATH=$(CURDIR)/lib
+
 override_dh_auto_install-arch:
 	dh_auto_install
 

-- 
qtsvg packaging



More information about the pkg-kde-commits mailing list