reopen 403181
severity 403181 wishlist
retitle 403181 pciutils-dev: Please include pkgconfig file
tags 403181 + patch
thanks

Hi,

As suggested by Steve Langasek for #396640,
"Going forward, it would be ideal if pciutils-dev would add support for
pkg-config so that reverse-dependencies could query pkg-config --libs
--static for the necessary extra lib information; even with this support in
place, though, I don't think it's advisable to ask reverse-dep maintainers
to switch to this until etch is frozen, since testing will /not/ have 
the necessary facility."

Fortunately, upstream added support for pkgconfig.
Unfortunately, your packaging did not reflect this new feature.

The fix is pretty trivial, see the attached patch.


Cheers,

Nicolas
diff -u pciutils-2.2.9/debian/changelog pciutils-2.2.9/debian/changelog
--- pciutils-2.2.9/debian/changelog
+++ pciutils-2.2.9/debian/changelog
@@ -1,3 +1,9 @@
+pciutils (1:2.2.9-2.1) unstable; urgency=low
+
+  * Install the pkgconfig file in the pciutils-dev package.
+
+ -- Nicolas Boullis <[EMAIL PROTECTED]>  Thu,  7 Feb 2008 23:04:01 +0100
+
 pciutils (1:2.2.9-2) unstable; urgency=low
 
   * pciutils-udeb is priority standard. Closes: #420227
diff -u pciutils-2.2.9/debian/rules pciutils-2.2.9/debian/rules
--- pciutils-2.2.9/debian/rules
+++ pciutils-2.2.9/debian/rules
@@ -40,6 +40,7 @@
 	install -m 644 lib/libpci.a debian/pciutils-dev/usr/lib/
 	install -m 644 lib/pci.h lib/header.h lib/config.h lib/types.h \
 			debian/pciutils-dev/usr/include/pci/
+	install -m 644 lib/libpci.pc debian/pciutils-dev/usr/lib/pkgconfig/
 
 	# pciutils-udeb
 	install -m 755 lspci debian/pciutils-udeb/usr/bin/
diff -u pciutils-2.2.9/debian/pciutils-dev.dirs pciutils-2.2.9/debian/pciutils-dev.dirs
--- pciutils-2.2.9/debian/pciutils-dev.dirs
+++ pciutils-2.2.9/debian/pciutils-dev.dirs
@@ -2,2 +2,3 @@
 usr/lib
+usr/lib/pkgconfig
 usr/share/doc

Reply via email to