[arch-commits] Commit in gegl/trunk (PKGBUILD gegl-openexr3.patch)

Antonio Rojas arojas at archlinux.org
Sat Apr 24 10:51:55 UTC 2021


    Date: Saturday, April 24, 2021 @ 10:51:55
  Author: arojas
Revision: 413826

openexr 3.0 rebuild

Added:
  gegl/trunk/gegl-openexr3.patch
Modified:
  gegl/trunk/PKGBUILD

---------------------+
 PKGBUILD            |   10 +++++++---
 gegl-openexr3.patch |   12 ++++++++++++
 2 files changed, 19 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-04-24 10:41:26 UTC (rev 413825)
+++ PKGBUILD	2021-04-24 10:51:55 UTC (rev 413826)
@@ -2,7 +2,7 @@
 
 pkgname=gegl
 pkgver=0.4.30
-pkgrel=1
+pkgrel=2
 pkgdesc="Graph based image processing framework"
 arch=('x86_64')
 url="https://www.gegl.org/"
@@ -11,8 +11,10 @@
 makedepends=('intltool' 'ruby' 'mesa' 'glu' 'ffmpeg' 'exiv2' 'vala' 'gobject-introspection' 'git' 'meson' 'python-gobject')
 optdepends=('ffmpeg: ffmpeg plugin' 'graphviz: for gegl-introspect')
 _commit=5ea11ee00d9061ca2cd61f83ece25dfcfe0e9596
-source=("git+https://gitlab.gnome.org/GNOME/gegl.git#commit=$_commit")
-sha256sums=('SKIP')
+source=("git+https://gitlab.gnome.org/GNOME/gegl.git#commit=$_commit"
+        gegl-openexr3.patch)
+sha256sums=('SKIP'
+            '49f0870650d2c412d66e7479e2c516f3a3903a801db1c221cf262de77d45b3dd')
 
 pkgver() {
   cd $pkgname
@@ -22,6 +24,8 @@
 prepare() {
   cd ${pkgname}
   git cherry-pick -n c1c3541caab485384087bbbcf1c83ef2d5bd4d43
+
+  patch -p1 < ../gegl-openexr3.patch # Fix build with OpenEXR 3
 }
 
 build() {

Added: gegl-openexr3.patch
===================================================================
--- gegl-openexr3.patch	                        (rev 0)
+++ gegl-openexr3.patch	2021-04-24 10:51:55 UTC (rev 413826)
@@ -0,0 +1,12 @@
+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"
+ 
+ 



More information about the arch-commits mailing list