diff options
Diffstat (limited to 'packages/ekiga')
-rw-r--r-- | packages/ekiga/ekiga/static-fix.diff | 45 | ||||
-rw-r--r-- | packages/ekiga/ekiga_3.0.2.bb | 21 |
2 files changed, 66 insertions, 0 deletions
diff --git a/packages/ekiga/ekiga/static-fix.diff b/packages/ekiga/ekiga/static-fix.diff new file mode 100644 index 0000000000..3c345be5c4 --- /dev/null +++ b/packages/ekiga/ekiga/static-fix.diff @@ -0,0 +1,45 @@ +--- /tmp/misc.cpp 2009-01-18 21:24:26.000000000 +0100 ++++ ekiga-3.0.2/src/gui/misc.cpp 2009-01-18 21:24:47.000000000 +0100 +@@ -75,42 +75,6 @@ + return button; + } + +- +- +-/* This function overrides from a pwlib function */ +-#ifndef STATIC_LIBS_USED +-static gboolean +-assert_error_msg (gpointer data) +-{ +- GtkWidget *main_window = NULL; +- +- main_window = GnomeMeeting::Process ()->GetMainWindow (); +- +- +- //gdk_threads_enter (); +- std::cout << "FIXME" << std::endl << std::flush; +- //FIXME Should use a signal in the runtime. +- gnomemeeting_error_dialog (GTK_WINDOW (main_window), +- _("Error"), +- "%s", (gchar *) data); +- //gdk_threads_leave (); +- +- return FALSE; +-} +- +- +-void +-PAssertFunc (G_GNUC_UNUSED const char *file, +- G_GNUC_UNUSED int line, +- G_GNUC_UNUSED const char *className, +- const char *msg) +-{ +- g_idle_add_full (G_PRIORITY_HIGH, assert_error_msg, g_strdup (msg), g_free); +-} +-#endif +- +- +- + PString + gnomemeeting_pstring_cut (PString s) + { diff --git a/packages/ekiga/ekiga_3.0.2.bb b/packages/ekiga/ekiga_3.0.2.bb new file mode 100644 index 0000000000..5c88627c44 --- /dev/null +++ b/packages/ekiga/ekiga_3.0.2.bb @@ -0,0 +1,21 @@ +DESCRIPTION = "Gnome videoconferencing application" +LICENSE = "GPLv2" + +inherit gnome +DEPENDS += " avahi libnotify eds-dbus libgnome gtkmm libsigc++-2.0 gstreamer opal ptlib" + +SRC_URI = "http://www.ekiga.org/admin/downloads/latest/sources/ekiga_${PV}/ekiga-${PV}.tar.gz \ + file://static-fix.diff;patch=1" + +EXTRA_OECONF = " --enable-static-libs --disable-gdu --disable-scrollkeeper " + +CFLAGS_append = " -DSTATIC_LIBS_USED " +CXXFLAGS_append = " -DSTATIC_LIBS_USED " + +do_configure_append() { + find ${S} -name Makefile | xargs sed -i s:'-I$(includedir)':'-I.':g + find ${S} -name Makefile | xargs sed -i s:'-I/usr/include':'-I${STAGING_INCDIR}':g +} + +FILES_${PN} += "${datadir}/dbus-1 ${datadir}/icons" + |