Ignore macos bundle geenrated files

parent bc69b279
......@@ -73,3 +73,6 @@ tools/xml2lpc_test
coreapi/help/filetransfer
tester/receive_file.dump
tester/tmp.db
.DS_Store
Linphone.app
*.dmg
......@@ -27,7 +27,7 @@ You need:
$ sudo port install hicolor-icon-theme
The next pieces need to be compiled manually. To ensure compatibility with multiple mac os version it is recommended to do:
$ export MACOSX_DEPLOYMENT_TARGET=10.6
$ export MACOSX_DEPLOYMENT_TARGET=10.6
$ export CFLAGS="-arch i386 -arch x86_64 -mmacosx-version-min=10.5"
$ export OBJCFLAGS="-arch i386 -arch x86_64 -mmacosx-version-min=10.5"
$ export CXXFLAGS="-arch i386 -arch x86_64 -mmacosx-version-min=10.5"
......@@ -41,7 +41,7 @@ The next pieces need to be compiled manually. To ensure compatibility with multi
$ git clone -b linphone git://git.linphone.org/antlr3.git
$ cd antlr3/runtime/C
$ ./autogen.sh
$ ./configure --disable-static --prefix=/opt/local && make
$ ./configure --disable-static --prefix=/opt/local && make
$ sudo make install
- Install polarssl (encryption library used by belle-sip)
......@@ -65,7 +65,7 @@ The next pieces need to be compiled manually. To ensure compatibility with multi
$ sudo port install cmake
$ git clone https://github.com/wernerd/ZRTPCPP.git
$ cd ZRTPCPP
$ cmake -DCORE_LIB=true -DSDES=false CMAKE_INSTALL_NAME_DIR=/usr/local/lib/ -DCMAKE_C_FLAGS="-arch i386 -arch x86_64 -mmacosx-version-min=10.5" -DCMAKE_CXX_FLAGS="-arch i386 -arch x86_64 --stdlib=libstdc++ -std=c++11 -lstdc++ -mmacosx-version-min=10.5" -DCMAKE_C_COMPILER=`xcrun --find clang` -DCMAKE_CXX_COMPILER=`xcrun --find clang` .
$ cmake -DCORE_LIB=true -DSDES=false CMAKE_INSTALL_NAME_DIR=/usr/local/lib/ -DCMAKE_C_FLAGS="-arch i386 -arch x86_64 -mmacosx-version-min=10.5" -DCMAKE_CXX_FLAGS="-arch i386 -arch x86_64 --stdlib=libstdc++ -std=c++11 -lstdc++ -mmacosx-version-min=10.5" -DCMAKE_C_COMPILER=`xcrun --find clang` -DCMAKE_CXX_COMPILER=`xcrun --find clang` .
$ sudo make install
......@@ -87,22 +87,22 @@ $ sudo make install
If you got the source code from git, run ./autogen.sh first.
Then or otherwise, do:
$ PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure --prefix=/opt/local --with-readline=/opt/local --disable-x11 --with-srtp=/opt/local --with-gsm=/opt/local --enable-zrtp --disable-strict && make
Install to /opt/local
$ sudo make install
$ sudo make install
Done.
If you want to generate a portable bundle, then install gtk-mac-bundler.
Use git:
$ git clone https://github.com/jralls/gtk-mac-bundler.git
$ git clone https://github.com/jralls/gtk-mac-bundler.git
$ cd gtk-mac-bundler && make install
$ export PATH=$PATH:~/.local/bin
#make this dummy charset.alias file for the bundler to be happy:
$ sudo touch touch /opt/local/lib/charset.alias
$ sudo touch /opt/local/lib/charset.alias
The bundler file in build/macos/linphone.bundle expects some plugins to be installed in /opt/local/lib/mediastreamer/plugins .
If you don't need plugins, remove or comment out this line from the bundler file:
......@@ -121,13 +121,13 @@ For a better appearance, you can install the gtk-quartz-engine (a gtk theme) tha
$ git clone https://github.com/jralls/gtk-quartz-engine.git
$ cd gtk-quartz-engine
$ autoreconf -i
$ ./configure --prefix=/opt/local CFLAGS="$CFLAGS -Wno-error" && make
$ autoreconf -i
$ ./configure --prefix=/opt/local CFLAGS="$CFLAGS -Wno-error" && make
$ sudo make install
Generate a new bundle to have it included.
libiconv hack
libiconv hack
*************
The Makefile.am rules used to generate the bundle fetch a libiconv.2.dylib from a linphone download page.
......@@ -141,6 +141,6 @@ In case this library needs to generated, here are the commands:
The resulted library can be found in /tmp/opt/local/lib
mediastreamer2 @ 055690a6
Subproject commit d051490ff070aece407149baa9a477d97031c1c6
Subproject commit 055690a69eea4758f7aa265862992aca1f2cb982
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment