Source: vym
Version: 2.5.0-2
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

vym fails to cross build from source, because it does not pass the right
cross flags (e.g. a -specs file) to qmake. The easiest way of doing that
is deferring the task to dh_auto_configure. After doing so, vym cross
builds successfully. Please consider applying the attached patch.

Helmut
diff --minimal -Nru vym-2.5.0/debian/changelog vym-2.5.0/debian/changelog
--- vym-2.5.0/debian/changelog  2016-01-22 13:26:39.000000000 +0100
+++ vym-2.5.0/debian/changelog  2018-01-22 21:03:51.000000000 +0100
@@ -1,3 +1,10 @@
+vym (2.5.0-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass cross flags to qmake. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Mon, 22 Jan 2018 21:03:51 +0100
+
 vym (2.5.0-2) unstable; urgency=medium
 
   * Fix FTBFS with g++-6 (Closes: #811854)
diff --minimal -Nru vym-2.5.0/debian/rules vym-2.5.0/debian/rules
--- vym-2.5.0/debian/rules      2015-09-23 20:35:17.000000000 +0200
+++ vym-2.5.0/debian/rules      2018-01-22 21:03:51.000000000 +0100
@@ -13,7 +13,6 @@
 
 export QT_SELECT = 5
 
-QMAKE=qmake
 DEB_QMAKE_ARGS = "DATADIR=/usr/share"
 
 DEB_BUILD_PARALLEL = 1
@@ -25,6 +24,9 @@
 common-configure-arch::
        lrelease vym.pro
 
+$(DEB_BUILDDIR)/Makefile:
+       dh_auto_configure --buildsystem=qmake --builddirectory=$(DEB_BUILDDIR) 
-- $(DEB_QMAKE_ARGS)
+
 common-install-arch::
        install -m 644 debian/vym.desktop 
debian/vym/usr/share/applications/vym.desktop
        install -m 0644 icons/vym.png $(CURDIR)/debian/vym/usr/share/pixmaps/

Reply via email to