From 367013ab845ea7f121f4d0e51e7c5bba1fe4cd50 Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Tue, 30 Aug 2011 17:14:20 +0200 Subject: [PATCH] macos x bundle fixes --- README.macos | 9 ++++++--- build/macos/linphone.bundle | 7 +------ gtk/main.c | 15 ++++++++++++++- mediastreamer2 | 2 +- 4 files changed, 22 insertions(+), 11 deletions(-) diff --git a/README.macos b/README.macos index e5a8a50f1..15ae9f11c 100644 --- a/README.macos +++ b/README.macos @@ -43,7 +43,7 @@ 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-strict --disable-x11 && make + $ ./configure --prefix=/opt/local --with-readline=/opt/local --disable-strict --disable-x11 && make Install to /opt/local @@ -52,13 +52,16 @@ Install to /opt/local Done. If you want to generate a portable bundle, then install ige-mac-bundler. -The version in macports doesn't work at all. +The macport package of ige-mac-bundler doesn't work at all. Use git: $ git clone https://github.com/jralls/ige-mac-bundler.git $ cd ige-mac-bundler && make install $ export PATH=$PATH:~/.local/bin Then run, inside linphone source tree: + 1. Run configure as told before but with "--enable-relativeprefix" appended. + + $ make $ make bundle The resulting bundle is located in ~/Desktop, together with a zipped version. @@ -71,6 +74,6 @@ For a better appearance, you can install the gtk-quartz-engine (a gtk theme) tha $ ./configure --prefix=/opt/local && make $ sudo make install -Generate a new bundle to have it packaged. +Generate a new bundle to have it included. diff --git a/build/macos/linphone.bundle b/build/macos/linphone.bundle index 52aa54c61..90b1beef7 100644 --- a/build/macos/linphone.bundle +++ b/build/macos/linphone.bundle @@ -12,11 +12,10 @@ defined by jhbuild, so it you are not using jhbuild you can either define your own or just hardcode the path here. --> - ${env:JHBUILD_PREFIX} + /opt/local ${env:LINPHONE_INSTALL_PREFIX} ${env:LINPHONE_INSTALL_PREFIX} /opt/local - /usr/local