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-05-23 23:22:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/inkscape (Old) and /work/SRC/openSUSE:Factory/.inkscape.new.2084 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "inkscape" Sat May 23 23:22:16 2026 rev:156 rq:1354745 version:1.4.4+git0.dcaf3e7d9e Changes: -------- --- /work/SRC/openSUSE:Factory/inkscape/inkscape.changes 2026-05-08 16:42:48.242774900 +0200 +++ /work/SRC/openSUSE:Factory/.inkscape.new.2084/inkscape.changes 2026-05-23 23:22:20.500377789 +0200 @@ -1,0 +2,6 @@ +Fri May 22 06:11:31 UTC 2026 - Bjørn Lie <[email protected]> + +- Add 98828255aa0c1212329236b3ff4ac7f41efb4a67.patch: Fix: support + for poppler >= 26.05 font encoding change (boo#1265939) + +------------------------------------------------------------------- New: ---- 98828255aa0c1212329236b3ff4ac7f41efb4a67.patch ----------(New B)---------- New: - Add 98828255aa0c1212329236b3ff4ac7f41efb4a67.patch: Fix: support for poppler >= 26.05 font encoding change (boo#1265939) ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ inkscape.spec ++++++ --- /var/tmp/diff_new_pack.EFa5NC/_old 2026-05-23 23:22:22.316451927 +0200 +++ /var/tmp/diff_new_pack.EFa5NC/_new 2026-05-23 23:22:22.320452090 +0200 @@ -27,6 +27,8 @@ # openSUSE palette file Source1: openSUSE.gpl Source2: inkscape-split-extensions-extra.py +# PATCH-FIX-UPSTREAM 98828255aa0c1212329236b3ff4ac7f41efb4a67.patch -- fix: support for poppler >= 26.05 font encoding change +Patch0: https://gitlab.com/inkscape/inkscape/-/commit/98828255aa0c1212329236b3ff4ac7f41efb4a67.patch BuildRequires: cmake BuildRequires: double-conversion-devel ++++++ 98828255aa0c1212329236b3ff4ac7f41efb4a67.patch ++++++ >From 98828255aa0c1212329236b3ff4ac7f41efb4a67 Mon Sep 17 00:00:00 2001 From: Varasina Farmadani <[email protected]> Date: Mon, 11 May 2026 02:29:05 +0700 Subject: [PATCH] fix: support for popler >= 26.05 font encoding change Poppler version 26.05.0 changed the return type of gfx8bit->getEncoding() from char** to const std::array<const char*,256>&. this caused a compilation error due to type incompatibility: error: assigning to 'char **' from incompatible type 'const std::array<const char *, 256> error: no viable conversion from 'const std::array<const char *, 256>' to 'char **' --- .../pdfinput/poppler-cairo-font-engine.cpp | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/extension/internal/pdfinput/poppler-cairo-font-engine.cpp b/src/extension/internal/pdfinput/poppler-cairo-font-engine.cpp index a022ce63c8..19ebd26693 100644 --- a/src/extension/internal/pdfinput/poppler-cairo-font-engine.cpp +++ b/src/extension/internal/pdfinput/poppler-cairo-font-engine.cpp @@ -314,7 +314,11 @@ CairoFreeTypeFont *CairoFreeTypeFont::create(GfxFont *gfxFont, XRef *xref, FT_Li #else GfxFontLoc *fontLoc; #endif +#if POPPLER_CHECK_VERSION(26, 5, 0) + const char * const *enc; +#else char **enc; +#endif const char *name; #if POPPLER_CHECK_VERSION(25, 7, 0) std::unique_ptr<FoFiType1C> ff1c; @@ -386,7 +390,11 @@ CairoFreeTypeFont *CairoFreeTypeFont::create(GfxFont *gfxFont, XRef *xref, FT_Li goto err2; } +#if POPPLER_CHECK_VERSION(26, 5, 0) + enc = gfx8bit->getEncoding().data(); +#else enc = gfx8bit->getEncoding(); +#endif codeToGID.resize(256); for (i = 0; i < 256; ++i) { @@ -678,7 +686,7 @@ CairoType3Font *CairoType3Font::create(GfxFont *gfxFont, PDFDoc *doc, CairoFontE #endif std::vector<int> codeToGID; - char *name; + const char *name; Dict *charProcs = gfx8bit->getCharProcs(); Ref ref = *gfxFont->getID(); @@ -695,7 +703,11 @@ CairoType3Font *CairoType3Font::create(GfxFont *gfxFont, PDFDoc *doc, CairoFontE cairo_font_face_set_user_data(font_face, &type3_font_key, (void *)info, _free_type3_font_info); +#if POPPLER_CHECK_VERSION(26, 5, 0) + const char * const *enc = gfx8bit->getEncoding().data(); +#else char **enc = gfx8bit->getEncoding(); +#endif codeToGID.resize(256); for (int i = 0; i < 256; ++i) { codeToGID[i] = 0; -- GitLab
