X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=README.macos;h=dd39c2f6e866db181b7ccca97e3df6f6913d0fe8;hb=f7c594507b16a3f158f75cbaa0a4fe8f92b1e49a;hp=3fb5106a39829eb4b1208556fff057534b60ce63;hpb=974514eed431f34312d85fe7cbea017d420b5a5c;p=linphone diff --git a/README.macos b/README.macos index 3fb5106a..dd39c2f6 100644 --- a/README.macos +++ b/README.macos @@ -39,12 +39,15 @@ You need: - Install additional librairies required for wizard (linphone.org account creation assistant) $ sudo port install libsoup + - Install sqlite3 for message storage + $ sudo port install sqlite3 + ** WARNING 2013-03-06 glib-networking is currently broken in macports - generates crashes or hangs when used in a bundle ** As a temporary workaround, build a newer version by yourself: $ wget http://ftp.gnome.org/pub/gnome/sources/glib-networking/2.34/glib-networking-2.34.2.tar.xz $ tar -xvzf glib-networking-2.34.2.tar.xz $ cd glib-networking-2.34.2 - $ ./configure --prefix=/opt/local && make + $ ./configure --prefix=/opt/local --without-ca-certificates && make $ sudo make install - Compile and install the tunnel library (optional, proprietary extension only) @@ -96,4 +99,20 @@ For a better appearance, you can install the gtk-quartz-engine (a gtk theme) tha Generate a new bundle to have it included. +libiconv hack +************* + +The Makefile.am rules used to generate the bundle fetch a libiconv.2.dylib from a linphone download page. +This library adds some additional symbols so that dependencies requiring the iconv from /usr/lib and the ones requiring from the bundle are both satisfied. +In case this library needs to generated, here are the commands: + $ wget http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.14.tar.gz + $ cd libiconv-1.14 + $ patch -p1 < ../linphone/build/macos/libiconv-macos.patch + $ ./configure --prefix=/opt/local --disable-static 'CFLAGS=-arch i386 -arch x86_64 -mmacosx-version-min=10.5' 'LDFLAGS=-arch i386 -arch x86_64 -mmacosx-version-min=10.5' CXXFLAGS="-arch i386 -arch x86_64 -mmacosx-version-min=10.5" && make + $ make install DESTDIR=/tmp + +The resulted library can be found in /tmp/opt/local/lib + + +