From 8ca3683347ebd30b2cf4ba46c85e23692668fe1a Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Tue, 29 May 2007 14:24:48 +0000 Subject: Add gnome-vfs depends, update icon cache git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1807 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/packages/telepathy/empathy-0.5/no-gnome.diff | 29 ++++++++++++++++------- meta/packages/telepathy/empathy_0.5.bb | 9 ++++--- 2 files changed, 25 insertions(+), 13 deletions(-) (limited to 'meta/packages/telepathy') diff --git a/meta/packages/telepathy/empathy-0.5/no-gnome.diff b/meta/packages/telepathy/empathy-0.5/no-gnome.diff index 3246c8789d..29d6276f51 100644 --- a/meta/packages/telepathy/empathy-0.5/no-gnome.diff +++ b/meta/packages/telepathy/empathy-0.5/no-gnome.diff @@ -2,23 +2,35 @@ Index: libempathy-gtk/gossip-ui-utils.c =================================================================== --- libempathy-gtk/gossip-ui-utils.c (revision 99) +++ libempathy-gtk/gossip-ui-utils.c (working copy) -@@ -33,7 +33,6 @@ +@@ -33,7 +33,7 @@ #include #include #include -#include ++#include #include -@@ -1283,7 +1282,7 @@ - GError *error = NULL; +@@ -1280,13 +1280,14 @@ + gossip_url_show (const char *url) + { + gchar *real_url; +- GError *error = NULL; ++ GnomeVFSResult res; real_url = fixup_url (url); - gnome_url_show (real_url, &error); -+ g_warning ("TODO: gnome_url_show (real_url, &error);"); - if (error) { - g_warning ("Couldn't show URL:'%s'", real_url); - g_error_free (error); +- if (error) { +- g_warning ("Couldn't show URL:'%s'", real_url); +- g_error_free (error); ++ res = gnome_vfs_url_show (real_url); ++ if (res != GNOME_VFS_OK) { ++ g_warning ("Couldn't show URL %s: %s", ++ real_url, ++ gnome_vfs_result_to_string (res)); + } + + g_free (real_url); Index: src/empathy-chat-main.c =================================================================== --- src/empathy-chat-main.c (revision 99) @@ -117,7 +129,7 @@ Index: configure.ac =================================================================== --- configure.ac (revision 99) +++ configure.ac (working copy) -@@ -62,12 +62,12 @@ +@@ -62,12 +62,13 @@ PKG_CHECK_MODULES(EMPATHY, [ @@ -128,6 +140,7 @@ Index: configure.ac gconf-2.0 >= $GCONF_REQUIRED libglade-2.0 >= $LIBGLADE_REQUIRED - libgnomeui-2.0 ++ gnome-vfs-2.0 libtelepathy >= $TELEPATHY_REQUIRED libmissioncontrol >= $MISSION_CONTROL_REQUIRED ]) diff --git a/meta/packages/telepathy/empathy_0.5.bb b/meta/packages/telepathy/empathy_0.5.bb index 99a7873185..a9578bea30 100644 --- a/meta/packages/telepathy/empathy_0.5.bb +++ b/meta/packages/telepathy/empathy_0.5.bb @@ -1,18 +1,17 @@ DESCRIPTION = "Empathy: a Telepathy based IM client" HOMEPAGE = "http://blogs.gnome.org/view/xclaesse/2007/04/26/0" LICENSE = "GPL" -DEPENDS = "telepathy-mission-control libtelepathy gtk+ gconf libglade" +DEPENDS = "telepathy-mission-control libtelepathy gtk+ gconf libglade gnome-vfs" RDEPENDS = "telepathy-mission-control" RRECOMMENDS = "telepathy-gabble" -PR="r0" +PR="r1" -inherit gnome +inherit gnome gtk-icon-cache SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/empathy/0.5/empathy-${PV}.tar.bz2 \ file://no-gnome.diff;patch=1;pnum=0" FILES_${PN} += "${datadir}/mission-control/profiles/*.profile \ ${datadir}/dbus-1/services/*.service \ - ${datadir}/telepathy/managers/*.chandler \ - ${datadir}/icons" + ${datadir}/telepathy/managers/*.chandler" -- cgit v1.2.3-54-g00ecf