1665 Commits

Author SHA1 Message Date
Stephan Bergmann
1ea987f23a Remove HAVE_GCC_VISIBILITY_BROKEN, never true
The check for broken -fvisiblity-inlines-hidden doesn't mention a specific bug.
Its roots date back to 072e89cf68dcf9b6713945e402dd7a9fe5cea48d "INTEGRATION:
CWS newportstl" of the --with(out)-stlport area.  Lets assume whatever failure
is long since fixed.

Make this a fatal configure error for now.  The check should be removed
completely after LO 5.3 branch-off.

Change-Id: I7c64c2e8b9bd342beec9b84ff71f5712a6155b7d
Reviewed-on: https://gerrit.libreoffice.org/29075
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-09-20 07:35:13 +00:00
Stephan Bergmann
6a00d6e074 Remove obsolete HAVE_GCC_VISIBILITY_BROKEN check
<https://llvm.org/bugs/show_bug.cgi?id=12255> "with -fvisibility-inlines-hidden
needed copy not emitted for virtual inline function" (which covers the relevant
part of the Clang bug 11250 mentioned in the check) is reportedly fixed ever
since at last Clang 3.2.

Make this a fatal configure error for now.  The check should be removed
completely after LO 5.3 branch-off.

Change-Id: I47edf92968f32735a509ef649e0e85b891baab4b
Reviewed-on: https://gerrit.libreoffice.org/29074
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-09-20 07:34:48 +00:00
Stephan Bergmann
f255c3e96e [API CHANGE] Remove HAVE_GCC_VISIBILITY_FEATURE, always true
* GCC documents -fvisibility at least as far back as the GCC 4.0 online
  documentation at
  <https://gcc.gnu.org/onlinedocs/gcc-4.0.4/gcc/Code-Gen-Options.html>.

* For external code, odk/settings/settings.mk unconditionally set
  HAVE_GCC_VISIBILITY_FEATURE for all platforms other than Windows.

Make this a fatal configure error for now.  The check should be removed
completely after LO 5.3 branch-off.

Change-Id: I1de415b6ed1591e0a7b6640ece861b6f0ef74112
Reviewed-on: https://gerrit.libreoffice.org/29073
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-09-20 07:34:27 +00:00
Stephan Bergmann
60b6b1eae5 Remove obsolete HAVE_GCC_VISIBILITY_FEATURE check
<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26905> "default-visibility class
symbol improperly resolved as hidden-visibility" is fixed ever since GCC 4.2.

Make this a fatal configure error for now.  The check should be removed
completely after LO 5.3 branch-off.

Change-Id: Ie365d5a0e2217a4efd1e8e2642963738ae7d20b1
Reviewed-on: https://gerrit.libreoffice.org/29072
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-09-20 07:34:10 +00:00
Stephan Bergmann
8af35c9590 Remove obsolete HAVE_GCC_VISIBILITY_FEATURE check
<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19664> "libstdc++ headers should
have pop/push of the visibility around the declarations" (aka gcc#22482,
rhbz#162935) is fixed ever since GCC 4.2.

Make this a fatal configure error for now.  The check should be removed
completely after LO 5.3 branch-off.

Change-Id: I3e8fde187b4b20652ee3164485ef868a9bf5a7ce
Reviewed-on: https://gerrit.libreoffice.org/29071
Tested-by: Stephan Bergmann <sbergman@redhat.com>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-09-20 07:34:01 +00:00
Jaskaran Singh
92be10ca06 Switch from orcus-0.11 to orcus-0.12
Change-Id: I837ed3a30fae6fbe6cb658f1feecce1e88279ae0
2016-09-18 00:15:08 +02:00
Caolán McNamara
a6a193666d Enable breeze dark icon theme
This reverts commit 480ee0a664f6c2227973e46e1cd26c2bf885c2e0.

Change-Id: Iad58d7c4b6f9196845efda9a22479093a8c4e367
Reviewed-on: https://gerrit.libreoffice.org/28869
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-09-13 17:27:11 +00:00
Caolán McNamara
480ee0a664 Revert "Enable breeze dark icon theme"
This reverts commit ee5df53075f852df7c81e2520663f5b03b17f41e.
2016-09-13 15:27:58 +01:00
Yousuf Philips
ee5df53075 Enable breeze dark icon theme
Change-Id: I3f89d5ecce57e0901a31b76b986c4f72353f0a1f
Reviewed-on: https://gerrit.libreoffice.org/27766
Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
Tested-by: Yousuf Philips <philipz85@hotmail.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-09-13 13:54:58 +00:00
Gabor Kelemen
8dc38d9ded Remove obsolete OxygenOffice bits
Since 77104ccd7658cb8f3ac142ea9f7fabc15fc08580 the OxygenOffice
distro configs are removed and no other official distro uses these.

Change-Id: I2b4d5fea7e4b9098ac88733821af219db23c48fe
Reviewed-on: https://gerrit.libreoffice.org/28738
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2016-09-08 21:20:58 +00:00
Thorsten Behrens
9ee01c424e gbuild: remove hardlink deliver
Since there's hardly any 'deliver' going on anymore...

Change-Id: Id349958d299c9742382d37deab2125bc09930c14
Reviewed-on: https://gerrit.libreoffice.org/28655
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
2016-09-05 20:02:17 +00:00
Stephan Bergmann
0c8fa58a2d Support ConstCharArrayDetector also for UTF-16 arrays
The long-term benefit will be support of C++11 char16_t string literals (for
cases of string literals with non-ASCII content) once we drop any compilers that
don't support those yet.  The short-term benefit is support for an improved
OUStringLiteral1 that accepts any sal_Unicode value, not just ASCII ones (see
next commit).

Change-Id: I3f8f6697d7eb62b5176b7e812b5a5113c53b83a4
Reviewed-on: https://gerrit.libreoffice.org/28445
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-08-29 11:44:19 +00:00
Thorsten Behrens
7fe8c0b852 Remove gcj support from build system.
Change-Id: I79fe046ff8c932c5f6a9a5f70970168e42d23702
Reviewed-on: https://gerrit.libreoffice.org/28406
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2016-08-26 21:44:46 +00:00
Riccardo Magliocchetti
9fc04e6e36 configure: check for coinutils too
Change-Id: I57d165ed166d9b9e950f01978acf7e89d1dcc79a
Reviewed-on: https://gerrit.libreoffice.org/28318
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Jenkins <ci@libreoffice.org>
2016-08-26 17:59:55 +00:00
Thorsten Behrens
1b8c61d5ca Bump JDK buildtime requirement to 1.6
Change-Id: I3dc715f3cd924d681658829254fd1392677d9e73
Reviewed-on: https://gerrit.libreoffice.org/28382
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2016-08-25 20:42:23 +00:00
Michael Stahl
99cbdc9673 configure: NEED_CAIRO is obsolete since f70343bbbb
Change-Id: I730700166ec6f5433bfa93b2344252f2f8408eaa
2016-08-24 20:23:55 +02:00
Thorsten Behrens
170105956f configure.ac: configure-generated files sit in BUILDDIR
Change-Id: I2e5515063189596aaa7438197c0c9d8897e938e9
2016-08-19 18:41:59 +02:00
Tor Lillqvist
f351446ac8 Automatically avoid export validation if not using Java
Change-Id: Ic1c917b16a8d812b3170b14890eacf3b9859cc2d
2016-08-19 17:00:24 +03:00
Thorsten Behrens
b9ebc6e4c8 configure.ac: use sed from path_progrs macro
Change-Id: I79a6352eabba6d6f3064df2340d53c2808210f6c
2016-08-19 15:39:55 +02:00
Thorsten Behrens
53c98f01ef configure.ac: invert help text semantics for export-validation
Change-Id: I5444c89db7bf46b1894026aa8a2d58ce4d2294df
2016-08-19 15:34:27 +02:00
Noel Grandin
54ba67e550 more of 'make the location of download.lst explicit'
Change-Id: I215c3f4cdc52eed977191fca3adaf72742cffb61
2016-08-19 15:23:36 +02:00
Noel Grandin
8f6c5f2193 make the location of download.lst explicit
to see if it fixes a tinderbox

Change-Id: Ie87f2510330902a946bf5300dc63f67576fff146
2016-08-19 14:16:54 +02:00
Tor Lillqvist
809241fbb2 We don't need any export validation on the build platform when cross-compiling
Change-Id: I3e5c92c2824f1b6503e85cff775424b48c3c38d0
2016-08-18 22:30:25 +03:00
Vasily Melenchuk
0868f67037 enable export-validation in tests by default
since ODF and OOXML validators are now being downloaded, so new default
behavior is to use validation for export tests. To disable validation in
tests -without-export-validation configure switch should be used.

Change-Id: I5cfebae0375e6676ef8cba4cfdaac4b164eed97d
Reviewed-on: https://gerrit.libreoffice.org/28014
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2016-08-18 14:24:21 +00:00
Stephan Bergmann
6782d9991c external/firebird: Make GCC check work for Clang, too
Randomly approximate that HAVE_GXX_FNO_SIZED_DEALLOCATION also implies support
for -fno-delete-null-pointer-checks, and hope that approximation matches the
various versions of GCC and Clang that are relevant for us.

Change-Id: I265bf3432a852a094318a54975403eac60721ab4
Reviewed-on: https://gerrit.libreoffice.org/28211
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-08-18 12:52:23 +00:00
Thorsten Behrens
eab85ed438 configure: move export validation, check for min jre
officeotron needs JRE 1.6 at minimum, so check for that and bail
out sensibly. Had to move that entire block down after java version
checks.

Change-Id: I69b510c53a789478710dae6167a237c2edf40f2d
2016-08-18 02:07:25 +02:00
Tor Lillqvist
cb87239694 Use correct path to the build platform's services.rdb when cross-compiling
Requires introducing LIBO_URE_MISC_FOLDER_FOR_BUILD.

Change-Id: I133a7f73e48090f67764838b45de4fe8b7580efe
2016-08-17 18:16:10 +03:00
Tor Lillqvist
d97a4e5feb Why wouldn't we need liblangtag for iOS?
Change-Id: I7bb75b17003a5a40f69da1f2db5f377d5f349c34
2016-08-17 18:16:10 +03:00
Wastack
45f42681f4 GSoC Upgrade firebird to 3.0
Embedded firebird is now version 3.0.

Supports MSVC 14.0.

Instead of fbembed, there are now two libraries: fbclient and
Engine12. fbclient is linked as fbembed before, Engine12 is loaded
at runtime from fbclient.

fb now needs system libtommath, which is supplied
as a new ExternalProject of LO.

Change-Id: I132939bdee745795b22f675e4265e9590079c45f
Reviewed-on: https://gerrit.libreoffice.org/27642
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
2016-08-17 13:05:40 +00:00
Vasily Melenchuk
a5d1449330 configure.ac: absolute paths for validator execution
Change-Id: I8440d784d9d2c07ab1c1fdbf291dcfc17270ee68
Reviewed-on: https://gerrit.libreoffice.org/28159
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2016-08-16 11:06:11 +00:00
Tor Lillqvist
d179edbf40 Default libtool to /usr/bin/libtool
We never want LIBTOOL to mean a GNU libtool (which is a totally
different program) which might be present in $PATH before
/usr/bin/libtool, specifically /usr/local/bin, which by default (and
stupidly IMHO) is before /usr/bin on stock OS X.

Change-Id: I633a9fd275503f77fc1a0dd3d24a6776579792ba
2016-08-15 19:15:41 +03:00
Thorsten Behrens
5d7a928127 format validation: work around missing exec permissions
Change-Id: I2b4f0f31a2f700bafd373a2d71be35424be1392d
Reviewed-on: https://gerrit.libreoffice.org/28091
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2016-08-12 20:33:17 +00:00
osnola
f471c55378 add test files for libstaroffice
Change-Id: Iabb5965eb09e9128f2cfc720bf69e97f6a96fa22
2016-08-11 08:13:27 +02:00
osnola
1faae1f375 integrate libstaroffice
Change-Id: I85913f1bd1af5d102573040588cca9d8ddeebb5d
2016-08-11 08:13:27 +02:00
Vasily Melenchuk
3011a704d9 officeotron usage in export tests without external dependencies
officeotron is a OOXML documents validator which can be used for
verification of export files in tests. Previously it was possible
to use it only from external repository with extra build steps.

Change-Id: Iae6ec3695fdfaf738d180405047ff04b2024c906
Reviewed-on: https://gerrit.libreoffice.org/27388
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2016-08-09 13:33:29 +00:00
Jan Iversen
08c963e49d tdf#101386 changed URL to DevBuild page
The general cleanup of wiki development, removed a page, that configure.ac uses.

Page restored, and script updated to point at correct page.

Change-Id: Ie9a7fb6d9079506171b6ca318736626bfc742b98
2016-08-09 11:12:15 +00:00
James Clarke
3cb45765f2 (initial) sparc64 port
Change-Id: I8ec9bb5415a9e6b9083ba89a7790872d67625de1
2016-08-05 18:09:59 +02:00
Tor Lillqvist
d448733db9 Clarify what --with-macosx-sdk actually does in its help text
Change-Id: I999fe123d71c646d20f108801ca989355bee3855
2016-08-05 12:34:54 +03:00
Tor Lillqvist
4c94b91718 Accept also macOS SDK 10.12
Change-Id: I2e654de8af40486ef63146ad42a3f2988f9c3579
2016-08-04 22:48:22 +03:00
Tor Lillqvist
b640a1343b Introduce --with-product-name superseding --with-macosx-app-name
The new option thoroughly replaces the product name mentioned in the
AC_INIT() call. Work in progress.

Also take care of spaces in the product name in a more systematic
fashion.

This should affect mainly OS X where the final app bundle that is
installed should use the product name as such, including spaces, if
any. However, our build system does not cope that well with having an
app bundle with spaces in it in instdir. So in instdir, and also in
test-install, spaces are stripped away from the product name when used
as part of the app bundle name.

Change-Id: Ic16b5039f23c96a4f39387a1869faeb25e05aafb
2016-08-04 17:44:40 +03:00
Tor Lillqvist
e13aead8a1 Reduce ENABLE_OPENGL / ENABLE_HEADLESS confusion
ENABLE_OPENGL means whether to enable the OpenGL slideshow transition
code. It does not mean whether to enable use of OpenGL in general. So
rename it to ENABLE_OPENGL_TRANSITIONS while at it.

ENABLE_HEADLESS means whether to disable use of X11 and OpenGL on X11
(and Wayland) platforms, I think, meaning Linux and maybe Solaris and
the BSDs. Maybe it should be renamed to DISABLE_X11_AND_OPENGL.

Change-Id: Ibb30f51646b1bcc477fe691a3fa38c7a1e3944ae
2016-08-03 22:36:36 +03:00
Miklos Vajna
056fbbf93b Fix --disable-pdfimport build
Change-Id: Ida06b892aea92cfe26fd62372e21ca611d8838d3
Reviewed-on: https://gerrit.libreoffice.org/27447
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-07-22 17:50:36 +00:00
Michael Stahl
a911b96bb1 configure: remove mysterious NO_JAVA_HOME value
This has been there since CVS import, but no reason is given why an
empty JAVA_HOME value wouldn't work as well.

This caused 086c13584dc672c4a07c6384ab7f08fa67ce0f95 to always invoke
autogen.sh if one used --without-java.

Change-Id: Ie72537ddd0247700fdcdb4126387935754c1bed5
2016-07-22 15:22:31 +03:00
Michael Stahl
beccfd1f8d gbuild: always set CCACHE_CPP2=1 when COM_IS_CLANG
There are not only spurious warnings from loplugin, but also from plain
clang, at least with the Fedora 24 version.  So let's just try to always
set CCACHE_CPP2=1.

This should make the configure check for that obsolete.  The check didn't
do anything on Fedora anyway because it sets up ccache by putting
wrappers like /usr/lib64/ccache/clang on PATH.

Change-Id: Ieb17be4a1b1fd0f7aedb16b18cb49015917a26d3
Reviewed-on: https://gerrit.libreoffice.org/27345
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2016-07-21 23:29:17 +00:00
Vasily Melenchuk
a59b6be085 odfvalidator support in export tests without external repositories
Fetching external tarball for Apache ODF Toolkit, configuration of
wrapper script for odf validator execution

Change-Id: I8b3824a91ebc6ddc196416e197b6c688964a13a9
Reviewed-on: https://gerrit.libreoffice.org/26596
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2016-07-21 01:47:02 +00:00
Stephan Bergmann
99db9f2295 Make --enable-symbols orthogonal to --enable-debug/-dbgutil
Change-Id: I523bc1d848e40489370eefe00046e0a257ed2505
Reviewed-on: https://gerrit.libreoffice.org/27058
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-07-11 08:57:55 +00:00
Stephan Bergmann
436ee0989d Get rid of odd ENABLE_SYMBOLS=FALSE
* None of the other ENABLE_* support anything but TRUE or empty.

* Other checks for -n "$ENABLE_SYMBOLS" in configure.ac are confused by it.

* solenv/gbuild/gbuild.help.txt talks about "If not empty", not mentioning "FALSE".

* A missing (redundant) explicit --disable-symbols left gb_SYMBOL uninitialized
  (instead of setting it to $(false))---but without consequences, as all the places
  checking gb_SYMBOL explicitly check for $(true).

Change-Id: Id004189de27a7936862dab3a5fd84d549c06af2b
Reviewed-on: https://gerrit.libreoffice.org/27057
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-07-11 08:57:44 +00:00
Otto Kekäläinen
428e23f4f7 Fix some spelling errors in comments and strings
Change-Id: Iecd6b5e13d6be14651f77d8e37f01117ba15a11e
Reviewed-on: https://gerrit.libreoffice.org/26883
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
2016-07-04 06:11:36 +00:00
Christian Lohmaier
3b219e5487 allow android ndk version 12.1.x
Change-Id: Id1bbc683afda021c0801327bceee10cb4f28e9f6
2016-07-02 17:17:53 +02:00
Thorsten Behrens
76c2125ee3 Add MS binary format validator support for wine
Run bffvalidator also from Linux, reportedly works from wine 1.9
upwards. Wraps stuff in a shell for path name conversion.

Change-Id: I3093b10bbbf89aaff97f63485b8ccadb417b3561
Reviewed-on: https://gerrit.libreoffice.org/26784
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2016-06-29 22:46:20 +00:00