1665 Commits

Author SHA1 Message Date
Stephan Bergmann
ed4b23548d Keep original CFLAGS etc. unmodified in configure.ac
...even if they are modified for the remaineder of configure.ac itself in the
MSVC 2015-specific code checking for UCRT.  Otherwise, the flags determined by
LinkTarget.mk would lack any debug and optimization flags when building with
MSVC 2015.

Change-Id: Ib78418e0ad04bf2eae16a14b5c0904ba4f582eca
Reviewed-on: https://gerrit.libreoffice.org/34248
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-02-14 17:02:05 +00:00
Miklos Vajna
6657d52417 vcl pdf import: use pdfium instead of draw_pdf_import
Replace creating a full Draw component with direct pdfium library calls.
This also means that the result is now a bitmap, not a metafile for now.

Also decouple HAVE_FEATURE_PDFIMPORT and HAVE_FEATURE_PDFIUM, the first
is the "import PDF into Draw" feature, the second is the "insert PDF as
image" feature.

Change-Id: I72c25642ec84cc831df362e02b1520c6e6d9adcf
Reviewed-on: https://gerrit.libreoffice.org/34217
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2017-02-13 16:54:04 +00:00
Stephan Bergmann
8646ab97dc Remove MinGW support
In OOo times, there'd originally been efforts to allow building on Windows with
MinGW.  Later, in LO times, this has been shifted to an attempt of cross-
compiling for Windows on Linux.  That attempt can be considered abandoned, and
the relevant code rotting.

Due to this heritage, there are now three kinds of MinGW-specific code in LO:

* Code from the original OOo native Windows effort that is no longer relevant
  for the LO cross-compilation effort, but has never been removed properly.

* Code from the original OOo native Windows effort that is re-purposed for the
  LO cross-compilation effort.

* Code that has been added specifially for the LO cross-compilation effort.

All three kinds of code are removed.

(An unrelated, remaining use of MinGW is for --enable-build-unowinreg, utilizing
--with-mingw-cross-compiler, MINGWCXX, and MINGWSTRIP.)

Change-Id: I49daad8669b4cbe49fa923050c4a4a6ff7dda568
Reviewed-on: https://gerrit.libreoffice.org/34127
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-02-10 18:01:27 +00:00
Caolán McNamara
55e203a0c6 add --disable-pdfium
Change-Id: I9137dc0030c3c752ffc0931721bf6b0013309d39
2017-02-10 14:03:37 +00:00
Katarina Behrens
c6315e162a gpg4libre: Download external gpgme and dependent libs
in particular, libgpg-error and libassuan
This only downloads and unpacks the tarball. Building them needs
some work still

Change-Id: I562fd01571929ddfb47a319038f88ea8dbfb4bdd
Reviewed-on: https://gerrit.libreoffice.org/33712
Reviewed-by: Siegmund Gorr <siegmund.gorr@cib.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-02-03 14:15:38 +00:00
David Tardon
23f7e82c7b drop bundled ooo2gd (Google Docs) extension
LibreOffice has had direct support for Google Drive since (I think) 5.1,
via libcmis.

Change-Id: I7587923b3fd7dd505124b790066cdaa99a858af1
Reviewed-on: https://gerrit.libreoffice.org/33822
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
2017-02-02 19:13:54 +00:00
David Tardon
e060317a7a fontconfig uses pkg-config to detect freetype now
Change-Id: I12cc3a8a36aeafd5184eee4051bc798c22769d8c
2017-02-02 16:22:41 +01:00
Stephan Bergmann
d92ce4a6a5 Missing AC_MSG_RESULT
Change-Id: Ifb7750ba4dd4f43810aab66fccb4d8dd8a9318d1
2017-02-02 10:17:55 +01:00
Stephan Bergmann
c14b9630a9 Adapt CustomTarget_odk/build-examples to macOS
Change-Id: Ib64d5b5fa1bf13a484adb296b969d1b96387f0c6
2017-02-01 15:16:24 +01:00
Katarina Behrens
595848c85a gpg4libre: Support building --with-system-gpgme (Linux only so far)
Change-Id: I22af89b920d43f3fc5f0fff02070f288bfa59fb4
Reviewed-on: https://gerrit.libreoffice.org/33702
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Siegmund Gorr <siegmund.gorr@cib.de>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-02-01 12:11:22 +00:00
Caolán McNamara
f0b38738d8 Related: tdf#105426 upgrade to hunspell-1.6.0
Change-Id: I275222d1a7d78cbfb1ca046562fc8a3c314b0fae
Reviewed-on: https://gerrit.libreoffice.org/33454
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-01-24 09:34:16 +00:00
Khaled Hosny
5cd7b656de Enable Chart XShape tests on Windows by default
They pass both locally and on CI builds on Windows, so I think they
are reliable enough to be enabled by default. On Linux CI builds one
tests is failing but not locally, so not enabling them on Linux for
now. Mac is a whole different story with most of the tests failing.

Change-Id: I1f2cf6f318ddce3c68d7353c49fc510f895bbb6a
Reviewed-on: https://gerrit.libreoffice.org/33173
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
2017-01-16 18:24:53 +00:00
David Tardon
fbbb4850dc upload libwps 0.4.5
Change-Id: Ifab6f95d22d0d335d68bb367dca12a92b864cdd9
2017-01-12 08:58:09 +01:00
Tor Lillqvist
9334de4f6d Don't suggest any "devel packages" on macOS
Installing random 3rd-party "devel packages" is exactly what we don't
want people to do when building on macOS. And anyway, there is no
reason to believe this particular check will ever fail (there even is
a comment that says "MacOS X has system MIT Kerberos 5 since 10.4"),
unless something is very wrong.

Change-Id: Ic880e59358c7c510de9db29e66dfeee7f4e85b4d
2017-01-11 19:57:29 +02:00
Rene Engelhard
22779b1360 use (new) -mlong-jump-table-offsets on m68k for libxo
Change-Id: I6e2886e2de4f3502c74f1e367216066352994865
2017-01-09 18:42:48 +01:00
Jan-Marek Glogowski
245349ddaa Add missing "test" to -Og configure check
Change-Id: Ida6cc4fa96b60e50c261aa2c81fb6d2fc0484b10
2017-01-09 14:03:39 +01:00
Lionel Elie Mamane
860ecb9e58 require firebird 3.0 for build (don't allow 2.5)
Keep firebird_integer_x64le.odb around for a future 3.x firebird that
will allow opening Firebird 2.5 databases, so that we can test this
capacity in our tests.

Change-Id: I05dbef51284bdb25132ff6cb661659430eea6a92
2017-01-05 13:00:40 +01:00
Stephan Bergmann
6e1a8e3850 Remove obsolete HAVE_GCC_VISIBILITY_FEATURE check completely now
cf. f255c3e96e25a43a4724d80287554d892d7ffd70 "[API CHANGE] Remove
HAVE_GCC_VISIBILITY_FEATURE, always true"

Change-Id: I958428881f17703d805873a1fe4854896438eb19
2017-01-05 11:48:02 +01:00
Matúš Kukan
35bc966856 Remove package with dbghelp.dll
ENABLE_CRASHDUMP is always empty.
dbghelp.dll was removed from scp2 in
8ab4d2f29fdd2c058db23f6ee7b2200655d4c6f6

Change-Id: I5c47ce4b4cafb2f24185ddd9a31eb1a3176fa176
Reviewed-on: https://gerrit.libreoffice.org/32395
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Matúš Kukan <matus@libreoffice.org>
2017-01-02 21:20:21 +00:00
Tor Lillqvist
879bac84cd It's not CygWin but Cygwin
Change-Id: I1f1e9fa67244645f695885fcb7b877b9a1ecdf4f
2016-12-31 23:50:10 +02:00
Tor Lillqvist
20528001b5 Remove unused find_msvs() function
Change-Id: I69bf918036744ad0e9fa6951cef284d1c616d793
2016-12-29 19:01:04 +02:00
Markus Mohrhard
cb18803699 fix the egl check again in the internal epoxy case
Change-Id: Ie580b13579fdb71bd8898ae59b915b3842ef8aab
Reviewed-on: https://gerrit.libreoffice.org/32434
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-12-26 20:16:54 +00:00
Caolán McNamara
2fb74b1ae9 build hunspell with _GLIBCXX_DEBUG
Change-Id: Ida2ce221f1e35afd946545c2a36b72dd2386e7dd
2016-12-22 13:03:46 +00:00
Caolán McNamara
8092d344fa use new ENABLE_NSS for code which needs nss
which isn't available on a static-only build (iOS and fuzzing) and
android

Change-Id: I99bb7c0b45d4499579ddf73f469a762ddcae99ab
Reviewed-on: https://gerrit.libreoffice.org/32182
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-12-20 14:20:47 +00:00
Caolán McNamara
d0c3dba866 lower the system epoxy requirement
Change-Id: I2fff46985502dafa3b860aaebe862853ebaccabb
2016-12-20 12:56:37 +00:00
Caolán McNamara
b28a0eb9b6 builtin zlib with oss-fuzzing
Change-Id: I58c37a68c8695b68296f0eb652e3075ea1528108
2016-12-20 12:01:42 +00:00
Caolán McNamara
50141d0eec builtin-libxml and libxslt with oss-fuzzing
Change-Id: Icbecfd287174e5d7be9bbf7dc235d1966a6858ff
2016-12-20 11:58:32 +00:00
Caolán McNamara
56e39524e5 let enable-fuzzers imply non-DESKTOP
Change-Id: I783b2950fcd43b1767961bc97d331be96b035ba7
2016-12-19 21:12:40 +00:00
Stephan Bergmann
c6dba3e8a1 Add ucrtlib dir also for 32-bit Windows
cf. 86e6d9b62f4d77a6949fdb98c570930a80f6917c "Make check for broken static
initialize_list work with MSVC 2015"

Change-Id: Iac957a7bcaeecf9740e53ab777a032d128dfffde
2016-12-19 16:39:44 +01:00
Stephan Bergmann
86e6d9b62f Make check for broken static initialize_list work with MSVC 2015
...where AC_RUN_IFELSE failed to find libucrt.lib

Change-Id: If696224d179f5e59d22f0a2eaa417ebe80a0ed8a
2016-12-19 11:20:54 +01:00
Caolán McNamara
6cb661fba4 Revert "Revert "build our own fontconfig and freetype under oss-fuzz""
This reverts commit d3c06fb90485543f6ca4b1f833e6c4f82b28ba14.

which seems innocent after all
2016-12-19 08:59:02 +00:00
Caolán McNamara
144ddfa2d8 fix grammar a tad
Change-Id: Ib0ea502c8b2f13a4bc9d7f57ecc86c6980c36518
2016-12-18 21:46:37 +00:00
Caolán McNamara
7ccf36d81f split out inability to have nss as HAVE_FEATURE_NSS
Change-Id: Ie9fa0291117ba81529cc396f96f3f02c4a7e4d79
Reviewed-on: https://gerrit.libreoffice.org/32093
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-12-17 20:29:10 +00:00
Julien Nabet
2beb90a041 Fix QTBUG urls
Change-Id: Ia265b0b6b9d1883e51e561c50f521c82bf0de222
Reviewed-on: https://gerrit.libreoffice.org/32124
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2016-12-17 16:25:52 +00:00
Caolán McNamara
d3c06fb904 Revert "build our own fontconfig and freetype under oss-fuzz"
did I break android here mysteriously

This reverts commit f2fae3684f35bfb03c4921adc4ecbddcff36374b.

Change-Id: I0d941d3e474c6693cd15e1b55baab83a3da48488
2016-12-16 17:20:12 +00:00
Caolán McNamara
5d50612bfb COM_IS_CLANG is used before its set
since

commit 817cd83cb76582cda848da0370d3e1b68f5bbb01
Author: Peter Foley <pefoley2@pefoley.com>
Date:   Mon Jan 18 14:19:51 2016 -0500

    Improve LTO flags on Android

so just drop the piece which can never be true here

Change-Id: Ia9d718254d9dda5c25af269221a2acae1eb0566d
Reviewed-on: https://gerrit.libreoffice.org/32070
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-12-16 14:22:45 +00:00
Stephan Bergmann
721116c7ad Phase out support for HAVE_BROKEN_STATIC_INITIALIZER_LIST
...I'm pondering a change that would make that a hard requirement, and from the
comment in configure.ac it looks like only old Clang < 3.4 were affected.

Change-Id: I8ef64f759fed1a45d88f94d0e8a60839ad10b263
Reviewed-on: https://gerrit.libreoffice.org/32029
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-12-15 11:24:53 +00:00
Caolán McNamara
f2fae3684f build our own fontconfig and freetype under oss-fuzz
Change-Id: I7141aabd64c3f42545176fa8c907d8326e25e9ff
2016-12-15 09:28:03 +00:00
Tor Lillqvist
54d5a0dfa5 Bump iOS versions
Change-Id: I614e29829ebd40b34f85ce32b806a5079b7967de
2016-12-15 09:21:37 +02:00
Rene Engelhard
647f149a74 only check for libEGL in internal epoxy case
as that TTBOMK is the case where it's used. At least it's not used in
vcl and slideshow directly

Change-Id: Ie77656e56e0017800bc0107c2bfe63ddc4b5b9a5
2016-12-14 22:39:02 +01:00
Caolán McNamara
d423121dba update to latest hunspell 1-5 release
Change-Id: Ifb412506f2e36878d44d0e4f6360ae8d070ffa15
Reviewed-on: https://gerrit.libreoffice.org/28488
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-12-14 20:18:07 +00:00
Markus Mohrhard
d9aec10456 check for EGL if we built with GTK3 support
Change-Id: Ib944b8109c734f01ca67783c286c8e10e07a1d25
Reviewed-on: https://gerrit.libreoffice.org/31993
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2016-12-14 15:16:02 +00:00
Noel Grandin
b97a0e9419 really disable -Og on clang
Change-Id: If65cbe691d427a68985de0f8b4c0f9ada7ab281f
2016-12-14 11:49:46 +02:00
Noel Grandin
38c3386549 disable -Og on clang for now
Change-Id: Ia8f8ab2e84e41d2767a566be4009ddc54e4f2890
2016-12-14 11:41:15 +02:00
Tor Lillqvist
bfabed025b Grammar nitpick
Change-Id: Ic1b24416de53b2b3cff79358b3e299ce4b40d859
2016-12-13 19:07:37 +02:00
Caolán McNamara
54491dce60 turn off epoxy egl support by default and enable only when gtk3 is enabled
to build on the festering baseline on which gtk3 is disabled

Change-Id: I6c074382590fc60ae8572fbde225679e4309494e
2016-12-13 16:09:12 +00:00
Caolán McNamara
b252dbf59d missing EGL/eglplatform.h error -> install mesa-libEGL-devel
Change-Id: I689fd6d4f90dd46b71803517bbe2df73486dc9ec
2016-12-13 12:24:19 +00:00
Caolán McNamara
482d7ce61b change from glew to epoxy
because that works under wayland out of the box and gtk3 uses it already

Change-Id: Iefaac31e325534a81a5389f752804af917c1baef
Reviewed-on: https://gerrit.libreoffice.org/31213
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-12-13 11:33:18 +00:00
Stephan Bergmann
cfd2691e5b [API CHANGE] Remove salcpprt static library
...containing replacements for global operator new/delete (that can be linked
into executables), but which is no longer used.  The mail thread starting at
<https://lists.freedesktop.org/archives/libreoffice/2012-March/028690.html>
"operator new no longer routes through rtl_AllocMemory in libsalcpprt under
gbuild link rules" has the details of how this was used on some platforms (but
not on others) before the switch to gbuild, and has been "lost" ever since---but
apparently a loss not mourned much over the years.

For the SDK, c5f974287fd04bb529de145113133b9e35687702 "INTEGRATION: CWS jsc3:
#i62434# copy libsalcpprt.a" added the library (under Linux) and
6db9c5af960f9787e33e4addc56bddbb1695a402 "INTEGRATION: CWS jsc3: #i62434# extend
link options for executbales to link libsalcpprt.a, LINUX only" added its use to
odk/settings/settings.mk, but fc0ca57f2cd649c6330171445a06b80e2143a0e9
"INTEGRATION: CWS jsc21" removed that use again (for no documented reason).  So
this is an incompatible change, but unlikely to actually affect any users of the
SDK.

Change-Id: Ia38b4c439f21fca3f5d9af7d1a34054e992054e9
Reviewed-on: https://gerrit.libreoffice.org/31810
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-12-12 09:16:34 +00:00
Matúš Kukan
1e074a455e Remove some not used SCPDEFS
Change-Id: Ib85895c21cef9baeccc468b476cbd8170ee4c9ce
2016-12-12 08:39:47 +01:00