From 7b9ae474c6d6c0c429fef9e1b1a2927f4465beb4 Mon Sep 17 00:00:00 2001
From: Simon Morlat <simon.morlat@linphone.org>
Date: Fri, 25 Mar 2011 12:26:34 +0100
Subject: [PATCH] fix zip generation on macos

---
 Makefile.am  | 2 +-
 README.macos | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index bdfbefcb70..3d533352fb 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -194,7 +194,7 @@ bundle:
 	LINPHONE_INSTALL_PREFIX=$(INSTALLDIR_WITH_PREFIX) \
 	LIBLINPHONE_INSTALL_PREFIX=$(INSTALLDIR_WITH_PREFIX) \
 	ige-mac-bundler $(PACKAGE_BUNDLE_FILE)
-	cd $$HOME/Desktop && zip -r Linphone-$(VERSION).app.zip $$HOME/Desktop/Linphone.app
+	cd $$HOME/Desktop && zip -r Linphone-$(VERSION).app.zip Linphone.app
 
 
 
diff --git a/README.macos b/README.macos
index 4cc36071c5..ed5fdd41d8 100644
--- a/README.macos
+++ b/README.macos
@@ -35,7 +35,8 @@ http://sourceforge.net/apps/trac/gtk-osx/wiki/Bundle
 - Now you can compile linphone
 
 $ jhbuild shell
-$ PKG_CONFIG_PATH=$HOME/gtk/inst/lib/pkgconfig:/opt/local/lib/pkgconfig/ ./configure --disable-video --disable-strict
+$ PKG_CONFIG_PATH=$HOME/gtk/inst/lib/pkgconfig:/opt/local/lib/pkgconfig/ ./configure --disable-video --disable-strict --with-gsm=/opt/local
+#assuming you have gsm installed in /opt/local. However gsm is optional.
 $ make
 
 - You can generate a bundle using
-- 
GitLab