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
This commit is contained in:
Christophe Giboudeaux 2021-07-19 08:56:43 +00:00 committed by Git OBS Bridge
parent 2957186ff0
commit 4912530eb9
4 changed files with 10 additions and 39 deletions

View File

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

View File

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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:942537487ea722141230579db3cd4331368429c0e33cb38fee1b17aae9557f16
size 7401418

3
gmic_2.9.8.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:18d6bbc731ae3b4da8a656ac189476793b111a9dd19f72db2312f074df7cdc82
size 7311372