Accepting request 885652 from graphics

OBS-URL: https://build.opensuse.org/request/show/885652
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gegl?expand=0&rev=59
This commit is contained in:
Dominique Leuenberger 2021-04-18 19:44:58 +00:00 committed by Git OBS Bridge
commit 085e71d5ca
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> 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/ URL: http://gegl.org/
Source0: https://download.gimp.org/pub/gegl/0.4/%{name}-%{version}.tar.xz Source0: https://download.gimp.org/pub/gegl/0.4/%{name}-%{version}.tar.xz
Source99: baselibs.conf Source99: baselibs.conf
# https://gitlab.gnome.org/GNOME/gegl/-/issues/284
Patch0: gegl-openexr3.patch
BuildRequires: ImageMagick BuildRequires: ImageMagick
BuildRequires: asciidoc BuildRequires: asciidoc
BuildRequires: gcc-c++ BuildRequires: gcc-c++
@ -152,7 +154,7 @@ input and output.
%lang_package -n %{name}-0_4 %lang_package -n %{name}-0_4
%prep %prep
%autosetup %autosetup -p1
%build %build
%ifarch aarch64 %ifarch aarch64