[Libreoffice-commits] online.git: autogen.sh ios/README

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Feb 18 15:45:21 UTC 2019


 autogen.sh |    2 ++
 ios/README |   12 +++++++++++-
 2 files changed, 13 insertions(+), 1 deletion(-)

New commits:
commit b46f0271016cf092f1ea486333725db7df61dc75
Author:     Michael Meeks <michael.meeks at collabora.com>
AuthorDate: Mon Feb 18 16:43:48 2019 +0100
Commit:     Michael Meeks <michael.meeks at collabora.com>
CommitDate: Mon Feb 18 16:44:51 2019 +0100

    iOS: add some alternative brew / pip instructions for local building.
    
    Change-Id: Icefeb848537cefc618170d730d3c0b32e3898de6

diff --git a/autogen.sh b/autogen.sh
index 1e558726f..c68b5162c 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -18,6 +18,8 @@ EOF
 
 if test `uname -s` = Linux; then
     libtoolize || failed "libtool"
+elif test `uname -s` = Darwin; then
+    glibtoolize || failed "Can't find glibtoolize - cf. https://brew.sh and brew install libtool"
 fi
 
 aclocal || failed "aclocal"
diff --git a/ios/README b/ios/README
index 29f377cba..4ca3b3a48 100644
--- a/ios/README
+++ b/ios/README
@@ -21,7 +21,7 @@ workdir/CustomTarget/ios/ios-all-static-libs.list)
 2) Do a separate clone of the online repo on macOS, but don't run any
 make or open the Mobile project there yet.
 
-3) Do a separate clone of the online repo on Linux, run autogen.sh,
+3) Either: do a separate clone of the online repo on Linux, run autogen.sh,
 and configure it with the --enable-iosapp option:
 
 ./configure --enable-iosapp --with-iosapp-name="My Own Mobile LibreOffice"
@@ -35,6 +35,16 @@ make clean && make && tar cf - loleaflet/dist | ssh misan.local 'cd lo/online-io
 where misan.local is the macOS machine where I build the app, in the
 ~/lo/online-ios-device folder.
 
+3) Or: install brew: https://brew.sh/
+
+   Then:
+
+brew install libtool npm
+./autogen.sh
+sudo python -m ensurepip --default-pip
+sudo pip install polib lxml
+make ; make
+
 4) In the online folder form step 2, edit the
 ios/Mobile.xcodeproj/project.pbxproj file in your favourite text
 editor.


More information about the Libreoffice-commits mailing list