Skip to content

Commit 8d3be09

Browse files
author
savoirfairelinux
committed
Initial revision
0 parents  commit 8d3be09

File tree

198 files changed

+24081
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

198 files changed

+24081
-0
lines changed

‎COPYING‎

Lines changed: 345 additions & 0 deletions
Large diffs are not rendered by default.

‎LICENSE‎

Lines changed: 341 additions & 0 deletions
Large diffs are not rendered by default.

‎Makefile‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#
2+
# Makefile for sflphone.
3+
# (c) 2004 Savoir-faire Linux inc.
4+
# Author: Laurielle Lea (laurielle.lea@savoirfairelinux.com)
5+
#
6+
all:
7+
cd src; make
8+
9+
install:
10+
cd src; make install
11+
12+
uninstall:
13+
cd src; make uninstall
14+
15+
clean:
16+
cd src; make clean
17+

‎README‎

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
This is SFLPhone 0.1 alpha. A new softphone.
2+
3+
WARNING!!!
4+
This software is extremely alpha, as its name says.
5+
You will experience lots of trouble while (or even before) running it.
6+
This is the game. But hopefully someday you will enjoy
7+
using sflphone on your desktop.
8+
9+
Only OSS audio is supported for now.
10+
11+
How to compile it ?
12+
----------------
13+
14+
./configure -oss
15+
make
16+
make install
17+
( Be sure you have the correct permissions).
18+
19+
20+
How to use it ?
21+
---------------
22+
1. Lauch it and click on SETUP.
23+
Go to Audio, choose OSS (if you don't it WILL crash, this is a small bug,
24+
don't forget, it's alpha).
25+
26+
2. If you do have a SIP account, fill the SIP stuff where related. You can use
27+
STUN too.
28+
29+
3. Save your settings, restart it. You're done.
30+
31+
A full documentation will be available later on http://www.sflphone.org
32+
33+
34+
Why does it not compile ?
35+
-------------------------
36+
- You don't have the same library versions as we do.
37+
See http://www.sflphone.org in section Downloads.
38+
39+
- You don't have the same compiler (some libraries dislike
40+
some compilers). We are using gcc 3.3.3 on
41+
Fedora Core 2 Linux. Someone reported it works on gcc 3.4.
42+
43+
- You don't have luck as we cannot help you before
44+
January, 5th 2005 because we are on *holidays*.
45+
46+
Of course we love patches. And contribution. See http://www.sflphone.org/ .
47+
We are setting up the project (CVS, bugtraqer, MLs) infrastructure.
48+
Please be patient. The goal was to release an early alpha version before the
49+
holidays so we can get some feedback.
50+
51+
Laurielle Lea (laurielle.lea@savoirfairelinux.com)
52+

‎configure‎

Lines changed: 206 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,206 @@
1+
#!/bin/sh
2+
#
3+
# configure script v 1.0
4+
# (c) 2004 Savoir-faire Linux inc.
5+
#
6+
# History:
7+
# 2004-12-21 Jerome Oufella (Original release)
8+
#
9+
10+
# This is the installation prefix.
11+
PREFIX=/usr/local
12+
13+
# Define QTDIR if your env doesn't.
14+
#QTDIR=/usr/lib/qt3
15+
16+
# Define this directory to look for CC++2/CCRTP
17+
CCPPDIR=
18+
CCRTPDIR=
19+
20+
# Define this directory to look for oSIP
21+
OSIPDIR=
22+
23+
# Define this directory to look for eXoSIP
24+
EXOSIPDIR=
25+
26+
################################################################################
27+
################################################################################
28+
29+
# You shouldnt have to change this, those are the classic install directories.
30+
CLASSIC_DIRS=/usr:/usr/local:/opt
31+
32+
# Display general usage informations.
33+
usage () {
34+
echo "Usage: $0 [options]"
35+
echo "Options:
36+
-prefix DIR Set install prefix
37+
-oss Enable OSS support
38+
-alsa Enable ALSA support [Not supported yet]
39+
-macosx Enable MacOSX audio support [Not supported yet]"
40+
}
41+
42+
# Check if $1 is contained in $PATH-style $2. Optionally $3 is "-p" to print
43+
# the matching directory.
44+
is_in_path () {
45+
local file
46+
local path
47+
local d
48+
49+
file=$1
50+
path=$2
51+
52+
if [ x"$file" = x"" ]
53+
then
54+
return 1 # bad file name
55+
fi
56+
57+
if [ x"$path" = x"" ]
58+
then
59+
return 1 # bad path list
60+
fi
61+
62+
for d in `echo $path | sed -e 's/:/ /g'`
63+
do
64+
if [ -e $d/$file ]
65+
then
66+
if [ x"$3" = x"-p" ]
67+
then
68+
echo "$d"
69+
fi
70+
return 0 # ok
71+
fi
72+
done
73+
74+
return 1 # not found
75+
}
76+
77+
# Parse arguments
78+
while [ $# -gt 0 ]
79+
do
80+
case "$1" in
81+
-prefix)
82+
PREFIX=$2
83+
shift 2
84+
;;
85+
-oss)
86+
DEFVARS="-DOSS ${DEFVARS}"
87+
shift
88+
;;
89+
-alsa)
90+
DEFVARS="-DALSA ${DEFVARS}"
91+
shift
92+
;;
93+
-help|--help|-h)
94+
usage
95+
exit 1
96+
;;
97+
98+
*)
99+
usage
100+
echo
101+
echo "Fatal: Unknown option \"$1\"."
102+
exit 1
103+
;;
104+
esac
105+
done
106+
107+
# Check PREFIX
108+
if [ x"$PREFIX" != x"" ]
109+
then
110+
if [ ! -d $PREFIX ]
111+
then
112+
usage
113+
echo "Fatal: Cannot find "$PREFIX" directory."
114+
exit 1
115+
fi
116+
else
117+
usage
118+
exit 1
119+
fi
120+
DEFVARS="-DPREFIX=\\\"$PREFIX\\\" -DPROGSHAREDIR=\\\"$PREFIX/share/sflphone\\\" $DEFVARS"
121+
122+
# Check for QT
123+
if [ x"$QTDIR" = x"" ] # Is QTDIR defined ?
124+
then
125+
echo 'Fatal: $QTDIR does not exist. Edit this script to define manually or'
126+
echo " set your QTDIR environment variable to the right location."
127+
exit 1
128+
fi
129+
130+
# Check for cc++2
131+
dir=`is_in_path bin/ccgnu2-config ${CLASSIC_DIRS}:$CCPPDIR -p`
132+
if [ x"dir" = x"" ]
133+
then
134+
echo "I couldn't find bin/ccgnu2-config in the standard dirs. Please edit"
135+
echo "this script and set CCPPDIR."
136+
exit 1
137+
else
138+
echo "Found cc++2."
139+
CCPPDIR=${dir}
140+
fi
141+
142+
# Check for ccRTP (include/ccrtp/rtp.h)
143+
dir=`is_in_path include/ccrtp/rtp.h ${CLASSIC_DIRS}:$CCDIR -p`
144+
if [ x"dir" = x"" ]
145+
then
146+
echo "I couldn't find ccrtp/rtp.h in the standard dirs. Please edit"
147+
echo "this script and set CCRTPDIR."
148+
exit 1
149+
else
150+
echo "Found ccRTP."
151+
CCRTPDIR=${dir}
152+
fi
153+
154+
# Check for oSIP (include/osip2/osip.h)
155+
dir=`is_in_path include/osip2/osip.h ${CLASSIC_DIRS}:$OSIPDIR -p`
156+
if [ x"dir" = x"" ]
157+
then
158+
echo "I couldn't find osip2/osip.h in the standard dirs.Please edit"
159+
echo "this script and set OSIPDIR."
160+
exit 1
161+
else
162+
echo "Found oSIP."
163+
OSIPDIR=${dir}
164+
fi
165+
166+
# Check for eXoSIP (include/eXosip/eXosip.h)
167+
dir=`is_in_path include/eXosip/eXosip.h ${CLASSIC_DIRS}:$EXOSIPDIR -p`
168+
if [ x"dir" = x"" ]
169+
then
170+
echo "I couldn't find exosip/exosip.h in the standard dirs. Please "
171+
echo "edit this script and set EXOSIPDIR."
172+
exit 1
173+
else
174+
echo "Found eXoSIP."
175+
EXOSIPDIR=${dir}
176+
fi
177+
178+
179+
echo "Config OK :"
180+
echo " PREFIX is \"$PREFIX\",
181+
QT in $QTDIR,
182+
CC++2 in $CCPPDIR,
183+
CCRTP in $CCRTPDIR,
184+
OSIP in $OSIPDIR,
185+
EXOSIP in $EXOSIPDIR,
186+
Defining $DEFVARS."
187+
188+
cat > configure.conf << EOF
189+
# This file is automagically generated by configure.sh.
190+
# It is included by the Makefile at compile time.
191+
#
192+
PREFIX=$PREFIX
193+
QTDIR=$QTDIR
194+
CCPPDIR=$CCPPDIR
195+
CCRTPDIR=$CCRTPDIR
196+
OSIPDIR=$OSIPDIR
197+
EXOSIPDIR=$EXOSIPDIR
198+
DEFVARS=${DEFVARS=-DOSS}
199+
#
200+
# End.
201+
EOF
202+
203+
echo "Generated configure.conf, you can now type 'make' to compile sflphone."
204+
exit 0
205+
206+
# EOF

‎pixmaps/about.png‎

2.34 KB

‎pixmaps/audio.png‎

1.92 KB

‎pixmaps/gsm.png‎

1.02 KB

‎pixmaps/logo_ico.png‎

1.48 KB

‎pixmaps/network.png‎

1.85 KB

0 commit comments

Comments
 (0)