Fix FTBFS for a possible Meson rebase

Resolves: rhbz#2140107
This commit is contained in:
Tomas Popela 2022-11-04 15:16:28 +01:00
parent 37a2a71faf
commit b11b6e0b3d
2 changed files with 28 additions and 1 deletions

21
gegl04-meson.patch Normal file
View File

@ -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,

View File

@ -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 <tpopela@redhat.com> - 0.4.34-2
- Fix FTBFS for a possible Meson rebase
- Resolves: rhbz#2140107
* Wed Feb 02 2022 Josef Ridky <jridky@redhat.com> - 0.4.34-1
- New upstream release 0.4.34 (#2045018)
- Fix CVE-2021-45463