1018 Commits

Author SHA1 Message Date
Norbert Thiebaud
d5d721a130 ENABLE_SCRIPTING_* Harmonize ENABLE_* variable to TRUE/<nothing>
Change-Id: I937967889da75062c792cf377ce4e13c67526162
Reviewed-on: https://gerrit.libreoffice.org/5702
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-08-30 19:59:02 +00:00
Norbert Thiebaud
f0b94ad3e7 ENABLE_BLUETOOTH* Harmonize ENABLE_* variable to TRUE/<nothing>
Change-Id: Ia27882faa9c85c439bc1f77987d766f65f1d8cef
Reviewed-on: https://gerrit.libreoffice.org/5699
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-08-30 19:58:49 +00:00
Norbert Thiebaud
87b3670557 Fix inconsistant use of value for DISABLE_ACTIVEX
Change-Id: I9b917fb557c0582ad9235562e882ae2de4d4246f
2013-08-30 14:57:35 -05:00
Caolán McNamara
9554853ad7 allow building with older libjpeg again
we don't really care what the error number is, so long as its an error of some
kind so just sed JERR_BAD_CROP_SPEC to JERR_CONVERSION_NOTIMPL

Change-Id: Iae41de7b720ce2e60c7092d15983aa1c4ba14c89
2013-08-30 17:27:10 +01:00
Stephan Bergmann
0f3895a78e Decouple setting -std=gnu++11/c++11 from setting -stdlib=libc++
Forcing -stdlib=c++11 into CXX upon --enable-libc++ instead of only into
CXXFLAGS_CXX11 as done normally caused external projects to unexpectedly pick it
up, causing build failures in firebird.

Change-Id: I588d75ccbde6b9fd4f38e10a0c67c2f6086f8977
2013-08-30 17:02:26 +02:00
Tor Lillqvist
bfb0b2ae4e Find also a 64-bit JDK on Windows
Change-Id: I2364d4e4e2b2d032bdf03316ee9523cb085112c8
2013-08-30 10:13:36 +03:00
Norbert Thiebaud
1376af9a72 ENABLE_NPAPI_* Harmonize ENABLE_* variable to TRUE/<nothing>
Change-Id: Ia7575f0f51bc3ba355ec01d937bd155adb287572
Reviewed-on: https://gerrit.libreoffice.org/5684
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-08-30 07:08:28 +00:00
Norbert Thiebaud
e57a14a6da ENABLE_CORETEXT: Harmonize ENABLE_* variable to TRUE/<nothing>
Change-Id: I39153ee042b171f7cd1ffa6b50c490d2c9fa33cb
Reviewed-on: https://gerrit.libreoffice.org/5685
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-08-30 07:08:00 +00:00
Norbert Thiebaud
587d9693bd liblangtag: harmonize ENABLE_* variable to use TRUE/<nothing>
Change-Id: I6e231516476f3b9512e239ccf678048c87d25aa5
Reviewed-on: https://gerrit.libreoffice.org/5682
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-08-30 07:05:36 +00:00
Tor Lillqvist
ffaad89e05 Untabify
Change-Id: Ib03ac597e920c3d09b56a78f41f10ea0e19e311e
2013-08-30 09:57:14 +03:00
Tor Lillqvist
c805a71071 Surely we want only a 1.7 or 1.6 JDK
Change-Id: I3fa71d19789d9cbdc44db172e0a63f5e5ed85f43
2013-08-30 09:57:14 +03:00
Tor Lillqvist
ada60644ca Fix weird indentation
Change-Id: I291856b9f37ea967c1f8d44cce05f53b52ed8b75
2013-08-30 09:57:14 +03:00
Rene Engelhard
0d5b9f1ad4 check for boost >= 1.47 and SHA512_CTX (openssl >= 0.9.8) in configure
Change-Id: If070d0bcafb208bb8d4104e48540cc1b2bf23db6
2013-08-29 21:24:53 +02:00
Tor Lillqvist
c30715aee9 VLC is not related to gstreamer
Change-Id: I3b88c1e12a254766f4d8c1de27d0cc9bd2ccbacf
2013-08-29 18:57:33 +03:00
Petr Mladek
d9b62a48d7 Allow to set EXTRA_BUILDID also via environment variable (fdo#58034)
This is much easier with tinderboxed that work with static autogen.input

Change-Id: Ifb0b7884bbad14a286023b3dbd7d1d2a12f36787
2013-08-29 14:55:40 +02:00
Petr Mladek
28cc89aad1 make the tinderbox information more reliable in the about dialog (fdo#58034)
Pass the information via config_host/config_buildid.h. Then
cui/source/dialogs/about.cxx will get rebuilt also in the incremental build.

Change-Id: I058cbe162e7015cbea6c71253c20db097477708f
2013-08-29 13:23:43 +02:00
Stephan Bergmann
9fed8a5e4a Do not silently ignore --enable-libc++
Change-Id: Ifbabb338739ae452bee6cac73e4b2046356a4d17
2013-08-29 08:51:01 +02:00
Petr Mladek
b70d4ad13b add --with-help=common parameter to the configure option
It allows to build only the common parts of the help, e.g.
bundle the helpcontent-related icons.

It is useful when the build content is built separately. For example,
it is used to speed up the build of the main package in openSUSE
Build Service.
2013-08-28 16:09:39 +02:00
Michael Meeks
a62140cb57 avmedia: vlc - with the wrapper we no longer need cflags / libs.
Change-Id: I824aa1e7908acefe898b7f24b323426f1cce250c
2013-08-21 12:30:49 +01:00
Tor Lillqvist
cabd23916f We don't seem to actually need glibc getopt
Change-Id: I1f221533f5ea684d113bdc45c04bf84405140f9f
Reviewed-on: https://gerrit.libreoffice.org/5539
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-08-21 07:44:38 +00:00
Fridrich Štrba
90a2c73f90 Don't unnecessarily require too new harfbuzz
Change-Id: I1fc9b29255c9822406dfc6ddb05b3a7f63fcd216
2013-08-20 11:46:20 +02:00
Tor Lillqvist
3640aa3ac5 We hardly want harfbuzz on iOS if we don't want it on Darwin
Change-Id: I38ce976e55e9800971dcd300902578e06540f358
2013-08-19 21:58:56 +03:00
Tor Lillqvist
73ab2af184 fdo#68261: 'program' is a symlink, need to use the real name 'MacOS'
The installset structure in a "traditional" (non-"Mac-like") OS X was
messed up with *both* 'MacOS' and 'program' as real subfolders in
instdir.

Change-Id: I337e1669d28c6c59993790fd33c9c5ab372c421c
2013-08-19 21:33:01 +03:00
Khaled Hosny
3bd7d5520f Update internal HarfBuzz to 0.9.19
Change-Id: I520832508a8d419e394817a0e25949071928f612
Reviewed-on: https://gerrit.libreoffice.org/5478
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-08-19 09:13:45 +00:00
Tor Lillqvist
08452f1208 Rename SOLAR_JAVA to ENABLE_JAVA and HAVE_FEATURE_JAVA
Change-Id: Ib451bdb3c1c2ca42347abfde44651d5cf5eef4f3
2013-08-19 10:29:04 +03:00
Tor Lillqvist
88960707cc Use correct paths to URE stuff on Windows
For some historical reason, URE has no "share" subfolder on Windows.

Change-Id: I530e673cc7a5cb5fe5d82a5e952ac50e4c2270b2
2013-08-19 00:34:22 +03:00
Tor Lillqvist
058a3d1c46 Further work on the "Mac-like app structure" option
Lots of stuff still either ended up in the wrong place, or was looked up from
the wrong place, or both. Fix most cases.

Change-Id: I06ebbce207c219f3cd82b4387dd9b3fdb83420d4
2013-08-18 21:11:16 +03:00
Tor Lillqvist
bd2f7ef662 Decouple the "Mac-like" app bundle structure choice from sandboxing choice
Add a switch --enable-canonical-installation-tree-structure. Only implemented
for OS X for now, but the same switch can be used if and when we want to make
it possible to make the Unix installation tree more "standard", too.

Change-Id: Icb0ad500b77d7e986f2f188fd17faabaf2e2fe99
2013-08-18 21:11:16 +03:00
Tor Lillqvist
c6a7300974 Use subfolder names from <config_folders.h>
Change all instances of hardcoded "program", "share" etc subfolder names to
use those from <config_folders.h> instead. In normal builds, the end result
will not change.

Change-Id: I91c95cd8e482818be67307e889ae6df887763f53
2013-08-18 21:11:16 +03:00
Tor Lillqvist
667a0ad651 AC_DEFINE an ENABLE_MACOSX_MACLIKE_APP_STRUCTURE
Change-Id: I6aab77fd253baf1fbbfa82d82bd4e83ddd9e3299
2013-08-18 21:11:16 +03:00
Stephan Bergmann
d3cfa8da4e deprecated message must be a string
Change-Id: Iad8f29b36ce38a90ea93705131a2e4e201d77bf8
2013-08-12 15:54:58 +02:00
Luboš Luňák
f7462595f2 add missing 'test'
Change-Id: I43dfc0e73de36ee920f0d22307600c357b3f2df2
2013-08-11 23:22:01 +02:00
Tor Lillqvist
3aefa4ef80 Add HAVE_FEATURE_MACOSX_MACLIKE_APP_STRUCTURE
Change-Id: Idb114bfa3fbb05252a5cac9eb5f303ec85080626
2013-08-10 14:38:09 +03:00
Tor Lillqvist
6a84a6ed0b Start of enabling use of a more proper "Mac-like" install tree structure
First cut was at https://gerrit.libreoffice.org/#/c/2310/ but was
abandoned by myself. Now getting back to the idea, but this time I
will make it optional on OS X, and introduce it in smaller steps.

Change-Id: Id88517fee8d49056b8bbecb0921206dc6b29580b
2013-08-10 14:16:48 +03:00
Tor Lillqvist
90520bfe63 Simplify test and remove typo
If what we want is to compile the OpenCL code by default always on OS
X when building against a SDK newer than 10.6, that can be said
simpler.

Change-Id: I14b2cd107fe0dba42c221bec63fd4076fffbd848
2013-08-10 13:44:01 +03:00
Luboš Luňák
eda55cdf98 I'm pretty sure we don't compile anymore with GCC 4.0.
Raise to 4.1, until somebody complains, in which case probably raise
even more :).

Change-Id: I861ccbfb393811d27bedcb1524027fdbc927e55f
2013-08-09 18:28:40 +02:00
Luboš Luňák
63a1212a42 try to ensure not testing GCC version when using Clang
Clang reports itself as GCC 4.2.1 when asked the GCC way, which is about
as good an answer as any, since there's no good mapping between them.
So when testing GCC version, Clang would be usually considered too old,
and therefore the proper way is to do a configure check if possible.
GCC version should be only used for GCC-specific things such as avoiding
a bug in a specific GCC version, and such testing should first check
the compiler is not Clang.
Rename GCCVER to GCC_VERSION and use it throughout the build system
where needed. As it's empty for anything that's not GCC, this should
lead to errors when used incorrectly.

Change-Id: Iea96bbaf5d8ceabefa25be88576eeb4115384937
2013-08-09 18:28:32 +02:00
Lionel Elie Mamane
91ec774c9f $CC --version is too unstructured
Give up and revert to "$CC -dumpversion".
Since by now no test now refers to patchlevel, make it unavailable in GCCVER so that nobody tries to use it.

Change-Id: Ife0bb0a94a73555d1f19f5a3c5853148042c7bba
2013-08-09 10:29:08 +02:00
Lionel Elie Mamane
24de9f9a55 $CC --version for CLang
Has only two components, e.g. 4.1

Change-Id: I255a5a3e240f41d39ee88c4be0c714e29db75a6a
2013-08-09 10:21:10 +02:00
Lionel Elie Mamane
b2206a1fc2 more extreme gcc --version parsing
Change-Id: I5bb195e54274d9210ae8d4c2d31690ce8e79a425
2013-08-09 10:04:56 +02:00
Stephan Bergmann
4f19b6f512 "gcc --version" output is rather unreliable
...so extend 409e6a2e0b89eab82e79b0cd122062f47c6c7afb "gcc -dumpversion has only
MAJOR.MINOR, not MAJOR.MINOR.PATCHLEVEL" to also cope with e.g. Fedora 18 gcc's
"gcc (GCC) 4.7.2 20121109 (Red Hat 4.7.2-8)" output line.

Change-Id: Ieb5e032685da49cd7e6f0a49a0fdc137fc24fbbd
2013-08-09 09:49:05 +02:00
Lionel Elie Mamane
409e6a2e0b gcc -dumpversion has only MAJOR.MINOR, not MAJOR.MINOR.PATCHLEVEL
At least, for gcc 4.7 on Debian. OTOH, gcc --version outputs
(on its first line)
gcc-4.7.real (Debian 4.7.2-5) 4.7.2

so use that. Hopefully will work across systems & distros.

(gcc-4.7.real is probably just argv[0],
 because diversion from hardening-wrapper)

Change-Id: I94ea73628d8aac107e3ada1dc5a63e51e79ccdb2
2013-08-09 09:19:14 +02:00
Michael Meeks
0594447703 fix android/ios defaults for report builder.
Change-Id: I338505aa67ef63699fc0d8966fe09db3c050da92
2013-08-06 17:51:20 +02:00
Michael Meeks
7b4bdab825 MPLv2 subset improvement.
Change-Id: I96efcab67f05407923b022dfd95a94fd8c2169ed
2013-08-06 16:53:22 +02:00
Luboš Luňák
1e0feb5cf9 do not base feature checks on gcc version
Clang reports itself to be gcc4.2, so there fail there, instead use configure
checks.

Change-Id: Idb44a5c875b24a15546a6495de02a1b4af898443
2013-08-05 15:10:39 +02:00
Mark Wielaard
eeb3b8dc5c Add SDT probes for RTL_LOG_STRING_NEW/DELETE.
Change-Id: I938259f90aee9d277c9ff5b72c9120b93311cbd3
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-08-03 09:32:03 +02:00
Norbert Thiebaud
3961c28659 configure: openCl does not build on 10.6 mac default no in that case
Change-Id: I84b74cb9e9893996179b4b0229853903e29fe28d
2013-08-02 22:17:09 -05:00
Tor Lillqvist
64ddbd26a5 Enforce no Java if sandboxed
Change-Id: I3c58684cc3914d8f7554c87d8d9e0735e95ea381
2013-08-02 18:13:12 +03:00
Tor Lillqvist
a642c18fa2 Indentation cleanup
Change-Id: I20bb0b33f3a86dd9abab32d18f703bf720f143b5
2013-08-02 17:42:04 +03:00
Tor Lillqvist
d5fd6bd357 test_unix_quickstarter is unused
Change-Id: Ie11b97f52832f8f04f8243f4d6c0f18b3954253f
2013-08-02 17:22:19 +03:00