Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94916 - request for sflphone-0.6.2
Summary: request for sflphone-0.6.2
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://www.sflphone.org/
Whiteboard:
Keywords: EBUILD, InVCS
Depends on: 53758 94919 94921
Blocks:
  Show dependency tree
 
Reported: 2005-06-03 06:30 UTC by Christoph Vogtländer
Modified: 2006-10-23 06:04 UTC (History)
3 users (show)

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


Attachments
sflphone-0.3.ebuild (sflphone-0.3.ebuild,1.54 KB, text/plain)
2005-06-03 06:31 UTC, Christoph Vogtländer
Details
patch to make sflphone compile on ppc (Makefile-ppc.diff,1.08 KB, patch)
2005-06-03 06:33 UTC, Christoph Vogtländer
Details | Diff
fix reandom number generation for ppc (stun-ppc.diff,721 bytes, patch)
2005-06-03 06:33 UTC, Christoph Vogtländer
Details | Diff
sflphone-0.4.ebuild (sflphone-0.4.ebuild,826 bytes, text/plain)
2005-08-01 08:21 UTC, Pau Rodriguez
Details
sflphone-0.4.1_pre1.ebuild (sflphone-0.4.1_pre1.ebuild,632 bytes, text/plain)
2005-08-20 21:52 UTC, Daniel Black (RETIRED)
Details
sflphone-0.6.2.ebuild (unfinished) (sflphone-0.6.2.ebuild,724 bytes, text/plain)
2005-12-19 12:36 UTC, Daniel Black (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Vogtländer 2005-06-03 06:30:04 UTC
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.
Comment 1 Christoph Vogtländer 2005-06-03 06:31:42 UTC
Created attachment 60515 [details]
sflphone-0.3.ebuild
Comment 2 Christoph Vogtländer 2005-06-03 06:33:03 UTC
Created attachment 60516 [details, diff]
patch to make sflphone compile on ppc
Comment 3 Christoph Vogtländer 2005-06-03 06:33:55 UTC
Created attachment 60517 [details, diff]
fix reandom number generation for ppc
Comment 4 Christoph Vogtländer 2005-06-03 06:35:58 UTC
almost forgot: 
i suggest net-im/sflphone 
Comment 5 Daniel Black (RETIRED) gentoo-dev 2005-07-18 07:11:05 UTC
looks like 0.4 includes the random patch at least. 
Comment 6 Pau Rodriguez 2005-08-01 08:18:15 UTC
Added depend on portaudio-19 for version 0.4
Comment 7 Pau Rodriguez 2005-08-01 08:21:09 UTC
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
Comment 8 Daniel Black (RETIRED) gentoo-dev 2005-08-20 21:52:02 UTC
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.
Comment 9 Daniel Black (RETIRED) gentoo-dev 2005-12-19 12:36:11 UTC
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.
Comment 10 Stefan Schweizer (RETIRED) gentoo-dev 2006-01-14 06:02:13 UTC
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
Comment 12 Daniel Black (RETIRED) gentoo-dev 2006-04-17 04:50:49 UTC
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.
Comment 13 Stefan Schweizer (RETIRED) gentoo-dev 2006-09-14 03:37:42 UTC
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.
Comment 14 Jaco Kroon 2006-10-23 02:33:25 UTC
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' 
Comment 15 Jaco Kroon 2006-10-23 05:21:15 UTC
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'
Comment 16 Daniel Black (RETIRED) gentoo-dev 2006-10-23 06:04:50 UTC
> /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