Accepting request 885331 from home:pgajdos:openexr3

- added patches
  fix https://gitlab.gnome.org/GNOME/gegl/-/issues/284
  + gegl-openexr3.patch

OBS-URL: https://build.opensuse.org/request/show/885331
OBS-URL: https://build.opensuse.org/package/show/graphics/gegl?expand=0&rev=110
This commit is contained in:
Dominique Leuenberger 2021-04-15 13:16:59 +00:00 committed by Git OBS Bridge
parent fb95dc9b41
commit 47f76bf291
3 changed files with 34 additions and 1 deletions

24
gegl-openexr3.patch Normal file
View File

@ -0,0 +1,24 @@
Index: gegl-0.4.30/operations/external/exr-load.cpp
===================================================================
--- gegl-0.4.30.orig/operations/external/exr-load.cpp 2021-03-27 20:13:57.953967000 +0100
+++ gegl-0.4.30/operations/external/exr-load.cpp 2021-04-14 12:59:45.356157579 +0200
@@ -31,6 +31,7 @@ property_file_path (path, "File", "")
#include "gegl-op.h"
+#include <ImfFrameBuffer.h>
#include <ImfInputFile.h>
#include <ImfChannelList.h>
#include <ImfRgbaFile.h>
Index: gegl-0.4.30/operations/external/exr-save.cc
===================================================================
--- gegl-0.4.30.orig/operations/external/exr-save.cc 2021-03-27 20:13:57.953967000 +0100
+++ gegl-0.4.30/operations/external/exr-save.cc 2021-04-14 13:00:22.140377503 +0200
@@ -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,3 +1,10 @@
-------------------------------------------------------------------
Wed Apr 14 11:44:17 UTC 2021 - pgajdos@suse.com
- added patches
fix https://gitlab.gnome.org/GNOME/gegl/-/issues/284
+ gegl-openexr3.patch
-------------------------------------------------------------------
Mon Mar 29 13:12:47 UTC 2021 - Paolo Stivanin <info@paolostivanin.com>

View File

@ -31,6 +31,8 @@ Group: Productivity/Graphics/Other
URL: http://gegl.org/
Source0: https://download.gimp.org/pub/gegl/0.4/%{name}-%{version}.tar.xz
Source99: baselibs.conf
# https://gitlab.gnome.org/GNOME/gegl/-/issues/284
Patch0: gegl-openexr3.patch
BuildRequires: ImageMagick
BuildRequires: asciidoc
BuildRequires: gcc-c++
@ -152,7 +154,7 @@ input and output.
%lang_package -n %{name}-0_4
%prep
%autosetup
%autosetup -p1
%build
%ifarch aarch64