Commit Graph

93 Commits

Author SHA1 Message Date
39fee18a11 skip test for va_copy when cross-compiling
Change-Id: I277b396b50c4e820431ec360d653e5e8b8357721
2013-06-14 16:00:13 +01:00
373d873c8f defuzz patch to apply again
Change-Id: I0b2253d3e23f6f2ec77c8aca88897144c59507a3
2013-06-14 16:00:13 +01:00
09373d4583 soltools: remove Package_inc and empty unistd.h nonsense
Change-Id: Ic05de69951b28b9cc8d62f0a534b507c424e6b25
2013-05-10 17:56:24 +02: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
2e306da484 fix install of liblangtag data files
Change-Id: I8f65b1050bc832b2c1c008f46e3331649dbe5ac4
2013-05-05 10:36:55 +02:00
35cd784f06 disable ccache on windows/msc when building liblangtag
liblangtag uses quoted strings in defines, like -DFOO="\"value\"" and
ccache (at least the one available from the windows build dependencies
wiki page) gets confused and doesn't parse the arguments correctly to
the actual compiler, resulting in the error
"cl : Command line error D8003 : missing source filename"

Change-Id: I456b98b8956a25ff9acd3ab776c0c6f149a08ac7
Reviewed-on: https://gerrit.libreoffice.org/3760
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2013-05-03 14:54:53 +00:00
67a9f79219 new upstream release liblangtag-0.5.1
Change-Id: I4b71bbd3ff457d7b4fb2a409e8d34d8e4904acb3
Reviewed-on: https://gerrit.libreoffice.org/3676
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2013-04-30 20:21:30 +00:00
10839c68ca Forgot "with_dir"
Change-Id: I1457f5619984671e8cb88173d204d3157d3cb883
Reviewed-on: https://gerrit.libreoffice.org/3688
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-30 09:42:24 +00:00
9c4f99287c fdo#63197: convert liblangtag_data
Change-Id: I0727b800c715962a88e256b30046c9e13d6bd2a9
Reviewed-on: https://gerrit.libreoffice.org/3650
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-28 14:51:26 +00:00
62badf3828 Move to MPLv2 license headers, with ESC decision and author's permission. 2013-04-22 09:37:38 +01:00
7df3ec713a get liblangtag to build on AIX
Change-Id: I770acf14cefbe53deea446df6e326d9fb5b52b04
2013-04-09 20:08:48 +01:00
1ce6d6d413 remove unneeded patch after gcc-wrapper conversion
Change-Id: I913f467478a5a600159d9e982a9dfddad04596ae
2013-03-15 19:04:10 -04:00
79b0046ba0 remove legacy build.pl prj/build.lst files. 2013-03-14 17:05:51 +00:00
c03448ddbb Make liblangtag build for --without-system-libxml again, at least on Linux
...after 83d61d9f1b0c95de2cd1199d3f60be70dfa92bec "move liblangtag to
gcc-wrapper."

Change-Id: I5c9321bf4cafb5e6c1a078162ce3cc5f73540ce5
2013-03-14 11:33:56 +01:00
83d61d9f1b move liblangtag to gcc-wrapper
Change-Id: I4aefdc9475b7fbd4206d8d9862ca8d399360a37e
Reviewed-on: https://gerrit.libreoffice.org/2717
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-14 09:09:01 +00:00
6398cf9f87 do not require cygwin gcc
Change-Id: I29de91f2eeb5c9317271aecf861f64a3c8eff73f
Reviewed-on: https://gerrit.libreoffice.org/2521
Reviewed-by: Michael Meeks <michael.meeks@suse.com>
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
2013-03-04 12:52:00 +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
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
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
63d116cb0e upstream has moved to http://tagoh.bitbucket.org/liblangtag/
Change-Id: I844ae1363ff37578fe734125bc6ee6aa8fb352c6
2012-12-14 11:34:55 +01:00
7580038e24 vsnprintf() is not portable
http://perfec.to/vsnprintf/
At least MSVC2010 implementation returns -1 when the result doesn't fit,
so the excepted size is not computed correctly. Let's hope 16k is
big enough for everybody(TM).

Change-Id: I636487c7723651bfa74513018be786a45b6c796d
2012-12-01 13:24:54 +01:00
71103fd8d9 Work around Windows' missing symlinks
Instead of creating a single solver/*/installation/program -> ../../bin symlink
used by all gb_CppunitTest_use_executable together, individually copy each
gb_CppunitTest_use_executable into a true solver/*/install/program/ diretory.
(Renamed solver/*/installation/ to solver/*/install/ so that old existing
solver/*/installation/program symlinks on non-Windows platforms would not
interfere with the new cp rule.)

Change-Id: I4ce82b41856056669ad074ff2ef8004fdc6533c1
2012-11-25 12:26:01 +01:00
5234c1bf13 Move in-build liblangtag data to solver's unittest/installation/share
...let BRAND_BASE_DIR point to solver's unittest/installation during CppUnit
tests, and get rid of LIBLANGTAG_SHARE special case.  (Intending to add further
code to CppUnit tests soon that requires a fake BRAND_BASE_DIR, so clean this
up now.)

Change-Id: Ia5f0f247e54952f901c37ca31eda53f9c6591458
2012-11-24 12:54:32 +01:00
47ba53c3c8 Remove unused liblangtag/CustomTarget_langtag.mk
Change-Id: Ia45446db1263b8969cf933e5d34130102605b3e9
2012-11-24 12:54:32 +01:00
bcb3d607ae Mark patch pushed upstream
Change-Id: I561ef2f20037e60c1f8735c7be8c89b899b99204
2012-11-22 22:59:41 +01:00
08ac75fce3 Use xmlDocCopyNode to merge nodes into different docs in liblangtag
...otherwise, at least an --enable-dbgutil --without-system-libxml build will
issue warnings at soffice.bin exit, as liblangtag merged together docs with
xmlCopyNode (instead of xmlDocCopyNode) and xmlAddChild, and libxml2's
debugXML.c xmlCtxtCheckName then stumbles over the merged-in nodes whose strings
do not belong to the dict of the doc they got merged into.

Change-Id: I5d7889670b897cbeb9ca8a555d8f2d770a8ee692
2012-11-22 18:59:56 +01:00
76a28511a0 fix build on ppc
Change-Id: I4b09aa9eeb2c34d19043148144383ad4e37a8d10
2012-11-21 14:11:05 +00:00
661d5a479c fix liblangtag for win and cleanup autoconf
Change-Id: I6d69eb2af6a3b1a693ad782f2a0e51f6b0ef932c
2012-11-13 20:44:28 -05:00
9fe9011fcf liblangtag really does not need to be a shared library
Change-Id: I73f9422268f58ded971150f1ef16643885669ea3
2012-11-13 11:59:33 +01:00
2db711ac49 Fix the pthread branch of lt-atomic.h
Change-Id: I12b8c5e43dbe96fe9e2b2175dc6bb6bf15a8bdf8
2012-11-13 11:17:28 +01:00
6e925a3453 Oops, a typo
Change-Id: I02dcde7d83df864561a5d4af8cda5e57f30f811a
2012-11-13 11:01:34 +01:00
f9326a150a Shortcircuit liblangtag's builtin detection using config.cache
Change-Id: Ib53ab293d90b9b8a68d97b10d2ad020c69ab46f5
2012-11-13 10:57:45 +01:00
867a723815 get macosx to run again
Change-Id: Id250a54d6789b06df1946ecc6a9d29d24fc57c70
2012-11-12 15:34:03 +00:00
fa637c4dff Mention the fragility of its MSVC configury
Change-Id: Id2ee3c5dae27a1b7f33872d6421f53a40442d805
2012-11-12 12:13:20 +02:00
40e9afbf74 Fix MSVC build: put the CFLAGS inside CC for preprocessor check to succeed
Change-Id: Iafc7f735a99f3e3ac335efa8610ff415d3deae3b
2012-11-12 11:46:46 +02:00
a71da0382e Missing "/inc"
Change-Id: Ia68a683bdafe6dc89ac98635e797b84a2e0ff615
2012-11-12 08:40:43 +01:00
51533c729f fix liblangtag 'delivery' on Mac
Change-Id: I6ca26a6637ebe36bd5055fc6283258ae288df461
2012-11-11 23:22:22 -06:00
1de3d97c39 fix liblangtag
Change-Id: I89153efde9441180f5bb49968d11d77fc951f774
2012-11-11 20:31:24 -05:00
c6ccf16159 fix langtag so name
Change-Id: I0b61fc9436ac08368991251b04343e0a53c2257c
2012-11-11 19:13:53 -05:00
782151a791 convert liblangtag to gbuild
Change-Id: Ib019e248b16a39ea058cdebeaa1f37a967a00d6c
2012-11-11 19:03:15 -05:00
8226caa2a5 This is a bit more elegant
Change-Id: I0f458caa1bda23882c76cbae414b738a5d04ab32
2012-11-09 14:58:12 +01:00
45d196c0cc corrected Windows lt_atomic_int_dec_and_test()
check pre-decremented value for zero

Change-Id: Ib2289cb6064941db2072b2dfbd6ad5f03bcff7aa
2012-11-08 23:21:41 +01:00
c26d253eaf MinGW: Deliver liblangtag-1.dll correctly.
Change-Id: Icea86ae6f6c07d43c212bc02defb860759ff65d6
2012-11-08 10:45:15 +01:00
e6bfea03ef Ask MSVC to be less verbose: -nologo
Change-Id: I332b322343ccbabe55c247f9bd934a0394ebd429
2012-11-08 09:16:25 +02:00
7c0606c942 check for builtins pollutes CFLAGS and in turn breaks pthread check
since the -march=i486 is not supported on PPC, all further compile
checks done in liblangtag's configure break.
So moving the corresponding patch out of the windows patch in a generic
one and also apply that for Mac.

Change-Id: I65716bc9d7ff19976e5e82ae869c7594978e93e3
Reviewed-on: https://gerrit.libreoffice.org/999
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2012-11-07 22:09:56 +00:00
08bf96de15 Avoid "Warning: -- Macro `CC' redefined after use"
Change-Id: I99352369cd29d695ef09b6bdc58ff4f10ac73880
2012-11-07 16:51:21 +02:00