Package: libgnomecanvasmm-2.6-dev
Version: 2.26.0-3
Severity: serious
Justification: it also ftbfs
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs
Control: affects -1 + src:monster-masher

monster-masher fails to cross build from source, because it cannot find
libgnomecanvasmm-2.6.pc. During cross compilation, pkg-config happens to
not search /usr/lib/pkgconfig. Thus, we need to move
libgnomecanvasmm-2.6.pc to a multiarch location. While fixing that bug,
I also happend to fix a FTBFS in your package. Please consider applying
it.

Helmut
diff --minimal -Nru libgnomecanvasmm2.6-2.26.0/debian/changelog 
libgnomecanvasmm2.6-2.26.0/debian/changelog
--- libgnomecanvasmm2.6-2.26.0/debian/changelog 2018-08-31 22:03:11.000000000 
+0200
+++ libgnomecanvasmm2.6-2.26.0/debian/changelog 2020-01-21 17:10:04.000000000 
+0100
@@ -1,3 +1,11 @@
+libgnomecanvasmm2.6 (2.26.0-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Move libgnomecanvasmm-2.6.pc to a Multi-Arch location. (Closes: #-1)
+  * Fix FTBFS with newer doxygen.
+
+ -- Helmut Grohne <hel...@subdivi.de>  Tue, 21 Jan 2020 17:10:04 +0100
+
 libgnomecanvasmm2.6 (2.26.0-3) unstable; urgency=medium
 
   * New maintainer. (Closes: #885803)
diff --minimal -Nru libgnomecanvasmm2.6-2.26.0/debian/rules 
libgnomecanvasmm2.6-2.26.0/debian/rules
--- libgnomecanvasmm2.6-2.26.0/debian/rules     2018-08-31 22:03:07.000000000 
+0200
+++ libgnomecanvasmm2.6-2.26.0/debian/rules     2020-01-21 17:10:04.000000000 
+0100
@@ -7,6 +7,7 @@
 
 
 SHARED_PKG := $(shell sed -rn 
's/^Package:[[:space:]]*(libgnomecanvasmm-[0-9\.]+-[0-9][0-9a-z]*)[[:space:]]*$$/\1/p'
 debian/control)
+DEV_PKG := $(shell sed -rn 
's/^Package:[[:space:]]*(libgnomecanvasmm-[0-9\.]+-dev)[[:space:]]*$$/\1/p' 
debian/control)
 DOC_PKG := $(shell sed -rn 
's/^Package:[[:space:]]*(libgnomecanvasmm-[0-9\.]+-doc)[[:space:]]*$$/\1/p' 
debian/control)
 SHVER := 2.23.1
 
@@ -19,9 +20,13 @@
 DEB_INSTALL_DOCS_$(DOC_PKG) += -XMakefile -XDoxyfile
 DEB_INSTALL_EXAMPLES_$(DOC_PKG) += -XMakefile -X.deps -X.libs -X.o
 
+binary-post-install/$(DEV_PKG)::
+       mkdir debian/$(DEV_PKG)/usr/lib/$(DEB_HOST_MULTIARCH)
+       mv debian/$(DEV_PKG)/usr/lib/pkgconfig 
debian/$(DEV_PKG)/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig
+
 build/$(DOC_PKG)::
        $(MAKE) -C docs/reference
-       find docs/reference/html -name '*.md5' -print0 | xargs -0 rm -v
+       find docs/reference/html -name '*.md5' -print0 | xargs -r0 rm -v
 
 install/$(DOC_PKG)::
        $(MAKE) -C examples clean

Reply via email to