39 Commits
Author SHA1 Message Date
Luboš Luňák 1ffd6897dd try to use also proper debug LDFLAGS for externals libraries
This is basically ea68de2968 but
for LDFLAGS. A number of external libs cannot use this because
their libtool mishandles -fuse-ld.

Change-Id: Idee379eb0a3afb475b536519ee3de064b4e218f4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133639
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-05-01 05:47:22 +02:00
Luboš Luňák ea68de2968 use gb_DEBUGINFO_FLAGS consistently in gbuild ExternalProject's
A number of them didn't use it at all, others had it hand-written
in various ways.

Change-Id: Iaf86325f9cdc032926bac917dc3eef4e34661544
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132818
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-04-12 13:57:32 +02:00
Jan-Marek Glogowski 4537886ec1 externals: always provide platform configure flags
No idea why we just provided the platform flags when cross-
compiling. In the curious case, where the host platform is
detected as x86_64-pc-mingw32 per default and we actually
want to override it with x86_64-pc-cygwin, we don't do a
cross compile, but must override the host platform.

But there is additional special handling needed for the omitted
cross-platform build in the special case of --host=i686-pc-cygwin
and --build=x86_64-pc-cygwin, where we deliberatly ignore cross
building; Windows is already a slow build, so try to keep this
optimization (AMD64 can execute x86 binaries).

There is the theoretical case, where the externals config.guess
would have detected something else and that "magically" even
worked, while the LO detected triplet would fail, but this
should be fixed in the external in any way.

Change-Id: Ib7a9719e0e406fe90334b7611dc3f01b51692bfa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129153
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2022-01-31 10:31:04 +01:00
Jan-Marek Glogowski 8a4173987e WASM: add initial support for Emscripten cross build
- configure with:
- --host=wasm64-local-emscripten
- had to make a few externals optional, so adding:
  - --disable-nss
  - --disable-cmis
  - --disable-curl

Change-Id: I48d1c73d2675ad2e2beaf2c341578199efbd24ee
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111130
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2021-05-05 21:14:54 +02:00
Luboš Luňák 0adc9b615f GBUILD_TRACE, support for finding out where the build time is spent
See instructions in solenv/gbuild/Trace.mk . This generates a file than
can be viewed e.g. in the Chromium tracing view.

Change-Id: I5f90647c58ca729375525b6daed2d4918adc8188
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88754
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2020-02-16 14:49:45 +01:00
Stephan Bergmann 28e028680b Remove legacy NEED_CLANG_LINUX_UBSAN_RTTI_VISIBILITY support
...for ASan/UBSan builds using Clang older than current trunk twoards Clang 9,
as announced at
<https://lists.freedesktop.org/archives/libreoffice/2019-May/082654.html> "Re:
[Libreoffice-commits] core.git: The -fvisibility-ms-compat hack is no longer
needed for UBSan on Linux...".  (And drop the no longer needed
solenv/sanitizers/asan-suppressions, which people might still reference from
their ASAN_OPTIONS.)

Change-Id: Iedc0c5955366d2cbe7dc847990e2b1576750e85b
Reviewed-on: https://gerrit.libreoffice.org/72493
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-09-20 13:31:50 +02:00
Christian Lohmaier 3005c107f3 libabw, libvisio: follow main configure's --disable-dependency-tracking
Change-Id: Iaf4fd40a7178b50a396971cfcfd0c39211597285
2019-08-27 14:12:32 +02:00
David Tardon 2a733f30cc upload libabw 0.1.3
Change-Id: Ibb45a473f49a9ba8f9cf53593dead375ac8a1951
Reviewed-on: https://gerrit.libreoffice.org/77639
Tested-by: Jenkins
Reviewed-by: David Tardon <dtardon@redhat.com>
2019-08-17 18:28:21 +02:00
Stephan Bergmann 9a7aa3326d The -fvisibility-ms-compat hack is no longer needed for UBSan on Linux...
...with latest Clang trunk towards Clang 9.  All the no-longer necessary hacks
are made conditional on new NEED_CLANG_LINUX_UBSAN_RTTI_VISIBILITY, which is
still set for UBSan builds with older Clang on Linux (but which should
eventually be purged).

Various classes needed additional SAL_DLLPUBLIC_RTTI annotations, as building
with UBSan instrumentation can generate references to RTTI symbols from
additional places like outside a dynamic library that used to hide those symbols
by default (but used to not hide them for old UBSan builds thanks to the
-fvisibility-ms-compat hack).

The odr-violation suppressions in solenv/sanitizers/asan-suppressions (which is
not referenced from anywhere in the code base, but meant to be included in an
ASan/UBSan build's ASAN_OPTIONS env var) are also no longer needed when
NEED_CLANG_LINUX_UBSAN_RTTI_VISIBILITY is false.

Change-Id: I24ec3e388b0cbab50dbe2bf008d9569bff7bf25a
Reviewed-on: https://gerrit.libreoffice.org/70829
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-05-03 13:46:25 +02:00
David Tardon f04ad5673a upload libabw 0.1.2
Change-Id: I972ff9e0dbb73f6a38c886e1acd03cc4d62da2ec
Reviewed-on: https://gerrit.libreoffice.org/47251
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
2018-01-06 09:04:53 +01:00
David Tardon 8f6ce24a1b libabw: pass optimization flags to configure
Change-Id: I9492a4189b939f3dcaaec33f9c4591cb8715fd44
Reviewed-on: https://gerrit.libreoffice.org/43977
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2017-10-28 19:18:47 +02:00
David Tardon f2db08b28e use the new gbuild way to update config.*
Change-Id: I43805ac8c3d5c1b65519da02c3cc50fdb9729ea6
Reviewed-on: https://gerrit.libreoffice.org/42941
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
2017-10-04 08:12:43 +02:00
Stephan Bergmann d500b2e98c Pass ENABLE_DEBUG into external/libabw
Change-Id: Idfccfe7b569622981c8d9911a60bfb749797b359
2017-08-09 10:13:43 +02:00
jan Iversen a5f19b5fc2 iOS patch libabw
support for arm64

Change-Id: Ia5a00ef55929a71e05e3547a7ac11e8ab876e953
2017-06-12 18:11:29 +02:00
David Tardon d132f85fad add upstream URL to READMEs
Change-Id: I9cde5f94c81c59ff99b8f5af9765b94b6f57184a
2017-02-23 14:50:14 +01:00
Michael Stahl e355e54f2f configure: set BOOST_CPPFLAGS also in --without-system-boost case
Simplify the makefiles.

Change-Id: Ia695961e936e4a1ffdaff73eb56adc3c3905ed0c
2016-05-30 09:45:43 +02:00
Stephan Bergmann ba8a957bfa Generalize COM_GCC_IS_CLANG -> COM_IS_CLANG
...in anticipation of building with clang-cl.exe on Windows

Change-Id: I1d723c9d3b5ca8a2bc6b27ef0189a7b053581398
Reviewed-on: https://gerrit.libreoffice.org/19928
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2015-11-12 17:37:11 +00:00
David Tardon f5d753201d blind attempt to fix lcov
Change-Id: If8d6c8da1be1e540d641f20ac90e7877feae27be
2015-09-17 20:02:12 +02:00
David Tardon 51c292b8bb libabw: fix build with boost 1.59
Change-Id: I2213101623ba7e2cc329b659e17abe3d82e6b634
2015-08-30 18:19:48 +02:00
Norbert Thiebaud a8db357874 gbuild/config stop using VERBOSE, use only verbose=t
configure.ac was setting VERBOSE=YES/NO when really
we use verbose=t or verbose=

Change-Id: I47aee8d177cb2d788a62ecdbbb9cc3695c2bb299
Reviewed-on: https://gerrit.libreoffice.org/17634
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-08-11 04:34:45 +00:00
Stephan Bergmann f0aa1a78fb For Clang -fsanitize=vptr use -fvisibility-ms-compat, not -fvisibility=hidden
As discussed in b4f6b26b5a "SAL_DLLPUBLIC_RTTI for
proper RTTI visibility for LLVM," RTTI-based -fsanitize= checks with Clang on
Linux need special precautions to make RTTI symbols visible across DSOs.  The
approach taken there, as well as in 598d8194b0
"Visible function type RTTI for Clang -fsanitize=function," was to add explicit
SAL_DLLPUBLIC_RTTI annontations to relevant type definitions.  However, for
-fsanitize=vptr that would have required many more of those, so it appears
easier to "misuse" -fsanitize-ms-compat in that case, which happens to give all
RTTI symbols default visibility (while otherwise still honoring our
SAL_DLLPUBLIC/PRIVATE annotations).

The SAL_DLLPUBLIC_RTTI annotations from 598d8194b0
"Visible function type RTTI for Clang -fsanitize=function" can likely be removed
again.

Change-Id: Ibeff7ab8c908111a7dc66ff0677204f112b24db8
2015-02-27 10:05:22 +01:00
David Tardon bc4bbf802f upload libabw 0.1.1
Change-Id: Idbe25949adab4ac20613a4c14885d4b1a4c40775
2014-12-20 20:46:23 +01:00
Stephan Bergmann 904f9284a2 More passing of MAKE into external configure
...like 2fdf78109e "Pass MAKE into
external/poppler's configure"

Change-Id: I4e2f1a13d120a7398fa81884710c589bb905714d
2014-11-13 16:56:20 +01:00
Michael Stahl 1413b6a4fd external: fortunately boost no longer requires config_host.mk
Change-Id: I8f2176500bf620cd5e4cdf434e6122b6163b3e0f
2014-11-10 15:08:29 +01:00
David Tardon 7515b1a90f fdo#63756 build libxml2 with ICU support
Change-Id: I0523e49e640812be435ba4c97b1881ca253eb2ab
2014-07-20 10:15:25 +02:00
Michael Stahl f5111df1f4 libabw,libfreehand,libvisio: avoid some quoting issues
With Win32 make there are problems with the sed expression.

Change-Id: I6d7fe52a233ef88a43ee1b6e3378fcb7b0792d07
2014-06-09 17:05:51 +02:00
David Tardon 48c9d7ac7c rebase all import libs
Change-Id: I9e1fc613816c943f4fb1033185e34e3acf317f1d
2014-05-26 18:49:04 +02:00
Michael Stahl d729d169de normalize values of CROSS_COMPILING
Change-Id: I0cc43cef91e3fcd82a3558a16ab0afbd4d56b141
2014-02-27 18:09:01 +01:00
Michael Stahl adddbbc4c6 normalize values of SYSTEM_BOOST
Change-Id: I2fce6545d7f279e0e2d6f3ff53eee1ab82314135
2014-02-12 09:53:10 +01:00
Michael Stahl 379f978387 normalize values of SYSTEM_FREETYPE, SYSTEM_LIBXML, SYSTEM_MARIADB
Change-Id: Iffcc671ca41c5880579effe0786a3b4d3be0dab0
2014-02-12 09:53:09 +01:00
David Tardon baa84c47a1 upload libabw 0.0.2
Change-Id: I2b73c5546e767030344f787efb9a9cafa9635ad3
2014-02-10 16:12:50 +01:00
Fridrich Štrba 6f52d47239 Don't crash on unstarted table
Change-Id: I68e596ea37133c89206333e8ca8aa3602878d2fc
2014-01-23 17:13:16 +01:00
Fridrich Štrba 7989850e9f Coverity: Potential crash (?)
Change-Id: I819b0df446cf95d511d6a7a5a65c381a2a837d00
2014-01-21 08:44:45 +01:00
Fridrich Štrba 9c46e4069d No need to use the stuff from inttypes here
Change-Id: I8d80a8ff223d7c57f7efe808e07ac31aa4d521fd
2014-01-16 18:20:45 +01:00
Fridrich Štrba 838c888949 Uploading libabw-0.0.1 (support of zabw files too)
Change-Id: Ie04cae9b9a362cb43b671fe8986545865822a953
2014-01-15 15:25:06 +01:00
Fridrich Štrba 7c3ca69654 Fix ABW embedded images
Change-Id: Ifd33ea9c1f91865d5ae5175eefa9b65107404bf0
2014-01-14 11:29:19 +01:00
Fridrich Štrba f8bf3e3cd4 Fix ABW list shapes
Change-Id: Ibbbfddf10677e8c5b654cee9c5fda1603a298a67
2014-01-14 09:40:24 +01:00
Fridrich Štrba 766f718ebb Fix a silly with ABW footnotes/endnotes
Change-Id: I026f9c664ff7dec51e511ad439ab563d2cc0c201
2014-01-14 08:57:47 +01:00
Fridrich Štrba 10eaaac020 AbiWord Import filter
Change-Id: I90dc115044e5f81fa3a2b105d30d7d39e438b086
Reviewed-on: https://gerrit.libreoffice.org/7411
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2014-01-13 21:14:59 +00:00