Commit Graph

113 Commits

Author SHA1 Message Date
1a1f1fbdf0 gbuild: ExternalProject: remove second parameter again...
... now that everything is consistent.

Change-Id: I96c15159648815554280202eb1b6d274ead4e7b8
2013-05-07 01:41:26 +02:00
276021c761 gbuild: remove gb_ExternalProject_use_unpacked
It must always be used exactly once, so replace it with constructor
parameter.

Change-Id: Ifbe87065c19a5185a5705dc461656179002ece5d
2013-05-07 01:41:25 +02:00
491dea0a1f use gb_ExternalPackage_add_runtime_library for adding libs
Change-Id: I7be80bbef306db8f7ad585e95bfa4b6da0b30067
2013-05-01 16:55:38 +02:00
4811c2dc9f adapt all externals to build against MSVC debug runtime
Add patches and/or tweaks to the following modules:
curl, cppunit, icu, lcms2, libxml2, libxslt, libxmlsec,
lpsolve, nss, openssl, python3

lcms2 has an inconsistency where the .lib and the .dll don't agree on
the .dll name.

openssl gets a honorable mention because apparently it's undocumented
custom build system can build with /MDd if one picks the right
configuration but i couldn't figure out how to do that in an hour of
trying, and just patched the release config instead.

Change-Id: I7854a0fc85247e398d561b4f513d09fe2d1ebb3c
2013-04-15 15:26:32 +02:00
fc1eaf33e0 libxml2: remove usage of dmake remnant LIBXML2LIB
Change-Id: I8a4f298af99f3415b0ef7a3fc5d69642b5b71f62
2013-04-03 14:47:30 +02:00
6a17d2f2ba No nan() in Clang for Android, it seems
Change-Id: I73fb37de0e4eeefdb08a6da48947afa1fdf02a38
2013-03-22 22:51:55 +02:00
79b0046ba0 remove legacy build.pl prj/build.lst files. 2013-03-14 17:05:51 +00:00
b768611724 remove all d.lst
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-28 18:40:06 +01:00
08eb3c34c2 comma need to be escape in Makefile when in argument of $(call
Change-Id: I930aacad47780a085ef8eec7f3b7fc6600528afb
2013-02-23 16:04:48 -06:00
ed26c01be1 quiet external module build log unless failure
ExternalProject usually involve a configure and a make
step that produce a bunch of output usually irrelevant
including a large number of warning and other mess.
now that everything is pretty much in tail_build
these output get interleaved with useful output from
the build of the product and actually drown them in a logorrhea
of messy noise.
This store the output of external modules in a log file
and only print them as a whole if the module failed do build.
on a non-verbose build.

Change-Id: I3abfcccd6d16821a9e061a71e031b427cc283647
Reviewed-on: https://gerrit.libreoffice.org/2304
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-02-22 08:25:56 +00:00
616c6924f1 s/the the/the/
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-22 09:58:19 +02:00
75ce51026e libxml2: do not use --with-mem-debug
it prints millions of lines of output.

Change-Id: I99039f9039a7928f47d4a1d3f9bc36634240888c
2013-02-13 13:20:00 +01:00
d9d2b0b265 fix libxml2 on android
Change-Id: Ia17fe443a41cbef129a7242c5d200b471ba72f34
2013-02-07 18:53:18 -05:00
b9d6c7a48c convert libxml2 to gbuild and add to tail_build
Change-Id: Ie6ae2150e1f011e17034abcace18c5967b4dacf5
Reviewed-on: https://gerrit.libreoffice.org/2023
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Peter Foley <pefoley2@verizon.net>
2013-02-07 22:33:16 +00:00
cd4e44ee7a Ignore the static and debugging libxml2 libs that get built with MSVC
Change-Id: I499e5136d2bad8eb2b7c78a9ae85bf337661148f
2012-11-06 23:34:27 +02:00
0cae0cc428 Adapt for DISABLE_DYNLOADING instead of just iOS
Change-Id: I14d8bd5473197b50457cbdc509c211bba7231802
2012-09-14 14:22:40 +03:00
1437b87739 Don't build against the debugging MSVC runtime in a dbgutil build either
We don't use the debugging runtime in LO's own code in dbgutil builds,
so we shouldn't use it in bundled libs either.

(At one point I did try to use the debugging runtime in a dbgutil
build, but had to give up eventually; too many compilation errors
thanks to using -D_DEBUG which brings in much more strict checks in
the C++ headers. I apparently forgot to fix these makefiles then when
I aborted the attempt.)

Change-Id: I I Iedf765b55ba71b811d7fe3074e4c3129783108fd
2012-05-08 17:17:59 +03:00
b1c3e8ae28 make gbuild the default assumption of build.pl
this removes dmake completely out of the build for migrated modules
build.pl now assumes modules to be gbuild, unless there is a
prj/dmake file

Change-Id: I674a036b182ee13c5ec093e83cb3d38133112d3b
2012-04-29 03:50:46 +02:00
7c4f2ec8a7 Simplify install name handling for external libraries on Mac OS X
...by allowing our special @___... tokens anywhere within an install name,
so that external modules can configure --prefix=/@___... etc.  This removes
the need for the special extshl and EXTRPATH=LOADER.  Also, a new
OUT2BIN_NONE can be used for external modules where the generated libraries
need the default EXTRPATH=OOO, but generated executables are only used
during the build and such need RPATH=NONE.
2012-02-29 18:46:38 +01:00
5f7667e9c1 set back rpath to ure/lib for libxml on MAC
The library is installed in ure/lib. Thanks Stefan Bergman for the pointer.
2012-02-23 11:10:53 +01:00
49843f0f97 support using for libxml2 internal on MacOSX 2012-02-22 16:51:21 -06:00
b469be0723 Added and improved READMEs for modules in libs-extern-sys 2012-02-09 18:23:49 +01:00
7be0cc289d A few safe replacements of pathes->paths 2012-02-01 14:43:37 +01:00
0ffc8c0d70 build debugging libxml2 with -g 2012-01-10 13:14:53 +00:00
90324ccc73 Make also the libxml2 library file name end in .so for Android 2011-11-10 01:23:49 +02:00
3b74ade047 chmod -x 2011-10-27 15:06:24 +03:00
e42dfec9ea Don't build libxml2.dll against debugging runtime for --enable-debug
Passing the debug=yes option to libxml2's configure.js causes it to be
built against the debugging runtime, which is not what we want if we
just have used --enable-debug. It is with --enable-dbgutil that we
want to use the debugging runtime. So look at $(dbgutil), not
$(debug).
2011-10-27 15:00:42 +03:00
04b8b4fbbb Make Android cross-build working
In the spirit of 12759f67a36d52a345be6002d7017551e8414c59, change
external lib's config.sub to eat the arm-unknown-linux-androideabi
host os string. Also, permit shared libs again - seems Android can
handle those.

Added dictionaries to cross-build-toolset - idxdict is needed.

Should build up to sfx2 - some residual static lib issues there,
and in raptor.
2011-09-27 09:46:38 +02:00
f64c2d5970 Escaped non-ASCII characters from source files.
Building libxml2 with VC++ 2008 Express Edition on Windows platform where
the locale is Japanese (or maybe Korean, Chinese or others) fails because
some files generated by test tools in libxml2 contains non-ASCII characters.

This issue is originally reported in OpenOffice.org community (issue 93433)
and a patch is provided by tora, but it has not been applied yet. This
modification is based on the patch and adapted to the current LibreOffice
source.
2011-08-31 22:38:08 +02:00
36481d72e1 fix build error for the moment, apply mingw patch only for mingw case 2011-08-23 11:36:03 +01:00
8e0c60ac14 Fix mingw cross-build of libxml2. 2011-08-23 10:42:18 +02:00
971fbd8481 Cross-compilation support for Android 2011-06-09 18:36:15 +03:00
78f9b77628 Always compare CROSS_COMPILING explicitly to "YES" 2011-06-06 09:07:30 +03:00
af375a927a conditionalize libxml dependency 2011-06-04 17:25:47 +02:00
56f35e6b39 Drop %_EXT% which was always empty 2011-06-03 13:27:35 +03:00
e5c37050ba Drop unnecessary quotes around platform triplets 2011-05-30 02:57:36 +03:00
5814cca89b Typo 2011-05-24 02:54:27 +03:00
0b9066d9c3 Cross-compilation support and iOS in particular 2011-05-24 02:29:34 +03:00
bfed48d5b5 Drop OS2 2011-05-21 16:38:28 +03:00
ce74a5d149 Merge commit 'ooo/DEV300_m103'
Conflicts:
	graphite/makefile.mk
	libxml2/makefile.mk
2011-03-23 16:59:29 +01:00
5f7158e265 Merge commit 'ooo/DEV300_m101' into intm101
Conflicts:
	boost/aliasing.patch
	boost/makefile.mk
	cairo/cairo/makefile.mk
	cairo/pixman/makefile.mk
	dictionaries/da_DK/README_th_da_DK.txt
	dictionaries/da_DK/description.xml
	dictionaries/da_DK/dictionaries.xcu
	dictionaries/da_DK/makefile.mk
	dictionaries/da_DK/th_da_DK.dat
	dictionaries/de_AT/th_de_AT_v2.idx
	dictionaries/de_CH/th_de_CH_v2.idx
	dictionaries/de_DE/COPYING
	dictionaries/de_DE/COPYING_GPLv2
	dictionaries/de_DE/COPYING_GPLv2.txt
	dictionaries/de_DE/README_extension_owner.txt
	dictionaries/de_DE/README_th_de_DE_v2.txt
	dictionaries/de_DE/makefile.mk
	dictionaries/de_DE/th_de_DE_v2.idx
	icu/makefile.mk
	moz/makefile.mk
	python/makefile.mk
2011-03-09 10:38:32 +01:00
471f8022c9 jl164 #i109096# libxml2 fails when using long paths on windows 2011-02-24 15:28:48 +01:00
ab4cd7408a Merge remote branch 'origin/libreoffice-3-3'
Conflicts:
	dictionaries/prj/build.lst
	dictionaries/uk_UA/makefile.mk
	hunspell/makefile.mk
2011-02-08 00:18:15 +01:00
611e85421b #i10000# #i10000# changes from OOO330 m20 2011-01-25 09:58:16 +01:00
bd21f2d994 impress208: #164350# better xpath handling 2011-01-07 21:31:11 +01:00
2f324e58ca mingwport33: i#116329: MinGW port enhancement: configurable libstdc++ name 2011-01-06 21:56:21 +09:00
865e850327 impress208: #164350# fixed a security issue in 3rd party library libxml2 2011-01-03 17:59:57 +01:00
b0767458c4 Merge commit 'libreoffice-3.3.0.2' 2010-12-20 01:29:52 +01:00
8b118d3a1f merge OOO330 2010-12-14 15:42:18 +01:00
49e01d13b5 XPATH handling fix
Signed off by Petr Mladek <pmladek@suse.cz>
2010-12-13 19:21:46 +01:00