!8 fix build with exiv2 0.27.5

From: @wk333
Reviewed-by: @small_leek
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2021-12-01 12:17:16 +00:00 committed by Gitee
commit 2e10f0fb3d
2 changed files with 28 additions and 1 deletions

View File

@ -0,0 +1,23 @@
Subject: [PATCH 1/1] fix build with exiv2 0.27.5
---
tools/exp_combine.cpp | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tools/exp_combine.cpp b/tools/exp_combine.cpp
index 6b772d3..0de77a0 100644
--- a/tools/exp_combine.cpp
+++ b/tools/exp_combine.cpp
@@ -8,8 +8,7 @@
#include <iostream>
-#include <exiv2/image.hpp>
-#include <exiv2/exif.hpp>
+#include <exiv2/exiv2.hpp>
using namespace std;
--
2.23.0

View File

@ -1,11 +1,12 @@
Name: gegl04
Version: 0.4.8
Release: 3
Release: 4
Summary: Generic Graphics Library
License: LGPLv3+
URL: http://www.gegl.org/
Source0: http://download.gimp.org/pub/gegl/0.4/gegl-%{version}.tar.bz2
Patch1: fix-build-with-exiv2-0.27.5.patch
BuildRequires: chrpath, enscript, gcc-c++, gettext-devel >= 0.19.8, gobject-introspection-devel >= 1.32.0, libspiro-devel, perl-interpreter
BuildRequires: ruby, SDL-devel >= 1.2.0, suitesparse-devel, vala-tools, pkgconfig(babl) >= 0.1.56, pkgconfig(cairo) >= 1.12.2, pkgconfig(exiv2) >= 0.25
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.32.0, pkgconfig(glib-2.0) >= 2.44.0, libjpeg-devel, pkgconfig(json-glib-1.0), pkgconfig(lcms2) >= 2.8
@ -84,6 +85,9 @@ chrpath -d $RPM_BUILD_ROOT%{_libdir}/gegl-0.4/*.so
%doc %{_datadir}/gtk-doc/
%changelog
* Wed Dec 01 2021 wangkai <wangkai385@huawei.com> - 0.4.8-4
- fix build with exiv2 0.27.5
* Thu Jan 23 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.4.8-3
- Type:bugfix
- Id:NA