Resolves: #2045018 - new upstream release 0.4.34

This commit is contained in:
Josef Řídký 2022-02-02 08:47:06 +01:00
parent 7d52124780
commit 37a2a71faf
5 changed files with 54 additions and 4 deletions

1
.gitignore vendored
View File

@ -10,3 +10,4 @@
/gegl-0.4.24.tar.xz
/gegl-0.4.26.tar.xz
/gegl-0.4.30.tar.xz
/gegl-0.4.34.tar.xz

30
gegl04-gtk.patch Normal file
View File

@ -0,0 +1,30 @@
From cf7e328c931a46997fbc4a40540afccd2da8f1e9 Mon Sep 17 00:00:00 2001
From: Simon McVittie <smcv@debian.org>
Date: Thu, 9 Sep 2021 13:00:36 +0100
Subject: [PATCH] docs: Don't scan ctx.h with gtk-doc
ctx.h contains both declarations and implementation, causing gtk-doc to
fail. It isn't part of GEGL's public API anyway, so don't try to
document it as such.
Signed-off-by: Simon McVittie <smcv@debian.org>
---
docs/reference/meson.build | 1 +
1 file changed, 1 insertion(+)
diff --git a/docs/reference/meson.build b/docs/reference/meson.build
index 8193a25ba..2348cec92 100644
--- a/docs/reference/meson.build
+++ b/docs/reference/meson.build
@@ -12,6 +12,7 @@ if gtkdoc_scan.found()
project_source_root / 'gegl',
project_build_root / 'gegl',
],
+ ignore_headers: ['ctx.h'],
fixxref_args: [
'--html-dir=@0@'.format(gegl_gtk_docdir),
'--extra-dir=@0@'.format(glib_gtk_docdir),
--
GitLab

12
gegl04-openexr.patch Normal file
View File

@ -0,0 +1,12 @@
Index: gegl-0.4.30/operations/external/exr-save.cc
===================================================================
--- gegl-0.4.30.orig/operations/external/exr-save.cc
+++ gegl-0.4.30/operations/external/exr-save.cc
@@ -39,6 +39,7 @@ extern "C" {
} /* extern "C" */
#include <exception>
+#include <ImfFrameBuffer.h>
#include <ImfTiledOutputFile.h>
#include <ImfOutputFile.h>
#include <ImfChannelList.h>

View File

@ -1,8 +1,8 @@
%global apiver 0.4
Name: gegl04
Version: 0.4.30
Release: 5%{?dist}
Version: 0.4.34
Release: 1%{?dist}
Summary: Graph based image processing framework
# The binary is under the GPL, while the libs are under LGPL.
@ -11,6 +11,9 @@ License: LGPLv3+
URL: http://www.gegl.org/
Source0: http://download.gimp.org/pub/gegl/%{apiver}/gegl-%{version}.tar.xz
Patch0: gegl04-openexr.patch
Patch1: gegl04-gtk.patch
BuildRequires: chrpath
BuildRequires: enscript
BuildRequires: gcc-c++
@ -116,7 +119,7 @@ GEGL library.
%build
%meson --auto-features=auto -Ddocs=true
%meson --auto-features=auto -Ddocs=true -Dgtk-doc=true
%meson_build
@ -170,6 +173,10 @@ chrpath --delete %{buildroot}%{_libdir}/gegl-%{apiver}/*.so
%changelog
* Wed Feb 02 2022 Josef Ridky <jridky@redhat.com> - 0.4.34-1
- New upstream release 0.4.34 (#2045018)
- Fix CVE-2021-45463
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.4.30-5
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688

View File

@ -1 +1 @@
SHA512 (gegl-0.4.30.tar.xz) = 73db2d18260ba061fbbc2adb3256ea9d5b822b57f5654cc3aefb59e7afeeb2e4f0fd7e95ac14603c0a549935df04d5744001089efb378511c914c68664dbd378
SHA512 (gegl-0.4.34.tar.xz) = 13bbc19c4fb1feee609d2191b09fe1d2f020da1be788f9dcf7ed89dfef8465ce77dc34a9cb74279c88336aa0f3d3a7a44ca35335a3c2374516f590a40edbc08e