Package: compiz-dev Version: 2:0.8.14-3 Tags: patch User: helm...@debian.org Usertags: rebootstrap Control: affects -1 + src:libcompizconfig
libcompizconfig fails to cross build from source, because it fails to find compiz.pc. During cross compilation, pkg-config does not search /usr/lib/pkgconfig. The attached patch moves those files to the multiarch location. Please consider applying it. Helmut
diff --minimal -Nru compiz-0.8.14/debian/changelog compiz-0.8.14/debian/changelog --- compiz-0.8.14/debian/changelog 2018-11-15 17:15:59.000000000 +0100 +++ compiz-0.8.14/debian/changelog 2018-12-12 17:00:20.000000000 +0100 @@ -1,3 +1,10 @@ +compiz (2:0.8.14-3.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Move compiz-dev's .pc files to a multiarch location. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Wed, 12 Dec 2018 17:00:20 +0100 + compiz (2:0.8.14-3) unstable; urgency=medium * control: Fix indep-only build. diff --minimal -Nru compiz-0.8.14/debian/rules compiz-0.8.14/debian/rules --- compiz-0.8.14/debian/rules 2018-11-15 17:14:12.000000000 +0100 +++ compiz-0.8.14/debian/rules 2018-12-12 17:00:18.000000000 +0100 @@ -1,6 +1,8 @@ #!/usr/bin/make -f # -*- makefile -*- +include /usr/share/dpkg/architecture.mk + CORE_ABIVERSION := $(shell sed -rn 's/^\#define[[:space:]]+CORE_ABIVERSION[[:space:]]+//p' include/compiz-core.h ) LDFLAGS += -Wl,--as-needed @@ -30,6 +32,8 @@ -type f -name '*.la' -exec rm -f {} ';' dh_install --fail-missing + mkdir debian/compiz-dev/usr/lib/$(DEB_HOST_MULTIARCH) + mv debian/compiz-dev/usr/lib/pkgconfig debian/compiz-dev/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig # matecompat plugin and xml file are seperately installed # into the -mate package respectively