iOS: add some alternative brew / pip instructions for local building.

Change-Id: Icefeb848537cefc618170d730d3c0b32e3898de6
private/mmeeks/thread-png
Michael Meeks 2019-02-18 16:43:48 +01:00
parent 3a43b1a02b
commit b46f027101
2 changed files with 13 additions and 1 deletions

View File

@ -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"

View File

@ -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.