Commit Graph

850 Commits

Author SHA1 Message Date
19d423ab67 android: attempt to create presets/ directory, add 'HOME' too. 2012-01-24 18:11:32 +00:00
e384f24155 android: get dummy user-install 'presets' setup to please first-run 2012-01-23 22:03:43 +00:00
d83eb4b9ff android: get osl_Pipe creation sorted out, before we kill it.
use new OSL_SOCKET_PATH bootstrap variable to customise this.
2012-01-23 22:03:43 +00:00
90f6080e6b android: add package2 and create bootstraprc 2012-01-23 22:03:43 +00:00
9bea733ecf android: add missing component, icon theme, and UI config xml 2012-01-23 17:37:38 +00:00
4b7b244fe7 android: make desktop/ marginally debuggable 2012-01-23 17:12:04 +00:00
e74a3585a0 android: update README and fix a number of silly escaping issues 2012-01-23 17:12:03 +00:00
1921a96c32 Add the filters_test test documents 2012-01-23 13:40:47 +02:00
77d80f9e5b Possibly need dummy jni/Android.mk and Application.mk for ndk-gdb to work 2012-01-23 12:04:45 +02:00
7fddab07f4 android: re-installs can fail silently, remove tree before install 2012-01-23 09:52:38 +00:00
7b0123b9ea android: hard-code path to 'lofficerc' in assets/ 2012-01-21 21:55:53 +00:00
5ef52d43a3 filters_test needs a shitload of components
Ugly duplication of the list if components. Could obviously do some
elegant refactoring to have each component mentioned just once. But on
the other hand, this is just a temporary way to build this unit test
app, no? If/when eventually gbuildifying this, the data from the
gb_CppunitTest_add_components calls in the correspondig
CppunitTest_FOO.mk files can be used, one hopes.
2012-01-20 22:43:17 +02:00
cce52394e9 Add a target for the stdio redirection magic commands 2012-01-20 22:00:00 +02:00
f7c1f80ae4 Fix file: URI syntax 2012-01-20 21:19:51 +02:00
4635ed7aee android: add new desktop module, it gets to vcl init and fails. 2012-01-20 17:21:38 +00:00
dd013e7a6f Improve Android configury
Add a --with-android-sdk switch, and make that and the
--with-android-ndk mandatory when building for Android. Automatically
create a proper android/sc/qa/local.properties file (which points to
the SDK) for Ant.

Restore the Android ARM code generation related flags that I think we
want to use (that used to be mentioned in README.cross but were
accidentally dropped) to the automated setting of CC and CXX.
2012-01-20 13:25:35 +02:00
a52146c8ea Add a stop-start-cycle target to do the adb shell stop & start dance 2012-01-20 13:25:34 +02:00
d0fce05606 It's scfiltlo, not scfilt 2012-01-20 13:25:34 +02:00
804ddf47f7 Add the sc_filters_test unit test 2012-01-20 13:25:32 +02:00
fa83e46653 No need to unpack the .res files any more 2012-01-18 23:15:44 +02:00
3c9264558e android: use config_host.mk for unit test goodness 2012-01-18 17:16:53 +00:00
081d76c3fa Attempt to manage without Berkeley DB on iOS and Android
Berkeley DB is used for help index and extension database. (Possibly
only for a backward-compatible format of the latter, I am not sure.)
Neither use makes much sense on Android and iOS.

The existing help is for LO on desktop OSes anyway, help for LO-based
apps on iOS and Android will naturally be quite different.

On iOS there will definitely be no "extensions", and probably we don't
want to bother with such on Android either.
2012-01-16 16:53:49 +02:00
58b8a4d25d these are not old component files anymore 2012-01-15 16:11:33 +01:00
6022e3caa1 Now we need libdb, too 2012-01-13 13:04:30 +02:00
65e9ac63b8 Use merged libs on Android 2012-01-13 13:04:29 +02:00
81301aae96 More workarounds for weird problem with vnd.sun.star.expand 2012-01-13 01:31:50 +02:00
f7392b334a Fontconfig must have a cachedir, so hardcode one for now 2012-01-13 01:31:49 +02:00
6e3457da7c Just tell to run it with "make run" 2012-01-13 01:31:47 +02:00
fe8cd7dba0 We now proceed further and need some more libraries 2012-01-13 01:31:46 +02:00
2042da4847 Include .res files, a fonts.conf, and other hacking 2012-01-12 01:28:04 +02:00
420f3f8a5c Add setting environment variables 2012-01-12 01:28:03 +02:00
3267d34fb9 Need to trim trailing newline from the indirect command line string 2012-01-11 14:27:44 +02:00
11c9125c28 Work around http://code.google.com/p/android/issues/detail?id=23351 2012-01-11 13:48:55 +02:00
23dd856d3c Merge branch 'feature/gbuild_extensions'
Conflicts:
	extensions/source/ole/servreg.cxx
	extensions/source/plugin/util/makefile.mk
	postprocess/packcomponents/makefile.mk
	postprocess/prj/build.lst
	tail_build/prj/build.lst
2012-01-06 21:09:13 +01:00
d49cdfddf8 Need the basebmp library 2012-01-05 17:53:01 +02:00
fd66491759 Merge remote-tracking branch 'origin/master' into feature/gbuild_extensions
Conflicts:
	Module_tail_build.mk
	Repository.mk
	extensions/util/makefile.pmk
	postprocess/prj/build.lst
	svx/AllLangResTarget_svx.mk
2011-12-24 09:44:24 -05:00
6aac868d65 Add comment about how to use the lo-strace "extra" (option) 2011-12-22 15:45:33 +02:00
eae42329c2 Add a couple of missing files 2011-12-21 00:45:59 +02:00
0f65dbcf9a More shlibs and .component files needed 2011-12-19 01:28:01 +02:00
a2401b6c75 This is for Calc unit tests 2011-12-19 01:28:00 +02:00
75b85b12fb android: delete generated lo-bootstrap.jar 2011-12-18 22:40:36 +01:00
fb6180ddde Add uninstall target 2011-12-15 16:46:17 +02:00
537beec7f9 ndk-gdb needs gdbserver and gdb.setup 2011-12-15 16:46:16 +02:00
0b1cff0dbd ucalc needs lots more libraries 2011-12-15 16:46:15 +02:00
535e37abdb Add an app for the sc_ucalc unit test 2011-12-15 01:03:18 +02:00
079de829c8 Add separate cppunittester app project that uses the Bootstrap library 2011-12-14 18:04:50 +02:00
e730da8be7 Turn Bootstrap into a "library" project from Ant's point of view 2011-12-14 18:04:50 +02:00
00373d2097 Move .gitignore one level up 2011-12-12 22:15:01 +02:00
5510127e89 Android code refactorig and hacking
Sorry for the large unstructured commit. But hey, the Android code is
experimental so far.

Extract the native lo-bootstrap code into a fairly normal library
built in sal. (Previously it was the JNI part of the "Bootstrap" app.)
Just linkink normally to liblo-bootstrap from C++ code that uses it
works fine, no need to do a dlsym lookup.

Bootstrap is still a subclass of NativeActivity and can thus still be
used as an "app" (to start unit tests, or whatever), but can also be
used from some other app's Java code to just get access to the
lo-bootstrap native methods.

Introduce a new top-level "module", android, for Bootstrap and the
experiments with DocumentLoader.

Note that the experimental DocumentLoader app still crashes. It can't
create the com.sun.star.frame.Desktop instance.

I spent lots of time debugging in the painfully inadequate
ndk-gdb. (Even the newer gdb build from the "mingw-and-ndk" project is
quite crappy in many ways.) I should really experiment with
corresponding code on a normal platform first before even trying on
Android. Basically, I think that if I just can get the concept of Java
code that instantiates and uses LO components *in-process* working on
a normal desktop platform, it should work on Android, too.
2011-11-30 21:52:52 +02:00
3ad35cbadb Android hacking
Start of an app to just load some document. Uses API from the
org.libreoffice.android.Bootstrap class.

Not sure what is the sanest way to build an app like this. It needs a
bunch of shared libraries of course to be copied into libs/armeabi-v7a
so that they get included in the .apk. Perhaps a Makefile similar to
the one for lo-bootstrap might be good?

But for debugging the Java code Eclipse is the way to go (?), and to
be able to do that Eclipse wants a "project". So should this then be
built only through Eclipse? Can one build Eclipse projects from the
command line?
2011-11-29 01:37:04 +02:00