launch.sh doesn't work with absolute pathnames
There's a line
BASE=
pwd/
dirname $0``
on top of launch.sh. It won't work if e.g. pwd is '/home' and $0 is '/home/foo/gajim/launch.sh'. The BASE variable would be '/home//home/foo/gajim/' in such case. I changed it the way it can be seen in the patch, but I'm not sure if it works under mac osx.