]> git.pld-linux.org Git - packages/gegl.git/commitdiff
- fix build with OpenEXR 3, rel 5 auto/th/gegl-0.4.30-5
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 13 Feb 2022 18:09:25 +0000 (19:09 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 13 Feb 2022 18:09:25 +0000 (19:09 +0100)
gegl.spec
openexr3.patch [new file with mode: 0644]

index 9c30b1ae5d0f08ba4693b6eb7496daadde06264f..c05a37efef298e3b7560480d1bbb73120a64f40e 100644 (file)
--- 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 (file)
index 0000000..f36a61c
--- /dev/null
@@ -0,0 +1,25 @@
+From 499a239d158fadb3a04499255b5b282a8a6023bb Mon Sep 17 00:00:00 2001
+From: Antonio Rojas <arojas@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
+
This page took 0.038262 seconds and 4 git commands to generate.