Package: libkeybinder-dev Version: 0.3.1-1 Tags: patch User: helm...@debian.org Usertags: rebootstrap Control: affects -1 + src:lxpanel
lxpanel fails to cross build from source, because it cannot find keybinder.pc. During cross compilation pkg-config does not consider /usr/lib/pkgconfig and only checks /usr/share/pkgconfig and /usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig. Thus I am asking you to move keybinder.pc to the latter directory. The attached patch achieves just that by passing a multiarch --libdir to configure via dh_auto_configure. Please consider applying it. Helmut
diff --minimal -Nru keybinder-0.3.1/debian/changelog keybinder-0.3.1/debian/changelog --- keybinder-0.3.1/debian/changelog 2015-11-08 19:14:40.000000000 +0100 +++ keybinder-0.3.1/debian/changelog 2016-12-03 09:59:48.000000000 +0100 @@ -1,3 +1,12 @@ +keybinder (0.3.1-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Move keybinder.pc to a multiarch location (Closes: #-1). + + Let dh_auto_configure pass a multiarch --libdir + + Update debian/*install files + + -- Helmut Grohne <hel...@subdivi.de> Sat, 03 Dec 2016 09:59:48 +0100 + keybinder (0.3.1-1) unstable; urgency=medium * New upstream release. diff --minimal -Nru keybinder-0.3.1/debian/gir1.2-keybinder-0.0.install keybinder-0.3.1/debian/gir1.2-keybinder-0.0.install --- keybinder-0.3.1/debian/gir1.2-keybinder-0.0.install 2015-11-08 19:06:27.000000000 +0100 +++ keybinder-0.3.1/debian/gir1.2-keybinder-0.0.install 2016-12-03 09:59:48.000000000 +0100 @@ -1 +1 @@ -usr/lib/girepository-1.0/Keybinder-0.0.typelib +usr/lib/*/girepository-1.0/Keybinder-0.0.typelib diff --minimal -Nru keybinder-0.3.1/debian/install keybinder-0.3.1/debian/install --- keybinder-0.3.1/debian/install 2015-11-08 19:06:27.000000000 +0100 +++ keybinder-0.3.1/debian/install 2016-12-03 09:59:48.000000000 +0100 @@ -1 +1 @@ -usr/lib/libkeybinder.so.* +usr/lib/*/libkeybinder.so.* diff --minimal -Nru keybinder-0.3.1/debian/libkeybinder-dev.install keybinder-0.3.1/debian/libkeybinder-dev.install --- keybinder-0.3.1/debian/libkeybinder-dev.install 2015-11-08 19:06:27.000000000 +0100 +++ keybinder-0.3.1/debian/libkeybinder-dev.install 2016-12-03 09:59:48.000000000 +0100 @@ -1,4 +1,4 @@ usr/include -usr/lib/libkeybinder.so -usr/lib/pkgconfig/keybinder.pc +usr/lib/*/libkeybinder.so +usr/lib/*/pkgconfig/keybinder.pc usr/share/gir-1.0/Keybinder-0.0.gir diff --minimal -Nru keybinder-0.3.1/debian/rules keybinder-0.3.1/debian/rules --- keybinder-0.3.1/debian/rules 2015-11-08 19:06:27.000000000 +0100 +++ keybinder-0.3.1/debian/rules 2016-12-03 09:59:48.000000000 +0100 @@ -12,7 +12,7 @@ override_dh_auto_configure: for pyvers in ${PYTHONS}; do \ mkdir -p build/py$$pyvers; cp -Rl `ls . | grep -v build | grep -v debian` build/py$$pyvers;\ - (cd build/py$$pyvers; CC="cc -Wl,--as-needed" ./configure --prefix=/usr --enable-gtk-doc PYTHON=python$$pyvers); \ + CC="cc -Wl,--as-needed" dh_auto_configure --sourcedirectory=build/py$$pyvers -- --enable-gtk-doc PYTHON=python$$pyvers; \ done override_dh_auto_build: