[Libreoffice-commits] online.git: Mobile/README
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Oct 24 09:45:12 UTC 2018
Mobile/README | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
New commits:
commit fb33a3d607ff94dd694da562a604a3ac60df58aa
Author: Tor Lillqvist <tml at collabora.com>
AuthorDate: Wed Oct 24 12:44:47 2018 +0300
Commit: Tor Lillqvist <tml at collabora.com>
CommitDate: Wed Oct 24 12:44:47 2018 +0300
Minor edits
Change-Id: Ie392c6e5d5ba6c9f39c6786f48f4457d2478f23b
diff --git a/Mobile/README b/Mobile/README
index 69cbb5161..e273c5b78 100644
--- a/Mobile/README
+++ b/Mobile/README
@@ -6,12 +6,12 @@ your autogen.input something like this:
--enable-debug
--enable-dbgutil
--enable-werror
---without-parallelism
---disable-ccache
--with-distro=LibreOfficeiOS
and build "normally". (Naturally, no unit tests will be run when
-cross-compiling LibreOffice.)
+cross-compiling LibreOffice.) Of course there is no requirement to use
+those --enable options; as a minimum, just
+--with-distro=LibreOfficeiOS should work.
This will produce a large number of static archives (.a) here and
there in instdir and workdir, but no app that can be run as such. (You
@@ -21,7 +21,8 @@ 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) Then, in a separate clone of the online repo on Linux, configure it with the --enable-iosapp option:
+3) Do a separate clone of the online repo on Linux, run autogen.sh,
+and configure it with the --enable-iosapp option:
./configure --disable-ssl --enable-iosapp --with-lo-path=/home/tml/lo/fedora/instdir --with-lokit-path=/home/tml/lo/fedora/include
@@ -29,20 +30,20 @@ make or open the Mobile project there yet.
irrelevant, but needed anyway.)
Then run make. That will produce files in loleaflet/dist, nothing
-else. Copy those to the corresponding directory in the online close
+else. Copy those to the corresponding folder in the online close
from step 2. This is what I do:
make clean && make && tar cf - loleaflet/dist | ssh misan.local 'cd lo/online-ios-device && tar xvf -'
where misan.local is the macOS machine where I build the app, in the
-lo/online-ios-device folder.
+~lo/online-ios-device folder.
4) In the online folder form step 2, edit the
Mobile/Mobile.xcodeproj/project.pbxproj file in your favourite text
editor.
Change all instances of ../../../../ios-device to the path to where
-you build LibreOffice core for iOS from step 1. Change the value of
+you built LibreOffice core for iOS in step 1. Change the value of
PNGINSTDIR to where you have installed libpng compiled for iOS. Change
POCOINSTDIR to where you have installed Poco compiled for iOS.
More information about the Libreoffice-commits
mailing list