[next] telepathy-glib: Remove pkg-config dependency from .pc files

Xavier Claessens xclaesse at kemper.freedesktop.org
Wed Dec 26 01:08:11 PST 2012


Module: telepathy-glib
Branch: next
Commit: 4acc51d5b848359211bb8a00f0daa8e0bc44eb65
URL:    http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=4acc51d5b848359211bb8a00f0daa8e0bc44eb65

Author: Will Thompson <will.thompson at collabora.co.uk>
Date:   Mon Dec 10 14:11:05 2012 +0000

Remove pkg-config dependency from .pc files

This causes problems for Yocto, since they use pc files when choosing
package dependencies. It doesn't make a huge amount of sense for a
.pc file to depend on pkg-config: by the time you've parsed the file,
you've got pkg-config. And the versioned dependency is checked by
configure, as commit 1154794 (which added this) mentions, so if you've
compiled telepathy-glib, your pkg-config is new enough.

---

 telepathy-glib/telepathy-glib-uninstalled.pc.in |    1 -
 telepathy-glib/telepathy-glib.pc.in             |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/telepathy-glib/telepathy-glib-uninstalled.pc.in b/telepathy-glib/telepathy-glib-uninstalled.pc.in
index 932983c..3dbefb2 100644
--- a/telepathy-glib/telepathy-glib-uninstalled.pc.in
+++ b/telepathy-glib/telepathy-glib-uninstalled.pc.in
@@ -6,7 +6,6 @@ abs_top_builddir=@abs_top_builddir@
 Name: Telepathy-GLib (uninstalled copy)
 Description: GLib utility library for the Telepathy framework
 Version: @VERSION@
-Requires: pkg-config >= 0.21
 Requires.private: dbus-1 >= 0.95, dbus-glib-1 >= 0.90, glib-2.0 >= 2.30, gobject-2.0 >= 2.30, gio-2.0 >= 2.30
 Libs: ${abs_top_builddir}/telepathy-glib/libtelepathy-glib.la
 Cflags: -I${abs_top_srcdir} -I${abs_top_builddir}
diff --git a/telepathy-glib/telepathy-glib.pc.in b/telepathy-glib/telepathy-glib.pc.in
index 1c5f4b6..75ac275 100644
--- a/telepathy-glib/telepathy-glib.pc.in
+++ b/telepathy-glib/telepathy-glib.pc.in
@@ -6,7 +6,6 @@ includedir=@includedir@
 Name: Telepathy-GLib
 Description: GLib utility library for the Telepathy framework
 Version: @VERSION@
-Requires: pkg-config >= 0.21
 Requires.private: dbus-1 >= 0.95, dbus-glib-1 >= 0.90, glib-2.0 >= 2.30, gobject-2.0 >= 2.30, gio-2.0 >= 2.30
 Libs: -L${libdir} -ltelepathy-glib
 Cflags: -I${includedir}/telepathy-1.0



More information about the telepathy-commits mailing list