libreoffice-online/gtk
Jaume Pujantell 3ba713aabf add isMobileApp util function to reduce ifdefs
Removed all MOBILEAPP preprocessor conditionals from Util.hpp/.cpp
Added isMobileApp function to help remove further conditionals.

Signed-off-by: Jaume Pujantell <jaume.pujantell@collabora.com>
Change-Id: I038a4db47ec2a2c7bb10f5696df5571b13bd9a61
2024-03-20 09:13:00 +01:00
..
gtk.hpp Make the gtk app build again 2022-11-24 15:02:10 +02:00
Makefile.am add isMobileApp util function to reduce ifdefs 2024-03-20 09:13:00 +01:00
mobile.cpp Actually use the safer (escaped) string we construct 2023-01-06 16:09:52 +02:00
README It seems that the gtk app takes a pathname, not a file: URI 2022-11-24 16:09:03 +02:00

This is a GTK+ Webkit app that is intended to work similarly enough to
the iOS app being developed in the "ios" folder, and the Android app
being developed in the "android" folder, that (some kinds of) problems
in them also show up in this app, and can be investigated by people
with no Android, Mac, or iOS device.

How to build this:

Use a separate tree of "online". Do NOT use one where you build a
normal Online.

Run autogen.sh, then configure:

./configure --enable-gtkapp --with-lo-path=/home/tml/lo/master/instdir --with-lokit-path=/home/tml/lo/master/include

Obviously, adjust the path to your LibreOffice build tree as necessary.

Then make.

You will get the gtk/mobile executable. Run it for example like this:

gtk/mobile $PWD/test/data/hello-world.odt

Then, if it doesn't work, debug it and fix it.