Accepting request 1068633 from home:iznogood:branches:graphics

- Update to version 0.4.42:
  + Operations:
    - raw-load: add conditional support for 0.21.0 API.
    - rgb-clib: improved ui-ranges.
    - perlin, mosiac, c2g, long-shadow: small cleanups.
    - gif-load: update vendored dependency, including code updates.
  + Build: Keeping up with babl.
- Drop 133.patch: Fixed upstream.
- Replace pkgconfig(babl) with pkgconfig(babl-0.1) BuildRequires:
  following upstream changes.

OBS-URL: https://build.opensuse.org/request/show/1068633
OBS-URL: https://build.opensuse.org/package/show/graphics/gegl?expand=0&rev=136
This commit is contained in:
Bjørn Lie 2023-03-02 08:46:31 +00:00 committed by Git OBS Bridge
parent 63767946f8
commit 6d15c8b206
5 changed files with 20 additions and 37 deletions

View File

@ -1,30 +0,0 @@
From 8e40c930de5317e4ba5e9cd135b6c510570e7edb Mon Sep 17 00:00:00 2001
From: Chris Mayo <aklhfex@gmail.com>
Date: Wed, 21 Dec 2022 19:32:02 +0000
Subject: [PATCH] raw-load: make compatible with LibRaw 0.21.0
imgdata.params.shot_select moved to imgdata.rawparams.shot_select
https://github.com/LibRaw/LibRaw/blob/979160ff13/Changelog.txt#L182
---
operations/external/raw-load.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/operations/external/raw-load.c b/operations/external/raw-load.c
index 13eb661c2..7de2e232d 100644
--- a/operations/external/raw-load.c
+++ b/operations/external/raw-load.c
@@ -114,7 +114,11 @@ prepare (GeglOperation *operation)
g_warning ("raw-load: Error Initializing raw library");
else
{
+#if LIBRAW_COMPILE_CHECK_VERSION_NOTLESS(0, 21)
+ p->LibRaw->rawparams.shot_select = o->image_num;
+#else
p->LibRaw->params.shot_select = o->image_num;
+#endif
p->LibRaw->params.aber[0] = 1.0;
p->LibRaw->params.aber[2] = 1.0;
--
GitLab

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cdde80d15a49dab9a614ef98f804c8ce6e4cfe1339a3c240c34f3fb45436b85d
size 5784744

3
gegl-0.4.42.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:aba83a0cbaa6c56edc29ea22f2e8172950a53b96daa51592083d59222bdde02d
size 5787100

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Thu Mar 2 08:27:48 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 0.4.42:
+ Operations:
- raw-load: add conditional support for 0.21.0 API.
- rgb-clib: improved ui-ranges.
- perlin, mosiac, c2g, long-shadow: small cleanups.
- gif-load: update vendored dependency, including code updates.
+ Build: Keeping up with babl.
- Drop 133.patch: Fixed upstream.
- Replace pkgconfig(babl) with pkgconfig(babl-0.1) BuildRequires:
following upstream changes.
-------------------------------------------------------------------
Wed Jan 11 09:05:00 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -26,16 +26,15 @@
%bcond_with gegl_docs
Name: gegl
Version: 0.4.40
Version: 0.4.42
Release: 0
Summary: Generic Graphics Library
License: GPL-3.0-or-later AND LGPL-3.0-or-later
Group: Productivity/Graphics/Other
URL: http://gegl.org/
Source0: https://download.gimp.org/pub/gegl/0.4/%{name}-%{version}.tar.xz
# PATCH-FIX-UPSTREAM 133.patch dimstar@opensuse.org -- Fix build against libraw 0.21.0
Patch0: https://gitlab.gnome.org/GNOME/gegl/-/merge_requests/133.patch
Source99: baselibs.conf
BuildRequires: ImageMagick
BuildRequires: asciidoc
BuildRequires: gcc-c++
@ -50,7 +49,7 @@ BuildRequires: pkgconfig
BuildRequires: ruby
BuildRequires: suitesparse-devel
BuildRequires: pkgconfig(OpenEXR) >= 1.6.1
BuildRequires: pkgconfig(babl) >= 0.1.90
BuildRequires: pkgconfig(babl-0.1)
BuildRequires: pkgconfig(cairo) >= 1.12.2
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.32.0
BuildRequires: pkgconfig(gexiv2)