Accepting request 1068662 from 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.
- Add boolean pkgconfig(babl-0.1) BuildRequires following upstream
  changes.

OBS-URL: https://build.opensuse.org/request/show/1068662
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gegl?expand=0&rev=70
This commit is contained in:
Dominique Leuenberger 2023-03-05 19:07:59 +00:00 committed by Git OBS Bridge
commit a5f46518d5
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.
- Add boolean pkgconfig(babl-0.1) BuildRequires following upstream
changes.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jan 11 09:05:00 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org> Wed Jan 11 09:05:00 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -26,16 +26,15 @@
%bcond_with gegl_docs %bcond_with gegl_docs
Name: gegl Name: gegl
Version: 0.4.40 Version: 0.4.42
Release: 0 Release: 0
Summary: Generic Graphics Library Summary: Generic Graphics Library
License: GPL-3.0-or-later AND LGPL-3.0-or-later License: GPL-3.0-or-later AND LGPL-3.0-or-later
Group: Productivity/Graphics/Other 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
# 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 Source99: baselibs.conf
BuildRequires: ImageMagick BuildRequires: ImageMagick
BuildRequires: asciidoc BuildRequires: asciidoc
BuildRequires: gcc-c++ BuildRequires: gcc-c++
@ -50,7 +49,7 @@ BuildRequires: pkgconfig
BuildRequires: ruby BuildRequires: ruby
BuildRequires: suitesparse-devel BuildRequires: suitesparse-devel
BuildRequires: pkgconfig(OpenEXR) >= 1.6.1 BuildRequires: pkgconfig(OpenEXR) >= 1.6.1
BuildRequires: pkgconfig(babl) >= 0.1.90 BuildRequires: (pkgconfig(babl) or pkgconfig(babl-0.1))
BuildRequires: pkgconfig(cairo) >= 1.12.2 BuildRequires: pkgconfig(cairo) >= 1.12.2
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.32.0 BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.32.0
BuildRequires: pkgconfig(gexiv2) BuildRequires: pkgconfig(gexiv2)