From cffaf5cae06b25d8dbf60b28a0f50736354e61b4 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 05:35:41 +0100 Subject: [PATCH] automatic version update by autodist [release 7.5.0.2-1mamba;Sun Jan 22 2023] --- libreoffice-7.5.0.1-zxing-2.0.0.patch | 59 +++++++++++++++++++++++++++ libreoffice.spec | 15 ++++++- 2 files changed, 72 insertions(+), 2 deletions(-) create mode 100644 libreoffice-7.5.0.1-zxing-2.0.0.patch diff --git a/libreoffice-7.5.0.1-zxing-2.0.0.patch b/libreoffice-7.5.0.1-zxing-2.0.0.patch new file mode 100644 index 0000000..52b383a --- /dev/null +++ b/libreoffice-7.5.0.1-zxing-2.0.0.patch @@ -0,0 +1,59 @@ +From 15e5d86cc55ad94ac946e04d5e25b84be5810970 Mon Sep 17 00:00:00 2001 +From: "Brett T. Warden" +Date: Fri, 30 Dec 2022 08:43:25 +0100 +Subject: Remove dependency on BitArray.h from zxing-1.2.0 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +In zxing-1.4.0, numerous headers are no longer public. Rework the +ConvertToSVGFormat method so it uses bitmatrix.get instead of +bitmatrix.getRow, similar to the ToSVG method in zxing itself. + +See https://github.com/zxing-cpp/zxing-cpp/issues/361 + +Change-Id: Ie25eb8f782e8799fbd57c24ef79bba92acf0f9ff +Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144874 +Tested-by: René Engelhard +Reviewed-by: René Engelhard +Tested-by: Jenkins +Reviewed-by: Caolán McNamara +--- + cui/source/dialogs/QrCodeGenDialog.cxx | 5 +---- + 1 file changed, 1 insertion(+), 4 deletions(-) + +diff --git a/cui/source/dialogs/QrCodeGenDialog.cxx b/cui/source/dialogs/QrCodeGenDialog.cxx +index f8cbac1d758d..817be7f21ede 100644 +--- a/cui/source/dialogs/QrCodeGenDialog.cxx ++++ b/cui/source/dialogs/QrCodeGenDialog.cxx +@@ -27,7 +27,6 @@ + #endif + + #include +-#include + #include + #include + #include +@@ -79,7 +78,6 @@ OString ConvertToSVGFormat(const ZXing::BitMatrix& bitmatrix) + OStringBuffer sb; + const int width = bitmatrix.width(); + const int height = bitmatrix.height(); +- ZXing::BitArray row(width); + sb.append("\n" + "= 2.0.0 +# Remove after 7.5.0.1 +BuildRequires: libmdds20-devel %description LibreOffice is an Open Source, community-developed, office productivity suite. @@ -533,6 +537,7 @@ A plug-in for LibreOffice that enables integration into the GNOME desktop enviro #%patch48 -p1 -b .poppler-22.03.0 #%patch49 -p0 -b .poppler-22.04.0 #%patch50 -p1 +#%patch51 -p1 -b .zxing-2.0.0 touch scripting/source/pyprov/delzip #touch scripting/util/provider/beanshell/delzip @@ -1048,6 +1053,12 @@ This package contains %{langname} translations and resources for LibreOffice.\ %langpack -l zu -n Zulu -F -H -Y %changelog +* Sun Jan 22 2023 Automatic Build System 7.5.0.2-1mamba +- automatic version update by autodist + +* Mon Jan 16 2023 Automatic Build System 7.5.0.1-1mamba +- automatic version update by autodist + * Thu Dec 22 2022 Automatic Build System 7.4.4.1-1mamba - automatic version update by autodist