Debian Patches

Status for libreoffice/4:25.2.3-2+deb13u2

Patch Description Author Forwarded Bugs Origin Last update
debian-opt.diff diff --git a/configure.ac b/configure.ac
index f06ef8e..91ce612 100644
no
jurt-soffice-location.diff commit b71107fb12e3c3125e0cb62c5a4f6636a80c6408

on debian-based systems, we know where our soffice binary is

diff --git a/jurt/com/sun/star/lib/util/NativeLibraryLoader.java b/jurt/com/sun/star/lib/util/NativeLibraryLoader.jav
index da22980..36664ca 100644
Bjoern Michaelsen <bjoern.michaelsen@canonical.com> no
splits-adapt-registry.diff diff --git a/scp2/source/gnome/file_gnome.scp b/scp2/source/gnome/file_gnome.scp
index c7a13c8..a3f59a6 100644
no
debian-debug.diff diff --git a/solenv/gbuild/platform/com_GCC_defs.mk b/solenv/gbuild/platform/com_GCC_defs.mk
index 9de88a2..9161a4e 100644
no
build-against-shared-lpsolve.diff diff --git a/configure.ac b/configure.ac
index cdae8b5..49f3ba2 100644
no
install-fixes.diff diff --git a/bin/distro-install-file-lists b/bin/distro-install-file-lists
index eaabf9c..c1b1ec6 100755
no
mention-java-common-package.diff diff --git a/jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx b/jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx
index 718902caba6f..3c8499b5a42c 100644
no
help-msg-add-package-info.diff diff --git a/include/sfx2/strings.hrc b/include/sfx2/strings.hrc
index 1b0ea6ccb2ff..630f4330552a 100644
no
sensible-lomua.diff =================================================================== no
reportdesign-mention-package.diff diff --git a/dbaccess/inc/strings.hrc b/dbaccess/inc/strings.hrc
index 47068f43d09e..1f8b9a2331b6 100644
no
jdbc-driver-classpaths.diff diff --git a/officecfg/registry/data/org/openoffice/Office/DataAccess.xcu b/officecfg/registry/data/org/openoffice/Office/DataAccess.xcu
index 9be30a2..59c87cb 100644
no
make-package-modules-not-suck.diff diff --git a/scp2/InstallModule_draw.mk b/scp2/InstallModule_draw.mk
index a7c02be..d48edf2 100644
no
mediwiki-oor-replace.diff diff --git a/swext/mediawiki/src/registry/data/org/openoffice/Office/OptionsDialog.xcu b/swext/mediawiki/src/registry/data/org/openoffice/Office/OptionsDialog.xcu
index 2b35ced08f31..0c96070dd4f0 100644
no
debian-hardened-buildflags-CPPFLAGS.diff no
debian-hardened-buildflags-no-LO-fstack-protector-strong.diff don't hardcode -fstack-protector-strong in configure.ac/gbuild. We get the
hardening flags from dpkg-buildflags anyway.

diff --git a/solenv/gbuild/platform/com_GCC_defs.mk b/solenv/gbuild/platform/com_GCC_defs.mk
index 712a61df544f..0d50f538ba7b 100644
no
disable-flaky-tests.diff 14:13 < mst__> _rene_, the toolkit unoapi tests are known to be flaky (in some
system dependent way) e.g. on the Win@6 tinderbox it always
crashes
14:14 < mst__> _rene_, sc.ScAccessible* tests also fail on some systems some of
the time

diff --git a/toolkit/Module_toolkit.mk b/toolkit/Module_toolkit.mk
index 25db0b6..14e507c 100644
no
fix-internal-hsqldb-build.diff diff -urN hsqldb.old/patches/use-system-servlet-api.jar.diff hsqldb/patches/use-system-servlet-api.jar.diff no
javadoc-optional.diff Gemeinsame Unterverzeichnisse: odk-old/config und odk/config.
Gemeinsame Unterverzeichnisse: odk-old/docs und odk/docs.
Gemeinsame Unterverzeichnisse: odk-old/examples und odk/examples.
diff --git a/odk/Module_odk.mk b/odk/Module_odk.mk
index 693885322115..5fcb39306a0b 100644
no
no-packagekit-per-default.diff diff --git a/officecfg/registry/data/org/openoffice/Office/Common.xcu b/officecfg/registry/data/org/openoffice/Office/Common.xcu
index 3d138551b593..9cb9831f3236 100644
no
system-officeotron-and-odfvalidator.diff diff --git a/bin/odfvalidator.sh.in b/bin/odfvalidator.sh.in
index 56e2f29..9415ef6 100644
no
cppunit-optional.diff diff --git a/configure.ac b/configure.ac
index c12fe95a561c..66d327ae8fb8 100644
no
apparmor-complain.diff diff --git a/sysui/desktop/apparmor/program.oosplash b/sysui/desktop/apparmor/program.oosplash
index fef54b7ee384..9dde31a63615 100644
no
hide-math-desktop-file.patch Hide startcenter and math from the shell Olivier Tilloy <olivier.tilloy@canonical.com> not-needed
appstream-ignore-startcenter.diff no
disable-java-in-odk-build-examples-on-zero-vm.diff diff --git a/config_host.mk.in b/config_host.mk.in
index 6cea6ccf795e..d08fac922239 100644
no
do-not-hide-test-output.diff diff --git a/odk/build-examples_common.mk b/odk/build-examples_common.mk
index abcb3a3e2593..35d45ad23413 100644
no
apparmor-allow-java.security.diff diff --git a/sysui/desktop/apparmor/program.soffice.bin b/sysui/desktop/apparmor/program.soffice.bin
index 2fc7fd6b5735..3fd82b08431e 100644
no
apparmor-cleanups.diff [PATCH] apparmor: use dri-enumerate abstraction
Remove backported rule and use new dri-enumerate abstraction instead.
dri-enumerate is available in AppArmor 2.13, which recently migrated
into Debian Buster.
Vincas Dargis <vindrg@gmail.com> no 2018-08-04
apparmor-mesa.diff no
disableClassPathURLCheck.diff no
use-mariadb-java-instead-of-mysql-java.diff [PATCH] mariadb Markus Koschany <apo@debian.org> no 2018-11-09
apparmor-opencl.diff AppArmor in Debian Buster now has OpenCL abstractions.

Include OpenCL abstractions to fix OpenCL usage in Calc.
===================================================================
no
fix-flaky-bridgetest.diff Add safer float comparisons to bridgetest equals() Marcus Tomlinson <marcus.tomlinson@canonical.com> no
add-access2base-doc.diff no
disable-shortcuts_tab_navigation-uitest.diff no
no-opencl-per-default.diff [PATCH] Resolves: rhbz#1432468 disable opencl by default =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com> no 2017-03-27
apparmor-updates.diff diff --git a/sysui/desktop/apparmor/program.soffice.bin b/sysui/desktop/apparmor/program.soffice.bin
index 42053db2abef..bf48bdb1e44d 100644
no
apparmor-gnupg-tofu.diff Support tofu+pgp trust model in GnuPG
GnuPG supports a trust-on-first-use layer that sits on top of the
standard PGP trust model. If this is enabled, 'gpg --list-keys' needs
write and lock permissions on the TOFU database to return any useful
data. Allow this access through AppArmor.
Benjamin Barenblat <bbaren@google.com> no debian
arm-fp-mode.diff Explicitly set fpu mode on armhf
diff --git a/bridges/source/cpp_uno/gcc3_linux_arm/armhelper.S b/bridges/source/cpp_uno/gcc3_linux_arm/armhelper.S
index 4eff3ff0a012..7996b9c5b3f0 100644
Rico Tzschichholz <ricotz@ubuntu.com> no
moreIconsDialog-accesses-internet.diff diff --git a/cui/source/dialogs/AdditionsDialog.cxx b/cui/source/dialogs/AdditionsDialog.cxx
index a8eabf6d369c..676add18204e 100644
no
do-not-abort-on-NON_APPLICATION_FONT_USE.diff diff --git a/solenv/gbuild/CppunitTest.mk b/solenv/gbuild/CppunitTest.mk
index b16e3d0e5417..33bdde04b072 100644
no
we-dont-have-the-needed-fonts.diff diff --git a/sw/qa/core/text/text.cxx b/sw/qa/core/text/text.cxx
index a4d4540ab228..46d262f6f0b8 100644
no
adapt-for-new-carlito.diff diff --git a/sw/qa/extras/layout/layout3.cxx b/sw/qa/extras/layout/layout3.cxx
index 7f62a3a9d6b8..ec1567a564dc 100644
no
pdfium-ports.diff no
jdk-minimal-and-zero-paths.diff [PATCH] sunjre: check all four possible OpenJDK variants for libjvm.so

Since OpenJDK 21, the "minimal" and "zero" variants of JVM no longer
reside in the "server" directory in $JAVA_HOME/lib, making the loader
unable to find libjvm.so. This regresses LO builds on platforms with
only those variants of JVM (i.e. without a HotSpot port).

Example error message is like this:

> exception occurred: Could not create Java implementation loader at
> ./stoc/source/javaloader/javaloader.cxx:551

Fix it by probing all four possible variant directories for libjvm.so.
This is tested on Debian unstable (loong64 port) to fix the packaging.
WANG Xuerui <xen0n@gentoo.org> no 2024-08-22
lo-xlate-lang-add-tl.diff diff --git a/bin/lo-xlate-lang b/bin/lo-xlate-lang
index 9b939012e99a..967a188c14e5 100755
no
fix-32bits-test-build.diff diff --git a/sd/qa/unit/tiledrendering/tiledrendering.cxx b/sd/qa/unit/tiledrendering/tiledrendering.cxx
index 18b213e99abf..3a26f9493a7f 100644
no
disable-uitest-xmlsecurity-gpg.diff diff --git a/xmlsecurity/Module_xmlsecurity.mk b/xmlsecurity/Module_xmlsecurity.mk
index afb1e251586a..12241f6b6520 100644
no
system-colamd.diff [PATCH] implement --with-system-colamd (for internal lpsolve)
using suitesparse. Tested with both suitesparse 5.12.0 (Debian stable,
without pc) and 7.9.0 (Debian unstable, with .pc)
Rene Engelhard <rene@rene-engelhard.de> no 2025-03-03
add-EUR-for-Bulgaria-Lew.diff [PATCH] add EUR for Bulgaria/Lew
Bulgaria will join Eurozone 2026-01-01 at which time around the default
needs to be switched

see https://www.ecb.europa.eu/press/pr/date/2025/html/ecb.pr250708~b9676a9fa8.de.html for the conversion rate

This is the < 26.2 version including the euro wizard (cf.
b1a2f727ca99ecd3402d4b051b99cbfd24266e59)
Rene Engelhard <rene@rene-engelhard.de> no 2025-08-09
avmedia-qt-use-gstreamer-frame-grabber-by-default.diff tdf#166055 avmedia qt: Use GStreamer frame grabber by default
As described in tdf#166055, QtFrameGrabber currently
still causes issues (freezes or crashes).

The QtMultimedia API does not provide a simple
way to synchronously retrieve a video frame, so
the current approach is to connect to the
QVideoSink::videoFrameChanged signal and start
playing the video until the first frame arrives.

There are various QtMultimedia plugins/backends
(at least GStreamer and ffmpeg for Linux). Some
use multiple threads internally. Some logic
needs to be run in the main thread however, so
it's not possible to move things to a separate
thread/event loop to decouple it from the main
thread.
As a consequence, there is a need to trigger
event processing while waiting for the frame,
as QVideoSink::videoFrameChanged would otherwise
never be called.

Triggering event processing can have bad side-effects
however, as seen in tdf#166055, e.g. leading to
endless recursion or crashes when processing LO events.

See also

commit 697405b533a8ae5b6a8f5bd184b9344a96f71c69
Author: Michael Weghorn <m.weghorn@posteo.de>
Date: Wed Apr 9 09:42:45 2025 +0200

tdf#166055 qt avmedia: Provide media/player size right away

for more background and some thoughts.

For now, avoid the problem by using
the GStreamer based frame grabber even with
QtPlayer by default.

This means that the QtMultimedia
framework is still used for video playback with the
qt6 VCL plugin, where LO's GStreamer implementation
doesn't work properly, see

commit 441d8ed9be0e7f831b455a69b8688dcb79a8bc00
Author: Michael Weghorn <m.weghorn@posteo.de>
Date: Mon May 20 16:25:09 2024 +0200

tdf#145735 avmedia qt: Use QtMultimedia for Qt 6 media playback

. However, in order to preview images (that are e.g. shown
in Impress when not in presentation mode) the LO GStreamer
backend is used now.
(That works fine, no UI interaction is needed
for that.)

Adjust QtPlayer::createFrameGrabber accordingly
to return the LO default platform player/frame grabber
implementation (which is the GStreamer one on Linux), see also
MediaWindowImpl::createPlayer. Use the service to
avoid having to link GStreamer libraries.

However, allow to force the use of QtFrameGrabber
by setting environment variable
SAL_VCL_QT_USE_QT_FRAME_GRABBER.

(cherry picked from commit 08533ca4e2526644b803c40c0c3d3c96f43762af)
Michael Weghorn <m.weghorn@posteo.de> no 2025-05-02
qt-Consolidate-to-one-toOUString-helper.diff [PATCH] qt: Consolidate to one toOUString helper
Instead of having one for vcl in vcl/inc/qt5/QtTools.hxx
and one in avmedia/source/qt6/QtFrameGrabber.cxx,
move the existing implementation to
include/vcl/qt/QtUtils.hxx and use it everywhere.

(cherry picked from commit d023035acf83ee1b61dfc03333bfc6e612bb58f6)
Michael Weghorn <m.weghorn@posteo.de> no 2025-04-11

All known versions for source package 'libreoffice'

Links