Commit Graph

166 Commits

Author SHA1 Message Date
35a65baefe Slowly, but surely going on compiling for mingw64
Change-Id: I590aa6a854a040281bf73d5be768c05d4906a984
2013-06-06 15:52:05 +02:00
035c604369 Defuzz a patch
Change-Id: I9c301f7d8b5295854e12585fa12df416ed5dbf02
2013-06-04 10:56:21 +02:00
cb6d67c21f Spelling "separate" (etc) correctly is hard 2013-05-15 11:14:28 +03:00
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
84cc07d24b for internal xml2 make libxmlsec use that, not the system one
Change-Id: I971616f3741d5d4f2c30624e28d6a3ae45e9e5c8
2013-04-27 20:58:39 +01:00
c1ccd8bda8 get libxmlsec building on AIX
Change-Id: I71a427e6f53a18412c1dc2c0d7f2c235acd72b8b
2013-04-26 20:09:53 +01: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
ef6f354bad xmlsec: honor --disable-openssl and use NSS
On --disable-openssl, let's avoid linking the
bundled libxmlsec to OpenSSL by passing down
--without-openssl to its configure script.

Change-Id: I04447683adeba4b7059e94579adf43ef788a4916
Reviewed-on: https://gerrit.libreoffice.org/3329
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-13 10:47:55 +00:00
368210926b remove -dylib_file mappings that are not needed anymore
XCode 2.5 (i.e. Mac OSX 10.4 & 10.5) couldn't find the libraries
without explicit mapping, but as baseline is now 10.6, this
wrapping is no longer necessary

Change-Id: I225fc47b9ea4b1fb2b13ba575605cbdebc014fd8
Reviewed-on: https://gerrit.libreoffice.org/3192
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2013-04-04 17:46:46 +00:00
7aa6f1b014 Remove Mac OS X for PowerPC support
Change-Id: I10b15141e6a5f93365e1cfa6fbc0c7cc3ea49b15
2013-04-03 21:13:17 +03:00
79b0046ba0 remove legacy build.pl prj/build.lst files. 2013-03-14 17:05:51 +00:00
07c6e76749 fdo#60724: Fix spelling avaliable -> available. 2013-03-13 08:57:14 +01:00
b768611724 remove all d.lst
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-28 18:40:06 +01:00
b440cfcc54 add missing openssl & nss3 dependencies to libxmlsec
These are required at configure time.
2013-02-28 12:59:51 +00: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
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
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
3f27da0a67 gbuild: replace all use of PRODUCT with ENABLE_DBGUTIL
Also fix the wrong check in cppunit/ExternalProject_cppunit.mk
which caused cppunit to always be built without -D_GLIBCXX_DEBUG.

Change-Id: Ia247dcd84e2c6fa0e9384fd27643537984d980b5
2013-01-03 16:02:13 +01:00
c003d25d24 convert nss to gbuild
Change-Id: I59edc4c437abccc201823d97f1cbec230d273b05
Reviewed-on: https://gerrit.libreoffice.org/1529
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-02 16:21:23 +00:00
efca6f1560 fix patch path
Change-Id: I3da11f199cdb6b9394e99fc549cff2388a04d6b2
2012-12-06 09:09:38 +00:00
458530deaa fix xmlsec build under RHEL-5 (again)
last fix was removed with ec6af4194e80f5f0b2e46ca59802ff397a2a4a24

Change-Id: Ibb459d5c43356abb782dbd6a88f712bd1e01b54b
2012-12-06 08:53:35 +00:00
4cdce3d614 fix libxmlsec delivering with mingw 2012-12-01 13:56:17 +01:00
127a00a463 our xmlsec setup calls autoreconf, so patch Makefile.am too
Should fix release tinderboxes.

Change-Id: I90fc650dc089e94328ecb9d526f0905f5be5ce3c
2012-12-01 13:46:15 +01:00
e1083e6656 fix(?) libxmlsec build with mingw
for some reason there was an infinite loop during build, not sure why this
makes a difference, but surely making it consistent with the other cases
can't hurt
2012-12-01 11:31:20 +01:00
dfe4dec45f fix patch to apply after gbuild changes 2012-12-01 10:17:48 +01:00
91b8f74987 Fix OS X build at least with current tool-chain
Pass correct -I flag to acloal in the ACLOCAL environemnt variable,
and set that environment variable for the running of autoreconf for it
it to have any effect.

Change-Id: I64238b6b96539dff28c2ddc16cc17f18ebb22129
2012-12-01 10:56:42 +02:00
ec6af4194e convert libxmlsec to gbuild
Change-Id: Id0ad4e1c8e3e1ac03c625fb77b70fe0aa8ddfcdc
2012-11-30 11:34:29 -05:00
5f45e7424b drop need for libtool but keep buildable on RHEL-5
Change-Id: Ib732594a6b27fb0b42d055abb2f7382f021d63c9
2012-11-29 11:54:43 +00:00
47dfe5b8fd patch twiddling breaks autoconf -i on macosx
Change-Id: Ie5bac151578cf3b58253900bbef4bc4645e2c43d
2012-11-28 13:47:18 +00:00
d5104498bb get autoreconf to succeed under RHEL-5
Change-Id: Ica5e55881389a4f83081c41418ea7aa03c633f55
2012-11-28 09:51:49 +00:00
d34c069e69 make that mingw suffix patch mingw only
Change-Id: I5a8dc6ddc620bf4a4bdccfb17ffbf1155fa53987
2012-10-30 15:23:47 +00:00
0afd117a25 fix mingw cross-compilation of libxmlsec
It works on Fedora 17 with internal nss, at least :-)

It would be nice to clean up the patch and throw away all the crack
related to cross-compilation on Windows, but I am really not much
interested in that. Also, I am lazy .-)

Change-Id: I008e13b0c4eef9cef361af058e1f32deada8e2aa
2012-10-30 15:25:21 +01:00
db5e8c0650 allow to build with XCode 2.x
* XCode 2.x only comes with automake 1.6.3, and that doesn't know
  per-object CPPFLAGS, thus use per-object CFLAGS instead
* also it is picky about redefining the SOURCES in a conditional
  statement, so use a variable in a condition instead and add that
* Its linker also needs help locating libs that are using the
  relocation-placeholders, thus add -dylib_file linkerflag
* aclocal insists on a space between -I and argument

Change-Id: I35714a1a76a7b7823ee6b64a3296aeae96e7296a
Reviewed-on: https://gerrit.libreoffice.org/605
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-12 21:59:06 +00:00
60a6daf78c cosmetics
Change-Id: I5b4202628f9df4ed087eee69058ced13bc2c1b1b
Reviewed-on: https://gerrit.libreoffice.org/603
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2012-09-12 20:37:07 +00:00
3a0889b9a9 Add upstream link
Change-Id: I8711d5476664d37ffdbf025b8e07a9bc21530908
2012-08-29 23:50:26 +02:00
7947da50b3 Work around autoreconf de-ANSI-fication support error
Change-Id: I990167289fe39bbfdb3b40abf8fc522dabb7cc20
2012-08-29 22:59:22 +02:00
e1d56d509b MinGW: Use the right objdump.
Change-Id: Id891e048d1914d8e274f3f540c4038a299e57ae8
2012-08-29 19:21:33 +02:00
7df30efe81 Fix libxmlsec build on MacOSX, no idea if it works at run-time
Change-Id: I1c8c978d62072cdb08bd64e6f38fe11983091375
2012-08-29 17:00:36 +03:00
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
3a4403fbdc additional -lsoftokn3 lib materalized
Change-Id: Ie5e8dab3fc938436339dcddeb3d52a5c5cba41af
2012-08-29 09:10:25 +01:00
02f6e55231 Fix MinGW build - libxmlsec builds now.
This also removes patching of the generated 'configure' in libxmlsec; instead,
autoreconf is called.

Change-Id: I28c1cc38432d195dd0219fb5a0ab0ea1a35f7a32
2012-08-29 09:50:34 +02:00
ee93dfafdd drop disable-xmlsec, it's core functionality, have to live with it
we basically need this functionality, the idea of it being optional
isn't really logical anymore with nss split out from mozilla.

for iOS and Android where they doesn't build yet spit out lame fixme
nag warnings

Change-Id: I4b16c62553b12d3dcd340a0b5c5a4cbd807c2f02
2012-08-14 12:47:27 +01: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
ec913638c5 Add comment telling that the MinGW stuff here is not for cross-compilation 2012-04-27 10:35:21 +03: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
dd929dd089 Added and improved READMEs for modules whihc used to be in libs-extern 2012-02-08 23:18:06 -05:00
c5710d4700 s/infomation/information/ 2011-11-27 14:42:26 +07:00
a1c23a44b9 Fix the --disable-xmlsec build. 2011-11-03 21:07:04 +01:00