diff options
| -rw-r--r-- | meta/packages/telepathy/empathy-0.9/no-gnome.diff | 47 | ||||
| -rw-r--r-- | meta/packages/telepathy/empathy_0.9.bb | 17 |
2 files changed, 64 insertions, 0 deletions
diff --git a/meta/packages/telepathy/empathy-0.9/no-gnome.diff b/meta/packages/telepathy/empathy-0.9/no-gnome.diff new file mode 100644 index 0000000000..cb9208c1df --- /dev/null +++ b/meta/packages/telepathy/empathy-0.9/no-gnome.diff | |||
| @@ -0,0 +1,47 @@ | |||
| 1 | Index: src/empathy.c | ||
| 2 | =================================================================== | ||
| 3 | --- src/empathy.c.orig 2007-07-25 13:42:16.000000000 +0100 | ||
| 4 | +++ src/empathy.c 2007-07-25 13:42:47.000000000 +0100 | ||
| 5 | @@ -28,9 +28,6 @@ | ||
| 6 | #include <glib/gi18n.h> | ||
| 7 | #include <gtk/gtk.h> | ||
| 8 | |||
| 9 | -#include <libgnome/gnome-program.h> | ||
| 10 | -#include <libgnomeui/gnome-ui-init.h> | ||
| 11 | - | ||
| 12 | #include <libtelepathy/tp-conn.h> | ||
| 13 | #include <libtelepathy/tp-chan.h> | ||
| 14 | #include <libmissioncontrol/mc-account.h> | ||
| 15 | @@ -151,7 +148,6 @@ | ||
| 16 | McAccountMonitor *monitor; | ||
| 17 | EmpathyIdle *idle; | ||
| 18 | EmpathyChandler *chandler; | ||
| 19 | - GnomeProgram *program; | ||
| 20 | gboolean no_connect = FALSE; | ||
| 21 | GOptionContext *context; | ||
| 22 | GOptionEntry options[] = { | ||
| 23 | @@ -170,15 +166,7 @@ | ||
| 24 | g_option_context_add_main_entries (context, options, GETTEXT_PACKAGE); | ||
| 25 | |||
| 26 | g_set_application_name (PACKAGE_NAME); | ||
| 27 | - | ||
| 28 | - program = gnome_program_init ("empathy", | ||
| 29 | - PACKAGE_VERSION, | ||
| 30 | - LIBGNOMEUI_MODULE, | ||
| 31 | - argc, argv, | ||
| 32 | - GNOME_PROGRAM_STANDARD_PROPERTIES, | ||
| 33 | - "goption-context", context, | ||
| 34 | - GNOME_PARAM_HUMAN_READABLE_NAME, PACKAGE_NAME, | ||
| 35 | - NULL); | ||
| 36 | + gtk_init (&argc, &argv); | ||
| 37 | |||
| 38 | gtk_window_set_default_icon_name ("empathy"); | ||
| 39 | gtk_icon_theme_append_search_path (gtk_icon_theme_get_default (), | ||
| 40 | @@ -221,7 +209,6 @@ | ||
| 41 | g_object_unref (mc); | ||
| 42 | g_object_unref (idle); | ||
| 43 | g_object_unref (icon); | ||
| 44 | - g_object_unref (program); | ||
| 45 | |||
| 46 | return EXIT_SUCCESS; | ||
| 47 | } | ||
diff --git a/meta/packages/telepathy/empathy_0.9.bb b/meta/packages/telepathy/empathy_0.9.bb new file mode 100644 index 0000000000..f9f1ecabb6 --- /dev/null +++ b/meta/packages/telepathy/empathy_0.9.bb | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | DESCRIPTION = "Empathy: a Telepathy based IM client" | ||
| 2 | HOMEPAGE = "http://blogs.gnome.org/view/xclaesse/2007/04/26/0" | ||
| 3 | LICENSE = "GPL" | ||
| 4 | DEPENDS = "telepathy-mission-control libtelepathy gtk+ gconf libglade gnome-vfs" | ||
| 5 | RDEPENDS = "telepathy-mission-control" | ||
| 6 | RRECOMMENDS = "telepathy-gabble" | ||
| 7 | |||
| 8 | PR="r1" | ||
| 9 | |||
| 10 | inherit gnome gtk-icon-cache | ||
| 11 | |||
| 12 | SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/empathy/0.9/empathy-${PV}.tar.bz2 \ | ||
| 13 | file://no-gnome.diff;patch=1;pnum=0" | ||
| 14 | |||
| 15 | FILES_${PN} += "${datadir}/mission-control/profiles/*.profile \ | ||
| 16 | ${datadir}/dbus-1/services/*.service \ | ||
| 17 | ${datadir}/telepathy/managers/*.chandler" | ||
