public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/scribus] epel9: 1.6.4
@ 2026-11-04 21:42 Gwyn Ciesla
  0 siblings, 0 replies; only message in thread
From: Gwyn Ciesla @ 2026-11-04 21:42 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/scribus
Branch : epel9
Commit : 703ed9d00c16bd5ba158b31a91ec5c60e369b9b9
Author : Gwyn Ciesla <gwync@protonmail.com>
Date   : 2025-08-13T15:15:35-05:00
Stats  : +5/-172 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/scribus/c/703ed9d00c16bd5ba158b31a91ec5c60e369b9b9?branch=epel9

Log:
1.6.4

---
diff --git a/.gitignore b/.gitignore
index a0b1525..d85d151 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,3 +17,4 @@ scribus-1.3.8.tar.bz2
 /scribus-1.6.0-free.tar.xz
 /scribus-1.6.1-free.tar.xz
 /scribus-1.6.3-free.tar.xz
+/scribus-1.6.4-free.tar.xz

diff --git a/scribus-1.6.3-poppler-25.02.0.patch b/scribus-1.6.3-poppler-25.02.0.patch
deleted file mode 100644
index 64af51e..0000000
--- a/scribus-1.6.3-poppler-25.02.0.patch
+++ /dev/null
@@ -1,167 +0,0 @@
-From 188d030acd0cb71e89dbb57695fe52158b6a0959 Mon Sep 17 00:00:00 2001
-From: Jean Ghali <jghali@libertysurf.fr>
-Date: Tue, 4 Feb 2025 19:29:16 +0000
-Subject: #17405: Fix build error with poppler 25.02.0
-
-git-svn-id: svn://scribus.net/trunk/Scribus@26666 11d20701-8431-0410-a711-e3c959e3b870
-
---- scribus-1.6.3/scribus/plugins/import/pdf/importpdfconfig.h
-+++ scribus-1.6.3/scribus/plugins/import/pdf/importpdfconfig.h
-@@ -27,4 +27,10 @@ for which a new license (GPL+exception)
- #define POPPLER_CONST_083
- #endif
- 
-+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(25, 2, 0)
-+#define POPPLER_CONST_25_02 const
-+#else
-+#define POPPLER_CONST_25_02
-+#endif
-+
- #endif
---- scribus-1.6.3/scribus/plugins/import/pdf/importpdf.cpp
-+++ scribus-1.6.3/scribus/plugins/import/pdf/importpdf.cpp
-@@ -462,11 +462,11 @@ bool PdfPlug::convert(const QString& fn)
- 
- 			if (dev->isOk())
- 			{
--				OCGs* ocg = pdfDoc->getOptContentConfig();
-+				POPPLER_CONST_25_02 OCGs* ocg = pdfDoc->getOptContentConfig();
- 				if (ocg && ocg->hasOCGs())
- 				{
- 					QStringList ocgNames;
--					Array *order = ocg->getOrderArray();
-+					POPPLER_CONST_25_02 Array *order = ocg->getOrderArray();
- 					if (order)
- 					{
- 						for (int i = 0; i < order->getLength (); ++i)
---- scribus-1.6.3/scribus/plugins/import/pdf/slaoutput.cpp
-+++ scribus-1.6.3/scribus/plugins/import/pdf/slaoutput.cpp
-@@ -2932,7 +2932,7 @@ void SlaOutputDev::beginMarkedContent(co
- 	{
- 		if (dictRef->isNull())
- 			return;
--		OCGs *contentConfig = m_catalog->getOptContentConfig();
-+		POPPLER_CONST_25_02 OCGs *contentConfig = m_catalog->getOptContentConfig();
- 		OptionalContentGroup *oc;
- 		if (dictRef->isRef())
- 		{
-@@ -3084,7 +3084,11 @@ void SlaOutputDev::updateFont(GfxState *
- #if POPPLER_ENCODED_VERSION < POPPLER_VERSION_ENCODE(22, 4, 0)
- 	int tmpBufLen = 0;
- #endif
-+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(25, 2, 0)
-+	std::vector<int> codeToGID;
-+#else
- 	int *codeToGID = nullptr;
-+#endif
- 	const double *textMat = nullptr;
- 	double m11, m12, m21, m22, fontSize;
- 	SplashCoord mat[4] = { 1.0, 0.0, 0.0, 1.0 };
-@@ -3244,10 +3248,20 @@ void SlaOutputDev::updateFont(GfxState *
- 			}
- 			else
- 			{
-+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(25, 2, 0)
-+				codeToGID.clear();
-+#else
- 				codeToGID = nullptr;
-+#endif
- 				n = 0;
- 			}
--#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(24, 11, 0)
-+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(25, 2, 0)
-+			if (!(fontFile = m_fontEngine->loadTrueTypeFont(std::move(id), fontsrc, std::move(codeToGID), 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(24, 11, 0)
- 			if (!(fontFile = m_fontEngine->loadTrueTypeFont(std::move(id), fontsrc, codeToGID, n, fontLoc->fontNum)))
- 			{
- 				error(errSyntaxError, -1, "Couldn't create a font for '{0:s}'", gfxFont->getName() ? gfxFont->getName()->c_str() : "(unnamed)");
-@@ -3278,6 +3292,18 @@ void SlaOutputDev::updateFont(GfxState *
- #endif
- 			break;
- 		case fontCIDType0COT:
-+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(25, 2, 0)
-+			if (((GfxCIDFont*) gfxFont)->getCIDToGIDLen() > 0)
-+			{
-+				codeToGID = ((GfxCIDFont*) gfxFont)->getCIDToGID();
-+				n = codeToGID.size();
-+			}
-+			else
-+			{
-+				codeToGID.clear();
-+				n = 0;
-+			}
-+#else
- 			if (((GfxCIDFont *) gfxFont)->getCIDToGID())
- 			{
- 				n = ((GfxCIDFont *) gfxFont)->getCIDToGIDLen();
-@@ -3289,7 +3315,15 @@ void SlaOutputDev::updateFont(GfxState *
- 				codeToGID = nullptr;
- 				n = 0;
- 			}
--#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(24, 11, 0)
-+#endif
-+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(25, 2, 0)
-+			if (!(fontFile = m_fontEngine->loadOpenTypeCFFFont(std::move(id), fontsrc, std::move(codeToGID), 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(24, 11, 0)
- 			if (!(fontFile = m_fontEngine->loadOpenTypeCFFFont(std::move(id), fontsrc, codeToGID, n, fontLoc->fontNum)))
- 			{
- 				error(errSyntaxError, -1, "Couldn't create a font for '{0:s}'",
-@@ -3307,6 +3341,15 @@ void SlaOutputDev::updateFont(GfxState *
- 			break;
- 		case fontCIDType2:
- 		case fontCIDType2OT:
-+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(25, 2, 0)
-+			codeToGID.clear();
-+			n = 0;
-+			if (((GfxCIDFont*) gfxFont)->getCIDToGIDLen() > 0)
-+			{
-+				codeToGID = ((GfxCIDFont*) gfxFont)->getCIDToGID();
-+				n = codeToGID.size();
-+			}
-+#else
- 			codeToGID = nullptr;
- 			n = 0;
- 			if (((GfxCIDFont *) gfxFont)->getCIDToGID())
-@@ -3318,6 +3361,7 @@ void SlaOutputDev::updateFont(GfxState *
- 					memcpy(codeToGID, ((GfxCIDFont *)gfxFont)->getCIDToGID(), n * sizeof(*codeToGID));
- 				}
- 			}
-+#endif
- 			else
- 			{
- #if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(24, 11, 0)
-@@ -3339,14 +3383,24 @@ void SlaOutputDev::updateFont(GfxState *
- 				if (! ff)
- 					goto err2;
- #if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(22, 2, 0)
-+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(25, 2, 0)
-+				codeToGID = ((GfxCIDFont*) gfxFont)->getCodeToGIDMap(ff.get());
-+#else
- 				codeToGID = ((GfxCIDFont*) gfxFont)->getCodeToGIDMap(ff.get(), &n);
-+#endif
- 				ff.reset();
- #else
- 				codeToGID = ((GfxCIDFont *)gfxFont)->getCodeToGIDMap(ff, &n);
- 				delete ff;
- #endif
- 			}
--#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(24, 11, 0)
-+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(25, 2, 0)
-+			if (!(fontFile = m_fontEngine->loadTrueTypeFont(std::move(id), fontsrc, std::move(codeToGID), 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(24, 11, 0)
- 			if (!(fontFile = m_fontEngine->loadTrueTypeFont(std::move(id), fontsrc, codeToGID, n, fontLoc->fontNum)))
- 			{
- 				error(errSyntaxError, -1, "Couldn't create a font for '{0:s}'", gfxFont->getName() ? gfxFont->getName()->c_str() : "(unnamed)");

diff --git a/scribus.spec b/scribus.spec
index 9e3f450..5605d15 100644
--- a/scribus.spec
+++ b/scribus.spec
@@ -1,5 +1,5 @@
 Name:           scribus
-Version:        1.6.3
+Version:        1.6.4
 Release:        %autorelease
 Summary:        Desktop Publishing application written in Qt
 # swatches bring in the fun licenses
@@ -14,9 +14,8 @@ Source0:        %{name}-%{version}-free.tar.xz
 #Source0:        http://downloads.sourceforge.net/%%{name}/%%{name}-%%{version}.tar.xz
 #Source1:        http://downloads.sourceforge.net/%%{name}/%%{name}-%%{version}.tar.xz.asc
 
-Patch0:         scribus-1.6.3-poppler-25.02.0.patch
-Patch1:         scribus-1.6.3-poppler-25.06.0.patch
-Patch2:         scribus-1.6.3-poppler-25.07.0.patch
+Patch0:         scribus-1.6.3-poppler-25.06.0.patch
+Patch1:         scribus-1.6.3-poppler-25.07.0.patch
 
 BuildRequires:  boost-devel
 BuildRequires:  cmake

diff --git a/sources b/sources
index d97e813..623b22e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (scribus-1.6.3-free.tar.xz) = 6bdd4509542481fb2ac720fe8116e044380b94450bf945e2d1fc1ee79bcb5752d8653c90280191fb2aa1dab11b063b2af286369874ce2578f5169d686ef220bb
+SHA512 (scribus-1.6.4-free.tar.xz) = 5186b9244b27d2b3a5aaa2a1f21beacc9a2aa90add0d3111f8b83b1fa376544049e9b57caf9f6a4749a463398cc2f4aeb69fca6f2d153d4571cea02dce97b9d1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-04 21:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-04 21:42 [rpms/scribus] epel9: 1.6.4 Gwyn Ciesla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox