1665 Commits

Author SHA1 Message Date
Stephan Bergmann
b3711ada7a typo
Change-Id: I8bc95282b709dcf47469b09326d434297976b6d0
2016-12-09 21:39:38 +01:00
Tor Lillqvist
f12b13103e Display a summary of fuzzing in command-line form at the end of configure
Makes it easier to reproduce a fuzzed configuration manually.

Change-Id: Ief4df847f1f17c64607e6e5eaf402737bd50704b
2016-12-08 17:48:39 +02:00
Tor Lillqvist
b9230ca3af If dbus and avahi enablings are fuzzed differently, make them the same
Change-Id: I4acd0e3fac55a0969bfa99e5a2621f3f77aba74d
2016-12-08 16:20:45 +02:00
Tor Lillqvist
20475c78db Retire the --disable-export option
It was never fully implemented, and its usefulness is unclear.

Change-Id: I86dee8ee6326bdfaa178260c76188261aef2fb4c
2016-12-08 14:21:21 +02:00
Tor Lillqvist
59d85e1b26 If we fuzzed --enable-compiler-plugins as yes but aren't using Clang, reset it
Change-Id: I4a910649ec6b4ec5f999e009802038457cf94363
2016-12-08 14:21:20 +02:00
Tor Lillqvist
8d3ade357d Fix thinko
Change-Id: I086028a42bd6d35bdefeb58fb11693da4bcff59b
2016-12-08 00:21:52 +02:00
Tor Lillqvist
0606c064f0 The --enable-mergelibs option is not experimental
Change-Id: I2a0671bf1c7c43cf250f36f480768f160b079eec
2016-12-08 00:17:14 +02:00
Tor Lillqvist
472c07ca0d Introduce configure option fuzzing
When --enable-fuzz-options is given, those --enable or --with options
that are separately so marked, and have not been specified explicitly
at the configure command line (i.e. typically from autogen.input), are
randomly set to either yes or no.

This functionality is useful to make sure configure options don't
bit-rot by randomly exercising uncommon settings and combinations.

To enable fuzzing for an option, use libo_FUZZ_ARG_WITH instead of
AC_ARG_WITH, or libo_FUZZ_ARG_ENABLE instead of AC_ARG_ENABLE.

Also handle two cases of incompatibilty of options discovered by using
--enable-fuzz-options. In general using incompatible options should
cause an AC_MSG_ERROR(), but when one of the options in question has
been set by fuzzing, it's simplest to just reset it to the compatible
value.

Obviously this is highly experimental.

Change-Id: I76d250c148892951a7fda25ba4164de8bc693a26
2016-12-08 00:09:47 +02:00
Caolán McNamara
5ca4a50c17 optionally enable oss-fuzz targets via --enable-fuzzers
Change-Id: I16f52515a149a1e6e47cd0301a45db84ddd95885
2016-12-05 12:56:27 +00:00
Caolán McNamara
453da06c97 oss-fuzz check CXXFLAGS as well for -fsanitize= foo
Change-Id: Ifd4aa349a9debcee4b8446c2e6e84ccc36a84efd
2016-12-04 21:22:26 +00:00
Khaled Hosny
b9fe5dc791 Require HarfBuzz 0.9.42
This is the first version where hb_buffer_set_cluster_level() was
introduced. The layout engine depends on this feature in a few places
and though we can build without it, the result will be wrong in some
cases (i.e. any where we assume combining marks will have their own
cluster number).

Change-Id: I89187f317052e7933b83ad0350cace239333510b
Reviewed-on: https://gerrit.libreoffice.org/31521
Reviewed-by: Rene Engelhard <rene@debian.org>
Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
Tested-by: Khaled Hosny <khaledhosny@eglug.org>
2016-12-02 21:48:04 +00:00
Khaled Hosny
dacd0e9419 Unused code
Change-Id: Idfc964930c242d752a78cd109d75d809bce4de11
Reviewed-on: https://gerrit.libreoffice.org/31470
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
2016-12-01 19:13:12 +00:00
Luke Deller
d6a1ba29a5 enable optimization (-Og) with --enable-debug
gcc-4.8 introduced a new optimization level -Og which enables
optimizations that do not interfere with debugging.

When configured with --enable-debug, use -Og rather than -O0
if available.

Change-Id: Iff3f98d736681ae34e49b96510228a14ce456b34
Reviewed-on: https://gerrit.libreoffice.org/31333
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2016-12-01 16:48:52 +00:00
Markus Mohrhard
039261b3f6 orcus is mandatory now
We use it as a json parser, for calc cell styles and tests. Making it
optional is just making the code more complex and introduces more
sources for errors.

Change-Id: I8769628a4ab9519cafc3d43db7c0007e0aa265dc
Reviewed-on: https://gerrit.libreoffice.org/31307
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-11-28 15:52:20 +00:00
John Paul Adrian Glaubitz
f35d29c838 Fix typo in configure.ac (mk68 -> m68k)
Change-Id: Ibbedf9444e2c43b3dff886d9513be7e3d2a99095
2016-11-27 19:22:59 +01:00
Khaled Hosny
67936ee7ed Kill old Graphite layout engines
Change-Id: Ia19d4d0a3a33694b6edfff62e6b40028dac19677
Reviewed-on: https://gerrit.libreoffice.org/31212
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
2016-11-26 05:12:16 +00:00
Michael Stahl
086631af59 configure: fix harfbuzz build on WNT
The graphite library is always built static, so the graphite headers must
be included with the GRAPHITE2_STATIC macro, so that the functions are
not marked __declspec(dllimport) on WNT.

Add GRAPHITE2_STATIC to GRAPHITE_CFLAGS so harfbuzz picks it up.

It's a mystery why vcl even links currently without this.

Change-Id: I80d87fe76afa2d05a5697d56dfaf8cbe97d9f977
2016-11-25 17:07:10 +01:00
David Tardon
14fc834aeb upload libmwaw 0.3.9
Change-Id: I22d6fe02bfb122f060cfe2f8f0ba5259eb5cd60b
Reviewed-on: https://gerrit.libreoffice.org/31088
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
2016-11-23 11:13:54 +00:00
Christian Lohmaier
6b14e198d3 bump product version to 5.4.0.0.alpha0+
Change-Id: Ia5ed3eab0956bcd746df65b0f234270004804449
2016-11-23 02:01:05 +01:00
Tor Lillqvist
73302ce8b8 Exit GLyphy
Change-Id: Ib84e703d4c1528d022435c7695c97a3fc284563a
2016-11-16 21:32:03 +02:00
David Tardon
a64958ab63 move all tests for DLP libs to one place
Change-Id: Icbce7f5512c0c205f44db520f337ce9520d228d5
2016-11-13 16:29:31 +01:00
Christian Lohmaier
3e522fcbaa demote "unknown android ndk" to warning only (and add 13.1 as known)
android studio/sdk manager doesn't provide a default way to install
multiple versions of the NDK, so typically only the latest one will be
available. Don't make configure error out in this case, but print a
warning instead.

Change-Id: I6af9a3f088daf7d12ebd9910286d7f44d264014a
2016-11-10 12:00:42 +01:00
Gabor Kelemen
16efafc27a Drop more OxygenOffice bits
Follow up to 8dc38d9ded92960eda46343b67da8a8b95404b5a
Here we drop some --help descriptions and the rest of
removed extensions from the Jenkins config file

Change-Id: Ie1520adf2c48c2dc714b00c53ba0055f1deb3c62
Reviewed-on: https://gerrit.libreoffice.org/30697
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-11-08 14:56:41 +00:00
Khaled Hosny
8285af5e56 Disable VCL_FLOAT_DEVICE_PIXEL on macOS for now
Causes subtle and surprising differences, and it was only needed for the
Core Text-based layout engine, which is not the default now. We want to
use floats for our text layout everywhere at some point, though, so lets
keep the code around.

Change-Id: Iac4d0f58992646b9357a9f32c5eea8ff2729a5c0
2016-11-07 07:59:49 +02:00
Michael Stahl
6a866f99ec configure: fix LIBJPEG_LIBS, jpeg-turbo can also be used on Linux
Change-Id: I710f8ba31b6f780e3fb1d174d9ea21f270f55264
2016-11-03 11:49:36 +01:00
Tor Lillqvist
8b69433394 Clarify comment to mention also HAVE_FEATURE_OPENCL
Change-Id: Ibca8ceedd8c01b4d12ccd9c29838f545fc234347
2016-11-03 12:35:29 +02:00
Michael Stahl
eea709f67d poppler: build against libjpeg
Albert Astals Cid points out that --disable-libjpeg causes poppler to
use internal JPEG code instead, which is not actively maintained.

Add LIBJPEG_CFLAGS / LIBJPEG_LIBS to config_host.mk and patch poppler to
respect LIBJPEG_LIBS.

Change-Id: Id19a62a9bd9dc41fee5e8e43e2798e515aacc299
Reviewed-on: https://gerrit.libreoffice.org/30496
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-11-02 20:04:23 +00:00
Eike Rathke
3e42714c76 upgrade to ICU 58
Change-Id: I4a992447df65b337721a2a2627d974172a14cba5
Reviewed-on: https://gerrit.libreoffice.org/30487
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-11-02 18:42:47 +00:00
Kohei Yoshida
dff4e51f5d Add configure option --enable-formula-logger to conditionalize it.
Change-Id: I1badbcfa259b22d742e5241bd817ea44769a771e
2016-10-25 18:07:27 -04:00
Andras Timar
373f3313a5 typo: imgage -> image
Change-Id: I5f650293719ad790eb5b4f5d5d448399356f386e
2016-10-20 16:09:51 +02:00
Christian Lohmaier
b1b0a62181 bump product version to 5.3.0.0.alpha1+
Change-Id: I7dc5e6925962d948f8d61cd0c951331e78fcb08e
2016-10-20 15:26:10 +02:00
Khaled Hosny
b285eaf5f8 Always build Graphite everywhere
It is no longer an optional feature on any platform. The
--enable-graphite stuff is kept as it controls the old Graphite
integration code and it should be removed without.

Change-Id: Ib4d76bba782a1439f02f93411b22d237a1987ea5
2016-10-18 20:41:31 +02:00
Khaled Hosny
610eceb035 Always build HarfBuzz everywhere
It is no longer an optional feature on any platform.

Change-Id: I70cdcd2c0df69d961ecc5f36b4e8d035d251ef16
2016-10-18 20:41:31 +02:00
Akash Jain
69c40bbebd GSoC: Enable building Harfbuzz with Graphite
Harfbuzz will now need to be built with Graphite support. This allows
Harfbuzz to handle Graphite fonts. In case we all building with
system Harfbuzz, then it should be built with Graphite support else
we error out.

Change-Id: I156ec08b9e5ad7ce87cc15e4b5852d9c57c98f7f
2016-10-18 20:41:30 +02:00
Akash Jain
8f70e847a1 GSoC: Modify HARFBUZZ_LIBS flag if compiling with MSVC
MSVC has a different format for specifying libs to be linked.
Therefore, modify libs flag accordingly.

Change-Id: Ib919c4b6b0cdac47a8a6ad6730d20e19bc05b0d4
2016-10-18 20:41:29 +02:00
Samuel Mehrbrodt
d1f4b84faa Drop 'Human' icon theme
Was used in Ubuntu formerly, but they now switched to breeze.

Human is mostly similiar to Tango, with some Ubuntu colors.
So it should be enough to keep Tango.

Change-Id: Ib44cbefb2953406c95dbb269ada663bce2503234
Reviewed-on: https://gerrit.libreoffice.org/29537
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Heiko Tietze <tietze.heiko@googlemail.com>
Tested-by: Yousuf Philips <philipz85@hotmail.com>
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-10-18 12:52:05 +00:00
David Tardon
ea7b023115 upload libwps 0.4.4
Change-Id: I7dc8b6412fd1a9d7bc2edf28cb23307c2eebd669
2016-10-17 22:49:10 +02:00
Michael Stahl
69dcc7adae configure: avoid linking against libgcrypt for libexslt
There are at least 2 different versions libgcrypt.so.20 and
libgcrypt.so.11 in use, and it's a private dependency of libexslt
anyway, so filter this out of LIBEXSLTLIBS.

Change-Id: Iafc33ef5ead2a86bedb4d5e485f6a16eb0544686
2016-10-10 16:52:43 +02:00
Tor Lillqvist
9e1ee599e0 Update min OS version to a more realistic value for iOS
Change-Id: I63617c49ce176180709a32c59a468c6abe076a3d
2016-10-03 17:28:36 +03:00
Tor Lillqvist
143d6eb831 Also look for iOS SDK 10.0
Change-Id: Ibc975a3c61542a2872a48c310351653734c225ce
2016-10-03 17:28:36 +03:00
Khaled Hosny
281bd0b08a Update HarfBuzz to 1.3.2
* Only build the library, makes no-freetype patch redundant.
* Don’t build ICU support as a separate library, otherwise we would also
  build the alternative UCDN Unicode functions which we do not use.
* Don’t build FontConfig support stuff that was added a few releases ago
  as we don’t need it as well.

Change-Id: Ia5f296c61a6ce2a589b1c521b3c2c7c75dbcf74d
Reviewed-on: https://gerrit.libreoffice.org/29342
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-09-30 07:11:24 +00:00
Stephan Bergmann
24d366e535 Remove $(CLANGDIR)/tools/clang/include form confgure.ac, too
...after it had already been removed from compilerplugins/Makefile-clang.mk with
4d54e240262ffb2d2de1d72986f025657e230c77 "Who needs that
$(CLANGDIR)/tools/clang/include anyway?"

Change-Id: Ie99bb87a10cbf78ce1ab39d35dad976c51995b8f
2016-09-28 12:01:36 +02:00
David Tardon
99d2240ab6 fix build on 32-bit ARM on latest Rawhide
Change-Id: If00c42235d6ec92634dc8c23fdcbb50e332ffa68
2016-09-28 09:11:13 +02:00
Michael Stahl
16c0807d75 configure: reject Apple JDK
Since commit 32bc8ddbf335dd26019edcf12758643b4cff9913 the jvmfwk rejects
Apple JDK and while the Java code builds fine with it, various tests such as
CppunitTest_dbaccess_hsqldb_test fail if it is the only installed JRE.

The simplest way to avoid the problem is to not allow building with
Apple JDK.

Change-Id: I5701e38cffded4596ac94608867a038ff76f75ec
2016-09-27 11:56:28 +02:00
Michael Stahl
9a5b10544a configure: non-working ant is an error, not a warning
For example ant 1.8.4 doesn't work with JDK 1.8.

Change-Id: I709fd0591c330cbfe6542976eb2fa0c3aec1e63f
2016-09-27 11:56:28 +02:00
Caolán McNamara
7fcefe280a Related: rhbz#1366710 fedora mips64 and mips64le use lib64
Change-Id: I34aacd5c15595786b8dde4202a7538c4ff7889a3
2016-09-26 21:02:14 +01:00
Rene Engelhard
7a37301822 fix KDE4 build with KDE headers in /usr/include again
Change-Id: Ie8e9a48bfe8249c8a68afeffeeaeee6be1a5dc97
2016-09-25 11:31:46 +02:00
Jan-Marek Glogowski
8dc174178f Clarify KDE4 and TDE config variables
The configure flag is already --enable-kde4, so rename most build
and configure variables, including the config headers, and the
build module to include the major number.

Also rename the TDE MOC stored as $MOC to $TDE_MOC to prevent
conflicts.

Change-Id: Ib947ae4b80349cc52eac7812cb93e8a42606b526
2016-09-23 23:25:48 +02:00
Stephan Bergmann
5d787f957d Don't check HAVE_GCC_VISIBILITY_FEATURE with clang-cl (intended to fail there)
Change-Id: I4cae18e1359f2e30ef4d4d7d550306489fcedd74
2016-09-23 11:10:06 +02:00
Andras Timar
3d45d6fdb8 64-bit Windows build is not experimental for a while
Change-Id: I1b973c60a19e59c98c669d08e8472c18c2fc0c58
Reviewed-on: https://gerrit.libreoffice.org/29104
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2016-09-21 10:35:01 +00:00