From 57eacef1014d0bd89c55869447116835835ab0ecbe66bc35893d68ab74de4199 Mon Sep 17 00:00:00 2001 From: letsfindaway Date: Thu, 26 Feb 2026 19:27:26 +0100 Subject: [PATCH 1/2] Update to version 1.7.6 --- 1434-build-poppler-26-02.patch | 55 ++++++++++++++++++++++++++++++++++ OpenBoard-1.7.5.tar.gz | 3 -- OpenBoard-1.7.6.tar.gz | 3 ++ OpenBoard.changes | 14 +++++++++ OpenBoard.spec | 4 ++- _scmsync.obsinfo | 4 +++ 6 files changed, 79 insertions(+), 4 deletions(-) create mode 100644 1434-build-poppler-26-02.patch delete mode 100644 OpenBoard-1.7.5.tar.gz create mode 100644 OpenBoard-1.7.6.tar.gz create mode 100644 _scmsync.obsinfo diff --git a/1434-build-poppler-26-02.patch b/1434-build-poppler-26-02.patch new file mode 100644 index 0000000..2a2dffe --- /dev/null +++ b/1434-build-poppler-26-02.patch @@ -0,0 +1,55 @@ +From 80f5cd0bdc4cbae8f864b730ade4f9bf19baba2a Mon Sep 17 00:00:00 2001 +From: letsfindaway +Date: Wed, 25 Feb 2026 08:18:11 +0100 +Subject: [PATCH] build: adapt to poppler 26.02 + +- poppler 26.02 removes an obsolete parameter from the constructor + of SplashOutputDev +- conditionally remove this parameter depending on poppler version + +Signed-off-by: letsfindaway +--- + src/pdf/XPDFRenderer.cpp | 4 ++++ + src/pdf/XPDFRenderer.h | 5 +++++ + 2 files changed, 9 insertions(+) + +diff --git a/src/pdf/XPDFRenderer.cpp b/src/pdf/XPDFRenderer.cpp +index 4d6c98f8f..8e361430c 100644 +--- a/src/pdf/XPDFRenderer.cpp ++++ b/src/pdf/XPDFRenderer.cpp +@@ -235,7 +235,11 @@ QImage* XPDFRenderer::createPDFImageUncached(int pageNumber, qreal xscale, qreal + if(mSplashUncached) + delete mSplashUncached; + ++#if POPPLER_VERSION_MAJOR > 26 || (POPPLER_VERSION_MAJOR == 26 && POPPLER_VERSION_MINOR >= 2) ++ mSplashUncached = new SplashOutputDev(splashModeRGB8, 1, constants::paperColor); ++#else + mSplashUncached = new SplashOutputDev(splashModeRGB8, 1, false, constants::paperColor); ++#endif + mSplashUncached->startDoc(mDocument); + + int rotation = 0; // in degrees (get it from the worldTransform if we want to support rotation) +diff --git a/src/pdf/XPDFRenderer.h b/src/pdf/XPDFRenderer.h +index 0e8de81a2..6264ae1b0 100644 +--- a/src/pdf/XPDFRenderer.h ++++ b/src/pdf/XPDFRenderer.h +@@ -42,6 +42,7 @@ + #include + #include + #include ++#include + + class PDFDoc; + +@@ -105,7 +106,11 @@ class XPDFRenderer : public PDFRenderer + cachedImage = QImage(); + delete splash; + } ++#if POPPLER_VERSION_MAJOR > 26 || (POPPLER_VERSION_MAJOR == 26 && POPPLER_VERSION_MINOR >= 2) ++ splash = new SplashOutputDev(splashModeRGB8, 1, paperColor); ++#else + splash = new SplashOutputDev(splashModeRGB8, 1, false, paperColor); ++#endif + cachedPageNumber = pageNumber; + } + diff --git a/OpenBoard-1.7.5.tar.gz b/OpenBoard-1.7.5.tar.gz deleted file mode 100644 index d343f15..0000000 --- a/OpenBoard-1.7.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:31cdb4049402b93a346637bda537d528ef53c84d70598f0861ad9d77ad3e37eb -size 63262455 diff --git a/OpenBoard-1.7.6.tar.gz b/OpenBoard-1.7.6.tar.gz new file mode 100644 index 0000000..3887c64 --- /dev/null +++ b/OpenBoard-1.7.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4c19f1f0ac57f80fb48be0b9375fcb8eadba12b5b48a6b1ddaed31ef2a047009 +size 63260577 diff --git a/OpenBoard.changes b/OpenBoard.changes index 1323ecf..ba661cf 100644 --- a/OpenBoard.changes +++ b/OpenBoard.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Wed Feb 25 14:13:18 UTC 2026 - Martin Winter + +- update to release version 1.7.6 + * fix: crash when using the "add to document" button in Documents Mode + * fix: standard PDF export method would constantly fail + * fix: rearrange board thumbnails after duplicating scene + +------------------------------------------------------------------- +Wed Feb 25 14:00:10 UTC 2026 - Martin Winter + +- add patch 1434-build-poppler-26-02.patch + * compatibility with poppler 26.02 + ------------------------------------------------------------------- Tue Feb 3 11:11:42 UTC 2026 - Martin Winter diff --git a/OpenBoard.spec b/OpenBoard.spec index cd40ba0..a37138e 100644 --- a/OpenBoard.spec +++ b/OpenBoard.spec @@ -19,7 +19,7 @@ %define namelc openboard %define fqname ch.%{namelc}.%{name} Name: OpenBoard -Version: 1.7.5 +Version: 1.7.6 Release: 0 Summary: Interactive whiteboard for schools and universities License: GPL-3.0-or-later @@ -30,6 +30,8 @@ Source0: https://github.com/OpenBoard-org/OpenBoard/archive/refs/tags/v%{ Patch955: 0955-shortcut-configuration.patch # https://github.com/OpenBoard-org/OpenBoard/pull/1347 Patch1347: 1347-chore-appdata.patch +# https://github.com/OpenBoard-org/OpenBoard/pull/1434 +Patch1434: 1434-build-poppler-26-02.patch # https://github.com/letsfindaway/OpenBoard/pull/117 Patch9117: 9117-disable-software-update.patch BuildRequires: desktop-file-utils diff --git a/_scmsync.obsinfo b/_scmsync.obsinfo new file mode 100644 index 0000000..8deab7c --- /dev/null +++ b/_scmsync.obsinfo @@ -0,0 +1,4 @@ +mtime: 1772128815 +commit: edff4ce2002a70f4fbc613c17b65fc5c66c50ced99ed7d58645eb9ca43db4e99 +url: https://src.opensuse.org/letsfindaway/OpenBoard +revision: factory -- 2.51.1 From 2e4142eff6d91b1bed43e3d256210c498b9ec6f0e97e832085ad0e47188ac3e2 Mon Sep 17 00:00:00 2001 From: letsfindaway Date: Fri, 27 Feb 2026 11:30:43 +0100 Subject: [PATCH 2/2] remove _scmsync.obsinfo --- _scmsync.obsinfo | 4 ---- 1 file changed, 4 deletions(-) delete mode 100644 _scmsync.obsinfo diff --git a/_scmsync.obsinfo b/_scmsync.obsinfo deleted file mode 100644 index 8deab7c..0000000 --- a/_scmsync.obsinfo +++ /dev/null @@ -1,4 +0,0 @@ -mtime: 1772128815 -commit: edff4ce2002a70f4fbc613c17b65fc5c66c50ced99ed7d58645eb9ca43db4e99 -url: https://src.opensuse.org/letsfindaway/OpenBoard -revision: factory -- 2.51.1