summaryrefslogtreecommitdiffstats
path: root/config_host.mk.in
Commit message (Collapse)AuthorAgeFilesLines
* Always enable liblangtagKhaled Hosny2017-02-241-1/+0
| | | | | | | | | | The license should not be an issue any more since liblangtag now has an LGPL/MPLv2 dual licence. Change-Id: I4dfffcccf5d710bd16b21c3254c1449ae041b8ab Reviewed-on: https://gerrit.libreoffice.org/34511 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
* gpg4libre: We want to use C++ library insteadKatarina Behrens2017-02-231-3/+3
| | | | | | | | | | | | | | | in particular, the one from gpgme project. configure check is set up in such a way that it will fail with older gpgmepp that depends on KDE development packages. This means Linux distros released before 2016 have to rely upon in-tree version, but such is life ... Change-Id: I5cdceffad6e81643603fcdee57a7656218f76834 Reviewed-on: https://gerrit.libreoffice.org/34130 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Siegmund Gorr <siegmund.gorr@cib.de> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
* HAVE_GCC_PRAGMA_OPERATOR is only needed as AC_DEFINEStephan Bergmann2017-02-231-1/+0
| | | | Change-Id: I1f1978bbc8c38a7d5504fb86b8a716cbbc01c830
* When building with clang-cl on Windows, build CLR code with MSVCStephan Bergmann2017-02-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | ...as clang-cl doesn't support the /clr switch. * In configure.ac, capture the MSCV version (that would be used if CC hadn't been overridden to use clang-cl) into MSVC_CXX. * The logic which flags to pass into gb_CObject__command_pattern is coded into the platform-agnostic LinkTarget.mk, so it's too late to try and filter all relevant flags in com_GCC_class.mk, depending on whether a given .cxx file is a normal one built with the normal $CXX or a special /clr one built with $MSVC_CXX. Thus, a new CxxClrObject class had to be introduced that captures this information early. * When building with clang-cl, the generated config_host/config_*.h files contain values suitable for clang-cl, but not for MSVC. But the .cxx files compiled with MSVC happen to include config_global.h, and would fail. Hack around that problem for now by introducing a hard-coded, minimal solenv/clang-cl/config_global.h that is found first when buliding such a CxxClrObject. Needs cleaning-up properly. Change-Id: Iff8aac51c0b4fa906b14503c692640dda0996d33 Reviewed-on: https://gerrit.libreoffice.org/34509 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* gpg4libre: Build internal libgpg-error, libassuan and gpgme(pp)Katarina Behrens2017-02-161-0/+4
| | | | | | | | Change-Id: I1953e7062b872340b844771adc8ebe40f524cc76 Reviewed-on: https://gerrit.libreoffice.org/34227 Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Reviewed-by: Siegmund Gorr <siegmund.gorr@cib.de> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
* Remove MinGW supportStephan Bergmann2017-02-101-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* add --disable-pdfiumCaolán McNamara2017-02-101-0/+1
| | | | Change-Id: I9137dc0030c3c752ffc0931721bf6b0013309d39
* Remove MINGW_CLIB_DIR left-overStephan Bergmann2017-02-071-1/+0
| | | | | | ...after b28f25aa9eeed71bd3f399a9c8fc4f1497b92e82 "MINGW_CLIB_DIR is unused" Change-Id: I8395d492120455378ec001e37428a645aa879440
* Remove HAVE_NON_CONST_NPP_GETMIMEDESCRIPTION left-overStephan Bergmann2017-02-071-1/+0
| | | | | | | ...after 4c18af27bf95b332ee2006cfc0bbf469fb1a84d4 "tdf#96398 kill remaining NPAPI support for plugins _inside_ LO" Change-Id: Ide62fa142108562c191ca95ab307638178476fea
* Remove GNOMEVFS left-oversStephan Bergmann2017-02-071-2/+0
| | | | | | ...afer b40b6010077f875565ce90cd995222451e37321c "ditch gnome-vfs2 support" Change-Id: I0a57da5f2d810e78837035c86ee1f03ae33aacd8
* Remove DBUSMENUGTK left-oversStephan Bergmann2017-02-071-2/+0
| | | | | | | ...after 4e7f9650e2a32b648cbd50ab113955920f960354 "remove ancient lo-menubar implementation now that we have the shiny new one" Change-Id: I49e7a5489279aaf3469d14c4e9d75245203c5937
* drop bundled ooo2gd (Google Docs) extensionDavid Tardon2017-02-021-1/+0
| | | | | | | | | | | | | 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>
* Adapt CustomTarget_odk/build-examples to macOSStephan Bergmann2017-02-011-0/+1
| | | | Change-Id: Ib64d5b5fa1bf13a484adb296b969d1b96387f0c6
* gpg4libre: Support building --with-system-gpgme (Linux only so far)Katarina Behrens2017-02-011-0/+3
| | | | | | | | 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>
* use new ENABLE_NSS for code which needs nssCaolán McNamara2016-12-201-0/+1
| | | | | | | | | | 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>
* change from glew to epoxyCaolán McNamara2016-12-131-3/+3
| | | | | | | | | | 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>
* Retire the --disable-export optionTor Lillqvist2016-12-081-1/+0
| | | | | | It was never fully implemented, and its usefulness is unclear. Change-Id: I86dee8ee6326bdfaa178260c76188261aef2fb4c
* optionally enable oss-fuzz targets via --enable-fuzzersCaolán McNamara2016-12-051-0/+1
| | | | Change-Id: I16f52515a149a1e6e47cd0301a45db84ddd95885
* enable optimization (-Og) with --enable-debugLuke Deller2016-12-011-0/+1
| | | | | | | | | | | | | 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>
* orcus is mandatory nowMarkus Mohrhard2016-11-281-1/+0
| | | | | | | | | | | 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>
* Kill old Graphite layout enginesKhaled Hosny2016-11-261-1/+0
| | | | | | | Change-Id: Ia19d4d0a3a33694b6edfff62e6b40028dac19677 Reviewed-on: https://gerrit.libreoffice.org/31212 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
* Exit GLyphyTor Lillqvist2016-11-161-3/+0
| | | | Change-Id: Ib84e703d4c1528d022435c7695c97a3fc284563a
* poppler: build against libjpegMichael Stahl2016-11-021-0/+2
| | | | | | | | | | | | | 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>
* Add configure option --enable-formula-logger to conditionalize it.Kohei Yoshida2016-10-251-0/+1
| | | | Change-Id: I1badbcfa259b22d742e5241bd817ea44769a771e
* Always build HarfBuzz everywhereKhaled Hosny2016-10-181-1/+0
| | | | | | It is no longer an optional feature on any platform. Change-Id: I70cdcd2c0df69d961ecc5f36b4e8d035d251ef16
* Clarify KDE4 and TDE config variablesJan-Marek Glogowski2016-09-231-5/+5
| | | | | | | | | | | 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
* Remove HAVE_GCC_VISIBILITY_BROKEN, never trueStephan Bergmann2016-09-201-1/+0
| | | | | | | | | | | | | | | 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>
* [API CHANGE] Remove HAVE_GCC_VISIBILITY_FEATURE, always trueStephan Bergmann2016-09-201-1/+0
| | | | | | | | | | | | | | | | | * 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>
* Remove obsolete OxygenOffice bitsGabor Kelemen2016-09-081-20/+0
| | | | | | | | | | 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>
* gbuild: remove hardlink deliverThorsten Behrens2016-09-051-1/+0
| | | | | | | | | 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>
* Remove gcj support from build system.Thorsten Behrens2016-08-261-1/+0
| | | | | | | Change-Id: I79fe046ff8c932c5f6a9a5f70970168e42d23702 Reviewed-on: https://gerrit.libreoffice.org/28406 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
* Bump JDK buildtime requirement to 1.6Thorsten Behrens2016-08-251-1/+0
| | | | | | | Change-Id: I3dc715f3cd924d681658829254fd1392677d9e73 Reviewed-on: https://gerrit.libreoffice.org/28382 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
* external/firebird: Make GCC check work for Clang, tooStephan Bergmann2016-08-181-0/+1
| | | | | | | | | | | 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>
* Use correct path to the build platform's services.rdb when cross-compilingTor Lillqvist2016-08-171-0/+1
| | | | | | Requires introducing LIBO_URE_MISC_FOLDER_FOR_BUILD. Change-Id: I133a7f73e48090f67764838b45de4fe8b7580efe
* integrate libstarofficeosnola2016-08-111-0/+3
| | | | Change-Id: I85913f1bd1af5d102573040588cca9d8ddeebb5d
* Introduce --with-product-name superseding --with-macosx-app-nameTor Lillqvist2016-08-041-1/+1
| | | | | | | | | | | | | | | | | 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
* Reduce ENABLE_OPENGL / ENABLE_HEADLESS confusionTor Lillqvist2016-08-031-1/+1
| | | | | | | | | | | | 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
* integrate libzmfAleksas Pantechovskis2016-06-231-0/+3
| | | | | | | Change-Id: I0c7ea5b56ea4ed4839ff38798c0b915aaca81774 Reviewed-on: https://gerrit.libreoffice.org/26574 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com>
* Add MS binary format validator supportVasily Melenchuk2016-06-151-0/+1
| | | | | | | | | | | | | | bffvalidator (Microsoft Office Binary File Format Validator) basic support in configure for later usage in export tests. It should be installed from https://www.microsoft.com/en-us/download/details.aspx?id=26794 and enabled in configure with new switch --with-bffvalidator=<optional path to validator> Change-Id: I6faa08d3277f0328b3dfa310222a11d115e5aa15 Reviewed-on: https://gerrit.libreoffice.org/25870 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
* add build system part for upload crashreport symbolsMarkus Mohrhard2016-05-241-0/+1
| | | | Change-Id: Ib8dc0267034716740ba6d7f60cf635adc4bd1561
* Fix linking of 64 bit artifacts in 32 bit Windows build with VS2015Tomofumi Yagi2016-05-051-0/+2
| | | | | | | | | | | | | | | | | | | In some 64bit Windows environments we get the link error while building libraries for 64-bit Explorer extensions. This patch will fix this error. This error occours only when we build 32bit LibreOffice on 64bit Windows with Visual Studio 2015. In some environments UCRT SDK directory does not match Windows SDK directory. In that case UCRT library's directory path is incorrect at the linking phase. Change-Id: I245b1a70f5e1137a8840aa2e7a70f521eab18cb3 Reviewed-on: https://gerrit.libreoffice.org/23982 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
* detect Boost.FilesystemDavid Tardon2016-03-081-0/+1
| | | | Change-Id: I86c268f49f44bd1e208a9de781a16bf19450c64c
* New COMPILER_PLUGINS_CXX to specify compiler to build Clang plugins withStephan Bergmann2016-02-261-0/+1
| | | | | | | ...instead of trying to second-guess what to strip off $(CXX) to make it fit. Keep the old way for existing build scripts that rely on it. Change-Id: I145bdcba6d02002a9b653b4deb6e7f5a9c76cc8f
* include breakpad into the buildMarkus Mohrhard2016-02-221-0/+1
| | | | | | | Change-Id: I1bfd107502332fc86ae5e96bbc1f475b8d669c6c Reviewed-on: https://gerrit.libreoffice.org/22547 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* always support packagekit if dbus is enabledCaolán McNamara2016-02-191-1/+0
| | | | | | | | Change-Id: I8eb169d33fcb0217989b180aa0c4c0110875be32 Reviewed-on: https://gerrit.libreoffice.org/22503 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* configure: remove ---disable-randr-linkMichael Stahl2016-02-011-1/+0
| | | | | | | | | This looks obsolete, it was used in LibreOfficeLinux.conf since the beginning but in fact since LO 3.5 it was broken and the vclplug_gen was not actully dlopen()ing Xrandr.so but somehow magically "found" the symbols anyway. Change-Id: I81251a8fef0abac63183b0ff3533bb2331ca6f5a
* can now drop external dependency vigraCaolán McNamara2016-01-201-1/+0
| | | | Change-Id: I3babe33ab5be1c3521ccb8bee71239e3d8893a2f
* Add readmes to instdir, tooStephan Bergmann2016-01-071-0/+1
| | | | | | | ...to reduce unnecessary differences between instdir and instsets. (Maybe CustomTarget_readmes could even generate the README_* directly into instdir?) Change-Id: If243a229e6f0e401abe6708899964f7b5949cc09
* configure: hard-code /usr/bin/{sort,find} for CygwinMichael Stahl2016-01-071-1/+2
| | | | | | | | | | | | | | ... to avoid calling C:/Windows/system32/{sort,find}.exe, if those happen to be first in PATH. On a Windows 7 system, the other conflicts appear to be harmless, we don't use "more", "expand", "timeout", "whoami". Change-Id: Iceefeb7ee6725291b04c0eba465991bb1df96b57 Reviewed-on: https://gerrit.libreoffice.org/21175 Tested-by: Jenkins <ci@libreoffice.org> Tested-by: Tor Lillqvist <tml@collabora.com> Reviewed-by: Tor Lillqvist <tml@collabora.com>
* tdf#96398 kill remaining NPAPI support for plugins _inside_ LORene Engelhard2015-12-171-3/+0
| | | | | | | | | | | | - 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>