[packages/gegl] - fix build with OpenEXR 3, rel 5

baggins baggins at pld-linux.org
Sun Feb 13 19:09:43 CET 2022


commit 2c5c6d9f0df0f97579a6cc6a4feddf74901005ee
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Feb 13 19:09:25 2022 +0100

    - fix build with OpenEXR 3, rel 5

 gegl.spec      |  4 +++-
 openexr3.patch | 25 +++++++++++++++++++++++++
 2 files changed, 28 insertions(+), 1 deletion(-)
---
diff --git a/gegl.spec b/gegl.spec
index 9c30b1a..c05a37e 100644
--- a/gegl.spec
+++ b/gegl.spec
@@ -21,7 +21,7 @@ Summary:	Generic image processing library
 Summary(pl.UTF-8):	Ogólna biblioteka przetwarzania obrazu
 Name:		gegl
 Version:	0.4.30
-Release:	4
+Release:	5
 License:	LGPL v3+/GPL v3+
 Group:		Libraries
 Source0:	https://download.gimp.org/pub/gegl/0.4/%{name}-%{version}.tar.xz
@@ -31,6 +31,7 @@ Patch2:		%{name}-build.patch
 Patch3:		umfpack.patch
 Patch4:		%{name}-link.patch
 Patch5:		%{name}-no-lua.patch
+Patch6:		openexr3.patch
 URL:		https://www.gegl.org/
 BuildRequires:	OpenEXR-devel >= 1.6.1
 BuildRequires:	SDL2-devel >= 2.0.5
@@ -192,6 +193,7 @@ API języka Vala dla biblioteki gegl.
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 
 %build
 CPPFLAGS="%{rpmcppflags} -I/usr/include/umfpack"
diff --git a/openexr3.patch b/openexr3.patch
new file mode 100644
index 0000000..f36a61c
--- /dev/null
+++ b/openexr3.patch
@@ -0,0 +1,25 @@
+From 499a239d158fadb3a04499255b5b282a8a6023bb Mon Sep 17 00:00:00 2001
+From: Antonio Rojas <arojas at archlinux.org>
+Date: Sat, 24 Apr 2021 10:51:09 +0000
+Subject: [PATCH] Fix build with OpenEXR 3
+
+Add a header that is no longer transitively included
+---
+ operations/external/exr-save.cc | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/operations/external/exr-save.cc b/operations/external/exr-save.cc
+index 1e8c09d96..87abed511 100644
+--- a/operations/external/exr-save.cc
++++ b/operations/external/exr-save.cc
+@@ -45,6 +45,7 @@ extern "C" {
+ #include <ImfChromaticities.h>
+ #include <ImfStandardAttributes.h>
+ #include <ImfArray.h>
++#include <ImfFrameBuffer.h>
+ #include "ImathRandom.h"
+ 
+ 
+-- 
+GitLab
+
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gegl.git/commitdiff/2c5c6d9f0df0f97579a6cc6a4feddf74901005ee



More information about the pld-cvs-commit mailing list