Commit graph

76 commits

Author SHA1 Message Date
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
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
Eike Rathke
63d116cb0e upstream has moved to http://tagoh.bitbucket.org/liblangtag/
Change-Id: I844ae1363ff37578fe734125bc6ee6aa8fb352c6
2012-12-14 11:34:55 +01:00
Luboš Luňák
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
Stephan Bergmann
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
Stephan Bergmann
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
Stephan Bergmann
47ba53c3c8 Remove unused liblangtag/CustomTarget_langtag.mk
Change-Id: Ia45446db1263b8969cf933e5d34130102605b3e9
2012-11-24 12:54:32 +01:00
Stephan Bergmann
bcb3d607ae Mark patch pushed upstream
Change-Id: I561ef2f20037e60c1f8735c7be8c89b899b99204
2012-11-22 22:59:41 +01:00
Stephan Bergmann
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
Caolán McNamara
76a28511a0 fix build on ppc
Change-Id: I4b09aa9eeb2c34d19043148144383ad4e37a8d10
2012-11-21 14:11:05 +00:00
Peter Foley
661d5a479c fix liblangtag for win and cleanup autoconf
Change-Id: I6d69eb2af6a3b1a693ad782f2a0e51f6b0ef932c
2012-11-13 20:44:28 -05:00
Fridrich Štrba
9fe9011fcf liblangtag really does not need to be a shared library
Change-Id: I73f9422268f58ded971150f1ef16643885669ea3
2012-11-13 11:59:33 +01:00
Fridrich Štrba
2db711ac49 Fix the pthread branch of lt-atomic.h
Change-Id: I12b8c5e43dbe96fe9e2b2175dc6bb6bf15a8bdf8
2012-11-13 11:17:28 +01:00
Fridrich Štrba
6e925a3453 Oops, a typo
Change-Id: I02dcde7d83df864561a5d4af8cda5e57f30f811a
2012-11-13 11:01:34 +01:00
Fridrich Štrba
f9326a150a Shortcircuit liblangtag's builtin detection using config.cache
Change-Id: Ib53ab293d90b9b8a68d97b10d2ad020c69ab46f5
2012-11-13 10:57:45 +01:00
Caolán McNamara
867a723815 get macosx to run again
Change-Id: Id250a54d6789b06df1946ecc6a9d29d24fc57c70
2012-11-12 15:34:03 +00:00
Tor Lillqvist
fa637c4dff Mention the fragility of its MSVC configury
Change-Id: Id2ee3c5dae27a1b7f33872d6421f53a40442d805
2012-11-12 12:13:20 +02:00
Tor Lillqvist
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
Stephan Bergmann
a71da0382e Missing "/inc"
Change-Id: Ia68a683bdafe6dc89ac98635e797b84a2e0ff615
2012-11-12 08:40:43 +01:00
Norbert Thiebaud
51533c729f fix liblangtag 'delivery' on Mac
Change-Id: I6ca26a6637ebe36bd5055fc6283258ae288df461
2012-11-11 23:22:22 -06:00
Peter Foley
1de3d97c39 fix liblangtag
Change-Id: I89153efde9441180f5bb49968d11d77fc951f774
2012-11-11 20:31:24 -05:00
Peter Foley
c6ccf16159 fix langtag so name
Change-Id: I0b61fc9436ac08368991251b04343e0a53c2257c
2012-11-11 19:13:53 -05:00
Peter Foley
782151a791 convert liblangtag to gbuild
Change-Id: Ib019e248b16a39ea058cdebeaa1f37a967a00d6c
2012-11-11 19:03:15 -05:00
Fridrich Štrba
8226caa2a5 This is a bit more elegant
Change-Id: I0f458caa1bda23882c76cbae414b738a5d04ab32
2012-11-09 14:58:12 +01:00
Eike Rathke
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
Jan Holesovsky
c26d253eaf MinGW: Deliver liblangtag-1.dll correctly.
Change-Id: Icea86ae6f6c07d43c212bc02defb860759ff65d6
2012-11-08 10:45:15 +01:00
Tor Lillqvist
e6bfea03ef Ask MSVC to be less verbose: -nologo
Change-Id: I332b322343ccbabe55c247f9bd934a0394ebd429
2012-11-08 09:16:25 +02:00
Christian Lohmaier
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
Tor Lillqvist
08bf96de15 Avoid "Warning: -- Macro `CC' redefined after use"
Change-Id: I99352369cd29d695ef09b6bdc58ff4f10ac73880
2012-11-07 16:51:21 +02:00
Tor Lillqvist
52e51f0fe7 Should not call lt_mem_add_ref() with a NULL pointer here either
Change-Id: I34f7ccca0fdfa71a53c2a80ae51178c5461b5640
2012-11-07 16:45:14 +02:00
Tor Lillqvist
2e7675b217 Must not call lt_mem_add_ref() with a NULL pointer
Otherwise will get the
  lt-mem.c: line 216: assertion `p != ((void *)0)' failed
message.

Change-Id: Ic585ad638211fda66a54725c5a4bd041499349ef
2012-11-07 16:45:13 +02:00
Tor Lillqvist
fd58e9d5a9 Use -Zi when debug info wanted with MSVC
It really sucks to have to propagate debugging options to the compiler
in an ad-hoc fashion like this. But then each dmake-based external
library module really is an individual, especially the ways they are
built with MSVC.

Liblangtag is especially exotic, as it uses autotools and libtool(!)
also for a MSVC build. Which works, but just barely, almost by
accident. For instance, it ends up using the Cygwin ar and ranlib on
MSVC-produced object files. Which luckily seems to work at least with
MSVC2008.

Change-Id: I1c5244b2a599775c04ae8a003e4a096a0a11648f
2012-11-07 16:45:12 +02:00
Jan Holesovsky
ac449bffdc Fix MinGW build.
Change-Id: I12fb6b8b8fdb7b9b00070c6d2a87da5d7d2fed13
2012-11-07 14:31:19 +01:00
Fridrich Štrba
fca7d16e8c Windows absolute path does not need to start with path separator
Change-Id: Ic76cf78c0b61778008c0aaa0b76a2c622c3e48c5
2012-11-07 11:05:57 +01:00
Fridrich Štrba
c14f336997 Don't patch an xml file with its own content
Change-Id: I7967230df84e794376abfe9f24dd8f9e01e9aed8
2012-11-07 11:05:57 +01:00
Fridrich Štrba
aacefd4711 Fix windows linking of i18npool
Change-Id: I9e66d0528a8b095897e27216352979c4bcfb4eae
2012-11-07 00:22:13 +01:00
Fridrich Štrba
d3e5956abf Adding msvc projects to liblangtag, in case needed
Change-Id: Iebd6b7d925f402c41103cdd157d7009a9eda8e62
2012-11-06 23:22:50 +01:00
Tor Lillqvist
5886b37b98 Make sure -MD is used with MSVC (use the MSVCRT runtime)
Change-Id: I864e45b6925fa35d4b75c9214b799f664a5c1247
2012-11-07 00:06:13 +02:00
Tor Lillqvist
28c1c143ab Use HAVE_STDINT_H instead of _MSC_VER
Change-Id: I921f5adc72bb0c83389f74659127c4512fc93738
2012-11-07 00:02:38 +02:00
Tor Lillqvist
84d252489d Configury fixes for MSVC, avoid accidentally using -march=i486
Change-Id: I2c3083ce84872e415e61c61e41473a3da14ed88a
2012-11-07 00:02:03 +02:00
Tor Lillqvist
052bd11da0 Pass V=1 when verbose to see compiler command lines
Change-Id: I0fee18b1d5470c493b583e067b7ba6ff8b741b75
2012-11-06 23:23:20 +02:00
Fridrich Štrba
f8961503e8 More work trying to build this thing on windows
Change-Id: I064ef350fa1b01642917a4797f3a6e0a810174d0
2012-11-06 21:14:14 +01:00
Tor Lillqvist
93e83584c4 Start making liblangtag 0.4.0 build for Windows
Harder than I expected. Still incomplete. Thanks to Fridrich for the
atomic stuff.

Change-Id: Iacf6d3708ee04c75b98da4ffe250194657fda7c8
2012-11-06 20:25:44 +02:00
Norbert Thiebaud
2e0b4a7304 liblangtag: fix 0.4.0 breakages on Mac
Change-Id: I354d82a86e4e45d49578ccea083d258f1660b60e
2012-11-06 09:58:34 -06:00
Fridrich Štrba
8bd7e9a168 Tiny cleanup
Change-Id: Ie5d2a6bbcf94c0906441a03b72100706884d0dcd
2012-11-06 16:40:22 +01:00
Fridrich Štrba
4708f9527d Remove last remenants of glib from liblangtag and try to fix build
Change-Id: Iae3aa684ce54e5025545179c35affc75eaf88dab
2012-11-06 16:31:32 +01:00