Commit Graph

91 Commits

Author SHA1 Message Date
David Tardon
72750a4a54 fix delivery on mac
Change-Id: I1d7fb85521ea6f1c5bd93c2318013a0ec514bf61
2013-09-08 10:18:32 +02:00
Michael Stahl
1a1f1fbdf0 gbuild: ExternalProject: remove second parameter again...
... now that everything is consistent.

Change-Id: I96c15159648815554280202eb1b6d274ead4e7b8
2013-05-07 01:41:26 +02:00
Michael Stahl
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
David Tardon
491dea0a1f use gb_ExternalPackage_add_runtime_library for adding libs
Change-Id: I7be80bbef306db8f7ad585e95bfa4b6da0b30067
2013-05-01 16:55:38 +02:00
Michael Stahl
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
Michael Stahl
2745cca129 libxslt: remove usage of dmake remnant XSLTLIB
Change-Id: Idb5dc8d0036b99a71cd8c1c0e740939074cc1a48
2013-04-03 14:47:30 +02:00
Michael Stahl
fc1eaf33e0 libxml2: remove usage of dmake remnant LIBXML2LIB
Change-Id: I8a4f298af99f3415b0ef7a3fc5d69642b5b71f62
2013-04-03 14:47:30 +02:00
Michael Meeks
79b0046ba0 remove legacy build.pl prj/build.lst files. 2013-03-14 17:05:51 +00:00
Michael Stahl
b768611724 remove all d.lst
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-28 18:40:06 +01:00
Norbert Thiebaud
08eb3c34c2 comma need to be escape in Makefile when in argument of $(call
Change-Id: I930aacad47780a085ef8eec7f3b7fc6600528afb
2013-02-23 16:04:48 -06:00
Norbert Thiebaud
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
Michael Stahl
0e72992d74 libxslt, redland: properly quote rpath $ORIGIN
... so it can be passed from make to shell to configure to generated
Makefile to libtool to invoked gcc without loss of valuable dollars.

It is an open question to which extent this commit should be credited to
the designers of sh, autoconf, libtool, make, and/or Solaris ld.

Change-Id: I0709a49d7025dbfda4d9c0e7202ea932ec85e0cb
2013-02-22 01:06:54 +01:00
Peter Foley
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
Tor Lillqvist
6cd3968702 No xsltproc needed for HOST when cross-compiling
Change-Id: I70b257fb2df8e0ea1ef2d94b3da7da7989e3535e
2013-02-05 22:26:39 +02:00
Tor Lillqvist
f5fe1b9755 Correct location where xsltproc binary is in the DISABLE_DYNLOADING case
Change-Id: I0c65076d698865a653cac774a17f9db3d6f4d9ca
2013-02-05 22:26:39 +02:00
Peter Foley
856c075e93 convert libxslt to gbuild and add to tail_build
Change-Id: I16eb442fd65b3a2f3a44108f670fd364dc7a64c0
Reviewed-on: https://gerrit.libreoffice.org/1988
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Peter Foley <pefoley2@verizon.net>
Tested-by: Peter Foley <pefoley2@verizon.net>
2013-02-05 19:47:04 +00:00
Stephan Bergmann
6f6ed9c7e2 Avoid .memdump files left behind by xsltproc in the build
Change-Id: If79896a2f73cacd9880e8beb9cc42993b49cc3b5
2013-01-18 16:55:04 +01:00
Tor Lillqvist
c29098917a Get rid of (most uses of) GUI
GUI only takes values UNX or WNT, so it is fairly pointless. One can check
whether OS is WNT or not instead.

Change-Id: I78ae32c03536a496a563e5deeb0fca78aebf9c34
Reviewed-on: https://gerrit.libreoffice.org/1304
Reviewed-by: Peter Foley <pefoley2@verizon.net>
Tested-by: Peter Foley <pefoley2@verizon.net>
2012-12-25 17:53:25 +00:00
Julien Nabet
c25269446f Even if it shouldn't be a pb, let's do the same everywhere
Change-Id: I5775651a83ffa6a7780b81386168f4e327217282
2012-10-12 23:53:38 +02:00
Tor Lillqvist
fb0acc2d3e Adapt for DISABLE_DYNLOADING instead of just iOS
Change-Id: I7dac78be5a1165ff5cdbd53fd02b907a4fa68a3b
2012-09-14 14:21:42 +03:00
Tor Lillqvist
40f1a95eff Deliver libexslt.a (for iOS)
Change-Id: I79dc8e0d7b60b22c0ffe9eb5a76f889b8739265f
2012-09-12 10:45:23 +03:00
Stephan Bergmann
1e12fb078c MSVC: missing libexslt.lib
Change-Id: I69d52e7c188c3326c639a8592e36467092365736
2012-09-10 13:39:01 +02:00
Peter Jentsch
1c467763f4 build and deliver internal libexslt. Use LIBEXSLT_LIBS is system xslt is used
Change-Id: I7ab624bc4877af51d4182ab213ef49cd8c5bb2a4
2012-09-10 07:56:42 +02:00
Jung-uk Kim
34ca8dd9ad fdo#54015: At least FreeBSD ld requires -z origin when RPATH contains $ORIGIN
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>:
* bulk replacement of "-Wl,-z,origin,-rpath,..." with
  "-Wl,-z,origin -Wl,rpath,..."
* additional hunk for directory/c-sdk/config/FreeBSD.mk in
  moz/seamonkey-source-1.1.14.patch did not apply and has been dropped

Change-Id: Ie60c696f041108e819ce8f799cff6f58e63a5ad7
2012-08-29 12:02:26 +02:00
Tor Lillqvist
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
Bjoern Michaelsen
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
Stephan Bergmann
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
Norbert Thiebaud
49843f0f97 support using for libxml2 internal on MacOSX 2012-02-22 16:51:21 -06:00
Josh Heidenreich
b469be0723 Added and improved READMEs for modules in libs-extern-sys 2012-02-09 18:23:49 +01:00
Tor Lillqvist
8585861fc3 Fix iOS fallout from libxml2+libxslt marriage
configure.in nowadays doesn't allow using system libxml2 but internal
libxslt. So remove iOS specifics related to that combination. Keep
building a static library for iOS, though.
2011-11-12 01:10:35 +02:00
Tor Lillqvist
12fea3754a Make also the libxslt library file names end in .so for Android 2011-11-10 01:23:50 +02:00
Tor Lillqvist
4abf8729b8 Use the xml2-config from our own libxml2 copy if not using a system libxml2 2011-11-03 14:44:58 +02:00
Tor Lillqvist
dc7afa23bc Don't build libxslt.dll against debugging runtime for --enable-debug
Same problem as a few commits earlier: libxslt's configure.js uses
debug=yes to mean using the debugging crt, which we don't want in just
a debug=t build. (And which will make libxslt.dll fail to load.) Look
at $(dbgutil), not $(debug). (And note that in general dbgutil builds
are disabled for Windows currently anyway.)
2011-10-27 15:54:03 +03:00
Thorsten Behrens
04b8b4fbbb Make Android cross-build working
In the spirit of 12759f67a3, 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
Jan Holesovsky
b0eea6c310 Fix cross-building libxslt to at least go through configure; does not build. 2011-08-23 11:27:40 +02:00
Tor Lillqvist
4d00f79346 Use dummy xml2-config script for iOS 2011-06-13 01:04:28 +03:00
Tor Lillqvist
46c6d9533b Cross-compilation support for Android 2011-06-09 18:38:45 +03:00
Tor Lillqvist
78f9b77628 Always compare CROSS_COMPILING explicitly to "YES" 2011-06-06 09:07:30 +03:00
Tor Lillqvist
56f35e6b39 Drop %_EXT% which was always empty 2011-06-03 13:27:35 +03:00
Tor Lillqvist
e5c37050ba Drop unnecessary quotes around platform triplets 2011-05-30 02:57:36 +03:00
Tor Lillqvist
4a5e101859 Typo 2011-05-24 02:53:29 +03:00
Tor Lillqvist
31e8c4834f Cross-compilation support and iOS in particular 2011-05-24 02:38:21 +03:00
Jan Holesovsky
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
tono
2f324e58ca mingwport33: i#116329: MinGW port enhancement: configurable libstdc++ name 2011-01-06 21:56:21 +09:00
Jesús Corrius
48ace782ff Build fixes for VC++ 10 2010-10-20 19:17:40 +02:00
Caolán McNamara
b57a972d30 update libtooling and config.guess for aix 7 2010-10-13 14:34:03 +01:00
sb
6bc2155fd3 sb126: merged in DEV300_m87 2010-09-16 16:45:57 +02:00
Jens-Heiner Rechtien
e159c70f54 CWS-TOOLING: integrate CWS solaris10u8_OOO330 2010-07-21 16:23:13 +02:00
Michael Stahl
7e5ed4b24a solaris10u8: #i112480#: build libxslt with versioned symbols on solaris:
libxslt-gnome602728.patch: remove (disables version script).
 libxslt-internal-symbols.patch: do not export non-existing symbols.
2010-07-12 15:57:26 +02:00
sb
da1320efe1 sb126: merged in DEV300_m84 2010-06-30 15:38:26 +02:00