Bug#722718: qtsvg-opensource-src: Please enable tests

2013-09-13 Thread Michael Terry
Package: qtsvg-opensource-src
Version: 5.0.2-3
Severity: wishlist
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu saucy ubuntu-patch

Dear Maintainer,

In Ubuntu, the attached patch was applied to build and run tests during package 
build.  Thanks for considering it.


-- System Information:
Debian Release: wheezy/sid
  APT prefers saucy-updates
  APT policy: (500, 'saucy-updates'), (500, 'saucy-security'), (500, 'saucy')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.11.0-7-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru qtsvg-opensource-src-5.0.2/debian/changelog qtsvg-opensource-src-5.0.2/debian/changelog
diff -Nru qtsvg-opensource-src-5.0.2/debian/control qtsvg-opensource-src-5.0.2/debian/control
--- qtsvg-opensource-src-5.0.2/debian/control	2013-06-20 18:20:30.0 -0400
+++ qtsvg-opensource-src-5.0.2/debian/control	2013-09-13 12:37:53.0 -0400
@@ -9,12 +9,14 @@
Lisandro Damián Nicanor Pérez Meyer lisan...@debian.org,
Felix Geyer fge...@debian.org,
Timo Jyrinki t...@debian.org
-Build-Depends: debhelper (= 9),
+Build-Depends: dbus,
+   debhelper (= 9),
qtbase5-dev (= 5.0.2~),
qtbase5-private-dev (= 5.0.2~),
libqt5opengl5-dev (= 5.0.2~),
zlib1g-dev,
pkg-kde-tools,
+   xvfb,
 Build-Depends-Indep: libqt5sql5-sqlite,
  qttools5-dev-tools (= 5.0.2~)
 Standards-Version: 3.9.4
diff -Nru qtsvg-opensource-src-5.0.2/debian/rules qtsvg-opensource-src-5.0.2/debian/rules
--- qtsvg-opensource-src-5.0.2/debian/rules	2013-06-09 13:20:57.0 -0400
+++ qtsvg-opensource-src-5.0.2/debian/rules	2013-09-13 12:16:55.0 -0400
@@ -12,11 +12,14 @@
 	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
 


Bug#722723: qtgraphicaleffects-opensource-src: Please enable tests

2013-09-13 Thread Michael Terry
Package: qtgraphicaleffects-opensource-src
Version: 5.0.2-2
Severity: wishlist
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu saucy ubuntu-patch

Dear Maintainer,

In Ubuntu, the attached patch was applied to run tests during package build.  
Thanks for considering it.


-- System Information:
Debian Release: wheezy/sid
  APT prefers saucy-updates
  APT policy: (500, 'saucy-updates'), (500, 'saucy-security'), (500, 'saucy')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.11.0-7-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru qtgraphicaleffects-opensource-src-5.0.2/debian/changelog qtgraphicaleffects-opensource-src-5.0.2/debian/changelog
diff -Nru qtgraphicaleffects-opensource-src-5.0.2/debian/control qtgraphicaleffects-opensource-src-5.0.2/debian/control
--- qtgraphicaleffects-opensource-src-5.0.2/debian/control	2013-07-30 09:09:43.0 -0400
+++ qtgraphicaleffects-opensource-src-5.0.2/debian/control	2013-09-13 13:20:48.0 -0400
@@ -1,19 +1,21 @@
 Source: qtgraphicaleffects-opensource-src
 Section: libs
 Priority: optional
-Maintainer: Ubuntu Developers ubuntu-devel-disc...@lists.ubuntu.com
-XSBC-Original-Maintainer: Debian Qt/KDE Maintainers debian-qt-kde@lists.debian.org
+Maintainer: Debian Qt/KDE Maintainers debian-qt-kde@lists.debian.org
 Uploaders: Fathi Boudra f...@debian.org,
Modestas Vainius mo...@debian.org,
Sune Vuorela deb...@pusling.com,
Pino Toscano p...@debian.org,
Lisandro Damián Nicanor Pérez Meyer lisan...@debian.org,
Timo Jyrinki t...@debian.org
-Build-Depends: debhelper (= 9),
+Build-Depends: dbus,
+   debhelper (= 9),
dpkg-dev (= 1.16.1),
pkg-kde-tools,
qtbase5-private-dev (= 5.0.2),
qtdeclarative5-private-dev (= 5.0.2),
+   qtdeclarative5-qtquick2-plugin,
+   xvfb,
 Build-Depends-Indep: libqt5sql5-sqlite,
  qttools5-dev-tools (= 5.0.2~)
 Standards-Version: 3.9.4
diff -Nru qtgraphicaleffects-opensource-src-5.0.2/debian/rules qtgraphicaleffects-opensource-src-5.0.2/debian/rules
--- qtgraphicaleffects-opensource-src-5.0.2/debian/rules	2013-07-30 09:09:43.0 -0400
+++ qtgraphicaleffects-opensource-src-5.0.2/debian/rules	2013-09-13 13:00:57.0 -0400
@@ -12,11 +12,14 @@
 	dh $@ --parallel
 
 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-indep:
 	make INSTALL_ROOT=$(CURDIR)/debian/tmp install_docs