rebuilt by autoport with build requirements: libpodofo-devel>=0.9.7-1mamba [release 1.5.6.1-2mamba;Sun Mar 07 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 17:41:00 +01:00
parent 750368f1f0
commit 57b22ccc0a
2 changed files with 33 additions and 6 deletions

View File

@ -0,0 +1,24 @@
From c6182ef92820b422d61c904e40e9fed865458eb5 Mon Sep 17 00:00:00 2001
From: Jean Ghali <jghali@libertysurf.fr>
Date: Tue, 12 Jan 2021 11:17:17 +0000
Subject: [PATCH] #16427: Fix build failure with podofo 0.9.7
git-svn-id: svn://scribus.net/trunk/Scribus@24392 11d20701-8431-0410-a711-e3c959e3b870
---
scribus/pdf_analyzer.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/scribus/pdf_analyzer.cpp b/scribus/pdf_analyzer.cpp
index 01c115e69b..8c9464297b 100644
--- a/scribus/pdf_analyzer.cpp
+++ b/scribus/pdf_analyzer.cpp
@@ -139,7 +139,9 @@ PDFColorSpace PDFAnalyzer::getCSType(PdfObject* cs)
{
pBase = cs->GetOwner()->GetObject(base.GetReference());
}
+#if (PODOFO_VERSION < PODOFO_MAKE_VERSION(0, 9, 7))
pBase->SetOwner(cs->GetOwner());
+#endif
return getCSType(pBase);
}
if (csTypeName == "Separation")

View File

@ -1,14 +1,15 @@
Name: scribus
Version: 1.5.6.1
Release: 1mamba
Release: 2mamba
Summary: Open Source Page Layout program
Group: Graphical Desktop/Applications/Graphics
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.scribus.net
URL: https://www.scribus.net
Source0: http://downloads.sourceforge.net/project/scribus/scribus-devel/%{version}/scribus-%{version}.tar.xz
Source1: scribus-mimelnk
Patch0: scribus-1.5.6.1-podofo-0.9.7.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -28,9 +29,8 @@ BuildRequires: libtiff-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: libpodofo-devel >= 0.9.5-1mamba
BuildRequires: libpodofo-devel >= 0.9.7-1mamba
BuildRequires: perl >= 5.8.0
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Scribus is an desktop open source page layout program with the aim of producing commerical grade output in PDF and Postscript, primarily, though not exclusively for Linux.
@ -44,13 +44,13 @@ Requires: %{name} = %{version}
%description devel
Scribus is an desktop open source page layout program with the aim of producing commerical grade output in PDF and Postscript, primarily, though not exclusively for Linux.
While the goals of the program are for ease of use and simple easy to understand tools, Scribus offers support for professional publishing features, such as CMYK colors, easy PDF creation, Encapsulated Postscript import/export and creation of color separations.
This package contains static libraries and header files need for development.
This package contains static libraries and header files needed for development.
%debug_package
%prep
%setup -q
%patch0 -p1
%build
%cmake_kde5 \
@ -118,6 +118,9 @@ This package contains static libraries and header files need for development.
%doc AUTHORS COPYING
%changelog
* Sun Mar 07 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.6.1-2mamba
- rebuilt by autoport with build requirements: libpodofo-devel>=0.9.7-1mamba
* Tue Nov 17 2020 Automatic Build System <autodist@mambasoft.it> 1.5.6.1-1mamba
- automatic version update by autodist