Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 293399 - New ebuild request: net-voip/sflphone-0.9.6
Summary: New ebuild request: net-voip/sflphone-0.9.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://projects.savoirfairelinux.net/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-16 16:18 UTC by Erik Boritsch
Modified: 2010-09-07 15:46 UTC (History)
12 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
sflphone-9999.ebuild (sflphone-9999.ebuild,4.10 KB, text/plain)
2010-04-26 20:34 UTC, Atman Sense
Details
sflphone-0.9.8.4.ebuild (sflphone-0.9.8.4.ebuild,3.71 KB, text/plain)
2010-07-25 16:30 UTC, Atman Sense
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Boritsch 2009-11-16 16:18:51 UTC
SFLphone is a SIP/IAX2 compatible softphone for Linux. In voip overlay there is the version 0.7.2, but 0.9.6 is out with KDE4 support. The build process is somewhat non-trivial so I don't have the experience yet to make an ebuild.

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Comment 1 Stefan Triller 2010-03-05 19:07:31 UTC
I am also very interested in such an ebuild. It seems like this is the only qt4 ready voip client for linux...
Comment 2 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2010-03-13 06:53:57 UTC
Yes, also in search of a SIP softphone for Linux. Tried Ekiga, keeps crashing. I could not get Empathy to work (and anyway it seems to s***).
All the others are obsolete...

This one could be good. I hope so.
Comment 3 Octavian 2010-03-21 13:13:35 UTC
ekiga is indeed a bit unstable. The 3.x.x version could never pass my firewall while 2.0.X version had no problem with it.

I subscribe myself to this ticket, hoping that there will be an e-build.
Comment 4 Atman Sense 2010-04-26 20:34:03 UTC
Created attachment 229319 [details]
sflphone-9999.ebuild

-git ebuild
-kde support missing
-needs pjsip (bug #188056)
-gnome client needs log4c (bug #297708)
Comment 5 Atman Sense 2010-07-25 16:30:27 UTC
Created attachment 240117 [details]
sflphone-0.9.8.4.ebuild

gnome client needs log4c (bug #297708)
Comment 6 fleg 2010-08-09 11:38:49 UTC
log4c is now available in the portage (http://www.gentoo-portage.com/dev-libs/log4c).

(In reply to comment #5)
> Created an attachment (id=240117) [details]
> sflphone-0.9.8.4.ebuild
> 
> gnome client needs log4c (bug #297708)
> 

Comment 7 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2010-09-06 19:48:02 UTC
I tried your ebuild but it fails when linking (seems to be an evolution-data-server problem). The following happens:

/bin/sh ../libtool --tag=CC   --mode=link i686-pc-linux-gnu-gcc  -march=native -O2 -pipe  -Wl,-O1 -Wl,--as-needed -o sflphone-client-gnome main.o errors.o uimanager.o sflnotify.o mainwindow.o dialpad.o callable_obj.o conference_obj.o actions.o accountlist.o sliders.o statusicon.o codeclist.o reqaccount.o shortcuts.o -pthread -lnotify -lebook-1.2 -ledataserver-1.2 -ldbus-glib-1 -lxml2 -lsoup-2.4 -ldbus-1 -lpthread -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomevfs-2 -lgnomecanvas-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lORBit-2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgconf-2 -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0    ./contacts/libcontacts.la ./config/libconfig.la ./dbus/libdbus.la ./widget/libwidget.la ./icons/libicons.la  -llog4c -lX11 
libtool: link: i686-pc-linux-gnu-gcc -march=native -O2 -pipe -Wl,-O1 -o sflphone-client-gnome main.o errors.o uimanager.o sflnotify.o mainwindow.o dialpad.o callable_obj.o conference_obj.o actions.o accountlist.o sliders.o statusicon.o codeclist.o reqaccount.o shortcuts.o -pthread  -Wl,--as-needed /usr/lib/libnotify.so /usr/lib/libebook-1.2.so -L/usr/lib /usr/lib/libcamel-1.2.so -lssl3 -lsmime3 -lnssutil3 -lnss3 /usr/lib/libsqlite3.so /usr/lib/libedataserver-1.2.so -lplds4 -lplc4 -lnspr4 /usr/lib/libsoup-2.4.so /usr/lib/libgnutls.so /usr/lib/libtasn1.so /usr/lib/libgnomeui-2.so /usr/lib/libgnome-keyring.so /usr/lib/libeggdbus-1.so /usr/lib/libgcrypt.so /usr/lib/libgpg-error.so /usr/lib/libbonoboui-2.so /usr/lib/libSM.so -luuid /usr/lib/libICE.so /usr/lib/libgnomecanvas-2.so /usr/lib/libgailutil.so /usr/lib/libXinerama.so /usr/lib/libXi.so /usr/lib/libXrandr.so /usr/lib/libXcursor.so /usr/lib/libXcomposite.so /usr/lib/libXext.so /usr/lib/libXdamage.so /usr/lib/libXfixes.so /usr/lib/libgnome-2.so /usr/lib/libgnomevfs-2.so /usr/lib/libxml2.so -lssl -lcrypto -lutil /usr/lib/libpopt.so /usr/lib/libbonobo-2.so /usr/lib/libbonobo-activation.so /usr/lib/libORBitCosNaming-2.so /usr/lib/libart_lgpl_2.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libgio-2.0.so -lresolv /usr/lib/libpangocairo-1.0.so /usr/lib/libpangoft2-1.0.so /usr/lib/libcairo.so /usr/lib/libpixman-1.so /usr/lib/libpng14.so /usr/lib/libxcb-render-util.so /usr/lib/libxcb-render.so /usr/lib/libXrender.so /usr/lib/libpango-1.0.so -lm /usr/lib/libfontconfig.so /usr/lib/libfreetype.so -lz /usr/lib/libgconf-2.so /usr/lib/libORBit-2.so /usr/lib/libdbus-glib-1.so /usr/lib/libdbus-1.so /usr/lib/libgmodule-2.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgthread-2.0.so -lrt /usr/lib/libglib-2.0.so ./contacts/.libs/libcontacts.a ./config/.libs/libconfig.a ./dbus/.libs/libdbus.a ./widget/.libs/libwidget.a ./icons/.libs/libicons.a /usr/lib/liblog4c.so /usr/lib/libexpat.so -lpthread /usr/lib/libX11.so /usr/lib/libxcb.so /usr/lib/libXau.so /usr/lib/libXdmcp.so -ldl -pthread
./contacts/.libs/libcontacts.a(libaddressbook_la-eds.o): In function `fetch_information_from_contact':
eds.c:(.text+0x71): undefined reference to `e_contact_get_const'

Maybe you can try to fix this.
Comment 8 Atman Sense 2010-09-07 13:24:54 UTC
(In reply to comment #7)
It doesn't link with -Wl,--as-needed (enabled by default now, see news 2010-08-01-as-needed-default).
According to http://www.gentoo.org/proj/en/qa/asneeded.xml I added -lebook-1.2 to Makefile.am.

--- sflphone-0.9.8.4.ebuild-orig   2010-09-07 15:05:56.000000000 +0200
+++ sflphone-0.9.8.4.ebuild        2010-09-07 14:45:17.000000000 +0200
@@ -86,6 +86,9 @@
 
        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
 }
Comment 9 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2010-09-07 15:46:10 UTC
Ok, I cleaned up a bit the ebuild and added it to Portage tree. Thanks Atman!