Package: libraptor1-dev
Severity: normal
Tags: patch

Currently, you're exporting unnecessary dependencies to all of
the users of raptor who use pkg-config.  Such as liblrdf0, which
is where I found this bug.  By fixing the raptor.pc file, you
will stop doing this, and the packages depending on raptor will
no longer have to be rebuilt when curl, libidl, libssl, libcrypto,
libdl, libxml2, etc. change.  This is a Very Good Thing and will
simplify transitions to testing in future.

See http://rerun.lefant.net/checklib/ for substantially more
information about this problem.

This patch is untested but should work.  If you happen to know
that raptor reexports part of the interface of one of the libraries
it uses, than that library needs to be in Libs rather than
Libs.private.  That is very abnormal and I don't expect it.

--- raptor.pc.in        2006-07-05 01:04:36.000000000 -0400
+++ raptor.pc.in.new    2007-01-01 21:42:18.000000000 -0500
@@ -6,6 +6,7 @@
 Name: Raptor
 Description: RDF Parser Toolkit Library
 Version: @VERSION@
-Libs: -L${libdir} -lraptor @LIBS@
+Libs: -L${libdir} -lraptor
+Libs.private: @LIBS@
 Cflags: -I${includedir}
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to