On 20120518: http://sflphone.org/news/stable-version-110-released
Created attachment 316393 [details] It just works for me (amd64). I have no experience to create ebuilds.
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
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.
Would be nice to add KDE use flag to build KDE client.
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
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.
ebuilds for sflphone dependencies ccrtp and libzrtpcpp created for bug #300553
Please add sflphone ebuild to the portage tree soon. Thx in advance.
bump. it's been almost 6 months since the bug has been opened. can we have 1.2 in portage finally? pretty please?
(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).
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.
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.
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.
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.
Posted a bug upstream: https://projects.savoirfairelinux.com/issues/18763
Created attachment 337480 [details] sflphone-1.2.2.ebuild This ebuild has bundled pjsip, yet.
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"
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")
(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..
Created attachment 343654 [details] Build log etc. from gnome build (builds, missing sflphoned)
Created attachment 343656 [details] Build log etc. from kde build (fails) Seems to be missing kde-base/akonadi (?) as a dependency
(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.
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.
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.
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 :)
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.