Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gegl for openSUSE:Factory checked in 
at 2023-01-14 00:02:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gegl (Old)
 and      /work/SRC/openSUSE:Factory/.gegl.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gegl"

Sat Jan 14 00:02:06 2023 rev:69 rq:1057748 version:0.4.40

Changes:
--------
--- /work/SRC/openSUSE:Factory/gegl/gegl.changes        2022-11-24 
12:22:30.785024489 +0100
+++ /work/SRC/openSUSE:Factory/.gegl.new.32243/gegl.changes     2023-01-14 
00:02:07.365328215 +0100
@@ -1,0 +2,5 @@
+Wed Jan 11 09:05:00 UTC 2023 - Dominique Leuenberger <dims...@opensuse.org>
+
+- Add 133.patch: Fix build against libraw 0.21.0.
+
+-------------------------------------------------------------------

New:
----
  133.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gegl.spec ++++++
--- /var/tmp/diff_new_pack.sEFE1b/_old  2023-01-14 00:02:09.525340796 +0100
+++ /var/tmp/diff_new_pack.sEFE1b/_new  2023-01-14 00:02:09.529340820 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gegl
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -33,6 +33,8 @@
 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 dims...@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

++++++ 133.patch ++++++
>From 8e40c930de5317e4ba5e9cd135b6c510570e7edb Mon Sep 17 00:00:00 2001
From: Chris Mayo <aklh...@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

Reply via email to