Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package calibre for openSUSE:Factory checked in at 2025-10-16 17:39:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/calibre (Old) and /work/SRC/openSUSE:Factory/.calibre.new.18484 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "calibre" Thu Oct 16 17:39:18 2025 rev:346 rq:1311684 version:8.12.0 Changes: -------- --- /work/SRC/openSUSE:Factory/calibre/calibre.changes 2025-10-02 19:21:06.644744267 +0200 +++ /work/SRC/openSUSE:Factory/.calibre.new.18484/calibre.changes 2025-10-16 17:40:10.980024162 +0200 @@ -1,0 +2,6 @@ +Thu Oct 16 10:36:29 UTC 2025 - Hans-Peter Jansen <[email protected]> + +- Add calibre-fix-build-with-Qt6.10.patch to cope with the private + library linking changes introduced by Qt 6.10 + +------------------------------------------------------------------- New: ---- calibre-fix-build-with-Qt6.10.patch ----------(New B)---------- New: - Add calibre-fix-build-with-Qt6.10.patch to cope with the private library linking changes introduced by Qt 6.10 ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ calibre.spec ++++++ --- /var/tmp/diff_new_pack.8rjSJ2/_old 2025-10-16 17:40:12.260078034 +0200 +++ /var/tmp/diff_new_pack.8rjSJ2/_new 2025-10-16 17:40:12.264078202 +0200 @@ -1,7 +1,7 @@ # # spec file for package calibre # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -55,6 +55,8 @@ Patch3: %{name}-no-update.diff # PATCH-FIX-OPENSUSE: disbale piper because since 8.8.0 calibre needs onnxruntime which is not in openSUSE. Patch4: %{name}-disable_piper.patch +# PATCH-FIX-OPENSUSE: fix build with Qt 6.10 +Patch5: %{name}-fix-build-with-Qt6.10.patch ExclusiveArch: aarch64 x86_64 riscv64 %if 0%{?suse_version} <= 1550 BuildRequires: gcc12 @@ -94,7 +96,11 @@ BuildRequires: libpoppler-devel >= 23.08.0 BuildRequires: libstemmer-devel >= 2.2.0 BuildRequires: libwmf-devel >= 0.2.8 +%if 0%{suse_version} == 1600 +BuildRequires: (libpodofo-devel >= 0.10.3 and libpodofo-devel < 1.0.0) +%else BuildRequires: (libpodofo-0_10-devel >= 0.10.3 and libpodofo-0_10-devel < 1.0.0) +%endif # upstream use: mozjpeg >= 4.1.4 BuildRequires: optipng >= 0.7.7 BuildRequires: poppler-tools >= 23.08.0 @@ -304,6 +310,7 @@ %patch -P 2 -p1 %patch -P 3 -p1 -b .no-update %patch -P 4 -p1 +%patch -P 5 -p1 # dos2unix newline conversion sed -i 's/\r//' src/calibre/web/feeds/recipes/* ++++++ calibre-fix-build-with-Qt6.10.patch ++++++ Index: b/src/calibre/headless/CMakeLists.txt =================================================================== --- a/src/calibre/headless/CMakeLists.txt +++ b/src/calibre/headless/CMakeLists.txt @@ -2,6 +2,11 @@ cmake_minimum_required(VERSION 3.21) project(headless) set(CMAKE_AUTOMOC ON) find_package(Qt6Gui REQUIRED) +if(Qt6Gui_VERSION VERSION_GREATER_EQUAL "6.10.0") + set(QT_NO_PRIVATE_MODULE_WARNING ON) + find_package(Qt6GuiPrivate REQUIRED NO_MODULE) + find_package(Qt6CorePrivate REQUIRED NO_MODULE) +endif() add_library(headless MODULE main.cpp headless_backingstore.cpp headless_integration.cpp) set_property(TARGET headless PROPERTY QT_PLUGIN_TYPE "platforms") set_property(TARGET headless PROPERTY QT_PLUGIN_CLASS_NAME "HeadlessIntegrationPlugin")
