1665 Commits

Author SHA1 Message Date
Douglas Mencken
6d115dd676 configure.ac: it is ZLIB_LIBS that's needed here
Change-Id: I1bdd2fcb0fc20f47ba4cbad52fccb6f4ada968ea
Reviewed-on: https://gerrit.libreoffice.org/20752
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2015-12-17 16:11:22 +00:00
Rene Engelhard
4c18af27bf tdf#96398 kill remaining NPAPI support for plugins _inside_ LO
- probably out of date
- links against Gtk2 and thus causes a GTk2 dependency in core packages
- the only serious usecase (Flash) is doomed anyway

Change-Id: I7264ab5eb04c2f4b6c31a815e45b9818209e5ae2
Reviewed-on: https://gerrit.libreoffice.org/20658
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
Reviewed-by: Bryan Quigley <gquigs@gmail.com>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-12-17 15:31:17 +00:00
Tor Lillqvist
56dabd64bc Look for iOS SDK 9.2, too
Change-Id: I2e16ae2ecb5f3a2a37c795e5ee26f72fc92b25bc
2015-12-16 11:43:40 +02:00
Tor Lillqvist
cf029192e4 Add --with-prebuilt-openssl
Don't ask.

Oh well, if you want to know: For some people, like me, Cygwin and its
Perl run into horrible trouble with the fork() emulation when building
OpenSSL. (But my Cygwin works fine for all else in the build. Go
figure.)

So I came up with a way to use prebuilt OpenSSL binaries. Not to be
used for release builds, of course (and the configury checks for
that), as long as our policy is to build all we can from sources.

Change-Id: Ic303bdf0c620c5122aca3d646fa1f0587221e70f
2015-12-10 17:01:19 +02:00
Stephan Bergmann
d52a2c5b3c Fix detection of HAVE_CXX14_SIZED_DEALLOCATION under Clang -fsanitize=address
Change-Id: Ib6219a90f36ad391d49a29e7fd12adae604ec8d1
2015-12-10 13:35:10 +01:00
Stephan Bergmann
2195299ab6 Where to find ATL files doesn't depend on --enable-activex
...but, according to the 'Doesn't exist for VSE' comment, apparently rather on the
compiler version installed

Change-Id: I49a87fa55facee8ee66e2b44d7090d06fb104b89
2015-12-02 08:02:21 +01:00
Stephan Bergmann
c4688ad97e Allow --disable-pch for clang-cl
...which doesn't support the cl PCH cmd line args yet

Change-Id: I0a5a4d6c82138992c6e40b5958a41a7fa0be88ac
2015-12-02 08:02:20 +01:00
Stephan Bergmann
f6bb9d1696 Check clang-cl for HAVE_GCC_ATTRIBUTE_WARN_UNUSED, too
Change-Id: I820ea4b3efc51a0464470a8a53d022602d635c81
2015-12-02 08:02:17 +01:00
Michael Stahl
037584cfe5 configure: check for dlsym(), not dlopen()
On Fedora 23, the check for dlopen happens to succeed with gcc -m32
-fsanitize=address, and then linking executables fails due to not
finding dlsym.  Checking for dlsym results in the proper -ldl.

Change-Id: I02108c2c053e07b33848af068937f29967e7dc6a
2015-12-01 10:51:46 +01:00
Michael Stahl
9ec0e6d9cb sd: replace embedded mDNSResponder code with proper external tarball
The diff against the 379.37 release is 2500 lines, one of which
actually does anything at runtime (missing va_end()).

Change-Id: I1824e61fd4ac6c3ce28084913a2661134a03fd51
Reviewed-on: https://gerrit.libreoffice.org/20248
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-11-30 13:11:10 +00:00
jan iversen
7589287249 check for missing COMSPEC variable in cygwin.
Cygwin unsets the COMSPEC environment variable on some installations.
This is due to an error reported first time in 2005, but not solved.
There are no exact pattern when this happens, in this case it happened
on 2 windows 8.1 VM installations (one private one azure).

added check in configure.ac to alert the user earlier

COMSPEC is used in sal/osl to start processes and as such vital, and in 
some perl scripts, therefore hardcoding to e.g. cmd32.exe (or the power
shell) is not an option.

Limited check to work only for cygwin.

Change-Id: I52bb6667c52560ed1a239ac301811605b8cddcbf
Reviewed-on: https://gerrit.libreoffice.org/20255
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-11-30 09:20:44 +00:00
Miklos Vajna
ffddd4d122 configure: remove leftover reference to gnome-vfs
A leftover from commit b40b6010077f875565ce90cd995222451e37321c (ditch
gnome-vfs2 support, 2015-09-02).

Change-Id: I23f34da748a582161bb4a87d2d993a5b4b08aa1e
2015-11-30 09:12:56 +01:00
Stephan Bergmann
687d97b96a Make Clang version detection work for clang-cl
...which does not behave as expected with the given command line arguments, so
just strip "-cl.exe" (and any hard-coded command line arguments following it in
$CC, but that's probably rather harmless here).  Expects that clang-cl is given
with an ".exe" extension in $CC (not assuming that and stripping "-cl" and
everything that might follow could be a bit too agressive).

Change-Id: If99f964dda1369b7d4bbb63b3d634b93c9f935a8
2015-11-28 08:44:50 +01:00
Stephan Bergmann
1cb6ab10f9 Check HAVE_GCC_PRAGMA_OPERATOR for clang-cl, too
Change-Id: I71997ca604f18601ec98acd2957882a26be38fc0
2015-11-28 08:44:35 +01:00
Markus Mohrhard
a7c3a2a9be update to mdds 1.0
Change-Id: I5b6e928ab5a5f2bf84d50f3f0221c0585670d972
Reviewed-on: https://gerrit.libreoffice.org/20251
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-11-28 04:37:20 +00:00
Robinson Tryon
52d01bb5ca bump product version to 5.2.0.0.alpha0+
Change-Id: Ibc95574848752111d36cc9b3ff13709921b67e6c
2015-11-25 07:16:57 -05:00
Tor Lillqvist
81d9f1cbd6 Bin outdated #if and unnecessary <config_mingw.h>
We don't support cross-compiling with MinGW currently, and in any case
if we ever attempt such again, in the meantime the free replacement
Win32 headers most likely have been updated to include the
SCRIPT_CONTROL::fMergeNeutralItems field, so no conditional
compilation is needed.

Change-Id: I38701d6c41c44952466c1ece7c8433abe67642be
2015-11-24 12:58:57 +02:00
Stephan Bergmann
f4f71e96f8 Fix Clang version check further
Change-Id: I5b4fbd8e56b20996406116732c5229fff4696650
2015-11-19 19:55:37 +01:00
Tor Lillqvist
e461f7efcb Do use libo_CHECK_SYSTEM_MODULE for GLYPHY after all
Set the CFLAGS and LIBS for it in config_host.mk.in, and handle the
SYSTEM_GLYPHY case properly in RepositoryExternal.mk.

Change-Id: I56a7fe72b675b6dd4514bbd1739b53f5871ed36a
2015-11-19 14:56:41 +02:00
Tor Lillqvist
928fb2c711 We don't actually use GLyphy on Linux yet
So don't link with it, to avoid pointlessly depending on the very new
glyphy package in Debian. Change this back once needed, after 5.1
branch-off.

Change-Id: I4e2e873858841429738e2992676a0142acc528ee
2015-11-19 14:27:09 +02:00
Tor Lillqvist
0c5e59d933 Check for system GLyphy only on Linux and Windows
Won't ever be any "system" one on Windows, of course. And I think it
will take some time before Linux distros packages GLyphy, too.

But the main point is that I don't want to bother with building GLyphy
for anything it isn't used on anyway. (Sure, it isn't actually used on
Linux, either, but there might be somebody who wants to work on that.)

Also, there is no "include" in the GLyphy source tree.

Change-Id: I063369c92e8d4b868cc66513c9ec12aa4fc65f37
2015-11-19 14:05:31 +02:00
Markus Mohrhard
ef0155814e integrate glyphy into the build
The used glyphy is not directly the upstream version. We currently use a
patched version that allows to disable the build for the demos.

Change-Id: Ic03355e1ea8fbc56e57afa4f90a55741fe9a563a
2015-11-19 14:05:26 +02:00
Stephan Bergmann
e6d21d08af Fix Clang version check
"clang -E -P /dev/stdin" causes warnings "clang: warning: /dev/stdin: 'linker'
input unused" etc.

Change-Id: Ia9c18b59b92558e1d959ce31caf38eed101865d3
2015-11-19 08:59:08 +01:00
Tor Lillqvist
7565f3c3b1 Quote $CXX
Avoid "test: too many arguments" when $CXX consists of multiple words.

Change-Id: I90969333b289fb83ab10b67cb8bfda158a0688cc
2015-11-19 08:16:55 +02:00
David Tardon
c0e04644a1 upload libetonyek 0.1.4
Change-Id: I21eb802e65c7054cfbf73a90c0d63a007829ebcf
2015-11-18 19:51:40 +01:00
Caolán McNamara
fb7d4ba1cb build cairo on android
Change-Id: Ie2f7662a4cc3955963517f265894b8f6a495ece8
Reviewed-on: https://gerrit.libreoffice.org/19991
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-16 16:07:03 +00:00
Stephan Bergmann
b957190edf Work around clang-cl -FIIntrin.h workaround
Change-Id: I71e0de9e13718c1a6cd11339aba740effa2e0476
2015-11-13 10:29:05 +01: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
Miklos Vajna
ef122d9926 configure: avoid empty PRODUCTNAME when AC_PACKAGE_NAME has to be quoted
E.g. when AC_PACKAGE_NAME contains spaces, PRODUCTNAME was set to empty.

Change-Id: Ie53ad1b770e54eeb03513fa2a7cfc2f4ebe65a2b
2015-11-12 09:49:59 +01:00
Tor Lillqvist
a0b9baab6d Bin mesa_headers completely
We don't need them in a MSVC or OS X compilation either.

Change-Id: I00181fe0a047df09bbdfcce34c07eb2ebc45a2da
2015-11-12 07:10:30 +02:00
Tor Lillqvist
b216cc1b80 Avoid mesa_headers on X11, also link with -lGL only where necesssary
The GLEW headers are enough, and what we actually use in these
places. In addition to handling GL extension things in its dynamic
fashion, GLEW headers also have declarations for standard,
non-extension, OpenGL API, including xgl and wgl ones.

Most likely we don't need mesa_headers on Windows or OS X either, and
can drop them completely.

Change-Id: Ic0d8d6238c862f8fe4a74e99e95344dcbf540980
2015-11-12 01:30:08 +02:00
Oliver Specht
83518724e3 added slash to 'Merge Modules' path to fix building win instset
Change-Id: I83702435e9f8e0e73d6a3ecee1e6a7a30dda52d9
Reviewed-on: https://gerrit.libreoffice.org/19886
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2015-11-10 12:51:15 +00:00
Stephan Bergmann
9d3cb71115 Prevent += called on temporary O[U]String instances
...found regression e31205f3ec1f941ab5a188bfde6329edf2acc55b
"EditUndoRemoveChars::GetStr must return a reference" and dubious code
0e23f7b0839df68d277186b4df54ba391ac3406a "Lets assume this doesn't want to
update m_pForcedPrefix->GetText() anyway" in addition to the apparent sillies
directly fixed in this commit.

Introduces HAVE_CXX11_REF_QUALIFIER.

Change-Id: I564e98254fd53c1dd9b34193d7057c59721ee24c
2015-11-09 12:22:17 +01:00
Stephan Bergmann
fca4e6f2ce Some shell quoting fixes
Change-Id: I38de1e66e93086c125c94b76ac5a724439a6fb17
Reviewed-on: https://gerrit.libreoffice.org/19810
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2015-11-05 22:32:34 +00:00
Michael Stahl
29215619ed configure: filter -L/usr/lib etc. out of *_LIBS
The goal is to avoid build breakage by pkg-config or whatever helpfully
putting default paths like -L/usr/lib64 into *_LIBS, which is entirely
useless since ld searches there anyway but may override other -L that
occur later on the command line for LO bundled externals.

On a Fedora 22 system, at least these variales were affected:
 CLUCENE_LIBS FIREBIRD_LIBS KDE4_LIBS POSTGRESQL_LIB BOOST_LDFLAGS

Change-Id: Ie55f65c3ae29a125f16871d95ad8b716abf5c982
Reviewed-on: https://gerrit.libreoffice.org/19784
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-11-04 16:58:26 +00:00
Stephan Bergmann
c63a401726 CPP_LIBRARY has never been used outside configure.ac
...ever since its introduction with f5aa04485c86a5753bd7af057b86336efe089fae
"Enable optionally using libc++ on OS X (when targeting 10.7 or later)"

Change-Id: I26ece69d7a00c7452cd027928c318bbf31d6284b
2015-11-03 14:41:59 +01:00
Norbert Thiebaud
3c2c5ef575 configure.ac error in VCVER use and in firebird mac exclusion
Change-Id: If63c8b8a4d2f51426d0b7caacd14b985e53eb441
Reviewed-on: https://gerrit.libreoffice.org/19674
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-10-29 18:19:09 +00:00
Stephan Bergmann
a346dfccd7 tdf#70833: IDNA support when exporing hyperlinks to PDF
Any URLs using non-ASCII IDNA syntax need to be resolved to ASCII-only, as PDF
URI Action's URI needs to be "encoded in 7-bit ASCII."

Introduce URIHelper::resolveIdnaHost (svl/urihelper.hxx), which internally uses
icu::IDNA, which requires to bump the minimal --with-system-icu requirement from
4.2 to 4.6, which means ICU_RECLASSIFIED_CLOSE_PARENTHESIS is always true now.

Change-Id: I0e20d9a20ed2b869fba0cc7c969721411db590b3
Reviewed-on: https://gerrit.libreoffice.org/19669
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2015-10-29 13:02:40 +00:00
David Ostrovsky
2125026220 Support universal C runtime, SDK 10 and .NET 4.6
Starting with MSVC 14.0 (aka VS 2015) C Runtime (CRT) was divided in
two logical parts: The VCRuntime, which contained the compiler support
functionality required for things like process startup and exception
handling, and a "stable" part that contained all of the purely library
parts of the CRT.

Previously, all of the CRT headers, sources, and libraries were
distributed as part of the Visual C++ SDK, installed in the VC
subdirectory of Visual Studio installation (generally C:\Program
Files (x86)\Microsoft Visual Studio 14.0\VC). The files for the
VCRuntime are still part of the Visual C++ SDK. The headers, sources,
and libraries are now distributed as part of a separate Universal CRT
SDK. This SDK is included with Visual Studio; it is installed to
C:\Program Files (x86)\Windows Kits\10. The debug ucrtbased.dll is
also included as part of this SDK and is installed to the system
directory.

In I0ef8cda7b initial support was added to suport VS 2015. In this
change support for universal CRT, .NET 4.6 and SDK 10 is added. UCRT
dirs are added to CFLAG, CXXFLAG and ILIB. SDK 10 include path is
added to SOLARINC. .NET Framework 4.6 was splitted from SDK 10 and
needs to be discovered separately.

Change-Id: I2c484b6b1debab0d71523385021abb8fc8e6027f
Reviewed-on: https://gerrit.libreoffice.org/16642
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-10-27 21:27:38 +00:00
Tor Lillqvist
446f17f6c1 Automating configure choices based on what is installed considered harmful
Don't automatically --disable-odk (if not mentioned explicitly either
way) based on whether doxygen is found or not.

Caolán says: It's an absolute pain as a maintainer when packages do
that. You build it in some minimal build env and all is well, then
some depend changes and something else ends up in the build env and
now your package fails to build anymore, or behaves quite differently.

Change-Id: I8bc6ab6f90e6e070a37e37b5108081425e116173
Reviewed-on: https://gerrit.libreoffice.org/19324
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-10-27 15:25:07 +00:00
Andras Timar
14fc882e5c add MSVC 14.0 runtime merge modules
Change-Id: Ib32a4f2484466802ac6c9152e8dd41fc8c67aa46
Reviewed-on: https://gerrit.libreoffice.org/18560
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
Tested-by: David Ostrovsky <david@ostrovsky.org>
2015-10-27 06:49:59 +00:00
David Ostrovsky
4e3086da3e Remove Seamonkey based address book driver
Seamonkey based address book driver is based on pre-compiled libraries
and is only used on Windows 32 bit. Remove it in favor of mork driver.

Given that Seamonkey based mozab driver also provides Outlook and
Outlook Express address book integration, that Windows-32-bit--only
feature is lost for now.  If necessary, support for that feature could
be rewritten from scratch, in a way that would also work for Windows 64
bit.

Change-Id: Ie1c125e692598bda999767c328c9e2262a2b82af
Reviewed-on: https://gerrit.libreoffice.org/19560
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2015-10-25 15:02:44 +00:00
David Ostrovsky
147cb6a2ae Bump python to 3.5
3.5 release is needed for MSVC 14.0 (aka VS 2015) support. Python 3.5
removed build toolchain support for MSVC 2013. Because we still need
to support it, we duplicate the Python directory in externals and
copy old patches and dispatch to this directory for MSVC 2013. Once
the support for MSVC 2013 is dropped on master, this directory can be
removed again.

Change-Id: Idf7bc351239582f583ecbdb53c923cbdcf968089
Reviewed-on: https://gerrit.libreoffice.org/17352
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2015-10-25 08:29:39 +00:00
Eike Rathke
5b7e8efbf4 Upgrade to ICU 56.1
Change-Id: Icc3d66c16fca95aa890aee6c67c84674fef878fc
2015-10-21 10:45:56 +02:00
Richard PALO
fd612a144c Add DLOPEN_LIBS to configure for some cases where -ldl is needed
use std::sqrt in vcldemo.cxx

Change-Id: I24d8ba15ee267d0cad3b063df9b7cfd8d284f4ee
Reviewed-on: https://gerrit.libreoffice.org/18591
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-10-20 15:17:58 +00:00
Bjoern Michaelsen
3cf557c12d drop gconf integration as per ESC decision
Conflicts:
	shell/source/backends/gconfbe/gconfbackend.cxx

Change-Id: I609ec83ec59f5ae8d3a8c9c09649695bfcb03b87
Reviewed-on: https://gerrit.libreoffice.org/19408
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2015-10-16 13:50:28 +00:00
Christian Lohmaier
8840a66fac allow using Android Studio with lldb to debug native part
and of course also for the Java part

Using build-id linker flag allows lldb to map the installed .so to the
non-stripped version on the buildhost.

Also ndk-gdb supports specifying a different package name on the
commandline, so no need for the error in configure anymore.

Change-Id: If6887a27cc8ab15ee6ab612502cacf0a22ade737
2015-10-14 21:24:52 +02:00
Christian Lohmaier
7df1b63be2 add warning with install command when android support repository is missing
Change-Id: I21f4bc6fe6cb10e57c45880a4b6d1be2e4fb88d2
2015-10-14 14:04:23 +02:00
Stephan Bergmann
2c975878ff Pass ENABLE_LIBLANGTAG into code via config_liblangtag.h
...so changes to ENABLE_LIBLANGTAG during configure cause proper recompilation
of source code

Change-Id: I282623c885b83e3bf7d94f6f364c5031c012f058
2015-10-14 10:14:18 +02:00
Riccardo Magliocchetti
068c04fb06 Bump gtk+ version to 2.18
2.18 is the version available in RHEL 6 released in 2010.

Change-Id: I4cd4fc89f6b51e6f58ca72b8182f80316b1f4f88
Reviewed-on: https://gerrit.libreoffice.org/19330
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-10-14 08:09:40 +00:00