74 Commits
Author SHA1 Message Date
Christian Lohmaier 09208d0e6e prep Linux baseline bump to Almalinux 9
That allows to enable the gtk4, qt5 and qt6 vclplugins

Change-Id: I6d5d73e2553d29bfcc11f114196d00917e15117f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188474
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Jenkins
2025-10-10 13:58:33 +02:00
Caolán McNamara a7b6b20beb don't use with-system-zstd (yet)
Change-Id: Ib18f121eb69c8c7be0c938a54510a5c6f8a339f6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/184894
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2025-05-02 14:59:24 +02:00
Akshay Kumar Dubey b410749d30 tdf#137308 - Add zstd build support and decompression classes
Integrate build system support for the Zstandard (zstd) library and
implement the corresponding C++ decompression stream classes, enabling
future use of zstd-compressed streams in ZIP packages.

Build System (Part 2a):
- Add `--with-system-zstd=[yes|no|auto]` configure option.
- Implement system library checks (`zstd.h`, `libzstd`) in configure.ac.
- Define rules (`external/zstd/*`) for downloading and building the
  internal zstd static library (decompression components only).
- Set up necessary CFLAGS/LIBS via configure.ac and config_host.mk.in.
- Configure linking via RepositoryExternal.mk (`gb_LinkTarget__use_zstd`).
- Update auxiliary files (download.lst, distro-configs, etc.).

C++ Implementation (Part 2b):
- Implement `InflateZstd` (in `include/package`) and `InflaterBytesZstd`
  (in `package/inc`) inheriting from `Inflater`/`InflaterBytes`.
- Use the zstd streaming API (`ZSTD_decompressStream`) following the
  existing single-call pattern established by the zlib implementation.
- Manage context (`ZSTD_DCtx`) and input buffer (`ZSTD_inBuffer`) state.
- Handle errors, stream completion (`ret == 0`), and input truncation.
- Add new classes to `package/Library_package2.mk` build.

This completes the infrastructure for zstd decompression support.
The next step (Part 2c) involves adding logic to select the
appropriate Inflater based on the ZIP entry's compression method ID.

Change-Id: Ia673f3f19b6a751ba5225394fcf8c3f145c4ae63
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/184243
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2025-05-01 12:18:19 +02:00
Michael Stahl 6f6364e572 tdf#159502 remove --without-system-libxml from LibreOfficeLinux.conf
configure.ac explicitly excludes libxml from --without-system-libs but
this distro-config "helpfully" adds it explicitly, when the system
already contains a usable libxml/libxslt anyway.

Change-Id: I79d65d9ed9185277ffde8624efc152b290a6ffb3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163438
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2024-02-16 10:38:21 +01:00
Luboš Luňák 58c3dab9e3 --enable-lto for distro-configs/* that already use --enable-mergelibs
LTO should now work properly at least on these platforms, and it's
a couple percent better performance at the cost of build time.

Change-Id: I0b6103161616b730fa32a7dd3b244219dda030fc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123585
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2021-10-14 15:58:07 +02:00
Jan-Marek Glogowski d3c6ac6d0f tdf#125922 rename kde5 to kf5 + plasma5
Just as the gtk3 plugin isn't named GNOME, rename kde5 to kf5, as
it is based on the KDE frameworks 5 libraries.

This also includes:
* a convenience alias to load the kf5 VCL plugin in case someone
  requests the kde5 plugin.
* keep convenience kde5 configure switch, but warn about it
* rename detected desktop from kde5 to plasma5

Change-Id: I6764a05b81a5edbf284484c234fee2649aacf735
Reviewed-on: https://gerrit.libreoffice.org/75313
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2019-07-21 23:22:46 +02:00
Michael Weghorn caca5c738b distro-config: Drop '--enable-gstreamer-0-10' everywhere
This avoids the issue that build breaks when both gtk3
and gstreamer-0.10 are enabled, caused by commit
34bbf192a7
("Drop extra define ENABLE_GTKSINK").

gstreamer-0.10 related code will be removed in
a subsequent step according to ESC decision (no longer
needed).

Change-Id: Ief07a797a3e52229da0ff7b23478108aac900841
Reviewed-on: https://gerrit.libreoffice.org/73608
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2019-06-06 18:56:54 +02:00
Michael Weghorn 96392d5c53 Linux distro config: Enable more VCL plugins
Enable the gtk3_kde5 and kde5 VCL plugins as discussed
in ESC all of 2019-05-02.
Also drop the "--disable-gtk3" switch so gtk3 is built
as well (which is enabled by default).

Change-Id: I65230255f8db6a7de992c6f5e9f9892a72436349
Reviewed-on: https://gerrit.libreoffice.org/71865
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2019-05-22 13:10:04 +02:00
Thorsten Behrens 410bf59de0 kde5: remove older kde/tde plugins, and references to that
KDE4 is out of maintenance upstream since Nov. 2014, and binaries
provided by TDF have switched to KDE5 as the official backend.

Change-Id: I165465b56d3ba3a18912b203c06ae8fc6111c0c9
Reviewed-on: https://gerrit.libreoffice.org/60014
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-12-17 18:33:13 +01:00
Christian Lohmaier c625bc9aa4 enable html-help for Linux, Windows and Mac distro-configs
Change-Id: I731e9bcae221d72286f13d5ab8a117e1f1f92052
2018-07-04 16:31:26 +02:00
Christian Lohmaier c488328fd2 explicitly enable avahi
Change-Id: I8d3c639bfeb6797a5d61ea21e55ac23da1504120
2018-05-19 15:55:40 +02:00
Christian Lohmaier df8f994773 enable gstramer-1.0 for baseline linux builds
Change-Id: I8982621114db142a8f4ef77987bb22de8767fe3f
2016-11-30 16:10:14 +01:00
Markus Mohrhard 439b47e84b enable breakpad in distro configs
Change-Id: Ib321a62223c77e3f62d48f358a228465280458ad
Reviewed-on: https://gerrit.libreoffice.org/26022
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-06-07 22:06:42 +00:00
Markus Mohrhard 5ed83a9d2c play it safe and don't add breakpad to distro config yet
Change-Id: I858100508577b4d847db11e9b5f94c6a57ad7e8f
2016-02-22 21:10:01 +01:00
Markus Mohrhard a46ef637d5 include breakpad into the build
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-22 18:20:13 +00:00
Michael Stahl 8d0b06a69e configure: remove ---disable-randr-link
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-02-01 17:29:31 +01:00
Tor Lillqvist f6a4b3dff1 No --with(out)-system-mesa-headers any more
Change-Id: I3a1d3ed1b80dc5c63ed442728b0004053642c12e
2015-11-12 07:41:11 +02: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
Michael Stahl 72699595aa remove KDE3 support, --enable-kde and --enable-kdeab
With the new RHEL6-era baseline TDF can finally ship KDE4 support.

Change-Id: I227278b576a3ed2f2aaa751d41b469ca92dc78b3
Reviewed-on: https://gerrit.libreoffice.org/18267
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-03 08:18:03 +00:00
Caolán McNamara b40b601007 ditch gnome-vfs2 support
Change-Id: I882c04fd3a255f55511b1884157de26e7574e6db
Reviewed-on: https://gerrit.libreoffice.org/18262
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-02 11:46:18 +00:00
Christian Lohmaier 420be486f0 new linux baseline (CentOS 6)
* enable kde4
* switch from gnome-vfs2 to gio

Change-Id: Ieb115bc4632d0ce38c3f3af0ca70d707f33bd238
2015-07-22 18:40:32 +02:00
Christian Lohmaier 094f894bac Linux and Win builds use mergelibs starting with 5.0
Change-Id: I7cdcdcbbbbdc4ba44b3fb8014f93cc522b61f5fc
2015-07-17 16:28:24 +02:00
Stephan Bergmann ecc617e797 configmgr: support reading from a dconf layer (WIP)
Work in progress to allow integration of LO with
<https://wiki.gnome.org/Projects/FleetCommander>.

During configuration, dconf support is implicitly enabled when available on the
host (which is presumably only available on Linux).  It is explicitly disabled
for TDF Linux builds for now, though, to avoid accidental dependencies of the
distributed installation sets on system dconf libraries.

A dconf layer is represented in the CONFIGURATION_LAYERS bootstrap variable with
type "dconf" and an empty URL.  See the comment at the top of
configmgr/source/readdconflayer.cxx for the encoding of component-data in dconf.

All of this is still subject to change.

Change-Id: I2d08d81c8ea43ba4a99040a8882ae75b91bcfdb9
Reviewed-on: https://gerrit.libreoffice.org/16848
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2015-07-08 12:06:04 +00:00
Miklos Vajna 88f94fa76f Enable gtk3 by default
This just builds the gtk3 VCL plugin, it's still disabled by default at
runtime (see unx/generic/plugadapt/salplug.cxx).

Change-Id: I852e499cf1fbd1b218114f1091c4ba8a9a91a29d
Reviewed-on: https://gerrit.libreoffice.org/16229
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2015-06-11 16:13:32 +00:00
Matúš Kukan 384595f075 Drop more --enable/disable-opengl
Change-Id: Ibf77827455faba2f5d94b9fec26bff512713f73d
2014-11-21 19:20:54 +01:00
Christian Lohmaier c7ae999bb7 rename --disable-gstreamer → --disable-gstreamer-1-0
Change-Id: I9f1e0ae2d5ac71ea7e9edb06d3719d626adb80a4
2014-11-07 14:52:32 +01:00
Norbert Thiebaud 89b44792d4 distro-config should not have --with-vendor=TDF
Change-Id: I2809456a49727f7b7abe8521f6e6562ed3fd5c9d
2014-10-10 03:52:57 -05:00
Christian Lohmaier d97b807d23 baseline doesn't support gstremer-1.0
Change-Id: I3d08f9df3202c4f594b9adf209dfc0077e6f7d81
2014-10-10 10:49:06 +02:00
Stephan Bergmann 5387c4f575 distro-configs: remove no longer working --without-system-cairo
...after 800005b120 "Disallow
--without-system-cairo combined with (implicit) --enable-gtk."

Change-Id: I74f5e4f454f5e1724e258380bbbcd771bf58453a
2013-10-24 15:16:54 +02:00
David Ostrovsky 2aa5d13ed0 fdo#61950 De-extensionize presentation minimizer
Change-Id: I87805ceacf184d5aa5faae68e8bb932391ace7fb
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-14 12:21:39 +02:00
Tor Lillqvist df54f97aaf UNIXWRAPPERNAME is unused
Change-Id: Ic25acc8413960c2268b5fffc287e8e4f3165a767
2013-05-15 09:49:40 +03:00
Mark Wielaard 8c7d865226 Remove --disable-unix-qstart-libpng from distro-configs.
commit cc858aca0e
"configure: substantially de-bong libpng handling"
Removed the unix-qstart-libpng configure option.
Also remove it from the distro-configs.

Change-Id: I99de8b99d531d7bedc76ac171050219801000284
Reviewed-on: https://gerrit.libreoffice.org/3900
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-05-14 09:16:51 +00:00
Michael Stahl bcc527412e LibreOfficeLinux.conf: use system zlib
It appears that there are some externals that link against the system
zlib anyway, and the assumption is that system zlib will work
everywhere.

Change-Id: Id348ed88d00ec1495aa54871c994062b9e1b3e85
2013-05-08 17:49:58 +02:00
Tor Lillqvist 788c152cc6 Revert "Don't enable postgresql-sdbc by default"
I simply didn't have the krb5-devel package installed, and assumed there was
something more complicated going on.

This reverts commit 0e1cc99685.

Conflicts:
	distro-configs/LibreOfficeWin64.conf

Change-Id: Ie3b226678862ed6388bcf1bf105da0b996f653d1
2013-04-30 12:17:45 +03:00
Tor Lillqvist 0e1cc99685 Don't enable postgresql-sdbc by default
Try to make it more likely that a build without any autogen.sh options
succeeds. We didn't even get past the autogen.sh phase on openSUSE 12.3 thanks
to some krb5 stuff needed by the postgresql-sdbc checks.

To compensate, add --enable-postgresql-sdbc to those distro-configs/*.conf
files that didn't already have --disable-postgresql-sdbc.

Change-Id: I967616993875b99d9d5a9fd0721f281bb1161a87
2013-04-30 10:42:29 +03:00
Petr Mladek 74615ac7bd Explicitely mention --disable-gio in distro-configs/LibreOfficeLinux.conf
AFAIK, we could not use GIO for the release builds because they are built
on too old system. GIO has got enabled by default but it can't be used together
with GNOME VFS, so we need to explicitely disable it here.

Change-Id: Ic5e64b0b5a7c000b9add2892a18bbc963ea2b900
2013-04-09 17:07:43 +02:00
Andras Timar 672cd6dbcf There is no --enable-ext-report-builder any more
Change-Id: I447a2cfd0e90e61c4a3015d9ef58a78ae86eb874
2013-03-23 08:30:33 +01:00
David Ostrovsky 79cd6af6c7 clean up obsolete mozilla options
Change-Id: I443e77c33b797aaff0b0389525148d1ee2d3193c
2013-02-24 21:57:25 +01:00
Fridrich Štrba 3708fe8434 Kill the --without-system-stdlibs option
Change-Id: I54bff2c8593995829857d30b38b8626a8c1a1a4f
2013-02-19 10:05:23 +01:00
Fridrich Štrba 706d193698 Enable dbus in LibreOfficeLinux configuration
Change-Id: I959437dd440c0eec4fdfa75498a95295bb85cda0
2013-02-08 16:40:54 +01:00
Norbert Thiebaud 75e32e1501 default to --without-help and --without-myspell-dicts
Updated the distro-configs so that the default change
does not impact build based on distro profile

The intent is that with this change of defaults
the build does only rely on core and does not need
any submodules. Making a initial build simpler
for new dev, since they won't be exposed to submodules
unless they really need them.

Change-Id: I446e912d607ce7358fd11f54a3de025dc3f25144
Reviewed-on: https://gerrit.libreoffice.org/1791
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
2013-01-21 08:31:58 +00:00
Stephan Bergmann 2a69801070 --without-system-libpng for "universal" Linux builds
...so that e.g. Fedora 17 does not require installation of libpng-compat package
for old libpng12.so.

Change-Id: I45cf3928b30dbbb815f70cde1972dc4972007c05
2012-12-03 13:34:05 +01:00
Tor Lillqvist 5c159626c6 Always use Java target version 1.5
It has been way too common for people to accidentally have a javac
from JDK 7 create class files that are of the newest version, which
older JREs and Android's dex then don't understand.

As many of the distro-configs files specified
--with-java-target-version=1.5 anyway, let's just hardcode that for
now.

Change-Id: I0853820dc56a062f053b5c2c30097bf1ff3798c1
2012-11-29 18:02:57 +02:00
Stephan Bergmann 79e5ee5f69 Isolate PDF Import so it can be made optionally installable
...which can be attractive for installation sets that use --with-system-poppler
but do not want the LO core package to depend on a poppler package.  See the
comment at the top of scp2/source/ooo/module_pdfimport.scp for details.

The build-time --disable-pdfimport configure switch is gone, PDF Import is built
unconditionally for all platforms but Android and iOS now.  (The
ENABLE_PDFIMPORT variable now uses TRUE/FALSE rather than YES/NO, to increase
consistency across those variables.)

Change-Id: I6509d0b2e770b276cd54540408fb1ec5a7dda058
2012-11-29 11:36:58 +01:00
Stephan Bergmann 7bf64a5af4 Turn PDF import from bundled extension to plain code
No need for dirty hacks linking in basegfx objects statically any more.

To avoid unnecessary confusion between the newly plain code and any instance of
the old extension still installed (per-user or shared), I renamed all relevant
UNO implementation identifiers from com.sun.star.comp.documents.* to
org.libreoffice.comp.documents.*.  Also, existing installations of the extension
are explicitly not migrated to new user profiles.

The xpdfimport executable is now in program/, its xpdfimport_err.pdf in
share/xpdfimport/.  To simplify finding the _err.pdf from xpdfimport, its full
pathname is now given as additional second argument to xpdfimport.  To find
xpdfimport executable from CppunitTest, CppunitTest creates a symlink from
solver's unittest/installation/program to solver's bin, so that
"$BRAND_BASE_DIR/program/xpdfimport" works there (as CppunitTest now sets
BRAND_BASE_DIR to solver's unittest/installation).

The sdext/source/pdfipmort/dialogs/ Basic stuff appeared to be unused (even
though it was included in the .oxt) and has been removed.

The --disable-ext-pdfimport configure switch is renamed to --disable-pdfimport.
Having it still conditional requires some pdf_Portable_Document_Format vs.
pdf_Portable_Document_Format_import foo in module filter.

Change-Id: Iee58c2f6187142a418decc9ea3a5df10eb7e0523
2012-11-24 23:21:37 +01:00
Norbert Thiebaud 060219ac1a binfilter.die.die.die
Change-Id: Ia3c103e4343d309b997ed37e33a382ffdfbddac3
Reviewed-on: https://gerrit.libreoffice.org/1014
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
2012-11-09 07:58:02 +00:00
Petr Mladek f6b7d674bd bin tab that breaks configure
Change-Id: I6705d60313243142bf4f5a0b4856757e093d5a1e
2012-10-15 16:24:08 +02:00
Andras Timar fd575862a1 changed scripting javascript/beanshell switches in distro configs
Change-Id: I28219b9d7500a5d162c554903cf92656cb25a01b
2012-10-08 21:19:50 +02:00
Lionel Elie Mamane b410acd136 Enable Evolution Adress Book support in official GNU/Linux build
Change-Id: Id05436f38477d73be308310c7ef0ec3baca01bc9
2012-09-10 15:40:14 +02:00
Michael Meeks 21d7f4b4bb gstreamer: make gstreamer 1.0 and 0.10 dual compile
Add fallback activation of an _OLD media component to the core.
Compile both a 0.10 and 1.0 version of the gstreamer component

Change-Id: I91f65d05391cb2d7e02f9cff18f96178a128705O1
2012-08-09 20:46:16 +01:00