summaryrefslogtreecommitdiff
path: root/config_host.mk.in
AgeCommit message (Collapse)Author
2017-03-14No need for --disable-activex and --disable-atl any longerTor Lillqvist
Change-Id: I7ac4f32cb01bfcc3a2c06e69280c2150d408ec6b Reviewed-on: https://gerrit.libreoffice.org/35174 Reviewed-by: David Ostrovsky <david@ostrovsky.org> Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2017-03-03Move file download verification from md5sum to sha256sumBryan Quigley
This leaves all the md5sum parts in place for now, but switches to using sha256sum. Tries both shasum -a 256 and sha256sum. Change-Id: I393d0dde56521f6e9e76f3d5a8d15c6c830fd683 Reviewed-on: https://gerrit.libreoffice.org/34633 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2017-02-24Always enable liblangtagKhaled Hosny
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>
2017-02-23gpg4libre: We want to use C++ library insteadKatarina Behrens
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>
2017-02-23HAVE_GCC_PRAGMA_OPERATOR is only needed as AC_DEFINEStephan Bergmann
Change-Id: I1f1978bbc8c38a7d5504fb86b8a716cbbc01c830
2017-02-21When building with clang-cl on Windows, build CLR code with MSVCStephan Bergmann
...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>
2017-02-16gpg4libre: Build internal libgpg-error, libassuan and gpgme(pp)Katarina Behrens
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>
2017-02-10Remove MinGW supportStephan Bergmann
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-10add --disable-pdfiumCaolán McNamara
Change-Id: I9137dc0030c3c752ffc0931721bf6b0013309d39
2017-02-07Remove MINGW_CLIB_DIR left-overStephan Bergmann
...after b28f25aa9eeed71bd3f399a9c8fc4f1497b92e82 "MINGW_CLIB_DIR is unused" Change-Id: I8395d492120455378ec001e37428a645aa879440
2017-02-07Remove HAVE_NON_CONST_NPP_GETMIMEDESCRIPTION left-overStephan Bergmann
...after 4c18af27bf95b332ee2006cfc0bbf469fb1a84d4 "tdf#96398 kill remaining NPAPI support for plugins _inside_ LO" Change-Id: Ide62fa142108562c191ca95ab307638178476fea
2017-02-07Remove GNOMEVFS left-oversStephan Bergmann
...afer b40b6010077f875565ce90cd995222451e37321c "ditch gnome-vfs2 support" Change-Id: I0a57da5f2d810e78837035c86ee1f03ae33aacd8
2017-02-07Remove DBUSMENUGTK left-oversStephan Bergmann
...after 4e7f9650e2a32b648cbd50ab113955920f960354 "remove ancient lo-menubar implementation now that we have the shiny new one" Change-Id: I49e7a5489279aaf3469d14c4e9d75245203c5937
2017-02-02drop bundled ooo2gd (Google Docs) extensionDavid Tardon
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-01Adapt CustomTarget_odk/build-examples to macOSStephan Bergmann
Change-Id: Ib64d5b5fa1bf13a484adb296b969d1b96387f0c6
2017-02-01gpg4libre: Support building --with-system-gpgme (Linux only so far)Katarina Behrens
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>
2016-12-20use new ENABLE_NSS for code which needs nssCaolán McNamara
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-13change from glew to epoxyCaolán McNamara
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-08Retire the --disable-export optionTor Lillqvist
It was never fully implemented, and its usefulness is unclear. Change-Id: I86dee8ee6326bdfaa178260c76188261aef2fb4c
2016-12-05optionally enable oss-fuzz targets via --enable-fuzzersCaolán McNamara
Change-Id: I16f52515a149a1e6e47cd0301a45db84ddd95885
2016-12-01enable optimization (-Og) with --enable-debugLuke Deller
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>
2016-11-28orcus is mandatory nowMarkus Mohrhard
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>
2016-11-26Kill old Graphite layout enginesKhaled Hosny
Change-Id: Ia19d4d0a3a33694b6edfff62e6b40028dac19677 Reviewed-on: https://gerrit.libreoffice.org/31212 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
2016-11-16Exit GLyphyTor Lillqvist
Change-Id: Ib84e703d4c1528d022435c7695c97a3fc284563a
2016-11-02poppler: build against libjpegMichael Stahl
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>
2016-10-25Add configure option --enable-formula-logger to conditionalize it.Kohei Yoshida
Change-Id: I1badbcfa259b22d742e5241bd817ea44769a771e
2016-10-18Always build HarfBuzz everywhereKhaled Hosny
It is no longer an optional feature on any platform. Change-Id: I70cdcd2c0df69d961ecc5f36b4e8d035d251ef16
2016-09-23Clarify KDE4 and TDE config variablesJan-Marek Glogowski
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
2016-09-20Remove HAVE_GCC_VISIBILITY_BROKEN, never trueStephan Bergmann
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[API CHANGE] Remove HAVE_GCC_VISIBILITY_FEATURE, always trueStephan Bergmann
* 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-08Remove obsolete OxygenOffice bitsGabor Kelemen
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-05gbuild: remove hardlink deliverThorsten Behrens
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-08-26Remove gcj support from build system.Thorsten Behrens
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-25Bump JDK buildtime requirement to 1.6Thorsten Behrens
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-18external/firebird: Make GCC check work for Clang, tooStephan Bergmann
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-17Use correct path to the build platform's services.rdb when cross-compilingTor Lillqvist
Requires introducing LIBO_URE_MISC_FOLDER_FOR_BUILD. Change-Id: I133a7f73e48090f67764838b45de4fe8b7580efe
2016-08-11integrate libstarofficeosnola
Change-Id: I85913f1bd1af5d102573040588cca9d8ddeebb5d
2016-08-04Introduce --with-product-name superseding --with-macosx-app-nameTor Lillqvist
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-03Reduce ENABLE_OPENGL / ENABLE_HEADLESS confusionTor Lillqvist
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-06-23integrate libzmfAleksas Pantechovskis
Change-Id: I0c7ea5b56ea4ed4839ff38798c0b915aaca81774 Reviewed-on: https://gerrit.libreoffice.org/26574 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com>
2016-06-15Add MS binary format validator supportVasily Melenchuk
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>
2016-05-24add build system part for upload crashreport symbolsMarkus Mohrhard
Change-Id: Ib8dc0267034716740ba6d7f60cf635adc4bd1561
2016-05-05Fix linking of 64 bit artifacts in 32 bit Windows build with VS2015Tomofumi Yagi
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>
2016-03-08detect Boost.FilesystemDavid Tardon
Change-Id: I86c268f49f44bd1e208a9de781a16bf19450c64c
2016-02-26New COMPILER_PLUGINS_CXX to specify compiler to build Clang plugins withStephan Bergmann
...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
2016-02-22include breakpad into the buildMarkus Mohrhard
Change-Id: I1bfd107502332fc86ae5e96bbc1f475b8d669c6c Reviewed-on: https://gerrit.libreoffice.org/22547 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-02-19always support packagekit if dbus is enabledCaolán McNamara
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>
2016-02-01configure: remove ---disable-randr-linkMichael Stahl
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
2016-01-20can now drop external dependency vigraCaolán McNamara
Change-Id: I3babe33ab5be1c3521ccb8bee71239e3d8893a2f
2016-01-07Add readmes to instdir, tooStephan Bergmann
...to reduce unnecessary differences between instdir and instsets. (Maybe CustomTarget_readmes could even generate the README_* directly into instdir?) Change-Id: If243a229e6f0e401abe6708899964f7b5949cc09