diff --git a/SOURCES/gegl04-meson.patch b/SOURCES/gegl04-meson.patch new file mode 100644 index 0000000..1248158 --- /dev/null +++ b/SOURCES/gegl04-meson.patch @@ -0,0 +1,21 @@ +diff -up gegl-0.4.34/gegl/meson.build.orig gegl-0.4.34/gegl/meson.build +--- gegl-0.4.34/gegl/meson.build.orig 2022-11-04 14:51:55.429964084 +0100 ++++ gegl-0.4.34/gegl/meson.build 2022-11-04 14:52:57.611332244 +0100 +@@ -92,8 +92,7 @@ install_headers(gegl_headers, + gegl_ldflags = os_osx ? ['-framework', 'OpenCL'] : [] + + opencl_dep = declare_dependency( +- sources : [opencl_headers], +- link_with : [gegl_sources], ++ sources : [opencl_headers], + ) + + gegl_lib = library(api_name, +@@ -105,6 +104,7 @@ gegl_lib = library(api_name, + gio, + math, + gmodule, ++ opencl_dep, + ], + c_args: gegl_cflags, + link_args: gegl_ldflags, diff --git a/SPECS/gegl04.spec b/SPECS/gegl04.spec index d034196..0ff27d1 100644 --- a/SPECS/gegl04.spec +++ b/SPECS/gegl04.spec @@ -2,7 +2,7 @@ Name: gegl04 Version: 0.4.34 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Graph based image processing framework # The binary is under the GPL, while the libs are under LGPL. @@ -13,6 +13,8 @@ Source0: http://download.gimp.org/pub/gegl/%{apiver}/gegl-%{version}.tar. Patch0: gegl04-openexr.patch Patch1: gegl04-gtk.patch +# https://gitlab.gnome.org/GNOME/gegl/-/commit/54f760de6a0e14487ccfb033e270aa6a80ee66e2 +Patch2: gegl04-meson.patch BuildRequires: chrpath BuildRequires: enscript @@ -173,6 +175,10 @@ chrpath --delete %{buildroot}%{_libdir}/gegl-%{apiver}/*.so %changelog +* Fri Nov 04 2022 Tomas Popela - 0.4.34-2 +- Fix FTBFS for a possible Meson rebase +- Resolves: rhbz#2140107 + * Wed Feb 02 2022 Josef Ridky - 0.4.34-1 - New upstream release 0.4.34 (#2045018) - Fix CVE-2021-45463