sflphone is a voip client using sip Homepage: http://www.sflphone.org/ sflphone needs the following packages: libosip-2.2.0 (there is already a bugreport (bug #59408) for the new version, latest version in portage-tree is 2.0.7) libeXosip-0.9.0 (I will make a seperate bugreport for libexosip) ccrtp-1.3.0 (I will make a seperate bugreport for ccrtp) commoncpp2-1.3.6 (works well with net-libs/commoncpp2-1.3.1, which is already in the portage-tree, though) Tested on ppc (using an iBook2 G3) and x86 In order to compile with ppc you have to patch the src/Makefile and stund/stun.cxx Don't know if this patch will work for G4/G5 processors Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 60515 [details] sflphone-0.3.ebuild
Created attachment 60516 [details, diff] patch to make sflphone compile on ppc
Created attachment 60517 [details, diff] fix reandom number generation for ppc
almost forgot: i suggest net-im/sflphone
looks like 0.4 includes the random patch at least.
Added depend on portaudio-19 for version 0.4
Created attachment 64872 [details] sflphone-0.4.ebuild No parches file needed. It need portaudio-19 you can find a ebuild at http://bugs.gentoo.org/show_bug.cgi?id=53758
Created attachment 66449 [details] sflphone-0.4.1_pre1.ebuild still requires portaudio. I had a library problem that required a symlink - think it was /usr/lib/libccext2-1.3.so.0 -> libccext2-1.3.so.1.0.9. showed up when i started to run sflphone.
Created attachment 75134 [details] sflphone-0.6.2.ebuild (unfinished) no longer seems to need portaudio-19 needs a install routine. Anyone good with qmake files please give it a go.
http://genstef.homelinux.org/local/net-im/sflphone/sflphone-0.6.2.ebuild http://genstef.homelinux.org/local/net-im/sflphoned/sflphoned-0.6.1.ebuild These ebuilds should compile cleanly for you. But I and dragonheart have noticed a problem on startup: sflphoned Expression 'parameters->channelCount <= maxChans' failed in 'pa_linux_alsa/pa_linux_alsa.c', line: 1060 Expression 'ValidateParameters( outputParameters, hostApi, StreamDirection_Out )' failed in 'pa_linux_alsa/pa_linux_alsa.c', line: 1834
bug reported upstream http://forge.novell.com/modules/xfmod/tracker/index.php?func=detail&aid=1467&group_id=1568&atid=2285
From upstream bug report: Date: 2006-03-22 10:35 Sender: yanmorin Logged In: Yes (UID:35758) It's means that alsa or artsd is running. Portaudio don't like sound card sharing right now.
thanks, I committed 0.7.0 to the voip overlay. http://overlays.gentoo.org/svn/proj/voip/trunk/net-voip/sflphone/sflphone-0.7.0.ebuild please test and then I can commit it to portage.
A colluege of mine just got this trying to merge the 0.7.0 ebuild. checking for i686-pc-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for samplerate... configure: error: Package requirements (samplerate >= 0.1.2) were not met: Requested 'samplerate >= 0.1.2' but version of samplerate is 0.1.1 Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables samplerate_CFLAGS and samplerate_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/sflphone-0.7.0/work/sflphone-0.7.0/config.log !!! ERROR: net-voip/sflphone-0.7.0 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile sflphone-0.7.0.ebuild, line 35: Called econf '--enable-sflphoneqt' '--enable-speex' '--disable-zeroconf' ebuild.sh, line 540: Called die !!! econf failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! This ebuild is from an overlay: '/usr/portage/local/layman/voip'
and another ... i686-pc-linux-gnu-g++ -O2 -march=athlon-xp -fomit-frame-pointer -pipe -o sflphoned sflphoned-eventthread.o sflphoned-main.o sflphoned-voIPLink.o sflphoned-managerimpl.o sflphoned-observer.o sflphoned-account.o sflphoned-sipaccount.o sflphoned-accountcreator.o sflphoned-sipvoiplink.o sflphoned-call.o sflphoned-sipcall.o -pthread -pthread -pthread ./.libs/libsflphone.a /usr/lib/libspeex.so -L/usr/lib /usr/lib/libsamplerate.so /usr/lib/libccext2.so -lssl /usr/lib/libccrtp1.so /usr/lib/libccgnu2.so /usr/lib/libportaudiocpp.so /usr/lib/libportaudio.so /usr/lib/libasound.so -ldl -lm -lpthread /usr/lib/libeXosip2.so /usr/lib/libosip2.so /usr/lib/libosipparser2.so -lnsl -lrt /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: warning: libccgnu2-1.3.so.1, needed by /usr/lib/libccrtp1.so, not found (try using -rpath or -rpath-link) /usr/lib/libccext2.so: undefined reference to `deflate' /usr/lib/libccext2.so: undefined reference to `inflate' /usr/lib/libccext2.so: undefined reference to `inflateInit_' /usr/lib/libccext2.so: undefined reference to `deflateInit_' /usr/lib/libccext2.so: undefined reference to `inflateEnd' /usr/lib/libccext2.so: undefined reference to `deflateEnd' collect2: ld returned 1 exit status make[3]: *** [sflphoned] Error 1 make[3]: Leaving directory `/var/tmp/portage/sflphone-0.7.0/work/sflphone-0.7.0/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/sflphone-0.7.0/work/sflphone-0.7.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/sflphone-0.7.0/work/sflphone-0.7.0' make: *** [all] Error 2 !!! ERROR: net-voip/sflphone-0.7.0 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile sflphone-0.7.0.ebuild, line 41: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! This ebuild is from an overlay: '/usr/portage/local/layman/voip'
> /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: > warning: libccgnu2-1.3.so.1, needed by /usr/lib/libccrtp1.so, not found (try > using -rpath or -rpath-link) Looks like your system needs a revdep-rebuild to fix the library consistancy of ccrtp