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
 


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

2013-09-13 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 tag 722718 pending
Bug #722718 [qtsvg-opensource-src] qtsvg-opensource-src: Please enable tests
Added tag(s) pending.
 thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
722718: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=722718
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-qt-kde-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.137910481713803.transcr...@bugs.debian.org



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

2013-09-13 Thread Lisandro Damián Nicanor Pérez Meyer
tag 722718 pending
thanks

On Friday 13 September 2013 12:39:14 Michael Terry wrote:
 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.

Thanks a lot Michael for sending this patch. As feedback, I needed to add 
xauth as build dep.

It will be included in the next upload of qtsvg.

-- 
With great power comes great responsibility.
  Peter Parker's uncle.

Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/


signature.asc
Description: This is a digitally signed message part.