Source: mandelbulber2 Version: 2.13.2-4 Tags: patch User: helm...@debian.org Usertags: rebootstrap
mandelbulber2 fails to cross build from source, because it runs qmake without cross flags. The easiest way of adding the required flags is using dh_auto_configure. It also fails running lrelease, because it misses a dependency on qt5-qmake:native. The attached patch fixes both and makes mandelbulber2 cross buildable. Please consider applying it. Helmut
diff --minimal -Nru mandelbulber2-2.13.2/debian/changelog mandelbulber2-2.13.2/debian/changelog --- mandelbulber2-2.13.2/debian/changelog 2018-07-05 09:58:11.000000000 +0200 +++ mandelbulber2-2.13.2/debian/changelog 2019-02-24 11:15:46.000000000 +0100 @@ -1,3 +1,12 @@ +mandelbulber2 (2.13.2-4.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: (Closes: #-1) + + Let dh_auto_configure pass cross flags to qmake. + + Add qt5-qmake:native to Build-Depends for lrelease. + + -- Helmut Grohne <hel...@subdivi.de> Sun, 24 Feb 2019 11:15:46 +0100 + mandelbulber2 (2.13.2-4) unstable; urgency=medium * Add missing Replaces: directives (closes: #902962). diff --minimal -Nru mandelbulber2-2.13.2/debian/control mandelbulber2-2.13.2/debian/control --- mandelbulber2-2.13.2/debian/control 2018-07-05 09:58:11.000000000 +0200 +++ mandelbulber2-2.13.2/debian/control 2019-02-24 11:15:45.000000000 +0100 @@ -5,7 +5,7 @@ Build-Depends: debhelper (>= 11) Build-Depends-Arch: qtbase5-dev, qtmultimedia5-dev, libpng-dev, libgsl-dev, qttools5-dev, qttools5-dev-tools, opencl-dev, - opencl-clhpp-headers, liblzo2-dev + opencl-clhpp-headers, liblzo2-dev, qt5-qmake:native Build-Depends-Indep: docbook-xsl, xsltproc, texlive-plain-generic, texlive-latex-extra, texlive-pictures, texlive-fonts-recommended, lmodern, ghostscript diff --minimal -Nru mandelbulber2-2.13.2/debian/rules mandelbulber2-2.13.2/debian/rules --- mandelbulber2-2.13.2/debian/rules 2018-07-05 09:58:11.000000000 +0200 +++ mandelbulber2-2.13.2/debian/rules 2019-02-24 11:15:46.000000000 +0100 @@ -28,7 +28,7 @@ rm -f *.1 override_dh_auto_configure-arch: - mkdir build ; cd build ; qmake -qt5 ../mandelbulber2/qmake/mandelbulber-opencl.pro + dh_auto_configure --builddirectory=build --sourcedirectory=mandelbulber2/qmake -- ../mandelbulber2/qmake/mandelbulber-opencl.pro override_dh_auto_build-arch: cd build ; make $(MAKEJFLAG)