summaryrefslogtreecommitdiff
path: root/net-voip/ekiga
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-voip/ekiga
reinit the tree, so we can have metadata
Diffstat (limited to 'net-voip/ekiga')
-rw-r--r--net-voip/ekiga/Manifest6
-rw-r--r--net-voip/ekiga/ekiga-4.0.1-r1.ebuild119
-rw-r--r--net-voip/ekiga/files/ekiga-4.0.1-crash-clear.patch36
-rw-r--r--net-voip/ekiga/metadata.xml9
4 files changed, 170 insertions, 0 deletions
diff --git a/net-voip/ekiga/Manifest b/net-voip/ekiga/Manifest
new file mode 100644
index 000000000000..8da9937d546f
--- /dev/null
+++ b/net-voip/ekiga/Manifest
@@ -0,0 +1,6 @@
+AUX ekiga-4.0.1-crash-clear.patch 1074 SHA256 573995e0b75c82c24d13866f97be5233034fb1081e0dce1d97038a21b35c6e84 SHA512 7f7a5fc4f3bd92f308a534de330d9c6cf60382a21e26c671141d6f2f066e6f3595a9dbea42664aed4f0ec2ada3fc55decf7ac327f9a7f50fade63ee8a426cf26 WHIRLPOOL 26d925ff2a11afabd2e5a842029410334093e3257fd2a7247ba602dd5b5932daf624101e43c243ecc7a84d882efc61d3165d2d2d4c87b432b616e92c270f4b11
+DIST ekiga-4.0.1.tar.xz 8339364 SHA256 5f4f491c9496cf65ba057a9345d6bb0278f4eca07bcda5baeecf50bfcd9a4a3b SHA512 3c4dd5eab6e91434da4bbfe5728ac5943ed5ae89b8b2241fb59abb3e41bcd08ba187b5d60c9d839b1010edd7fc97b53cc6db57a6eec40ba81757a772febd2217 WHIRLPOOL 10f60d34b110f0bd77631725bcd7be2badaa88e7278c466a5d2f2944a7ad6226d4466cf6f1f2f3fdea3a3ea925b02216052124dfc5ca416439ba60db22a809ed
+EBUILD ekiga-4.0.1-r1.ebuild 3292 SHA256 c2c067f59b0b9503a7b4ca32056ec82f1111886358c29ade78b40e911d19150c SHA512 d54ce8233d6a0e8211926c77d76e546da6810a44a966f4b6f22d2aa281d452be9842d5fbf10e01cf66517c7ac869cad129bd580dede373d4f7fb4b03854edb93 WHIRLPOOL 6fbf299238ddca0f7d0ff8079f8ff7af3bc7dadf8417e4ff7690b7ce02235444899a4321450f6bc178d9c9f6221493ffd61af7056ad1d2961b1a02273dc112b8
+MISC ChangeLog 6205 SHA256 9715af8487ce441bc0d00dc8cecb91618a4db23afbfa5a47c8f5311e2ecd5464 SHA512 1e98374fde3486f6270c424cd05a9a70a6c39b5b76d2e505b8e12883e7f53e08482639b2772671e3e4be51905610add91aa9f6a680107eae7a8d916cc3ad274d WHIRLPOOL 8f1a8f93fe4a40b6b73aef5275824fd0671170a0254fb3385b004b1f60ec4de514cd70549fc8d1575f2cf34f2a7c6f96f71b5fb9b7b1e94a3f1cd5075f37418f
+MISC ChangeLog-2015 16615 SHA256 b2435bcd9520215aa02fd3ef0067183557e386a65ef0dae1cb19ce87e47a6211 SHA512 e19f5afd921bfeb9b06923a359ca120b3ec8646506ca7395638caa23db1cb3a8ab871bbbf142c1f8f5adc1248342a0029c6a46c9c7adf4c758988fe846b3b5cd WHIRLPOOL e9d4411d8b3fe7f69894cb92c9034aa3c54f107c147aeeeebbe10a381a3015739a67e4ba328b2792620daee2f2f2e77a7d32e7c7d4d2d75798820c9aa4539f63
+MISC metadata.xml 305 SHA256 7261a8a7b8151ee972a8eba8d76e185b0e72724a97cf3cfd2eaeee8786924f32 SHA512 fc1b3c5c121d476c5c339c78b543fb9a1be57019d3e05505ffa717b3877cd48d825c0c123a4882e02ff0fbee37bffc1e146a7098ae7840d80a8b54355c3e5683 WHIRLPOOL 6c5235947360a6c862d1da9b4c8d75e921035fb268964b04ae73f15805b3f0621ab43a56301c38fbe10a9457d9508eae92fca5e404f8ca8d89a0590ec5998c3e
diff --git a/net-voip/ekiga/ekiga-4.0.1-r1.ebuild b/net-voip/ekiga/ekiga-4.0.1-r1.ebuild
new file mode 100644
index 000000000000..5cc07966a143
--- /dev/null
+++ b/net-voip/ekiga/ekiga-4.0.1-r1.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GNOME2_LA_PUNT="yes"
+
+inherit gnome2
+
+DESCRIPTION="H.323 and SIP VoIP softphone"
+HOMEPAGE="http://www.ekiga.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86"
+IUSE="dbus debug doc eds h323 ldap libnotify cpu_flags_x86_mmx pulseaudio +shm v4l xv zeroconf"
+
+# gconf is a hard requirement until this bug is fixed:
+# https://bugzilla.gnome.org/show_bug.cgi?id=721198
+#
+# x11-themes/gnome-icon-theme needed, bug #600398, https://bugzilla.gnome.org/show_bug.cgi?id=775652
+# changing configure check is not enough and icons will be missing.
+RDEPEND="
+ >=dev-libs/glib-2.24.0:2
+ >=dev-libs/boost-1.49:0=
+ dev-libs/libxml2:2
+ >=gnome-base/gconf-2.6.0:2
+
+ >=net-libs/opal-3.10.9:0=[sip,sound,video,debug=,h323?,xml]
+ <net-libs/opal-3.12
+ >=net-libs/ptlib-2.10.9:0=[ldap?,stun,v4l?,video,wav,debug=,dtmf,pulseaudio?,xml]
+ <net-libs/ptlib-2.12
+
+ >=x11-libs/gtk+-2.20.0:2
+ x11-themes/gnome-icon-theme
+ dbus? ( >=sys-apps/dbus-0.36
+ >=dev-libs/dbus-glib-0.36 )
+ eds? ( >=gnome-extra/evolution-data-server-1.2:= )
+ ldap? ( dev-libs/cyrus-sasl:2
+ net-nds/openldap )
+ libnotify? ( x11-libs/libnotify )
+ shm? ( x11-libs/libXext )
+ xv? ( x11-libs/libXv )
+ zeroconf? ( >=net-dns/avahi-0.6[dbus] )
+"
+DEPEND="${RDEPEND}
+ >=dev-util/intltool-0.35
+ virtual/pkgconfig
+ sys-devel/gettext
+ doc? (
+ app-text/rarian
+ app-text/gnome-doc-utils
+ app-doc/doxygen )
+ v4l? ( sys-kernel/linux-headers )
+"
+
+# NOTES:
+# ptlib/opal needed features are not checked by ekiga, upstream bug 577249
+# +doc is not installing dev doc (doxygen)
+# UPSTREAM:
+# contact ekiga team to be sure intltool and gettext are not nls deps
+
+PATCHES=(
+ # https://bugs.gentoo.org/show_bug.cgi?id=499208
+ "${FILESDIR}"/${P}-crash-clear.patch
+)
+
+src_prepare() {
+ # remove call to gconftool-2 --shutdown, upstream bug 555976
+ # gnome-2 eclass is reloading schemas with SIGHUP
+ sed -i -e '/gconftool-2 --shutdown/d' Makefile.in || die "sed failed"
+
+ # V4L support is auto-enabled, want it to be a user choice
+ # do not contact upstream because that's a hack
+ # TODO: check if upstream has removed this hack
+ if ! use v4l; then
+ sed -i -e "s/V4L=\"enabled\"/V4L=\"disabled\"/" configure || die "sed failed"
+ fi
+
+ gnome2_src_prepare
+}
+
+src_configure() {
+ # dbus-service: always enable if dbus is enabled, no reason to disable it
+ # Upstream doesn't support experimental stuff:
+ # https://bugzilla.gnome.org/show_bug.cgi?id=689301
+ # Hence, we disable gstreamer, kde, kab (kontact)
+ gnome2_src_configure \
+ --disable-gstreamer \
+ --disable-kde \
+ --enable-libtool-lock \
+ --disable-kab \
+ --disable-xcap \
+ --enable-gconf \
+ --enable-schemas-install \
+ --enable-nls \
+ --disable-static-libs \
+ $(use_enable dbus) \
+ $(use_enable dbus dbus_service) \
+ $(use_enable debug gtk-debug) \
+ $(use_enable debug opal-debug) \
+ $(use_enable doc gdu) \
+ $(use_enable eds) \
+ $(use_enable h323) \
+ $(use_enable ldap) \
+ $(use_enable libnotify notify) \
+ $(use_enable cpu_flags_x86_mmx mmx) \
+ $(use_enable shm) \
+ $(use_enable xv) \
+ $(use_enable zeroconf avahi)
+}
+
+src_install() {
+ gnome2_src_install
+
+ if use doc && use dbus; then
+ insinto "/usr/share/doc/${PF}/"
+ doins doc/using_dbus.html
+ fi
+}
diff --git a/net-voip/ekiga/files/ekiga-4.0.1-crash-clear.patch b/net-voip/ekiga/files/ekiga-4.0.1-crash-clear.patch
new file mode 100644
index 000000000000..9b9ca657895d
--- /dev/null
+++ b/net-voip/ekiga/files/ekiga-4.0.1-crash-clear.patch
@@ -0,0 +1,36 @@
+From ebfdaa0690c2f65dfe90714b02ff4f9bc9a3fa6d Mon Sep 17 00:00:00 2001
+From: Julien Puydt <jpuydt@free.fr>
+Date: Mon, 21 Jan 2013 15:54:38 +0100
+Subject: Made the call-history signal the changes first, then do some cleaning
+ later -- fixes a crash on clear
+
+---
+ lib/engine/components/call-history/history-book.cpp | 5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/lib/engine/components/call-history/history-book.cpp b/lib/engine/components/call-history/history-book.cpp
+index b110d4d..4db92fa 100644
+--- a/lib/engine/components/call-history/history-book.cpp
++++ b/lib/engine/components/call-history/history-book.cpp
+@@ -177,6 +177,10 @@ History::Book::clear ()
+
+ std::list<ContactPtr> old_contacts = ordered_contacts;
+ ordered_contacts.clear ();
++
++ cleared ();
++ updated ();
++
+ for (std::list<ContactPtr>::iterator iter = old_contacts.begin ();
+ iter != old_contacts.end();
+ ++iter)
+@@ -187,7 +191,6 @@ History::Book::clear ()
+ xmlDocSetRootElement (doc.get (), root);
+
+ save ();
+- cleared ();
+ }
+
+ void
+--
+cgit v0.12
+
diff --git a/net-voip/ekiga/metadata.xml b/net-voip/ekiga/metadata.xml
new file mode 100644
index 000000000000..3a28e4d695db
--- /dev/null
+++ b/net-voip/ekiga/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <use>
+ <flag name="h323">Enable H.323 protocol</flag>
+ <flag name="shm">Enable the Shared Memory Extension from libXext</flag>
+ </use>
+</pkgmetadata>