Package: libmng-dev Version: 1.0.9-2 Justification: renders package unusable Severity: grave Tags: patch
Hi, libmng-dev does not provide any header files anymore because these files are installed in debian/libmng1/usr/include and not moved to debian/libmng-dev/usr/include afterwards. I have attached to this email a patch which fixes the issue by putting all the files in debian/tmp/ and then moving them to the proper directories (thus I added usr/lib/*.so.* to libmng-dev.install). I have also used dh_install rather than dh_movefiles following the recommendation given in dh_movefiles manpage. Hope that helps. Regards, -- Arnaud Fontaine (arnau)
diff -urN orig/libmng-1.0.9/debian/libmng1.install libmng-1.0.9/debian/libmng1.install --- orig/libmng-1.0.9/debian/libmng1.install 1969-12-31 18:00:00.000000000 -0600 +++ libmng-1.0.9/debian/libmng1.install 2010-06-03 12:07:41.430649051 -0500 @@ -0,0 +1 @@ +usr/lib/*.so.* diff -urN orig/libmng-1.0.9/debian/libmng-dev.files libmng-1.0.9/debian/libmng-dev.files --- orig/libmng-1.0.9/debian/libmng-dev.files 2010-06-02 01:21:00.000000000 -0500 +++ libmng-1.0.9/debian/libmng-dev.files 1969-12-31 18:00:00.000000000 -0600 @@ -1,3 +0,0 @@ -usr/include/* -usr/lib/lib*.a -usr/lib/lib*.so diff -urN orig/libmng-1.0.9/debian/libmng-dev.install libmng-1.0.9/debian/libmng-dev.install --- orig/libmng-1.0.9/debian/libmng-dev.install 1969-12-31 18:00:00.000000000 -0600 +++ libmng-1.0.9/debian/libmng-dev.install 2010-06-02 01:21:00.000000000 -0500 @@ -0,0 +1,3 @@ +usr/include/* +usr/lib/lib*.a +usr/lib/lib*.so diff -urN orig/libmng-1.0.9/debian/rules libmng-1.0.9/debian/rules --- orig/libmng-1.0.9/debian/rules 2010-06-02 07:11:39.000000000 -0500 +++ libmng-1.0.9/debian/rules 2010-06-03 12:18:13.686649356 -0500 @@ -37,18 +37,15 @@ dh_installdirs # Add here commands to install the package into debian/tmp. - mkdir $(CURDIR)/debian/libmng1/usr - $(MAKE) install prefix=$(CURDIR)/debian/libmng1/usr - - # Remove empty dir - rm -rf $(CURDIR)/debian/libmng1/usr/include + mkdir -p $(CURDIR)/debian/tmp/usr + $(MAKE) install prefix=$(CURDIR)/debian/tmp/usr binary-indep: build install binary-arch: build install dh_testdir dh_testroot - dh_movefiles --sourcedir=debian/libmng1 -plibmng-dev + dh_install --sourcedir=debian/tmp -plibmng-dev -plibmng1 dh_installman dh_installdocs dh_installexamples
pgpigIpMsGNSG.pgp
Description: PGP signature