diff -u libnih-1.0.3/debian/control libnih-1.0.3/debian/control --- libnih-1.0.3/debian/control +++ libnih-1.0.3/debian/control @@ -6,7 +6,7 @@ Standards-Version: 3.9.4 Build-Depends: debhelper (>= 9), pkg-config (>= 0.22), libdbus-1-dev (>= 1.4), libexpat1-dev (>= 2.0.0), dbus (>= 1.4), libc6-dev (>= 2.15~) | libc6.1-dev (>= 2.15~), dh-autoreconf, autopoint, dpkg-dev (>= 1.16.1~) -# To cross build this package also needs: libdbus-1-dev:native (>= 1.4), libexpat1-dev:native (>= 2.0.0) +# To cross build this package also needs: libdbus-1-dev:native (>= 1.4), libexpat1-dev:native (>= 2.0.0), nih-dbus-tool:native # But :native build-deps are not supported yet, so instead one can do # $ apt-get build-dep libnih # $ apt-get build-dep libnih -aarmhf diff -u libnih-1.0.3/debian/rules libnih-1.0.3/debian/rules --- libnih-1.0.3/debian/rules +++ libnih-1.0.3/debian/rules @@ -16,10 +16,10 @@ else dh_auto_configure -B build-dbus-tool/ -- CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \ --libdir=/lib/$(DEB_BUILD_MULTIARCH) \ - --host=$(DEB_BUILD_GNU_TYPE) + --host=$(DEB_HOST_GNU_TYPE) dh_auto_build -B build-dbus-tool/ --parallel dh_auto_configure -- CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \ - NIH_DBUS_TOOL=$(CURDIR)/build-dbus-tool/nih-dbus-tool/nih-dbus-tool \ + NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool \ --libdir=/lib/$(DEB_HOST_MULTIARCH) endif diff -u libnih-1.0.3/debian/changelog libnih-1.0.3/debian/changelog --- libnih-1.0.3/debian/changelog +++ libnih-1.0.3/debian/changelog @@ -1,3 +1,9 @@ +libnih (1.0.3-4ubuntu16) precise; urgency=low + + * Fix crossbuilding some more: BUILD/HOST typo, run native nih-dbus-tool + + -- Wookey Sun, 20 Jan 2013 03:34:36 +0000 + libnih (1.0.3-4ubuntu15) raring; urgency=low * Enable cross-building, sans adding :native build-dependencies.