Package: libvte-dev
Version: 1:0.11.15-3
Severity: important
Tags: upstream

Hi folks,

So, I suppose most of you have read
<http://lists.debian.org/debian-devel-announce/2005/11/msg00016.html> about
problems with packages depending on libraries that they don't use,
particularly as relates to a potential libfreetype transition.  One library
that currently exposes freetype (and other libs) in its pkg-config .pc file,
but shouldn't, is libvte.

Please consider (and forward upstream) the attached patch which moves all of
the library dependencies of libvte into the Requires.private and
Libs.private variables in vte.pc, so that they aren't used on Debian except
for static linking.  It also adds a versioned build-dependency on
pkg-config; though perhaps this change should be made in gnome-common
instead?

Also, please note that since September 2003, FreeType has supported
pkg-config.  It might be worthwhile to clean up the configure script to use
pkg-config for handling freetype, unless upstream thinks it's important to
continue supporting FreeType2 << 2.1.5.

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
[EMAIL PROTECTED]                                   http://www.debian.org/
diff -u vte-0.11.15/debian/changelog vte-0.11.15/debian/changelog
--- vte-0.11.15/debian/changelog
+++ vte-0.11.15/debian/changelog
@@ -1,3 +1,13 @@
+vte (1:0.11.15-3.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix vte.pc to not export freetype and other libs as part of the interface
+    used for shared linking; expose these only in Required.private and
+    Libs.private instead.
+  * Build-depend on pkg-config (>= 0.18) for these new fields.
+
+ -- Steve Langasek <[EMAIL PROTECTED]>  Wed, 23 Nov 2005 02:03:03 -0800
+
 vte (1:0.11.15-3) unstable; urgency=high
 
   * Force regeneration of the python bindings by removing python/vte.c.
only in patch2:
unchanged:
--- vte-0.11.15.orig/vte.pc.in
+++ vte-0.11.15/vte.pc.in
@@ -8,6 +8,7 @@
 Name: vte
 Description: Vte terminal widget.
 Version: @VERSION@
-Requires: @NEEDEDPACKAGES@
-Libs: -L${libdir} -lvte @FT2_LIBS@ @OTHERLIBS@
+Requires.private: @NEEDEDPACKAGES@
+Libs: -L${libdir} -lvte
+Libs.private: @FT2_LIBS@ @OTHERLIBS@
 Cflags: -I${includedir} @FT2_CFLAGS@ @OTHERCFLAGS@

Attachment: signature.asc
Description: Digital signature

Reply via email to