Files in the top-level directory from the latest check-in
- highlight
- backend.c
- bell.wav
- cJSON-README
- cJSON.c
- cJSON.h
- config.c
- default_buddies.txt
- gpl-3.0.txt
- Makefile
- psip-doc.html
- psip.c
- psip.conf.sample
- psip.glade
- psip.h
- psip48.png
- psip_icon_original.png
- psip_im.glade
- README.txt
- red-phone.png
- screenshot.png
- test-gtk-server.sh
- version
- xml2c.sh
Standard build instructions:
1. Download pjproject-1.10.tar.bz2 from http://www.pjsip.org
2. Extract, the run ./configure && make dep && make && make install
3. Download osxcart from http://sourceforge.net/projects/osxcart/
4. Extract, then run ./configure && make && make install
5. Then run make (or make release) inside PSIP directory - PSIP doesn't use
autoconf at the moment.
Note: there is no "make install".
After the final compile, you will get "psip" and "psip-no-recorder"
executables in the source directory.
If you make the release build, that's all you need.
If you make the standard build (=debug build), you need to copy along the glade
files (psip.glade and psip_im.glade) and put them into the same directory as
the executables.
Optimising for size on 32-bit machines (for release build):
1. pjproject: CFLAGS=" -DGTK_NO_CHECK_CASTS -DG_DISABLE_CAST_CHECKS -DNDEBUG -DG_DISABLE_ASSERT -pipe -combine -Os -ffunction-sections -fdata-sections -march=i486 -mtune=i686 " LDFLAGS=" -Wl,--relax,--sort-common,--as-needed,-s " ./configure --prefix /usr && make dep && make && make install
2. osxcart: CFLAGS=" -DGTK_NO_CHECK_CASTS -DG_DISABLE_CAST_CHECKS -DNDEBUG -DG_DISABLE_ASSERT -pipe -combine -Os -ffunction-sections -fdata-sections -march=i486 -mtune=i686 " LDFLAGS=" -Wl,--relax,--sort-common,--as-needed,-s " ./configure --prefix /usr --disable-shared && make && make install
3. psip: CFLAGS=" -DGTK_NO_CHECK_CASTS -DG_DISABLE_CAST_CHECKS -DNDEBUG -DG_DISABLE_ASSERT -pipe -combine -Os -ffunction-sections -fdata-sections -march=i486 -mtune=i686 " LDFLAGS=" -Wl,--relax,--sort-common,--as-needed,-s " make clean release
Good luck.
James