News from November, 2011

  2011/11/08
Compile PJSIP 1.x for IOS5 using XCode4.2
Last changed: Nov 09, 2011 09:50 by Bartolomeo Sorrentino

The Voip topic and in particular SIP protocol is becoming (rapidly)  the near future of communication.

Obviously It's stategic to use these technologies from Mobile Device. Android form release 2.3 has delivered 'built in' a SIP infrastructure,  making easier to deal with VoiP technologies. On the other hand, at now, for the iPhone there isn't a "built in" SIP implementation, so we have to find out a "Commercial" or "Open Source" solution.

I've tried the PJSIP for IOS and have had some trouble to compile it on MacOSX 10.6.8 for IOS5 using XCode4.2. In particular i needed to work with "IPhone Simulator 4.2" and for this reason i had to compile for platform i386 more than arm7. After a lot of attempts, finally, from the PJSIP FAQ i found the solution shown below

$ export DEVPATH=/Developer/Platforms/iPhoneSimulator.platform/Developer
$ export CC=$DEVPATH/usr/bin/gcc
$ export CFLAGS="-O2 -m32 -miphoneos-version-min=3.0" LDFLAGS="-O2 -m32"
$ export ARCH='-arch i386'

$ ./configure-iphone
Posted at 08 Nov @ 6:58 PM by Bartolomeo Sorrentino | 0 Comments
  2011/11/23
Script to ignore Eclipse settings in SVN
Last changed: Nov 23, 2011 16:00 by Bartolomeo Sorrentino
Labels: eclipse, svn, settings

Introduction

Typically when an Eclipse project is shared by different development teams, commit 'Eclipse settings files' could drive to fix them everytime another developer checkout or update the project (unless we synchonize 'eclipse workspaces' over teams).

If you have this problem and want "automatically' ignore eclipse project settings feel free to use the shell below

rm -rf /tmp/.settings

cp .classpath /tmp
cp .project /tmp
cp -R .settings /tmp

svn del .classpath
svn del .project
svn del .settings

svn propset svn:ignore ".classpath
*.log
.project
.settings
target" .

svn commit -m'ignore eclipse settings'

cp /tmp/.classpath .
cp /tmp/.project .
cp -R /tmp/.settings .

Posted at 23 Nov @ 3:49 PM by Bartolomeo Sorrentino | 0 Comments