summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2014-02-16 10:36:58 +0000
committerPacho Ramos <pacho@gentoo.org>2014-02-16 10:36:58 +0000
commit9784ac740db5da301d5b04422eeb34c75e1dcc68 (patch)
treef40b9cade1ed174af32bee38059eecd414ed7036 /net-voip/sflphone
parentCleanup due #200380 (diff)
downloadgentoo-2-9784ac740db5da301d5b04422eeb34c75e1dcc68.tar.gz
gentoo-2-9784ac740db5da301d5b04422eeb34c75e1dcc68.tar.bz2
gentoo-2-9784ac740db5da301d5b04422eeb34c75e1dcc68.zip
Cleanup due #200380
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
Diffstat (limited to 'net-voip/sflphone')
-rw-r--r--net-voip/sflphone/ChangeLog15
-rw-r--r--net-voip/sflphone/files/sflphone-0.9.12-libnotify-0.7.patch34
-rw-r--r--net-voip/sflphone/files/sflphone-0.9.8.4-libnotify-0.7.patch34
-rw-r--r--net-voip/sflphone/files/sflphone-1.0.1-glib-2.32-headers-1.patch26
-rw-r--r--net-voip/sflphone/files/sflphone-1.0.1-glib-2.32-headers-2.patch138
-rw-r--r--net-voip/sflphone/files/sflphone-1.0.1-glib-2.32-headers-3.patch317
-rw-r--r--net-voip/sflphone/files/sflphone-1.0.1-pjsip-1.14.patch110
-rw-r--r--net-voip/sflphone/metadata.xml4
-rw-r--r--net-voip/sflphone/sflphone-0.9.8.4.ebuild149
-rw-r--r--net-voip/sflphone/sflphone-1.2.2.ebuild176
10 files changed, 13 insertions, 990 deletions
diff --git a/net-voip/sflphone/ChangeLog b/net-voip/sflphone/ChangeLog
index 3409080305f6..c27774253fcd 100644
--- a/net-voip/sflphone/ChangeLog
+++ b/net-voip/sflphone/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for net-voip/sflphone
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-voip/sflphone/ChangeLog,v 1.15 2013/08/03 16:13:58 elvanor Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-voip/sflphone/ChangeLog,v 1.16 2014/02/16 10:36:57 pacho Exp $
+
+ 16 Feb 2014; Pacho Ramos <pacho@gentoo.org>
+ -files/sflphone-0.9.12-libnotify-0.7.patch,
+ -files/sflphone-0.9.8.4-libnotify-0.7.patch,
+ -files/sflphone-1.0.1-glib-2.32-headers-1.patch,
+ -files/sflphone-1.0.1-glib-2.32-headers-2.patch,
+ -files/sflphone-1.0.1-glib-2.32-headers-3.patch,
+ -files/sflphone-1.0.1-pjsip-1.14.patch, -sflphone-0.9.8.4.ebuild,
+ -sflphone-1.2.2.ebuild, metadata.xml:
+ Cleanup due #200380
*sflphone-1.2.3 (03 Aug 2013)
@@ -69,4 +79,3 @@
06 Sep 2010; <elvanor@gentoo.org> +sflphone-0.9.8.4.ebuild, +metadata.xml:
Initial import from bug #293399. Credits goes to Atman Sense.
-
diff --git a/net-voip/sflphone/files/sflphone-0.9.12-libnotify-0.7.patch b/net-voip/sflphone/files/sflphone-0.9.12-libnotify-0.7.patch
deleted file mode 100644
index 20fa9c97da15..000000000000
--- a/net-voip/sflphone/files/sflphone-0.9.12-libnotify-0.7.patch
+++ /dev/null
@@ -1,34 +0,0 @@
---- sflphone-client-gnome/src/sflnotify.c
-+++ sflphone-client-gnome/src/sflnotify.c
-@@ -31,6 +31,10 @@
- #include "sflnotify.h"
- #include <eel-gconf-extensions.h>
-
-+#ifndef NOTIFY_CHECK_VERSION
-+#define NOTIFY_CHECK_VERSION(x,y,z) 0
-+#endif
-+
- GnomeNotification *_gnome_notification;
-
- void create_new_gnome_notification (gchar *title, gchar *body, NotifyUrgency urgency, gint timeout, GnomeNotification **notif)
-@@ -44,12 +48,20 @@
- notify_init ("SFLphone");
-
- // Set struct fields
-+#if NOTIFY_CHECK_VERSION (0, 7, 0)
-+ _notif->notification = notify_notification_new (title, body, NULL);
-+#else
- _notif->notification = notify_notification_new (title, body, NULL, NULL);
-+#endif
- //_notif->icon = gdk_pixbuf_new_from_file_at_size (LOGO, 120, 120, NULL);
- _notif->icon = gdk_pixbuf_new_from_file (LOGO_SMALL, NULL);
- #if GTK_CHECK_VERSION(2,10,0)
-+#if NOTIFY_CHECK_VERSION (0, 7, 0)
-+ // notify_notification_attach_to_status_icon function was removed
-+#else
- notify_notification_attach_to_status_icon (_notif->notification , get_status_icon());
- #endif
-+#endif
-
- notify_notification_set_urgency (_notif->notification, urgency);
-
diff --git a/net-voip/sflphone/files/sflphone-0.9.8.4-libnotify-0.7.patch b/net-voip/sflphone/files/sflphone-0.9.8.4-libnotify-0.7.patch
deleted file mode 100644
index 90648e3498fd..000000000000
--- a/net-voip/sflphone/files/sflphone-0.9.8.4-libnotify-0.7.patch
+++ /dev/null
@@ -1,34 +0,0 @@
---- sflphone-client-gnome/src/sflnotify.c
-+++ sflphone-client-gnome/src/sflnotify.c
-@@ -30,6 +30,10 @@
-
- #include <sflnotify.h>
-
-+#ifndef NOTIFY_CHECK_VERSION
-+#define NOTIFY_CHECK_VERSION(x,y,z) 0
-+#endif
-+
- GnomeNotification *_gnome_notification;
-
- void create_new_gnome_notification (gchar *title, gchar *body, NotifyUrgency urgency, gint timeout, GnomeNotification **notif)
-@@ -43,12 +47,20 @@
- notify_init ("SFLphone");
-
- // Set struct fields
-+#if NOTIFY_CHECK_VERSION (0, 7, 0)
-+ _notif->notification = notify_notification_new (title, body, NULL);
-+#else
- _notif->notification = notify_notification_new (title, body, NULL, NULL);
-+#endif
- //_notif->icon = gdk_pixbuf_new_from_file_at_size (LOGO, 120, 120, NULL);
- _notif->icon = gdk_pixbuf_new_from_file (LOGO_SMALL, NULL);
- #if GTK_CHECK_VERSION(2,10,0)
-+#if NOTIFY_CHECK_VERSION (0, 7, 0)
-+ // notify_notification_attach_to_status_icon function was removed
-+#else
- notify_notification_attach_to_status_icon (_notif->notification , get_status_icon() );
- #endif
-+#endif
-
- notify_notification_set_urgency (_notif->notification, urgency);
-
diff --git a/net-voip/sflphone/files/sflphone-1.0.1-glib-2.32-headers-1.patch b/net-voip/sflphone/files/sflphone-1.0.1-glib-2.32-headers-1.patch
deleted file mode 100644
index 683bd9a29c68..000000000000
--- a/net-voip/sflphone/files/sflphone-1.0.1-glib-2.32-headers-1.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 3ed300124a425d43ee627ff35b35aa1168ba01d0 Mon Sep 17 00:00:00 2001
-From: Tristan Matthews <tristan.matthews@savoirfairelinux.com>
-Date: Tue, 6 Mar 2012 10:19:59 -0500
-Subject: [PATCH] * #9144: Fixes "Only <glib.h> can be included directly"
- error
-
----
- plugins/addressbook/evolution/eds.h | 2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
-
-diff --git a/plugins/addressbook/evolution/eds.h b/plugins/addressbook/evolution/eds.h
-index 0ce1783..5bbf71e 100644
---- a/plugins/addressbook/evolution/eds.h
-+++ b/plugins/addressbook/evolution/eds.h
-@@ -38,7 +38,7 @@
- #ifndef __EDS_H__
- #define __EDS_H__
-
--#include <glib/gtypes.h>
-+#include <glib.h>
- #include <gdk-pixbuf/gdk-pixbuf.h>
- #include <libebook/e-book.h>
-
---
-1.7.8.6
-
diff --git a/net-voip/sflphone/files/sflphone-1.0.1-glib-2.32-headers-2.patch b/net-voip/sflphone/files/sflphone-1.0.1-glib-2.32-headers-2.patch
deleted file mode 100644
index aa6645ab3987..000000000000
--- a/net-voip/sflphone/files/sflphone-1.0.1-glib-2.32-headers-2.patch
+++ /dev/null
@@ -1,138 +0,0 @@
-From 585ee2588599e295273721418db3bf4d54dd053a Mon Sep 17 00:00:00 2001
-From: Tristan Matthews <tristan.matthews@savoirfairelinux.com>
-Date: Tue, 6 Mar 2012 10:55:47 -0500
-Subject: [PATCH] * #9145: fix "only <glib.h>" can be included error in gnome
- client
-
----
- gnome/src/actions.c | 2 +-
- gnome/src/conference_obj.h | 2 +-
- gnome/src/config/addressbook-config.h | 2 +-
- gnome/src/config/hooks-config.h | 2 +-
- gnome/src/config/shortcuts-config.h | 2 +-
- gnome/src/eel-gconf-extensions.c | 2 +-
- gnome/src/eel-gconf-extensions.h | 2 +-
- gnome/src/sflphone_const.h | 2 +-
- gnome/src/uimanager.c | 2 +-
- 9 files changed, 9 insertions(+), 9 deletions(-)
-
-diff --git a/gnome/src/actions.c b/gnome/src/actions.c
-index 0520be8..abdbddd 100644
---- a/gnome/src/actions.c
-+++ b/gnome/src/actions.c
-@@ -36,7 +36,7 @@
- #else
- #include <gdk/gdkkeysyms.h>
- #endif
--#include <glib/gprintf.h>
-+#include <glib.h>
- #include <stdlib.h>
- #include <string.h>
- #include <sys/types.h>
-diff --git a/gnome/src/conference_obj.h b/gnome/src/conference_obj.h
-index e7f0e3a..0e17bad 100644
---- a/gnome/src/conference_obj.h
-+++ b/gnome/src/conference_obj.h
-@@ -32,7 +32,7 @@
- #define __CONFERENCE_OBJ_H__
-
- #include <gtk/gtk.h>
--#include <glib/gprintf.h>
-+#include <glib.h>
- #include <stdlib.h>
- #include <time.h>
-
-diff --git a/gnome/src/config/addressbook-config.h b/gnome/src/config/addressbook-config.h
-index cb10260..cd7a9ac 100644
---- a/gnome/src/config/addressbook-config.h
-+++ b/gnome/src/config/addressbook-config.h
-@@ -32,7 +32,7 @@
- #define _ADDRESS_BOOK_CONFIG
-
- #include <gtk/gtk.h>
--#include <glib/gtypes.h>
-+#include <glib.h>
-
- #include "addressbook.h"
- #include "actions.h"
-diff --git a/gnome/src/config/hooks-config.h b/gnome/src/config/hooks-config.h
-index 6f51be9..e35a5b9 100644
---- a/gnome/src/config/hooks-config.h
-+++ b/gnome/src/config/hooks-config.h
-@@ -32,7 +32,7 @@
- #define _HOOKS_CONFIG
-
- #include <gtk/gtk.h>
--#include <glib/gtypes.h>
-+#include <glib.h>
-
- #include "actions.h"
- #include "utils.h"
-diff --git a/gnome/src/config/shortcuts-config.h b/gnome/src/config/shortcuts-config.h
-index abcb424..123cb9c 100644
---- a/gnome/src/config/shortcuts-config.h
-+++ b/gnome/src/config/shortcuts-config.h
-@@ -32,7 +32,7 @@
- #define _SHORTCUTS_CONFIG
-
- #include <gtk/gtk.h>
--#include <glib/gtypes.h>
-+#include <glib.h>
-
- #include "actions.h"
- #include <utils.h>
-diff --git a/gnome/src/eel-gconf-extensions.c b/gnome/src/eel-gconf-extensions.c
-index c1947f2..4631981 100644
---- a/gnome/src/eel-gconf-extensions.c
-+++ b/gnome/src/eel-gconf-extensions.c
-@@ -29,7 +29,7 @@
- #include <gconf/gconf-client.h>
- #include <gconf/gconf.h>
- #include <gtk/gtk.h>
--#include <glib/gi18n.h>
-+#include <glib.h>
-
- static GConfClient *global_gconf_client = NULL;
-
-diff --git a/gnome/src/eel-gconf-extensions.h b/gnome/src/eel-gconf-extensions.h
-index 0068b15..d380387 100644
---- a/gnome/src/eel-gconf-extensions.h
-+++ b/gnome/src/eel-gconf-extensions.h
-@@ -25,7 +25,7 @@
- #ifndef EEL_GCONF_EXTENSIONS_H
- #define EEL_GCONF_EXTENSIONS_H
-
--#include <glib/gerror.h>
-+#include <glib.h>
- #include <gconf/gconf.h>
- #include <gconf/gconf-client.h>
-
-diff --git a/gnome/src/sflphone_const.h b/gnome/src/sflphone_const.h
-index 3766562..e642e0a 100644
---- a/gnome/src/sflphone_const.h
-+++ b/gnome/src/sflphone_const.h
-@@ -32,7 +32,7 @@
- #define __SFLPHONE_CONST_H
-
- #include <libintl.h>
--#include <glib/gi18n.h>
-+#include <glib.h>
-
- /* @file sflphone_const.h
- * @brief Contains the global variables for the client code
-diff --git a/gnome/src/uimanager.c b/gnome/src/uimanager.c
-index 36eb623..2953156 100644
---- a/gnome/src/uimanager.c
-+++ b/gnome/src/uimanager.c
-@@ -36,7 +36,7 @@
- #include "assistant.h"
- #include <gtk/gtk.h>
- #include <string.h>
--#include <glib/gprintf.h>
-+#include <glib.h>
-
- #include "uimanager.h"
- #include "statusicon.h"
---
-1.7.8.6
-
diff --git a/net-voip/sflphone/files/sflphone-1.0.1-glib-2.32-headers-3.patch b/net-voip/sflphone/files/sflphone-1.0.1-glib-2.32-headers-3.patch
deleted file mode 100644
index 4eb8c86c9e49..000000000000
--- a/net-voip/sflphone/files/sflphone-1.0.1-glib-2.32-headers-3.patch
+++ /dev/null
@@ -1,317 +0,0 @@
-From 733be9d1efbd5b146ed9d48df31561dcfc1379c9 Mon Sep 17 00:00:00 2001
-From: Tristan Matthews <tristan.matthews@savoirfairelinux.com>
-Date: Fri, 9 Mar 2012 16:48:34 -0500
-Subject: [PATCH] * #9145: fix missing <glib/gi18n.h> includes
-
----
- gnome/src/accountlist.c | 1 +
- gnome/src/actions.c | 1 +
- gnome/src/callable_obj.c | 1 +
- gnome/src/config/accountconfigdialog.c | 1 +
- gnome/src/config/accountlistconfigdialog.c | 1 +
- gnome/src/config/addressbook-config.c | 1 +
- gnome/src/config/assistant.c | 2 +-
- gnome/src/config/audioconf.c | 2 +-
- gnome/src/config/hooks-config.c | 1 +
- gnome/src/config/preferencesdialog.c | 1 +
- gnome/src/config/shortcuts-config.c | 1 +
- gnome/src/config/tlsadvanceddialog.c | 2 +-
- gnome/src/config/zrtpadvanceddialog.c | 8 ++++----
- gnome/src/contacts/searchbar.c | 1 +
- gnome/src/dbus/dbus.c | 2 +-
- gnome/src/eel-gconf-extensions.c | 3 ++-
- gnome/src/main.c | 1 +
- gnome/src/mainwindow.c | 1 +
- gnome/src/sflnotify.c | 2 ++
- gnome/src/sliders.c | 1 +
- gnome/src/statusicon.c | 1 +
- gnome/src/uimanager.c | 3 ++-
- 22 files changed, 28 insertions(+), 10 deletions(-)
-
-diff --git a/gnome/src/accountlist.c b/gnome/src/accountlist.c
-index 662c7bc..803e3d3 100644
---- a/gnome/src/accountlist.c
-+++ b/gnome/src/accountlist.c
-@@ -29,6 +29,7 @@
- * as that of the covered work.
- */
-
-+#include <glib/gi18n.h>
- #include "accountlist.h"
- #include "actions.h"
- #include "unused.h"
-diff --git a/gnome/src/actions.c b/gnome/src/actions.c
-index abdbddd..29dca07 100644
---- a/gnome/src/actions.c
-+++ b/gnome/src/actions.c
-@@ -29,6 +29,7 @@
- * as that of the covered work.
- */
-
-+#include <glib/gi18n.h>
- #include <gtk/gtk.h>
- /* Backward compatibility for gtk < 2.22.0 */
- #if GTK_CHECK_VERSION(2,22,0)
-diff --git a/gnome/src/callable_obj.c b/gnome/src/callable_obj.c
-index 83449c6..c16d951 100644
---- a/gnome/src/callable_obj.c
-+++ b/gnome/src/callable_obj.c
-@@ -32,6 +32,7 @@
- #include "codeclist.h"
- #include "sflphone_const.h"
- #include <time.h>
-+#include <glib/gi18n.h>
- #include "contacts/calltab.h"
- #include "contacts/calltree.h"
- #include "dbus.h"
-diff --git a/gnome/src/config/accountconfigdialog.c b/gnome/src/config/accountconfigdialog.c
-index c623595..7c2de3f 100644
---- a/gnome/src/config/accountconfigdialog.c
-+++ b/gnome/src/config/accountconfigdialog.c
-@@ -31,6 +31,7 @@
- * as that of the covered work.
- */
-
-+#include <glib/gi18n.h>
- #include <sys/socket.h>
- #include <sys/ioctl.h>
- #include <net/if.h>
-diff --git a/gnome/src/config/accountlistconfigdialog.c b/gnome/src/config/accountlistconfigdialog.c
-index aa8db7a..151f067 100644
---- a/gnome/src/config/accountlistconfigdialog.c
-+++ b/gnome/src/config/accountlistconfigdialog.c
-@@ -38,6 +38,7 @@
- #include "utils.h"
- #include "unused.h"
- #include "logger.h"
-+#include <glib/gi18n.h>
- #include <string.h>
-
- static const int CONTEXT_ID_REGISTRATION = 0;
-diff --git a/gnome/src/config/addressbook-config.c b/gnome/src/config/addressbook-config.c
-index 4c56da2..8e9c64e 100644
---- a/gnome/src/config/addressbook-config.c
-+++ b/gnome/src/config/addressbook-config.c
-@@ -34,6 +34,7 @@
- #include "logger.h"
- #include "searchbar.h"
- #include "contacts/addrbookfactory.h"
-+#include <glib/gi18n.h>
- #include <string.h>
- #include <stdlib.h>
-
-diff --git a/gnome/src/config/assistant.c b/gnome/src/config/assistant.c
-index 8ca0021..202767e 100644
---- a/gnome/src/config/assistant.c
-+++ b/gnome/src/config/assistant.c
-@@ -29,7 +29,7 @@
- */
-
- #include <string.h>
--
-+#include <glib/gi18n.h>
- #include "unused.h"
- #include "assistant.h"
- #include "logger.h"
-diff --git a/gnome/src/config/audioconf.c b/gnome/src/config/audioconf.c
-index c7dfe38..3bfbad9 100644
---- a/gnome/src/config/audioconf.c
-+++ b/gnome/src/config/audioconf.c
-@@ -28,7 +28,7 @@
- * as that of the covered work.
- */
-
--
-+#include <glib/gi18n.h>
- #include "audioconf.h"
- #include "utils.h"
- #include "logger.h"
-diff --git a/gnome/src/config/hooks-config.c b/gnome/src/config/hooks-config.c
-index 2b3e9e8..8a2b419 100644
---- a/gnome/src/config/hooks-config.c
-+++ b/gnome/src/config/hooks-config.c
-@@ -28,6 +28,7 @@
- * as that of the covered work.
- */
-
-+#include <glib/gi18n.h>
- #include "hooks-config.h"
- #include "dbus.h"
-
-diff --git a/gnome/src/config/preferencesdialog.c b/gnome/src/config/preferencesdialog.c
-index 3bd5057..10b11ca 100644
---- a/gnome/src/config/preferencesdialog.c
-+++ b/gnome/src/config/preferencesdialog.c
-@@ -32,6 +32,7 @@
- * as that of the covered work.
- */
-
-+#include <glib/gi18n.h>
- #include <gtk/gtk.h>
- #include <stdlib.h>
- #include <stdio.h>
-diff --git a/gnome/src/config/shortcuts-config.c b/gnome/src/config/shortcuts-config.c
-index caa354a..f77b2e0 100644
---- a/gnome/src/config/shortcuts-config.c
-+++ b/gnome/src/config/shortcuts-config.c
-@@ -28,6 +28,7 @@
- * as that of the covered work.
- */
-
-+#include <glib/gi18n.h>
- #include <gdk/gdk.h>
- #include "shortcuts-config.h"
- #include "shortcuts.h"
-diff --git a/gnome/src/config/tlsadvanceddialog.c b/gnome/src/config/tlsadvanceddialog.c
-index 3d6c118..59052ea 100644
---- a/gnome/src/config/tlsadvanceddialog.c
-+++ b/gnome/src/config/tlsadvanceddialog.c
-@@ -32,7 +32,7 @@
- #include <sflphone_const.h>
- #include <utils.h>
- #include <dbus.h>
--
-+#include <glib/gi18n.h>
- #include <gtk/gtk.h>
- #include <math.h>
-
-diff --git a/gnome/src/config/zrtpadvanceddialog.c b/gnome/src/config/zrtpadvanceddialog.c
-index e50898a..fe4589b 100644
---- a/gnome/src/config/zrtpadvanceddialog.c
-+++ b/gnome/src/config/zrtpadvanceddialog.c
-@@ -28,11 +28,11 @@
- * as that of the covered work.
- */
-
--#include <zrtpadvanceddialog.h>
--#include <sflphone_const.h>
--#include <utils.h>
--
-+#include <glib/gi18n.h>
- #include <gtk/gtk.h>
-+#include <zrtpadvanceddialog.h>
-+#include "sflphone_const.h"
-+#include "utils.h"
-
- void show_advanced_zrtp_options(GHashTable * properties)
- {
-diff --git a/gnome/src/contacts/searchbar.c b/gnome/src/contacts/searchbar.c
-index e48efaf..1ac515b 100644
---- a/gnome/src/contacts/searchbar.c
-+++ b/gnome/src/contacts/searchbar.c
-@@ -31,6 +31,7 @@
- * as that of the covered work.
- */
-
-+#include <glib/gi18n.h>
- #include "searchbar.h"
- #include "calltree.h"
- #include "calltab.h"
-diff --git a/gnome/src/dbus/dbus.c b/gnome/src/dbus/dbus.c
-index 91241f5..957ae5a 100644
---- a/gnome/src/dbus/dbus.c
-+++ b/gnome/src/dbus/dbus.c
-@@ -30,7 +30,7 @@
- * as that of the covered work.
- */
- #include "config.h"
--
-+#include <glib/gi18n.h>
- #include "logger.h"
- #include "calltab.h"
- #include "callmanager-glue.h"
-diff --git a/gnome/src/eel-gconf-extensions.c b/gnome/src/eel-gconf-extensions.c
-index 4631981..c24251a 100644
---- a/gnome/src/eel-gconf-extensions.c
-+++ b/gnome/src/eel-gconf-extensions.c
-@@ -22,8 +22,9 @@
- Authors: Ramiro Estrugo <ramiro@eazel.com>
- */
-
--#include <stdlib.h>
- #include "config.h"
-+#include <glib/gi18n.h>
-+#include <stdlib.h>
- #include "eel-gconf-extensions.h"
-
- #include <gconf/gconf-client.h>
-diff --git a/gnome/src/main.c b/gnome/src/main.c
-index 7af5078..8a08c4e 100644
---- a/gnome/src/main.c
-+++ b/gnome/src/main.c
-@@ -36,6 +36,7 @@
- #include "mainwindow.h"
- #include "statusicon.h"
- #include "eel-gconf-extensions.h"
-+#include <glib/gi18n.h>
- #include <gtk/gtk.h>
- #include <stdlib.h>
-
-diff --git a/gnome/src/mainwindow.c b/gnome/src/mainwindow.c
-index 3b14c6a..e41def4 100644
---- a/gnome/src/mainwindow.c
-+++ b/gnome/src/mainwindow.c
-@@ -50,6 +50,7 @@
-
- #include "eel-gconf-extensions.h"
-
-+#include <glib/gi18n.h>
- #include <sys/stat.h>
- #include <gtk/gtk.h>
-
-diff --git a/gnome/src/sflnotify.c b/gnome/src/sflnotify.c
-index 8dd5ed0..44eee7e 100644
---- a/gnome/src/sflnotify.c
-+++ b/gnome/src/sflnotify.c
-@@ -29,6 +29,8 @@
- */
-
- #include "config.h"
-+#include <glib.h>
-+#include <glib/gi18n.h>
- #include "eel-gconf-extensions.h"
- #include "sflnotify.h"
- #include "logger.h"
-diff --git a/gnome/src/sliders.c b/gnome/src/sliders.c
-index 4a2fdd8..ab3e40f 100644
---- a/gnome/src/sliders.c
-+++ b/gnome/src/sliders.c
-@@ -28,6 +28,7 @@
- * as that of the covered work.
- */
-
-+#include <glib/gi18n.h>
- #include "sliders.h"
- #include "dbus/dbus.h"
- #include "actions.h"
-diff --git a/gnome/src/statusicon.c b/gnome/src/statusicon.c
-index 2fe79ee..b94864c 100644
---- a/gnome/src/statusicon.c
-+++ b/gnome/src/statusicon.c
-@@ -29,6 +29,7 @@
- * as that of the covered work.
- */
-
-+#include <glib/gi18n.h>
- #include <gtk/gtk.h>
- #include "actions.h"
- #include "mainwindow.h"
-diff --git a/gnome/src/uimanager.c b/gnome/src/uimanager.c
-index 2953156..0ddac4b 100644
---- a/gnome/src/uimanager.c
-+++ b/gnome/src/uimanager.c
-@@ -34,9 +34,10 @@
- #include "dbus/dbus.h"
- #include "mainwindow.h"
- #include "assistant.h"
-+#include <glib.h>
-+#include <glib/gi18n.h>
- #include <gtk/gtk.h>
- #include <string.h>
--#include <glib.h>
-
- #include "uimanager.h"
- #include "statusicon.h"
---
-1.7.8.6
-
diff --git a/net-voip/sflphone/files/sflphone-1.0.1-pjsip-1.14.patch b/net-voip/sflphone/files/sflphone-1.0.1-pjsip-1.14.patch
deleted file mode 100644
index aa16bcab29fe..000000000000
--- a/net-voip/sflphone/files/sflphone-1.0.1-pjsip-1.14.patch
+++ /dev/null
@@ -1,110 +0,0 @@
-From 0d66570e26c6bd728d00d251e592a4154c0c9d1c Mon Sep 17 00:00:00 2001
-From: Alexandre Savard <alexandre.savard@savoirfairelinux.com>
-Date: Mon, 30 Jul 2012 12:12:45 -0400
-Subject: [PATCH] #13961: Fix cipher handling to be compatible with pjsip
- 1.14.2
-
-[Alexandre Rostovtsev <tetromino@gentoo.org>: backport to 1.0.1]
----
- daemon/src/sip/sipaccount.cpp | 24 ++++++++++++++++++++----
- daemon/src/sip/sipaccount.h | 7 +++++++
- 2 files changed, 27 insertions(+), 4 deletions(-)
-
-diff --git a/daemon/src/sip/sipaccount.cpp b/daemon/src/sip/sipaccount.cpp
-index fdd4634..44d169f 100644
---- a/daemon/src/sip/sipaccount.cpp
-+++ b/daemon/src/sip/sipaccount.cpp
-@@ -55,6 +55,7 @@ SIPAccount::SIPAccount(const std::string& accountID)
- , transportType_(PJSIP_TRANSPORT_UNSPECIFIED)
- , cred_(NULL)
- , tlsSetting_()
-+ , ciphers(100)
- , stunServerName_()
- , stunPort_(0)
- , dtmfType_(OVERRTP)
-@@ -145,7 +146,7 @@ void SIPAccount::serialize(Conf::YamlEmitter *emitter)
- Conf::ScalarNode tlsport(portstr.str());
- Conf::ScalarNode certificate(tlsCertificateFile_);
- Conf::ScalarNode calist(tlsCaListFile_);
-- Conf::ScalarNode ciphers(tlsCiphers_);
-+ Conf::ScalarNode ciphersNode(tlsCiphers_);
- Conf::ScalarNode tlsenabled(tlsEnable_);
- Conf::ScalarNode tlsmethod(tlsMethod_);
- Conf::ScalarNode timeout(tlsNegotiationTimeoutSec_);
-@@ -207,7 +208,7 @@ void SIPAccount::serialize(Conf::YamlEmitter *emitter)
- tlsmap.setKeyValue(tlsPortKey, &tlsport);
- tlsmap.setKeyValue(certificateKey, &certificate);
- tlsmap.setKeyValue(calistKey, &calist);
-- tlsmap.setKeyValue(ciphersKey, &ciphers);
-+ tlsmap.setKeyValue(ciphersKey, &ciphersNode);
- tlsmap.setKeyValue(tlsEnableKey, &tlsenabled);
- tlsmap.setKeyValue(methodKey, &tlsmethod);
- tlsmap.setKeyValue(timeoutKey, &timeout);
-@@ -586,6 +587,18 @@ pjsip_ssl_method SIPAccount::sslMethodStringToPjEnum(const std::string& method)
-
- void SIPAccount::initTlsConfiguration()
- {
-+ pj_status_t status;
-+ unsigned cipherNum;
-+
-+ // Determine the cipher list supported on this machine
-+ cipherNum = PJ_ARRAY_SIZE(ciphers);
-+ status = pj_ssl_cipher_get_availables(&ciphers.front(), &cipherNum);
-+ if (status != PJ_SUCCESS) {
-+ ERROR("Could not determine cipher list on this system");
-+ }
-+
-+ ciphers.resize(cipherNum);
-+
- // TLS listener is unique and should be only modified through IP2IP_PROFILE
- tlsListenerPort_ = tlsPort_;
-
-@@ -596,8 +609,8 @@ void SIPAccount::initTlsConfiguration()
- pj_cstr(&tlsSetting_.privkey_file, tlsPrivateKeyFile_.c_str());
- pj_cstr(&tlsSetting_.password, tlsPassword_.c_str());
- tlsSetting_.method = sslMethodStringToPjEnum(tlsMethod_);
-- pj_cstr(&tlsSetting_.ciphers, tlsCiphers_.c_str());
-- pj_cstr(&tlsSetting_.server_name, tlsServerName_.c_str());
-+ tlsSetting_.ciphers_num = ciphers.size();
-+ tlsSetting_.ciphers = &ciphers.front();
-
- tlsSetting_.verify_server = tlsVerifyServer_ ? PJ_TRUE: PJ_FALSE;
- tlsSetting_.verify_client = tlsVerifyClient_ ? PJ_TRUE: PJ_FALSE;
-@@ -605,6 +618,9 @@ void SIPAccount::initTlsConfiguration()
-
- tlsSetting_.timeout.sec = atol(tlsNegotiationTimeoutSec_.c_str());
- tlsSetting_.timeout.msec = atol(tlsNegotiationTimeoutMsec_.c_str());
-+
-+ tlsSetting_.qos_type = PJ_QOS_TYPE_BEST_EFFORT;
-+ tlsSetting_.qos_ignore_error = PJ_TRUE;
- }
-
- void SIPAccount::initStunConfiguration()
-diff --git a/daemon/src/sip/sipaccount.h b/daemon/src/sip/sipaccount.h
-index 076fe60..7c2af13 100644
---- a/daemon/src/sip/sipaccount.h
-+++ b/daemon/src/sip/sipaccount.h
-@@ -43,6 +43,8 @@
- #include "pjsip-ua/sip_regc.h"
- #include "noncopyable.h"
-
-+typedef std::vector<pj_ssl_cipher> CipherArray;
-+
- namespace Conf {
- class YamlEmitter;
- class MappingNode;
-@@ -478,6 +480,11 @@ class SIPAccount : public Account {
- // a sip transport.
- pjsip_tls_setting tlsSetting_;
-
-+ /**
-+ * Allocate a static array to be used by pjsip to store the supported ciphers on this system.
-+ */
-+ CipherArray ciphers;
-+
- // The STUN server name, if applicable for internal use only
- pj_str_t stunServerName_;
-
---
-1.7.8.6
-
diff --git a/net-voip/sflphone/metadata.xml b/net-voip/sflphone/metadata.xml
index 946d6f8cae53..c5fc24eef2ec 100644
--- a/net-voip/sflphone/metadata.xml
+++ b/net-voip/sflphone/metadata.xml
@@ -2,14 +2,12 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
- <email>elvanor@gentoo.org</email>
- <name>Jean-Noël Rivasseau</name>
+ <email>maintainer-needed@gentoo.org</email>
</maintainer>
<longdescription>
SFLphone is a robust standards-compliant enterprise softphone, for desktop and embedded systems. It is designed to handle several hundreds of calls a day. SFLphone is available under the GNU GPL license, version 3.
</longdescription>
<use>
<flag name="doxygen">Support for building documentation with doxygen</flag>
- <flag name="iax">Support for IAX (Inter Asterisk eXchange)</flag>
</use>
</pkgmetadata>
diff --git a/net-voip/sflphone/sflphone-0.9.8.4.ebuild b/net-voip/sflphone/sflphone-0.9.8.4.ebuild
deleted file mode 100644
index 99920399d3f5..000000000000
--- a/net-voip/sflphone/sflphone-0.9.8.4.ebuild
+++ /dev/null
@@ -1,149 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-voip/sflphone/sflphone-0.9.8.4.ebuild,v 1.7 2011/03/21 23:20:39 nirbheek Exp $
-
-EAPI="2"
-
-inherit autotools eutils
-
-DESCRIPTION="SFLphone is a robust standards-compliant enterprise softphone, for desktop and embedded systems."
-HOMEPAGE="http://www.sflphone.org/"
-SRC_URI="http://www.elvanor.net/files/gentoo/${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 x86"
-IUSE="debug gnome gsm iax networkmanager speex"
-
-CDEPEND="media-sound/pulseaudio
- media-libs/libsamplerate
- net-libs/ccrtp
- net-libs/libzrtpcpp
- net-libs/pjsip
- dev-cpp/commoncpp2
- sys-apps/dbus
- dev-libs/openssl
- dev-libs/expat
- media-libs/alsa-lib
- media-libs/celt
- dev-libs/libpcre
- gsm? ( media-sound/gsm )
- speex? ( media-libs/speex )
- networkmanager? ( net-misc/networkmanager )
- iax? ( net-libs/iax )
- gnome? ( dev-libs/atk
- dev-libs/check
- dev-libs/log4c
- gnome-base/libgnomeui
- gnome-base/orbit:2
- gnome-extra/evolution-data-server
- media-libs/libart_lgpl
- media-libs/freetype
- media-libs/fontconfig
- net-libs/libsoup:2.4
- x11-libs/cairo
- x11-libs/libnotify
- x11-libs/libICE
- x11-libs/libSM )"
-
-DEPEND="${CDEPEND}
- gnome? ( app-text/gnome-doc-utils )"
-
-RDEPEND="${CDEPEND}"
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-libnotify-0.7.patch
-
- if ! use gnome; then
- ewarn
- ewarn "No clients selected. Use USE=gnome to get the gnome client."
- ewarn "See"
- ewarn "https://projects.savoirfairelinux.com/repositories/browse/sflphone/tools/pysflphone"
- ewarn "for a python command line client."
- ewarn
- fi
-
- cd sflphone-common
- #remove "target" from lib-names, remove dep to shipped pjsip
- sed -i -e 's/-$(target)//' \
- -e '/^\t\t\t-L/ d' \
- -e 's!-I$(src)/libs/pjproject!-I/usr/include!' \
- globals.mak || die "sed failed."
- #respect CXXFLAGS
- sed -i -e 's/CXXFLAGS="-g/CXXFLAGS="-g $CXXFLAGS /' \
- configure.ac || die "sed failed."
- rm -r libs/pjproject
- eautoreconf
-
- #TODO: remove shipped dbus-c++ use system one (see #220767)
- #TODO: remove shipped utilspp (from curlpp), use system one, see #55185
-
- if use gnome; then
- cd ../sflphone-client-gnome
- #fix as-needed
- sed -i -e "s/X11_LIBS)/X11_LIBS) -lebook-1.2/" src/Makefile.am || die "sed failed."
- eautoreconf
- fi
-}
-
-src_configure() {
- cd sflphone-common
- econf --disable-dependency-tracking \
- $(use_with debug) \
- $(use_with gsm) \
- $(use_with speex) \
- $(use_with iax iax2) \
- $(use_with networkmanager) || die "econf failed."
-
- if use gnome; then
- cd ../sflphone-client-gnome
- econf || die "econf failed."
- fi
-}
-
-src_compile() {
- cd sflphone-common
- emake || die "emake failed."
-
- if use gnome; then
- cd ../sflphone-client-gnome
- emake || die "emake failed."
- fi
-}
-
-src_install() {
- cd sflphone-common
- emake -j1 DESTDIR="${D}" install || die "emake install failed"
- dodoc test/sflphonedrc-sample
-
- if use gnome; then
- cd ../sflphone-client-gnome
- emake DESTDIR="${D}" install || die "emake install failed"
- fi
-}
-
-pkg_postinst() {
- elog
- elog "You need to restart dbus, if you want to access"
- elog "sflphoned through dbus."
- elog
- elog
- elog "If you use the command line client"
- elog "(https://projects.savoirfairelinux.com/repositories/browse/sflphone/tools/pysflphone)"
- elog "extract /usr/share/doc/${PF}/${PN}drc-sample to"
- elog "~/.config/${PN}/${PN}drc for example config."
- elog
- elog
- elog "For calls out of your browser have a look in sflphone-callto"
- elog "and sflphone-handler. You should consider to install"
- elog "the \"Telify\" Firefox addon. See"
- elog "https://projects.savoirfairelinux.com/repositories/browse/sflphone/tools"
- elog
- if use gnome; then
- elog
- elog "sflphone-client-gnome: To manage your contacts you need"
- elog "mail-client/evolution or access to an evolution-data-server"
- elog "connected backend."
- elog
- fi
-}
diff --git a/net-voip/sflphone/sflphone-1.2.2.ebuild b/net-voip/sflphone/sflphone-1.2.2.ebuild
deleted file mode 100644
index 2d05ff0d7941..000000000000
--- a/net-voip/sflphone/sflphone-1.2.2.ebuild
+++ /dev/null
@@ -1,176 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-voip/sflphone/sflphone-1.2.2.ebuild,v 1.2 2013/05/08 09:36:18 elvanor Exp $
-
-EAPI="4"
-
-inherit autotools eutils gnome2
-
-DESCRIPTION="SFLphone is a robust standards-compliant enterprise softphone, for desktop and embedded systems."
-HOMEPAGE="http://www.sflphone.org/"
-SRC_URI="http://www.elvanor.net/files/gentoo/${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug doxygen gnome gsm kde networkmanager pulseaudio speex static-libs"
-
-# USE="-iax" does not work. Upstream problem.
-
-CDEPEND="dev-cpp/commoncpp2
- dev-libs/dbus-c++
- dev-libs/expat
- dev-libs/ilbc-rfc3951
- dev-libs/libpcre
- dev-libs/libyaml
- dev-libs/openssl
- media-libs/alsa-lib
- media-libs/celt
- media-libs/libsamplerate
- pulseaudio? ( media-sound/pulseaudio )
- net-libs/ccrtp
- net-libs/libzrtpcpp
- >=net-libs/pjsip-2.1
- sys-apps/dbus
- gnome? ( dev-libs/atk
- dev-libs/check
- gnome-base/libgnomeui
- gnome-base/orbit:2
- gnome-extra/evolution-data-server
- media-libs/fontconfig
- media-libs/freetype
- media-libs/libart_lgpl
- net-libs/libsoup:2.4
- net-libs/webkit-gtk:3
- x11-libs/cairo
- x11-libs/libICE
- x11-libs/libnotify
- x11-libs/libSM )
- gsm? ( media-sound/gsm )
- networkmanager? ( net-misc/networkmanager )
- speex? ( media-libs/speex )"
-
-DEPEND="${CDEPEND}
- >=dev-util/astyle-1.24
- doxygen? ( app-doc/doxygen )
- gnome? ( app-text/gnome-doc-utils )
- virtual/pkgconfig"
-
-RDEPEND="${CDEPEND}"
-
-pkg_setup() {
- #if use gnome && use kde ; then
- # elog "Both Gnome and KDE flags are set; preference goes to KDE. Only the KDE client will be built."
- #fi
-
- if use kde; then
- elog "The KDE client is not yet available with this ebuild and won't be built."
- fi
-
- if ! use gnome; then
- ewarn
- ewarn "Select USE=gnome to get a graphicalclient."
- ewarn "See"
- ewarn "https://projects.savoirfairelinux.com/repositories/browse/sflphone/tools/pysflphone"
- ewarn "for a python command line client."
- ewarn
- fi
-}
-
-src_prepare() {
- cd "${S}/daemon"
- rm -rf libs/pjproject-2.0.1
-
- sed -i -e 's!include $(src)/libs/pjproject-2.0.1/build.mak!!' src/audio/codecs/Makefile.in src/audio/codecs/Makefile.am
- sed -i -e 's!--shared -lc $(top_srcdir)/libs/pjproject-2.0.1/third_party/lib/libilbccodec-$(TARGET_NAME).a!-lilbc!' src/audio/codecs/Makefile.am
- sed -i -e 's/-$(target)//' -e '/^\t\t\t-L/ d' -e "s/PJSIP_LIBS=\$(APP_LDFLAGS) \$(APP_LDLIBS)/PJSIP_LIBS=$(pkg-config --libs-only-l libpjproject)/" \
- -e 's!-I$(src)/libs/pjproject-2.0.1!-I/usr/include!' -e 's!include $(src)/libs/pjproject-2.0.1/build.mak!!' \
- globals.mak || die "sed failed."
- # Respect CXXFLAGS
- sed -i -e 's/CXXFLAGS="-g/CXXFLAGS="-g $CXXFLAGS /' \
- configure.ac || die "sed failed."
- eautoreconf
-}
-
-src_configure() {
- local myconf=""
- if ! use pulseaudio; then
- myconf="--without-pulse"
- fi
-
- cd "${S}/daemon"
- econf --disable-dependency-tracking $(use_with debug) $(use_with gsm) \
- $(use_with networkmanager) $(use_with speex) $(use_enable static-libs static) $(use_enable doxygen) ${myconf}
-
- #if use gnome && ! use kde; then
- if use gnome; then
- cd "${S}/gnome"
- econf $(use_enable static-libs static)
- fi
-
- #if use kde; then
- # cd "${S}/kde"
- # ./config.sh --prefix=/usr $(use_enable static-libs static)
-# econf $(use_enable static-libs static)
- #fi
-}
-
-src_compile() {
- cd "${S}/daemon"
- emake || die "emake failed."
-
- #if use gnome && ! use kde; then
- if use gnome; then
- cd ../gnome
- emake || die "emake failed."
- fi
-
- #if use kde; then
- # cd ../kde/build
- # emake || die "emake failed."
- #fi
-}
-
-src_install() {
- if use gnome; then
- cd "${S}/gnome"
- gnome2_src_install
- fi
-
- #if use kde; then
- # cd "${S}/kde"
- # emake -j1 DESTDIR="${D}" install || die "emake install failed"
- # cd ../
- #fi
-
- cd "${S}/daemon"
- emake -j1 DESTDIR="${D}" install || die "emake install failed"
- dodoc test/sflphonedrc-sample
-}
-
-pkg_postinst() {
- elog
- elog "You need to restart dbus, if you want to access"
- elog "sflphoned through dbus."
- elog
- elog
- elog "If you use the command line client"
- elog "(https://projects.savoirfairelinux.com/repositories/browse/sflphone/tools/pysflphone)"
- elog "extract /usr/share/doc/${PF}/${PN}drc-sample to"
- elog "~/.config/${PN}/${PN}drc for example config."
- elog
- elog
- elog "For calls out of your browser have a look in sflphone-callto"
- elog "and sflphone-handler. You should consider to install"
- elog "the \"Telify\" Firefox addon. See"
- elog "https://projects.savoirfairelinux.com/repositories/browse/sflphone/tools"
- elog
- if use gnome; then
- gnome2_pkg_postinst
- elog
- elog "sflphone-client-gnome: To manage your contacts you need"
- elog "mail-client/evolution or access to an evolution-data-server"
- elog "connected backend."
- elog
- fi
-}