Source: lifeograph Version: 1.5.1.1-1 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
lifeograph fails to cross build from source, because it does not pass a crossfile to meson. The easiest way of fixing that - using dh_auto_configure - makes lifeograph cross buildable. Please consider applying the attached patch. Helmut
diff --minimal -Nru lifeograph-1.5.1.1/debian/changelog lifeograph-1.5.1.1/debian/changelog --- lifeograph-1.5.1.1/debian/changelog 2019-01-24 21:48:58.000000000 +0100 +++ lifeograph-1.5.1.1/debian/changelog 2019-10-28 05:41:18.000000000 +0100 @@ -1,3 +1,10 @@ +lifeograph (1.5.1.1-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dh_auto_configure pass a crossfile to meson. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Mon, 28 Oct 2019 05:41:18 +0100 + lifeograph (1.5.1.1-1) unstable; urgency=medium * New upstream release. diff --minimal -Nru lifeograph-1.5.1.1/debian/rules lifeograph-1.5.1.1/debian/rules --- lifeograph-1.5.1.1/debian/rules 2019-01-24 21:48:58.000000000 +0100 +++ lifeograph-1.5.1.1/debian/rules 2019-10-28 05:41:18.000000000 +0100 @@ -7,24 +7,16 @@ BUILDDIR=$(CURDIR)/builddir/ DESTDIR=$(CURDIR)/debian/lifeograph/ -override_dh_clean: - dh_clean - rm -rf $(BUILDDIR) - override_dh_auto_configure: - meson --buildtype=release --prefix=/usr/ $(BUILDDIR) - -override_dh_auto_build: - cd $(BUILDDIR) && ninja + dh_auto_configure -- --buildtype=release override_dh_auto_install: - cd $(BUILDDIR) && DESTDIR=$(DESTDIR) ninja install + dh_auto_install install -m0755 -d $(DESTDIR)/usr/share/metainfo/ mv $(DESTDIR)/usr/share/appdata/net.sourceforge.lifeograph.appdata.xml \ $(DESTDIR)/usr/share/metainfo/ %: - dh $@ + dh $@ --buildsystem=meson --builddirectory=$(BUILDDIR) -.PHONY: override_dh_clean override_dh_auto_configure override_dh_auto_build \ - override_dh_auto_install +.PHONY: override_dh_auto_configure override_dh_auto_install