Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37731363
en ru br
Репозитории ALT
5.1: 2.9-alt3
4.1: 2.8-alt1
www.altlinux.org/Changes

Группа :: Графика
Пакет: greycstoration

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define gimpplugindir %(gimptool-2.0 --gimpplugindir)

Name: greycstoration
Version: 2.9
Release: alt3

Packager: Victor Forsyuk <force at altlinux.org>

Summary: GREYcstoration - tool for image denoising and interpolation
License: CeCILL
Group: Graphics

Url: http://cimg.sourceforge.net/greycstoration/
Source: http://downloads.sourceforge.net/cimg/GREYCstoration-%version.zip

# Automatically added by buildreq on Tue Nov 25 2008

BuildRequires: gcc-c++ libXext-devel libXrandr-devel libfftw3-devel libgimp-devel libjpeg-devel libtiff-devel unzip

%description
GREYCstoration is an open source image regularization algorithm which processes
an image by locally removing small variations of pixel intensities while
preserving significant global image features, such as sharp edges and corners.
The most direct application of image regularization is image denoising. By
extension, it can also be used to inpaint or resize images.

%package -n gimp-plugin-greycstoration
Summary: Image denoising and interpolation plugin for GIMP
Group: Graphics
Obsoletes: gimp2-plugin-greystoration < %version-%release
Provides: gimp2-plugin-greystoration = %version-%release
Requires: gimp

%description -n gimp-plugin-greycstoration
GREYCstoration is an open source image regularization algorithm which processes
an image by locally removing small variations of pixel intensities while
preserving significant global image features, such as sharp edges and corners.
The most direct application of image regularization is image denoising. By
extension, it can also be used to inpaint or resize images.

%prep
%setup -n GREYCstoration-%version

%build
# Fix wrong include
%__subst 's|../CImg.h|CImg.h|' src/greycstoration.cpp

%make -C src CC="g++ %optflags -fno-tree-pre -Dcimg_use_jpeg -ljpeg -Dcimg_use_tiff -ltiff -Dcimg_use_fftw3 -lfftw3" olinux

%install
install -pD -m755 src/greycstoration %buildroot%_bindir/greycstoration
install -pD -m755 src/greycstoration4gimp %buildroot%gimpplugindir/plug-ins/greycstoration

%files
%doc Licence_CeCILL_V2-en.txt
%_bindir/*

%files -n gimp-plugin-greycstoration
%doc Licence_CeCILL_V2-en.txt
%gimpplugindir/plug-ins/*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin