From 4912530eb9de62819be1e9f27cecc26374450838b2c2719232e5219077c5cbb9 Mon Sep 17 00:00:00 2001
From: Christophe Giboudeaux <christophe@krop.fr>
Date: Mon, 19 Jul 2021 08:56:43 +0000
Subject: [PATCH] Accepting request 907089 from home:cgiboudeaux:graphics

- Update to 2.9.8. No changelog.

OBS-URL: https://build.opensuse.org/request/show/907089
OBS-URL: https://build.opensuse.org/package/show/graphics/gmic?expand=0&rev=61
---
 gmic.changes      |  5 +++++
 gmic.spec         | 38 ++------------------------------------
 gmic_2.9.7.tar.gz |  3 ---
 gmic_2.9.8.tar.gz |  3 +++
 4 files changed, 10 insertions(+), 39 deletions(-)
 delete mode 100644 gmic_2.9.7.tar.gz
 create mode 100644 gmic_2.9.8.tar.gz

diff --git a/gmic.changes b/gmic.changes
index c584777..db315ec 100644
--- a/gmic.changes
+++ b/gmic.changes
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Mon Jul 19 08:23:07 UTC 2021 - Christophe Giboudeaux <christophe@krop.fr>
+
+- Update to 2.9.8. No changelog.
+
 -------------------------------------------------------------------
 Mon Apr 12 09:49:02 UTC 2021 - Christophe Giboudeaux <christophe@krop.fr>
 
diff --git a/gmic.spec b/gmic.spec
index d68e52f..d6add0e 100644
--- a/gmic.spec
+++ b/gmic.spec
@@ -27,7 +27,7 @@
 
 %global _gimpplugindir %(gimptool-2.0 --gimpplugindir)/plug-ins
 Name:           gmic
-Version:        2.9.7
+Version:        2.9.8
 Release:        0
 Summary:        GREYC's Magick for Image Computing (denoise and others)
 # gmic-qt is GPL-3.0-or-later, zart is CECILL-2.0, libgmic and cli program are
@@ -59,7 +59,7 @@ BuildRequires:  pkgconfig(libtiff-4)
 BuildRequires:  pkgconfig(zlib)
 # gmic first looks for opencv 4 and falls back to opencv 3 if not found.
 # opencv 4 in not available in leap <= 15.3
-%if 0%{?suse_version} <= 1500 
+%if 0%{?suse_version} <= 1500
 BuildRequires:  pkgconfig(opencv)
 %else
 # ppc64 doesn't have opencv4
@@ -118,17 +118,6 @@ Requires:       krita
 %description -n  krita-plugin-gmic
 This is a plugin for krita to provide gmic features.
 
-%package zart
-Summary:        GMIC GUI for video streams
-License:        CECILL-2.0
-Group:          Productivity/Graphics/Bitmap Editors
-
-%description zart
-ZArt is a computer program whose purpose is to demonstrate the possibilities of
-the G'MIC image processing language by offering the choice of several
-manipulations on a video stream acquired from a webcam. In other words, ZArt is
-a GUI for G'MIC real-time manipulations on the output of a webcam.
-
 %package bash-completion
 Summary:        Bash completion for gmic
 License:        CECILL-2.1
@@ -142,9 +131,6 @@ This package contain de bash completion command for gmic.
 %prep
 %autosetup -p1
 
-# Generated file that should not be there
-rm -f zart/.qmake.stash
-
 %build
 # Build gmic
 %cmake \
@@ -154,9 +140,6 @@ rm -f zart/.qmake.stash
 
 cd ..
 
-# Create link for zart dynamic linking
-ln -s ../build/libgmic.so src/libgmic.so
-
 # Build gmic{_gimp|_krita}_qt
 pushd gmic-qt
 %cmake \
@@ -187,15 +170,6 @@ cd ..
 cd ..
 popd
 
-# Build zart
-pushd zart
-%qmake5 zart.pro \
-   CONFIG+=release \
-   GMIC_DYNAMIC_LINKING=on \
-   GMIC_PATH=%{_builddir}/%{name}-%{version}/src
-%make_jobs
-popd
-
 %install
 %cmake_install
 
@@ -219,11 +193,6 @@ install -d -m 0755 %{buildroot}%{_gimpplugindir}
 install -m 0755 build/gmic_gimp_qt %{buildroot}%{_gimpplugindir}/gmic_gimp_qt
 popd
 
-# zart
-pushd zart
-install -m 0755 zart %{buildroot}%{_bindir}/zart
-popd
-
 %post -n libgmic1 -p /sbin/ldconfig
 %postun -n libgmic1 -p /sbin/ldconfig
 
@@ -236,9 +205,6 @@ popd
 %{_datadir}/applications/gmic_qt.desktop
 %{_datadir}/pixmaps/gmic_qt.png
 
-%files zart
-%{_bindir}/zart
-
 %files -n gimp-plugin-gmic
 %license COPYING
 %{_gimpplugindir}/gmic_gimp_qt
diff --git a/gmic_2.9.7.tar.gz b/gmic_2.9.7.tar.gz
deleted file mode 100644
index b249c30..0000000
--- a/gmic_2.9.7.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:942537487ea722141230579db3cd4331368429c0e33cb38fee1b17aae9557f16
-size 7401418
diff --git a/gmic_2.9.8.tar.gz b/gmic_2.9.8.tar.gz
new file mode 100644
index 0000000..897ac1d
--- /dev/null
+++ b/gmic_2.9.8.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:18d6bbc731ae3b4da8a656ac189476793b111a9dd19f72db2312f074df7cdc82
+size 7311372