Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package scribus for openSUSE:Factory checked in at 2026-05-23 23:22:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/scribus (Old) and /work/SRC/openSUSE:Factory/.scribus.new.2084 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "scribus" Sat May 23 23:22:13 2026 rev:99 rq:1354712 version:1.6.6 Changes: -------- --- /work/SRC/openSUSE:Factory/scribus/scribus.changes 2026-04-21 12:42:59.001847277 +0200 +++ /work/SRC/openSUSE:Factory/.scribus.new.2084/scribus.changes 2026-05-23 23:22:19.020317369 +0200 @@ -1,0 +2,7 @@ +Fri May 22 06:31:11 UTC 2026 - Bjørn Lie <[email protected]> + +- Add 14a287fc1db2a44abfe1743260554447b31b4adf.patch: Fix failure + to build with poppler 26.05.0 (boo#1265939) +- Change scribus-doc sub-package to noarch. + +------------------------------------------------------------------- New: ---- 14a287fc1db2a44abfe1743260554447b31b4adf.patch ----------(New B)---------- New: - Add 14a287fc1db2a44abfe1743260554447b31b4adf.patch: Fix failure to build with poppler 26.05.0 (boo#1265939) ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ scribus.spec ++++++ --- /var/tmp/diff_new_pack.hgfID8/_old 2026-05-23 23:22:19.856351498 +0200 +++ /var/tmp/diff_new_pack.hgfID8/_new 2026-05-23 23:22:19.860351661 +0200 @@ -51,6 +51,9 @@ %endif # PATCH-FIX-OPENSUSE Patch0: 0001-Make-sure-information-displayed-on-the-about-window-.patch +# PATCH-FIX-UPSTREAM 14a287fc1db2a44abfe1743260554447b31b4adf.patch -- Fix failure to build with poppler 26.05.0 +Patch1: 14a287fc1db2a44abfe1743260554447b31b4adf.patch + BuildRequires: cmake >= 3.14.0 BuildRequires: cups-devel BuildRequires: dos2unix @@ -115,6 +118,7 @@ %package doc Summary: Documentation for Scribus +BuildArch: noarch %description doc This package provides the documentation for Scribus. ++++++ 14a287fc1db2a44abfe1743260554447b31b4adf.patch ++++++ >From 14a287fc1db2a44abfe1743260554447b31b4adf Mon Sep 17 00:00:00 2001 From: Jean Ghali <[email protected]> Date: Tue, 5 May 2026 22:29:32 +0000 Subject: [PATCH] #17808: Fix failure to build with poppler 26.05.0 git-svn-id: svn://scribus.net/trunk/Scribus@27545 11d20701-8431-0410-a711-e3c959e3b870 --- scribus/plugins/import/pdf/importpdfconfig.h | 4 ++++ scribus/plugins/import/pdf/slaoutput.cpp | 24 +++++++++++++++++--- 2 files changed, 25 insertions(+), 3 deletions(-) Index: scribus-1.6.6/scribus/plugins/import/pdf/importpdfconfig.h =================================================================== --- scribus-1.6.6.orig/scribus/plugins/import/pdf/importpdfconfig.h +++ scribus-1.6.6/scribus/plugins/import/pdf/importpdfconfig.h @@ -21,4 +21,8 @@ for which a new license (GPL+exception) #define POPPLER_CONST_25_02 #endif +#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(26, 5, 0) +using SplashCoord = double; +#endif + #endif Index: scribus-1.6.6/scribus/plugins/import/pdf/slaoutput.cpp =================================================================== --- scribus-1.6.6.orig/scribus/plugins/import/pdf/slaoutput.cpp +++ scribus-1.6.6/scribus/plugins/import/pdf/slaoutput.cpp @@ -3177,7 +3177,13 @@ void SlaOutputDev::updateFont(GfxState * // load the font file switch (fontType) { case fontType1: -#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(26, 2, 0) +#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(26, 5, 0) + if (!(fontFile = m_fontEngine->loadType1Font(std::move(id), std::move(fontsrc), static_cast<Gfx8BitFont*>(gfxFont)->getEncoding(), fontLoc->fontNum))) + { + error(errSyntaxError, -1, "Couldn't create a font for '{0:s}'", gfxFont->getName() ? gfxFont->getName()->c_str() : "(unnamed)"); + goto err2; + } +#elif POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(26, 2, 0) if (!(fontFile = m_fontEngine->loadType1Font(std::move(id), std::move(fontsrc), (const char**) ((Gfx8BitFont*) gfxFont)->getEncoding(), fontLoc->fontNum))) { error(errSyntaxError, -1, "Couldn't create a font for '{0:s}'", gfxFont->getName() ? gfxFont->getName()->c_str() : "(unnamed)"); @@ -3198,7 +3204,13 @@ void SlaOutputDev::updateFont(GfxState * #endif break; case fontType1C: -#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(26, 2, 0) +#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(26, 5, 0) + if (!(fontFile = m_fontEngine->loadType1CFont(std::move(id), std::move(fontsrc), static_cast<Gfx8BitFont*>(gfxFont)->getEncoding(), fontLoc->fontNum))) + { + error(errSyntaxError, -1, "Couldn't create a font for '{0:s}'", gfxFont->getName() ? gfxFont->getName()->c_str() : "(unnamed)"); + goto err2; + } +#elif POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(26, 2, 0) if (!(fontFile = m_fontEngine->loadType1CFont(std::move(id), std::move(fontsrc), (const char**) ((Gfx8BitFont*) gfxFont)->getEncoding(), fontLoc->fontNum))) { error(errSyntaxError, -1, "Couldn't create a font for '{0:s}'", gfxFont->getName() ? gfxFont->getName()->c_str() : "(unnamed)"); @@ -3219,7 +3231,13 @@ void SlaOutputDev::updateFont(GfxState * #endif break; case fontType1COT: -#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(26, 2, 0) +#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(26, 5, 0) + if (!(fontFile = m_fontEngine->loadOpenTypeT1CFont(std::move(id), std::move(fontsrc), static_cast<Gfx8BitFont*>(gfxFont)->getEncoding(), fontLoc->fontNum))) + { + error(errSyntaxError, -1, "Couldn't create a font for '{0:s}'", gfxFont->getName() ? gfxFont->getName()->c_str() : "(unnamed)"); + goto err2; + } +#elif POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(26, 2, 0) if (!(fontFile = m_fontEngine->loadOpenTypeT1CFont(std::move(id), std::move(fontsrc), (const char**) ((Gfx8BitFont*) gfxFont)->getEncoding(), fontLoc->fontNum))) { error(errSyntaxError, -1, "Couldn't create a font for '{0:s}'", gfxFont->getName() ? gfxFont->getName()->c_str() : "(unnamed)");
