--- Begin Message ---
Source: sonic-visualiser
Version: 3.2-1
Tags: patch upstream
User: helmutg@debian.org
Usertags: rebootstrap
sonic-visualiser fails to cross build from source, because it runs its
test via QMAKE_POST_LINK during dh_auto_build and thus
DEB_BUILD_OPTIONS=nocheck is not honoured. Lisandro Damián Nicanor Pérez
Meyer kindly explained to me that you are supposed to use "CONFIG +=
testcase". Once doing so, they're run during make check, which is
invoked by dh_auto_test (which honours DEB_BUILD_OPTIONS=nocheck). It
turns out that the qmake files become quite a bit easier that way.
Please consider applying the attached patch.
Helmut
--- sonic-visualiser-3.2.orig/dataquay/tests/tests.pro
+++ sonic-visualiser-3.2/dataquay/tests/tests.pro
@@ -1,6 +1,6 @@
TEMPLATE = app
-CONFIG += debug console warn_on c++11
+CONFIG += debug console warn_on c++11 testcase
QT += testlib
QT -= gui
TARGET = test-dataquay
@@ -40,14 +40,3 @@
include(../platform.pri)
}
}
-
-!win32 {
- !macx* {
- QMAKE_POST_LINK=$${DESTDIR}/$${TARGET}
- }
- macx* {
- QMAKE_POST_LINK=./$${TARGET}.app/Contents/MacOS/$${TARGET}
- }
-}
-
-win32:QMAKE_POST_LINK=$${TARGET}.exe
--- sonic-visualiser-3.2.orig/test-svcore-base.pro
+++ sonic-visualiser-3.2/test-svcore-base.pro
@@ -11,7 +11,7 @@
include(base.pri)
-CONFIG += console
+CONFIG += console testcase
QT += network xml testlib
QT -= gui
@@ -27,7 +27,3 @@
for (file, TEST_SOURCES) { SOURCES += $$sprintf("svcore/base/test/%1", $$file) }
for (file, TEST_HEADERS) { HEADERS += $$sprintf("svcore/base/test/%1", $$file) }
-
-!win32* {
- QMAKE_POST_LINK = ./$${TARGET}
-}
--- sonic-visualiser-3.2.orig/test-svcore-data-fileio.pro
+++ sonic-visualiser-3.2/test-svcore-data-fileio.pro
@@ -11,7 +11,7 @@
include(base.pri)
-CONFIG += console
+CONFIG += console testcase
QT += network xml testlib
QT -= gui
@@ -27,7 +27,3 @@
for (file, TEST_SOURCES) { SOURCES += $$sprintf("svcore/data/fileio/test/%1", $$file) }
for (file, TEST_HEADERS) { HEADERS += $$sprintf("svcore/data/fileio/test/%1", $$file) }
-
-!win32* {
- QMAKE_POST_LINK = ./$${TARGET}
-}
--- sonic-visualiser-3.2.orig/test-svcore-data-model.pro
+++ sonic-visualiser-3.2/test-svcore-data-model.pro
@@ -11,7 +11,7 @@
include(base.pri)
-CONFIG += console
+CONFIG += console testcase
QT += network xml testlib
QT -= gui
@@ -27,7 +27,3 @@
for (file, TEST_SOURCES) { SOURCES += $$sprintf("svcore/data/model/test/%1", $$file) }
for (file, TEST_HEADERS) { HEADERS += $$sprintf("svcore/data/model/test/%1", $$file) }
-
-!win32* {
- QMAKE_POST_LINK = ./$${TARGET}
-}
--- sonic-visualiser-3.2.orig/test-svcore-system.pro
+++ sonic-visualiser-3.2/test-svcore-system.pro
@@ -11,7 +11,7 @@
include(base.pri)
-CONFIG += console
+CONFIG += console testcase
QT += network xml testlib
QT -= gui
@@ -27,7 +27,3 @@
for (file, TEST_SOURCES) { SOURCES += $$sprintf("svcore/system/test/%1", $$file) }
for (file, TEST_HEADERS) { HEADERS += $$sprintf("svcore/system/test/%1", $$file) }
-
-!win32* {
- QMAKE_POST_LINK = ./$${TARGET}
-}
--- End Message ---
--- Begin Message ---
- To: 918718-close@bugs.debian.org
- Subject: Bug#918718: fixed in sonic-visualiser 3.2.1-1
- From: IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>
- Date: Fri, 11 Jan 2019 12:10:31 +0000
- Message-id: <E1ghvdv-000Ewf-5M@fasolo.debian.org>
Source: sonic-visualiser
Source-Version: 3.2.1-1
We believe that the bug you reported is fixed in the latest version of
sonic-visualiser, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 918718@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org> (supplier of updated sonic-visualiser package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Fri, 11 Jan 2019 12:23:33 +0100
Source: sonic-visualiser
Binary: sonic-visualiser
Architecture: source
Version: 3.2.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Changed-By: IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>
Description:
sonic-visualiser - viewing and analysing the contents of music audio files
Closes: 918718
Changes:
sonic-visualiser (3.2.1-1) unstable; urgency=medium
.
* New upstream version 3.2.1
.
* Added patch to honour DEB_BUILD_OPTIONS=nocheck.
Thanks to Helmut Grohne <helmut@subdivi.de> (Closes: #918718)
* Don't install compiled tests into /usr/tests/
Checksums-Sha1:
803ac794708809a24b4617bd8706a0d4dad3f143 2530 sonic-visualiser_3.2.1-1.dsc
b639298f14e24516a62bd2466bdb08f031569c85 5597276 sonic-visualiser_3.2.1.orig.tar.gz
c6f80a7a75c343b51237b251032ec20e1b5b6f9f 21132 sonic-visualiser_3.2.1-1.debian.tar.xz
0428274c1398f1f87ab60770d19262566e99ed6e 14567 sonic-visualiser_3.2.1-1_amd64.buildinfo
Checksums-Sha256:
0336b5768978b0a10d33aedf8364ba4c8b0d74a41a3ab94999705baca5a0912c 2530 sonic-visualiser_3.2.1-1.dsc
e79955e4e50c6149dff527655061c8e2fb95929e9d8baed12cf7a920d1cc3a42 5597276 sonic-visualiser_3.2.1.orig.tar.gz
06d4537b5aeeb58e8e08de6413969f37f84f096ade33299f3d46f9d5a3c01b7c 21132 sonic-visualiser_3.2.1-1.debian.tar.xz
41ad83d0a4916a6653dc30d52721f8637c3acb4bb20d1deee808b111a2a3292d 14567 sonic-visualiser_3.2.1-1_amd64.buildinfo
Files:
987ec54414bbd06fe9d875b99f2be837 2530 sound optional sonic-visualiser_3.2.1-1.dsc
e9f53a8cb8410c024f6460279b7335b9 5597276 sound optional sonic-visualiser_3.2.1.orig.tar.gz
00a1748d5349e06cae6dab124a58fc5c 21132 sound optional sonic-visualiser_3.2.1-1.debian.tar.xz
ecc2afa84184dac8a932e205852b8f19 14567 sound optional sonic-visualiser_3.2.1-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEdAXnRVdICXNIABVttlAZxH96NvgFAlw4f14ACgkQtlAZxH96
NviWxQ/+Osq0HXmhtwACsDmNc3ls8QBWi0q6LarteszHCIP6zw0e2rY/LRTBM0/Q
NP3szAaiuvcqpC8yhe3XJEfB2HESDNA2UATloJGX5ZpFZVBBTlfq5IvvduLkRfSS
wxU78VTtaNlKVRm9r9elylftvFekAijxJKnQ/T6NCvAVHA3+qhJz+/vrSCLS75uH
OJ71zS6xQTk9qsnGVCRP+FveHvzBuMU491nObD7CSu3he4lDMzhZYCjJB+dSd9Ah
4HwWIllkXKcuoP8lsT4v9XxtAiGixJWikM+6UQ5R0kB4MkPOZ+VkNOP8HX5SWZc1
vYgIRUMkNdpfj+/6XbGLUjApamNLveZ9Fwg6U2ueqrzXhxHL63NT6Zo14+apQZez
VNGLymovzjNGWUkuaL1iTz3sL/o19utk4+LuA9c+C0QnSu9cVgGzO4PQeSHP7IZL
d1OCfe03Xb361iGAkuUJsDVjJcDuNgN+LU9fLs35AuTAPHw8n6IvdBCSQWj/2Vp/
M7YYIw4381upEYjyCIfIkhkOxnJ/UEYrqAXL83l6GVp4JbGOhCvNCns1KgZ0Bqza
pi9FF4xilHLddLwCOGWAIT/oFCdvkiAQkGP38BTgD9R+Stgv1Kj/27fTytwRqaPu
hxq3ocinVIZl8JycsM9EsbCMOtaT9D/ngXffAtFhHH2mhq3CvX8=
=nbzf
-----END PGP SIGNATURE-----
--- End Message ---