Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package inkscape for openSUSE:Factory checked in at 2026-01-29 17:42:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/inkscape (Old) and /work/SRC/openSUSE:Factory/.inkscape.new.1995 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "inkscape" Thu Jan 29 17:42:01 2026 rev:152 rq:1329552 version:1.4.3+git2.fcd0343856 Changes: -------- --- /work/SRC/openSUSE:Factory/inkscape/inkscape.changes 2026-01-05 14:50:41.984130783 +0100 +++ /work/SRC/openSUSE:Factory/.inkscape.new.1995/inkscape.changes 2026-01-29 17:42:07.182206667 +0100 @@ -1,0 +2,6 @@ +Mon Jan 26 23:13:03 UTC 2026 - Stefan BrĂ¼ns <[email protected]> + +- Fix build with Poppler 26.01.00, add + Fix_Poppler_26_01_00_compat.patch + +------------------------------------------------------------------- New: ---- Fix_Poppler_26_01_00_compat.patch ----------(New B)---------- New:- Fix build with Poppler 26.01.00, add Fix_Poppler_26_01_00_compat.patch ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ inkscape.spec ++++++ --- /var/tmp/diff_new_pack.3q98ZR/_old 2026-01-29 17:42:11.074372006 +0100 +++ /var/tmp/diff_new_pack.3q98ZR/_new 2026-01-29 17:42:11.074372006 +0100 @@ -1,8 +1,7 @@ # # spec file for package inkscape # -# Copyright (c) 2026 SUSE LLC -# Copyright (c) 2025 SUSE LLC and contributors +# Copyright (c) 2026 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 @@ -28,6 +27,8 @@ # openSUSE palette file Source1: openSUSE.gpl Source2: inkscape-split-extensions-extra.py +# PATCH-FIX-UPSTREAM -- rebased https://gitlab.com/inkscape/inkscape/-/commit/3a528728ebe3 +Patch0: Fix_Poppler_26_01_00_compat.patch BuildRequires: cmake BuildRequires: double-conversion-devel ++++++ Fix_Poppler_26_01_00_compat.patch ++++++ >From 3a528728ebe33e10bb44d152f47cfedfddbfe18a Mon Sep 17 00:00:00 2001 From: Thomas Holder <[email protected]> Date: Sat, 10 Jan 2026 23:44:10 +0100 Subject: [PATCH] Fix build with poppler 26.01.0 --- src/extension/internal/pdfinput/pdf-input.cpp | 1 + src/extension/internal/pdfinput/svg-builder.cpp | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/src/extension/internal/pdfinput/pdf-input.cpp b/src/extension/internal/pdfinput/pdf-input.cpp index 89d90ff0fe..bba8633e18 100644 --- a/src/extension/internal/pdfinput/pdf-input.cpp +++ b/src/extension/internal/pdfinput/pdf-input.cpp @@ -32,6 +32,7 @@ #include <poppler/glib/poppler.h> #include <poppler/glib/poppler-document.h> #include <poppler/glib/poppler-page.h> +#include <poppler/goo/gmem.h> #endif #include <gdkmm/general.h> diff --git a/src/extension/internal/pdfinput/svg-builder.cpp b/src/extension/internal/pdfinput/svg-builder.cpp index 1b15b425b1..e1de266111 100644 --- a/src/extension/internal/pdfinput/svg-builder.cpp +++ b/src/extension/internal/pdfinput/svg-builder.cpp @@ -29,6 +29,7 @@ #include <poppler/GfxState.h> #include <poppler/Page.h> #include <poppler/Stream.h> +#include <poppler/goo/gmem.h> #include "color.h" #include "color/cms-util.h" @@ -2145,7 +2146,11 @@ Inkscape::XML::Node *SvgBuilder::_createImage(Stream *str, int width, int height } else { image_stream = new ImageStream(str, width, 1, 1); } +#if POPPLER_CHECK_VERSION(26, 0, 0) + image_stream->rewind(); +#else image_stream->reset(); +#endif // Convert grayscale values unsigned char *buffer = new unsigned char[width]; @@ -2171,7 +2176,11 @@ Inkscape::XML::Node *SvgBuilder::_createImage(Stream *str, int width, int height image_stream = new ImageStream(str, width, color_map->getNumPixelComps(), color_map->getBits()); +#if POPPLER_CHECK_VERSION(26, 0, 0) + image_stream->rewind(); +#else image_stream->reset(); +#endif // Convert RGB values unsigned int *buffer = new unsigned int[width]; -- GitLab
