mirror of
https://github.com/LibreOffice/online.git
synced 2025-08-20 16:39:17 +00:00
iOS: add some alternative brew / pip instructions for local building.
Change-Id: Icefeb848537cefc618170d730d3c0b32e3898de6
This commit is contained in:
@ -18,6 +18,8 @@ EOF
|
|||||||
|
|
||||||
if test `uname -s` = Linux; then
|
if test `uname -s` = Linux; then
|
||||||
libtoolize || failed "libtool"
|
libtoolize || failed "libtool"
|
||||||
|
elif test `uname -s` = Darwin; then
|
||||||
|
glibtoolize || failed "Can't find glibtoolize - cf. https://brew.sh and brew install libtool"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
aclocal || failed "aclocal"
|
aclocal || failed "aclocal"
|
||||||
|
12
ios/README
12
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
|
2) Do a separate clone of the online repo on macOS, but don't run any
|
||||||
make or open the Mobile project there yet.
|
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:
|
and configure it with the --enable-iosapp option:
|
||||||
|
|
||||||
./configure --enable-iosapp --with-iosapp-name="My Own Mobile LibreOffice"
|
./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
|
where misan.local is the macOS machine where I build the app, in the
|
||||||
~/lo/online-ios-device folder.
|
~/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
|
4) In the online folder form step 2, edit the
|
||||||
ios/Mobile.xcodeproj/project.pbxproj file in your favourite text
|
ios/Mobile.xcodeproj/project.pbxproj file in your favourite text
|
||||||
editor.
|
editor.
|
||||||
|
Reference in New Issue
Block a user