mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
Change to compile
This commit is contained in:
1
CHANGES
1
CHANGES
@ -5,6 +5,7 @@ SFLphoned/SFLphone (0.6) / 2005-11-04
|
||||
* cleaning headers
|
||||
* improving bash launcher script
|
||||
* select audio input and output device
|
||||
* installation review
|
||||
|
||||
SFLphoned/SFLphone (0.5a) / 2005-10-17
|
||||
* sflphoned
|
||||
|
6
DEPS
6
DEPS
@ -1,8 +1,8 @@
|
||||
PortAudio: http://portaudio.com/archives/pa_snapshot_v19.tar.gz
|
||||
Common C++ 2 1.3.20: http://sourceforge.net/projects/cplusplus/
|
||||
ccRTP 1.3.5: http://sourceforge.net/projects/cplusplus/
|
||||
libosip 2.2.1: http://savannah.gnu.org/projects/osip/
|
||||
libeXosip2-1.9.1-pre17: http://www.antisip.com/download/
|
||||
|
||||
if you want zeroconf:
|
||||
mDNSResponder87: http://developer.apple.com/darwin/projects/bonjour/
|
||||
|
||||
See tools/config.sh
|
||||
See tools/config.sh for more details
|
||||
|
24
README
24
README
@ -30,17 +30,6 @@ You can also compile each dependencies, one by one:
|
||||
make
|
||||
make install
|
||||
|
||||
4/ For libeXosip2-1.9.1-pre17
|
||||
./configure --disable-josua [option]
|
||||
make
|
||||
make install
|
||||
|
||||
5/ For PortAudio_v19
|
||||
./configure [option]
|
||||
make
|
||||
make install
|
||||
|
||||
|
||||
How to compile SFLphoned ?
|
||||
-------------------------
|
||||
|
||||
@ -57,16 +46,17 @@ If you have the sflphone 0.3 or 0.4 release, copy the file sflphonerc to sflphon
|
||||
cp ~/.sflphone/sflphonerc ~/.sflphone/sflphonedrc
|
||||
If you have an older version, remove your sflphonerc file located in $HOME/.sflphone
|
||||
|
||||
1. Lauch sflphone interface, a setup window appears.
|
||||
1. Install a GUI like sflphone-qt
|
||||
|
||||
2. If you do have a SIP account, fill the SIP stuff where related. You can use
|
||||
2. Lauch sflphone interface, a setup window appears.
|
||||
|
||||
3. If you do have a SIP account, fill the SIP stuff where related. You can use
|
||||
STUN too.
|
||||
|
||||
3. Save your settings, restart it. You're done.
|
||||
4. Save your settings, restart it. You're done.
|
||||
|
||||
A user's guide will be available on:
|
||||
http://www.sflphone.org/doc/SFLphoneDocEnglish.pdf
|
||||
http://www.sflphone.org/doc/SFLphoneDocFrancais.pdf
|
||||
http://www.sflphone.org/doc/
|
||||
|
||||
|
||||
Why does it not compile ?
|
||||
@ -91,7 +81,7 @@ Why does it not compile ?
|
||||
Short description of content of source tree:
|
||||
-------------------------------------------
|
||||
|
||||
- rings/ contains the different ringtones.
|
||||
- ringtones/ contains the different ringtones.
|
||||
- stund/ is an implementation of the protocol STUN used when there is a NAT.
|
||||
- utilspp/ allows to implement a singleton.
|
||||
|
||||
|
6
TODO
6
TODO
@ -1,7 +1,3 @@
|
||||
ForGUI:
|
||||
-------
|
||||
Add screen shell to display debug
|
||||
|
||||
For project core:
|
||||
----------------
|
||||
Management Config like about:config in Mozilla
|
||||
@ -10,7 +6,7 @@ Add IAX support
|
||||
Management of account (add, remove, ...)
|
||||
Management of exceptions
|
||||
Remove all warnings in compilation
|
||||
Better handling for an reINVITE request.
|
||||
Better handling for an reINVITE request. (done?)
|
||||
|
||||
For project dependencies:
|
||||
------------------------
|
||||
|
@ -1,7 +1,6 @@
|
||||
%define name sflphoned
|
||||
%define version 0.6
|
||||
%define release 1
|
||||
%define prefix /usr
|
||||
Autoreq: 0
|
||||
|
||||
Name: %name
|
||||
@ -14,7 +13,7 @@ URL: http://www.sflphone.org/
|
||||
Packager: Cyrille Béraud <cyrille.beraud@savoirfairelinux.com>
|
||||
Source0: http://www.sflphone.org/releases/%{name}-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||
Requires: commoncpp2 ccrtp libosip2 portaudio
|
||||
Requires: commoncpp2 ccrtp libosip2
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
|
||||
@ -24,7 +23,7 @@ SFLPhoned is a VoIP daeamon with SIP protocol.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure
|
||||
%configure --disable-zeroconf --prefix=%{_prefix}
|
||||
make
|
||||
|
||||
%install
|
||||
|
@ -3,9 +3,8 @@ noinst_LTLIBRARIES = libportaudio.la
|
||||
libportaudio_la_CFLAGS = $(PORTAUDIO_CFLAGS)
|
||||
libportaudio_la_LIBADD = $(PORTAUDIO_LIBS)
|
||||
libportaudio_la_CXXFLAGS = $(PORTAUDIO_CXXFLAGS)
|
||||
libportaudio_la_CPPFLAGS = $(PORTAUDIO_CPPFLAGS) -Ipa_common/
|
||||
libportaudio_la_CPPFLAGS = $(PORTAUDIO_CPPFLAGS) -I$(top_srcdir)/portaudio/pa_common/
|
||||
|
||||
pkginclude_HEADERS = pa_common/portaudio.h
|
||||
|
||||
if ENABLE_OSS
|
||||
OSS=pa_unix_oss/pa_unix_oss.c
|
||||
@ -19,9 +18,14 @@ if ENABLE_ALSA
|
||||
ALSA=pa_linux_alsa/pa_linux_alsa.c
|
||||
endif
|
||||
|
||||
|
||||
SOURCES=$(OSS) $(UNIX) $(ALSA)
|
||||
|
||||
noinst_HEADERS = pa_common/portaudio.h \
|
||||
pa_common/pa_allocation.h pa_common/pa_dither.h pa_common/pa_process.h pa_common/pa_types.h \
|
||||
pa_common/pa_converters.h pa_common/pa_endianness.h pa_common/pa_stream.h pa_common/pa_util.h \
|
||||
pa_common/pa_cpuload.h pa_common/pa_hostapi.h pa_common/pa_trace.h pa_common/portaudio.h \
|
||||
pa_unix/pa_unix_util.h pa_linux_alsa/pa_linux_alsa.h
|
||||
|
||||
libportaudio_la_SOURCES = $(SOURCES) \
|
||||
pa_common/pa_allocation.c \
|
||||
pa_common/pa_converters.c \
|
||||
|
@ -1,5 +1,5 @@
|
||||
sflphoneringsdir = $(datadir)/sflphone/ringtones
|
||||
sflphonerings_DATA = \
|
||||
dist_sflphonerings_DATA = \
|
||||
konga.ul\
|
||||
phone.au\
|
||||
phone2.au
|
||||
|
@ -1,7 +1,5 @@
|
||||
libexec_PROGRAMS = sflphoned
|
||||
bin_SCRIPTS = sflphone
|
||||
lib_LTLIBRARIES = libsflphone.la
|
||||
|
||||
|
||||
if USE_ZEROCONF
|
||||
ZEROCONFDIR = zeroconf
|
||||
@ -16,12 +14,9 @@ endif
|
||||
SUBDIRS = audio config gui $(ZEROCONFDIR)
|
||||
|
||||
sflphoned_SOURCES = call.cpp eventthread.cpp main.cpp sipvoiplink.cpp voIPLink.cpp \
|
||||
sipcall.cpp managerimpl.cpp managerimpl.h manager.h global.h \
|
||||
eventthread.h \
|
||||
sipvoiplink.h user_cfg.h call.h voIPLink.h sipcall.h \
|
||||
sipcall.cpp managerimpl.cpp \
|
||||
observer.cpp
|
||||
|
||||
|
||||
sflphoned_CXXFLAGS = -DPREFIX=\"$(prefix)\" -DPROGSHAREDIR=\"${datadir}/sflphone\" $(ZEROCONFFLAGS)
|
||||
|
||||
#sflphoned_LDFLAGS = -static
|
||||
@ -41,5 +36,6 @@ libsflphone_la_LIBADD = \
|
||||
|
||||
libsflphone_la_SOURCES =
|
||||
|
||||
|
||||
noinst_HEADERS = observer.h
|
||||
noinst_LTLIBRARIES = libsflphone.la
|
||||
noinst_HEADERS = managerimpl.h manager.h global.h observer.h eventthread.h sipvoiplink.h user_cfg.h \
|
||||
call.h voIPLink.h sipcall.h
|
||||
|
@ -3,14 +3,15 @@ SUBDIRS = gsm pacpp
|
||||
noinst_LTLIBRARIES = libaudio.la
|
||||
|
||||
|
||||
libaudio_la_SOURCES = alaw.cpp alaw.h audiocodec.cpp audiocodec.h \
|
||||
audiolayer.cpp audiolayer.h audiortp.cpp audiortp.h codecDescriptor.cpp \
|
||||
codecDescriptor.h common.h dtmf.cpp dtmf.h dtmfgenerator.cpp dtmfgenerator.h g711.cpp \
|
||||
g711.h gsmcodec.cpp gsmcodec.h ringbuffer.cpp ringbuffer.h \
|
||||
tonegenerator.cpp tonegenerator.h ulaw.cpp ulaw.h tone.cpp tonelist.cpp audioloop.cpp \
|
||||
audiofile.cpp
|
||||
libaudio_la_SOURCES = alaw.cpp audiofile.cpp g711.cpp tonelist.cpp \
|
||||
audiortp.cpp dtmf.cpp tone.cpp audiocodec.cpp audiolayer.cpp dtmfgenerator.cpp gsmcodec.cpp \
|
||||
tonegenerator.cpp ulaw.cpp codecDescriptor.cpp \
|
||||
audioloop.cpp ringbuffer.cpp
|
||||
|
||||
AM_CXXFLAGS = -I$(top_srcdir)/include -I$(srcdir)/pacpp/include/ $(libccext2_CFLAGS) $(libccrtp1_CFLAGS) $(portaudio_CFLAGS) -I$(top_srcdir)/portaudio/pa_common
|
||||
libaudio_la_LIBADD = gsm/libgsm.la pacpp/source/portaudiocpp/libportaudiocpp.la
|
||||
|
||||
noinst_HEADERS = tone.h tonelist.h audioloop.h audiofile.h
|
||||
noinst_HEADERS = audioloop.h common.h ringbuffer.h alaw.h audiofile.h g711.h \
|
||||
tonelist.h audiortp.h audiocodec.h audiolayer.h \
|
||||
dtmfgenerator.h gsmcodec.h tonegenerator.h ulaw.h \
|
||||
audiodevice.h codecDescriptor.h dtmf.h tone.h
|
||||
|
@ -2,6 +2,8 @@ EXTRA_DIST = ChangeLog INSTALL MACHINES MANIFEST README COPYRIGHT
|
||||
|
||||
noinst_LTLIBRARIES = libgsm.la
|
||||
|
||||
noinst_HEADERS = config.h gsm.h private.h proto.h toast.h unproto.h
|
||||
|
||||
libgsm_la_SOURCES = \
|
||||
add.c\
|
||||
gsm_create.c\
|
||||
|
@ -10,4 +10,4 @@ libsflphoneguiserver_la_LIBADD =
|
||||
|
||||
noinst_HEADERS = responsemessage.h request.h requestfactory.h subcall.h \
|
||||
argtokenizer.h tcpsessionio.h requestmanager.h guiserver.h guiserverimpl.h sessionio.h \
|
||||
tcpsessionio.h tcpstreampool.h requestconfig.h
|
||||
tcpsessionio.h tcpstreampool.h requestconfig.h ObjectPool.hpp ObjectPool.inl
|
||||
|
Reference in New Issue
Block a user