diff options
| -rw-r--r-- | meta/recipes-connectivity/telepathy/telepathy-glib/pkgconfig.patch | 41 | ||||
| -rw-r--r-- | meta/recipes-connectivity/telepathy/telepathy-glib_0.19.8.bb | 5 |
2 files changed, 44 insertions, 2 deletions
diff --git a/meta/recipes-connectivity/telepathy/telepathy-glib/pkgconfig.patch b/meta/recipes-connectivity/telepathy/telepathy-glib/pkgconfig.patch new file mode 100644 index 0000000000..8f0ac28328 --- /dev/null +++ b/meta/recipes-connectivity/telepathy/telepathy-glib/pkgconfig.patch | |||
| @@ -0,0 +1,41 @@ | |||
| 1 | Upstream-Status: Backport | ||
| 2 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
| 3 | |||
| 4 | From 4acc51d5b848359211bb8a00f0daa8e0bc44eb65 Mon Sep 17 00:00:00 2001 | ||
| 5 | From: Will Thompson <will.thompson@collabora.co.uk> | ||
| 6 | Date: Mon, 10 Dec 2012 14:11:05 +0000 | ||
| 7 | Subject: Remove pkg-config dependency from .pc files | ||
| 8 | |||
| 9 | This causes problems for Yocto, since they use pc files when choosing | ||
| 10 | package dependencies. It doesn't make a huge amount of sense for a | ||
| 11 | .pc file to depend on pkg-config: by the time you've parsed the file, | ||
| 12 | you've got pkg-config. And the versioned dependency is checked by | ||
| 13 | configure, as commit 1154794 (which added this) mentions, so if you've | ||
| 14 | compiled telepathy-glib, your pkg-config is new enough. | ||
| 15 | --- | ||
| 16 | diff --git a/telepathy-glib/telepathy-glib-uninstalled.pc.in b/telepathy-glib/telepathy-glib-uninstalled.pc.in | ||
| 17 | index 932983c..3dbefb2 100644 | ||
| 18 | --- a/telepathy-glib/telepathy-glib-uninstalled.pc.in | ||
| 19 | +++ b/telepathy-glib/telepathy-glib-uninstalled.pc.in | ||
| 20 | @@ -6,7 +6,6 @@ abs_top_builddir=@abs_top_builddir@ | ||
| 21 | Name: Telepathy-GLib (uninstalled copy) | ||
| 22 | Description: GLib utility library for the Telepathy framework | ||
| 23 | Version: @VERSION@ | ||
| 24 | -Requires: pkg-config >= 0.21 | ||
| 25 | 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 | ||
| 26 | Libs: ${abs_top_builddir}/telepathy-glib/libtelepathy-glib.la | ||
| 27 | Cflags: -I${abs_top_srcdir} -I${abs_top_builddir} | ||
| 28 | diff --git a/telepathy-glib/telepathy-glib.pc.in b/telepathy-glib/telepathy-glib.pc.in | ||
| 29 | index 1c5f4b6..75ac275 100644 | ||
| 30 | --- a/telepathy-glib/telepathy-glib.pc.in | ||
| 31 | +++ b/telepathy-glib/telepathy-glib.pc.in | ||
| 32 | @@ -6,7 +6,6 @@ includedir=@includedir@ | ||
| 33 | Name: Telepathy-GLib | ||
| 34 | Description: GLib utility library for the Telepathy framework | ||
| 35 | Version: @VERSION@ | ||
| 36 | -Requires: pkg-config >= 0.21 | ||
| 37 | 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 | ||
| 38 | Libs: -L${libdir} -ltelepathy-glib | ||
| 39 | Cflags: -I${includedir}/telepathy-1.0 | ||
| 40 | -- | ||
| 41 | cgit v0.9.0.2-2-gbebe | ||
diff --git a/meta/recipes-connectivity/telepathy/telepathy-glib_0.19.8.bb b/meta/recipes-connectivity/telepathy/telepathy-glib_0.19.8.bb index 6bf27b2083..370a822370 100644 --- a/meta/recipes-connectivity/telepathy/telepathy-glib_0.19.8.bb +++ b/meta/recipes-connectivity/telepathy/telepathy-glib_0.19.8.bb | |||
| @@ -3,9 +3,10 @@ DESCRIPTION = "Telepathy Framework: GLib-based helper library for connection man | |||
| 3 | HOMEPAGE = "http://telepathy.freedesktop.org/wiki/" | 3 | HOMEPAGE = "http://telepathy.freedesktop.org/wiki/" |
| 4 | DEPENDS = "glib-2.0 dbus python-native-runtime dbus-native dbus-glib" | 4 | DEPENDS = "glib-2.0 dbus python-native-runtime dbus-native dbus-glib" |
| 5 | LICENSE = "LGPLv2.1+" | 5 | LICENSE = "LGPLv2.1+" |
| 6 | PR = "r1" | 6 | PR = "r2" |
| 7 | 7 | ||
| 8 | SRC_URI = "http://telepathy.freedesktop.org/releases/telepathy-glib/${BPN}-${PV}.tar.gz" | 8 | SRC_URI = "http://telepathy.freedesktop.org/releases/telepathy-glib/${BPN}-${PV}.tar.gz \ |
| 9 | file://pkgconfig.patch" | ||
| 9 | 10 | ||
| 10 | SRC_URI[md5sum] = "ffd0953953981473fcd9c373ccb9e882" | 11 | SRC_URI[md5sum] = "ffd0953953981473fcd9c373ccb9e882" |
| 11 | SRC_URI[sha256sum] = "581682a937ee33bd4ce01e17d09b338155a79dff44925b988b0701fdbee50b20" | 12 | SRC_URI[sha256sum] = "581682a937ee33bd4ce01e17d09b338155a79dff44925b988b0701fdbee50b20" |
