Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 416999 - net-voip/sflphone new release 1.2.1
Summary: net-voip/sflphone new release 1.2.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement with 1 vote (vote)
Assignee: Jean-Noël Rivasseau (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 417765
  Show dependency tree
 
Reported: 2012-05-22 00:01 UTC by ta2002
Modified: 2013-05-04 23:00 UTC (History)
11 users (show)

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


Attachments
It just works for me (amd64). I have no experience to create ebuilds. (sflphone-1.1.0.ebuild,3.02 KB, text/plain)
2012-06-27 09:30 UTC, Stefano Pellegrini
Details
sflphone-1.2.0.ebuild (sflphone-1.2.0.ebuild,3.04 KB, text/plain)
2012-08-22 09:59 UTC, Stefano Pellegrini
Details
sflphone-1.2.0.ebuild (sflphone-1.2.0.ebuild,3.53 KB, text/plain)
2012-08-22 14:56 UTC, Stefano Pellegrini
Details
sflphone-1.2.2.ebuild (sflphone-1.2.2.ebuild,3.78 KB, text/plain)
2013-01-31 18:12 UTC, Stefano Pellegrini
Details
sflphone-1.2.2-r1.ebuild (sflphone-1.2.2-r1.ebuild,3.81 KB, text/plain)
2013-03-27 14:43 UTC, Balazs Nemeth
Details
Build log etc. from gnome build (builds, missing sflphoned) (sflphone-1.2.2-r1-gnome.xz,93.20 KB, application/octet-stream)
2013-03-29 16:08 UTC, Svenne Krap
Details
Build log etc. from kde build (fails) (sflphone-1.2.2-r1-kde.xz,59.37 KB, application/octet-stream)
2013-03-29 16:09 UTC, Svenne Krap
Details
sflphone-1.2.2-r2.ebuild (sflphone-1.2.2-r2.ebuild,3.78 KB, text/plain)
2013-04-02 15:23 UTC, Balazs Nemeth
Details
sflphone-client-kde-1.2.2.ebuild (sflphone-client-kde-1.2.2.ebuild,999 bytes, text/plain)
2013-04-02 15:25 UTC, Balazs Nemeth
Details
sflphone-client-kde-1.2.2-build-fix.diff (fix-build.diff,1.88 KB, patch)
2013-04-02 15:26 UTC, Balazs Nemeth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ta2002 2012-05-22 00:01:08 UTC
On 20120518:

http://sflphone.org/news/stable-version-110-released
Comment 1 Stefano Pellegrini 2012-06-27 09:30:52 UTC
Created attachment 316393 [details]
It just works for me (amd64). I have no experience to create ebuilds.
Comment 2 Tianon 2012-07-24 20:05:35 UTC
Just wanted to chime in that Jean-Noël Rivasseau is aware of the updated version and actively trying to get it to compile correctly.

see https://projects.savoirfairelinux.com/issues/13087
Comment 3 Matt Turner gentoo-dev 2012-08-11 16:52:08 UTC
And now 1.2.0 is available.

elvanor, it would be nice if you could bump your package and indirectly fix bug 417765 which is one of the last two blockers of glib-2.32.
Comment 4 Reuben Martin 2012-08-17 21:40:29 UTC
Would be nice to add KDE use flag to build KDE client.
Comment 5 Stefano Pellegrini 2012-08-22 09:59:43 UTC
Created attachment 321922 [details]
sflphone-1.2.0.ebuild

I was able to compile e run the application using tha attached ebuild. sflphone-1.2.0.ebuild
Comment 6 Stefano Pellegrini 2012-08-22 14:56:00 UTC
Created attachment 321958 [details]
sflphone-1.2.0.ebuild

This sflphone-1.2.0.ebuild should be improved but at least you can enable the kde use flag.
Comment 7 Reuben Martin 2012-09-05 01:46:46 UTC
ebuilds for sflphone dependencies ccrtp and libzrtpcpp created for bug #300553
Comment 8 theodor 2012-09-12 22:39:12 UTC
Please add sflphone ebuild to the portage tree soon. Thx in advance.
Comment 9 Nick Soveiko 2012-11-10 22:58:35 UTC
bump. it's been almost 6 months since the bug has been opened. can we have 1.2 in  portage finally? pretty please?
Comment 10 ta2002 2012-11-15 01:19:21 UTC
(In reply to comment #2)
> Just wanted to chime in that Jean-Noël Rivasseau is aware of the updated
> version and actively trying to get it to compile correctly.
> 
> see https://projects.savoirfairelinux.com/issues/13087

Seems like this was fixed several months ago.

Really need 1.2.0 (WITH kde client and WITHOUT pulseaudio dependency).
Comment 11 Tianon 2012-11-15 01:45:52 UTC
I can verify that the ebuild supplied by Stefano appears to work (compiles at least, haven't done extensive testing).  However, I switched the SRC_URI back to grabbing from elvanor's directory like the original ebuilds since he has the 1.2.0 tgz file up there now, and it has the same exact md5sum as the file listed on https://projects.savoirfairelinux.com/projects/sflphone/files, and the URL had changed there as well.
Comment 12 Stefan Triller 2012-11-16 14:54:10 UTC
I just tried to compile version 1.2 with the provided ebuild, but it fails with error:

ibtool: link: x86_64-pc-linux-gnu-g++ -DPREFIX=\"/usr\" -DPROGSHAREDIR=\"/usr/share/sflphone\" -DUSE_IAX -DUSE_NETWORKMANAGER -DVERSION=\"1.2.0\" -march=core2 -msse4 -mcx16 -mpopcnt -msahf -O2 -pipe -g -Wno-return-type -Wall -Wextra -Wnon-virtual-dtor -Weffc++ -Wl,-O1 -Wl,--as-needed -o sflphoned sflphoned-main.o -Wl,-O1 -Wl,--as-needed  ./.libs/libsflphone.a /usr/lib64/libzrtpcpp.so -L/usr/lib64 -L/var/tmp/portage/net-voip/sflphone-1.2.0/work/sflphone-1.2.0/daemon/libs/pjproject/pjlib/lib -L/var/tmp/portage/net-voip/sflphone-1.2.0/work/sflphone-1.2.0/daemon/libs/pjproject/pjlib-util/lib -L/var/tmp/portage/net-voip/sflphone-1.2.0/work/sflphone-1.2.0/daemon/libs/pjproject/pjnath/lib -L/var/tmp/portage/net-voip/sflphone-1.2.0/work/sflphone-1.2.0/daemon/libs/pjproject/pjmedia/lib -L/var/tmp/portage/net-voip/sflphone-1.2.0/work/sflphone-1.2.0/daemon/libs/pjproject/pjsip/lib -L/var/tmp/portage/net-voip/sflphone-1.2.0/work/sflphone-1.2.0/daemon/libs/pjproject/third_party/lib -lpjsua-x86_64-pc-linux-gnu -lpjsip-ua-x86_64-pc-linux-gnu -lpjsip-simple-x86_64-pc-linux-gnu -lpjsip-x86_64-pc-linux-gnu -lpjmedia-codec-x86_64-pc-linux-gnu -lpjmedia-x86_64-pc-linux-gnu -lpjmedia-audiodev-x86_64-pc-linux-gnu -lpjnath-x86_64-pc-linux-gnu -lpjlib-util-x86_64-pc-linux-gnu -lresample-x86_64-pc-linux-gnu -lsrtp-x86_64-pc-linux-gnu -lgsmcodec-x86_64-pc-linux-gnu -lspeex-x86_64-pc-linux-gnu -lg7221codec-x86_64-pc-linux-gnu -lportaudio-x86_64-pc-linux-gnu -lpj-x86_64-pc-linux-gnu -lnsl -lasound -lpulse -lsamplerate -luuid -ldbus-c++-1 -ldbus-1 -L/usr/lib /usr/lib64/libccrtp1.so /usr/lib64/libccgnu2.so -lgnutls /usr/lib64/libgcrypt.so -lgpg-error -ldl -lrt -lpthread -lssl -lcrypto /usr/lib64/libyaml.so -lspeexdsp -lpcre -lexpat -pthread
make[3]: Leaving directory `/var/tmp/portage/net-voip/sflphone-1.2.0/work/sflphone-1.2.0/daemon/src'
make[2]: Leaving directory `/var/tmp/portage/net-voip/sflphone-1.2.0/work/sflphone-1.2.0/daemon/src'
Making all in ringtones
make[2]: Entering directory `/var/tmp/portage/net-voip/sflphone-1.2.0/work/sflphone-1.2.0/daemon/ringtones'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/net-voip/sflphone-1.2.0/work/sflphone-1.2.0/daemon/ringtones'
Making all in man
make[2]: Entering directory `/var/tmp/portage/net-voip/sflphone-1.2.0/work/sflphone-1.2.0/daemon/man'
pod2man --section="1" --release=1.2.0 --center "" sflphoned.pod > sflphoned.1
make[2]: Leaving directory `/var/tmp/portage/net-voip/sflphone-1.2.0/work/sflphone-1.2.0/daemon/man'
Making all in test
make[2]: Entering directory `/var/tmp/portage/net-voip/sflphone-1.2.0/work/sflphone-1.2.0/daemon/test'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/net-voip/sflphone-1.2.0/work/sflphone-1.2.0/daemon/test'
Making all in doc
make[2]: Entering directory `/var/tmp/portage/net-voip/sflphone-1.2.0/work/sflphone-1.2.0/daemon/doc'
Making all in dbus-api
make[3]: Entering directory `/var/tmp/portage/net-voip/sflphone-1.2.0/work/sflphone-1.2.0/daemon/doc/dbus-api'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/var/tmp/portage/net-voip/sflphone-1.2.0/work/sflphone-1.2.0/daemon/doc/dbus-api'
Making all in doxygen
make[3]: Entering directory `/var/tmp/portage/net-voip/sflphone-1.2.0/work/sflphone-1.2.0/daemon/doc/doxygen'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/var/tmp/portage/net-voip/sflphone-1.2.0/work/sflphone-1.2.0/daemon/doc/doxygen'
make[3]: Entering directory `/var/tmp/portage/net-voip/sflphone-1.2.0/work/sflphone-1.2.0/daemon/doc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/var/tmp/portage/net-voip/sflphone-1.2.0/work/sflphone-1.2.0/daemon/doc'
make[2]: Leaving directory `/var/tmp/portage/net-voip/sflphone-1.2.0/work/sflphone-1.2.0/daemon/doc'
make[2]: Entering directory `/var/tmp/portage/net-voip/sflphone-1.2.0/work/sflphone-1.2.0/daemon'
make[2]: Leaving directory `/var/tmp/portage/net-voip/sflphone-1.2.0/work/sflphone-1.2.0/daemon'
make[1]: Leaving directory `/var/tmp/portage/net-voip/sflphone-1.2.0/work/sflphone-1.2.0/daemon'
make -j4 
make: *** No targets specified and no makefile found.  Stop.
emake failed

So it happens after the linking process. I do have the use flags kde and networkmanager enabled.
Comment 13 Stefan Triller 2012-11-19 13:16:36 UTC
OK, i had a look on the ebuild and it says that if kde use flag is enabled gcc-4.6 is required. However, I had 4.5 and 4.6 installed so that check succeeded, but I had 4.5 as default and thus it stopped building.

It builds fine with gcc-4.6 as default.
Comment 14 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2012-12-22 14:05:00 UTC
Hello,

I cannot include the ebuild as is on the main tree because it uses the bundled pjsip library. I'd like it to use the system one, but the build currently fails with errors.

I'll try to contact upstream about that.
Comment 15 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2012-12-22 14:09:27 UTC
Posted a bug upstream:

https://projects.savoirfairelinux.com/issues/18763
Comment 16 Stefano Pellegrini 2013-01-31 18:12:37 UTC
Created attachment 337480 [details]
sflphone-1.2.2.ebuild

This ebuild has bundled pjsip, yet.
Comment 17 Balazs Nemeth 2013-03-27 14:43:23 UTC
Created attachment 343435 [details]
sflphone-1.2.2-r1.ebuild

Changes against the previous ebuild which was made by Stefano:
 - Added the option to disable pulseaudio (https://bugs.gentoo.org/show_bug.cgi?id=417003) 
 - Fix the wrong include path looking for typedefs.h 
 - Eliminate 'emake -j ||' like compile options. (dangerous!)

Tested only with the following use flags on amd64: "speex networkmanager kde"
Comment 18 Svenne Krap 2013-03-29 13:37:36 UTC
Is it just my system, or does it (1.2.2-r1) not provide the sflphoned daemon at all.. 

I have tried to build it with various flags, but it always misses the sflphoned (and then the gnome client dies with "Unable to initialize.
Make sure the daemon is running.
Error: The name org.sflphone.SFLphone was not provided by any .service files")
Comment 19 Balazs Nemeth 2013-03-29 13:59:09 UTC
(In reply to comment #18)
> Is it just my system, or does it (1.2.2-r1) not provide the sflphoned daemon
> at all.. 
> 

I have that binary on this path: /usr/lib64/sflphone/sflphoned

> I have tried to build it with various flags, but it always misses the
> sflphoned (and then the gnome client dies with "Unable to initialize.
> Make sure the daemon is running.
> Error: The name org.sflphone.SFLphone was not provided by any .service
> files")

I haven't tried the gnome client nor changed that part in the ebuild as it has a hell lot of dependencies on my KDE4 desktop. :)

Could you upload the complete build log?

ps: I need to start the kde client twice to properly start the application... I don't why..
Comment 20 Svenne Krap 2013-03-29 16:08:59 UTC
Created attachment 343654 [details]
Build log etc. from gnome build (builds, missing sflphoned)
Comment 21 Svenne Krap 2013-03-29 16:09:55 UTC
Created attachment 343656 [details]
Build log etc. from kde build (fails)

Seems to be missing kde-base/akonadi (?) as a dependency
Comment 22 Balazs Nemeth 2013-03-29 16:41:53 UTC
(In reply to comment #21)
> Created attachment 343656 [details]
> Build log etc. from kde build (fails)
> 
> Seems to be missing kde-base/akonadi (?) as a dependency

kdepimlibs is a dependecy as it turned out. I haven't noticed it as I have a full kde desktop here. I'll look into the gnome ebuild next week.
Comment 23 Balazs Nemeth 2013-04-02 15:23:10 UTC
Created attachment 344074 [details]
sflphone-1.2.2-r2.ebuild

Highly modified ebuild. The KDE client has been cut and put into a separate ebuild as it uses a different build system (upload later).

I have tested both the gnome and the kde client. Gnome client gets installed as well as sflphoned, however I got asserts with the KDE client. Maybe someone could test it and give some hints what the problem is.
Comment 24 Balazs Nemeth 2013-04-02 15:25:27 UTC
Created attachment 344076 [details]
sflphone-client-kde-1.2.2.ebuild

Ebuild for the KDE client. I know that this may go into a new bug but here it is at this time. If I make it work then I'll file a separate bug for that.
A build time patch is needed, I'm uploading it soon.
Comment 25 Balazs Nemeth 2013-04-02 15:26:26 UTC
Created attachment 344078 [details, diff]
sflphone-client-kde-1.2.2-build-fix.diff

fix build time issues for sflphone-client-kde. Thanks to Opensuse guys :)
Comment 26 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2013-05-04 23:00:17 UTC
I finally managed to create an ebuild for 1.2.2 without the bundled pjsip. I did not add the kde client feature. Balazs, if you can incorporate your work into the latest ebuild in tree I will be glad to release it.

Please open a new bug about that.