Commit graph

8526 commits

Author SHA1 Message Date
Markus Mohrhard
ed398366d5 remove libsqlite from macosx library path again and disable testPassword there 2011-11-19 02:52:38 +01:00
Andras Timar
949ee7c308 add --enable-silent-msi configure switch
On Windows it is now configurable to create an MSI installer
which installs LibreOffice without user interaction.
2011-11-18 23:47:35 +01:00
Michael Stahl
0d09e4025e ComponentTarget: do not generate broken component files 2011-11-18 22:24:18 +01:00
Andras Timar
555a663292 don't create download (nsis) install sets on Windows 2011-11-17 16:02:26 +01:00
Tor Lillqvist
469c9ac2f9 Enforce a "lib" prefix for UNO components for Android
This commit for the old build system. (Don't bother for components not
relevant for Android.)

The Android package installer (as invoked through "adb install", from
"ant debug install") silently ignores native libraries in app packages
(.apk files) whose names don't start with "lib" and end with ".so".

The package builder (as invoked through "ant debug") in the SDK gladly
includes also thusly named native libraries in the .apk, though. Yay
for consistency.
2011-11-17 15:22:59 +02:00
Andras Timar
e75175625e remove setup.exe and setup.ini from Windows installdir 2011-11-17 13:19:07 +01:00
Jan Holesovsky
ce8f0a7e72 Removing the last remnants of layout - sorry to see it go :-( 2011-11-17 00:49:48 +01:00
Norbert Thiebaud
8a7cfed28d support for various make goal in source_and_rerun 2011-11-16 16:14:09 -06:00
Stephan Bergmann
1a07c3b530 Typo WITHOUTDOTPACKAGEVERSION -> WITHOUTDOTPRODUCTVERSION. 2011-11-16 16:08:43 +01:00
Andras Timar
ee53055d7d merge transforms to msi as substorages and update summary information 2011-11-16 15:50:45 +01:00
Andras Timar
1ed7b50b43 include cab in msi 2011-11-16 15:50:40 +01:00
Jan Holesovsky
2d19e9bb07 Kill one usage of chrel.sed to fix build. 2011-11-16 14:21:33 +01:00
Norbert Thiebaud
0ea8c014ef tweak gbuild standart Makefile to allow partial build in unsourced env
This allow to run make in a module wihtout the need to source
Env.Host.sh.
2011-11-16 06:18:54 -06:00
Norbert Thiebaud
cb70868bda add utility script and build_env to avoid sourcing Env.Host.sh
The goal is to able to do partial build without having
to source Env.Host.sh into one's environment

There is 2 way to use this:

1/
copy the scripts lo_find_src_root and lo_proxy_start
somewhere in your PATH, and
then you can add
alias build='lo_proxy_start build'
alias deliver='lo_proxy_start deliver'
in your .bashrc

at that point you can use build and deliver anywhere in the source tree
without the need to source anything.
This allow you to switch from one source tree to another.
the proper SRC_ROOT will be determined automatically based
on the current working directory

2/
source build_env

build_env only source the bare minimum to allow build and make to work
for the associated source tree.
If you want to work in a diffrent tree, you need to resource
2011-11-16 06:18:53 -06:00
Thorsten Behrens
3e585a1725 Fix variable name in make_installer
Seems I mis-copypasted the name here - mac dev builds were not using
the new DS_Store at any rate.
2011-11-16 11:27:55 +01:00
Stephan Bergmann
d38713da13 Do not erroneously clean other modules' component files in CppunitTest.mk. 2011-11-15 18:29:47 +01:00
Stephan Bergmann
16aa2c1dd6 Removed obsolete OOOBASEVERSION, OOOPACKAGEVERSION.
With the basis/brand split undone, they are always the same as
PRODUCTVERSION and ABOUTBOXPRODUCTVERSION, respectively.
2011-11-15 18:29:47 +01:00
Felix Zhang
eacfa0f77c removing obsolete layout code 2011-11-15 14:39:55 +01:00
Markus Mohrhard
450c49d93f add sqlite path to library path and enable testPassword
plus gb_Helper_extend_ld_path normalization by sbergman@redhat.com
2011-11-15 09:04:37 +01:00
Thorsten Behrens
7bd4f50af6 Remove non-animated prefixes in gb_COLOR mode. 2011-11-15 08:50:47 +01:00
Tor Lillqvist
2bf110d691 Rework the bootstrap mechanism of a LO program on Android
Do use NativeActivity and android_native_app_glue after all.

I hope this enables us to have a "message pump" (a loop that typically
would call ALooper_pollAll()) inside the LO "program" being run, as
expected by LO code.

(On Android, a "program", even one mostly implemented in native code,
is actually a shared library loaded by the main Java code of an app.)

The android_native_app_glue code and the android_main() it calls
belongs in the bootstrap library, though. Not in SAL_MAIN_IMPL.

The earlier idea, having a "normal" Java Activity subclass, would mean
events come in as method calls to that class. To then turn those into
something the LO code can "get", we would have effectively had to
re-implement what android_native_app_glue does anyway.
2011-11-15 01:54:49 +02:00
Andras Timar
5538efab96 fix some comments 2011-11-14 15:39:19 +01:00
Stephan Bergmann
e3712f9d35 Fix build --all depend=x. 2011-11-14 11:50:26 +01:00
Tor Lillqvist
47fd8a09a0 Also link shared libs always with -llog -landroid -lgnustl_shared 2011-11-14 01:55:05 +02:00
Tor Lillqvist
342ff52958 Link with -lgnustl_shared on Android 2011-11-14 01:55:03 +02:00
Tor Lillqvist
e733650ab7 Always use -shared and -llog -landroid for Android also in gbuild 2011-11-12 01:05:44 +02:00
Jan Holesovsky
4847eb9615 Fix the TMPDIR setting, sorry. 2011-11-11 20:16:58 +01:00
Norbert Thiebaud
15be41ce3c gb_COMPILERDEFAULTOPTFLAGS need to be set before the include of GGG_defs 2011-11-11 12:48:06 -06:00
Jan Holesovsky
ee08eee8c0 Introduce generic windows.mk for gbuild.
This fixes the MinGW installation problems with officehelper.py.
2011-11-11 19:26:06 +01:00
Stephan Bergmann
f66ac29343 Make .component files directly usable within UNO_SERVICES.
* solenv/bin/createcomponent.xslt simply surrounds it output by <components>.
* solenv/gbuild/CppunitTest.mk got new functions
gb_CppunitTest_add[_old]_component[s] (like their gb_RdbTarget_ predecessors).
* This obsoleted current uses of solenv/gbuild/RdbTarget.mk, which also does not
work currently, as it catenates the input component files instead of passing
them through packcomponents.xslt (which now takes care about the surrounding
<components> in the input).  In the future, it will likely be combined with the
recently added solenv/gbuild/ComponentsTarget.mk.
2011-11-11 10:53:23 +01:00
Tor Lillqvist
9cf9fb0b78 Forgot to move solenv/wntgcci/inc to solenv/inc/wntgcci 2011-11-11 10:54:54 +02:00
Stephan Bergmann
c1bd2a254b New LO_{LIB,JAVA}_DIR make special inbuild component handling superfluous. 2011-11-10 13:36:20 +01:00
Tor Lillqvist
71cbcb6202 Move solenv/$OUTPATH/inc to solenv/inc/$OUTPATH
In a --enable-dbgutil tree, "make clean" will remove solenv/$OUTPATH.
2011-11-10 13:45:05 +02:00
Norbert Thiebaud
7b8ec1dc0c wrong name for the platform file for windows based build 2011-11-10 05:15:41 -06:00
Norbert Thiebaud
ad9ea642b4 LINUX_S390X_GCC and LINUX_POWERPC64_GCC were pointing to the wrong thing 2011-11-10 04:33:29 -06:00
Norbert Thiebaud
0a2286a724 it is conjectured that solenv/unxmacxp/inc/poll.h is not needed anymore 2011-11-10 03:20:06 -06:00
Norbert Thiebaud
b9ef67fbba gbuild: target platform is identified by the triplet OS/CPU/COMPILER
That simplify the dispatching in gbuild.mk and gbuild_simple.mk
and it will be use as a base to factorize common stuff based
on OS and Compiler.
2011-11-10 02:01:00 -06:00
Norbert Thiebaud
16a1b8314a all the code left in linux.mk is from caolan 2011-11-10 00:49:38 -06:00
Tor Lillqvist
70e5662204 We want Android shared objects to have names ending in .so
See my previous commit for rationale.

For Android, bypass the UNIXVERSIONNAMES thing in the dmake build
system.
2011-11-10 01:23:46 +02:00
Michael Stahl
0a096fd973 Allow full deps on WNT since it seems that it works 2011-11-09 10:22:37 +01:00
Norbert Thiebaud
9a71582047 clean-up after conflicting branch rebase 2011-11-08 22:17:21 -06:00
Norbert Thiebaud
1d60e2032a factorize RSCTARGET,RSCOMMANd out of platform, and __command_dep in com_GCC 2011-11-08 22:17:21 -06:00
Norbert Thiebaud
63178f64b4 factorize gb_SrsParMergeTarget_TRANSECPRECOMMAND our of platform/* 2011-11-08 22:17:21 -06:00
Norbert Thiebaud
391993ef60 factorize gb_SdiTarget_SVIDLPRECOMMAND out of platform/* 2011-11-08 22:17:21 -06:00
Norbert Thiebaud
0442869feb factorize gb_XSLTPROCPRECOMMAND out of platform/* 2011-11-08 22:17:21 -06:00
Norbert Thiebaud
cc806434e7 gb_CFGEXPRECOMMAND is not necessary and can be factorized out of platform/* 2011-11-08 22:17:20 -06:00
Norbert Thiebaud
dc15b67b1d UnoApiTarget_* really do not need to be per platform
setting and using gb_Helper_set_ld_path and gb_Executable_EXT_for_build
is enough to factorize these out of platform/*
2011-11-08 22:17:20 -06:00
Norbert Thiebaud
70270b53e7 begin factorization of common GCC stuff
a lot of configuration/definition is shared between platforms that build
using gcc.
This start to regroup things that are common into 2 files
com_GCC_defs.mk and com_GCC_class.mk
this can be expanded to be, more generically com_$(COM)_defs/class

The reson for 2 files is that some step need to modfify common definitions
based on the platform and some common definitions need platform defined
value.
with these 2 files we can do a
platform - compiler - platform - compiler - platfrom
sandwich that should cover every scenario.
2011-11-08 22:17:20 -06:00
Michael Stahl
016cee9ad9 SdiTarget: temporarily disable full deps on WNT 2011-11-08 19:10:02 +01:00
Michael Stahl
6e6a3d6596 SdiTarget: use svidl -fM for full dependencies 2011-11-08 19:10:01 +01:00