2014-03-11 08:11:50 +01:00
#
# spec file for package gmic
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Accepting request 315257 from home:garloff:branches:graphics
- Fix build of gmic with older 2.6 GIMP (SLE11).
- Update to gmic-1.6.5.0:
* https://www.flickr.com/groups/gmic/discuss/72157653514140862/
* New commands: -label3d, -head, -files
* Improvements -repeat, -axes, -warn, -displacement, -files2video,
-apply_files
* Math parser now supports sqr()
* Bugfixes: Iain Fergusson denoising with selections and new layers,
video stream, -display garbage, -graph, -display_graph, -plot with
plot_type=3, 3d rendering, -camera with specified resolution.
- Update to gmic-1.6.3.1:
* https://www.flickr.com/groups/gmic/discuss/72157652079823575/
* New commands: -pack, -x_landscape
* Improvements for 3d object rendering with z-buffer
* Shared gmicrc resource directory
* Math parser supporrts isfile(path), isdir(path) and fdate() now.
* libgmic now uses libpng, libtiff, libjpeg, libcurl, libfftw.
* Added some tooltips (gimp plugin)
* Bugfixes: Possible buffer overflows in plugins
- Update to gmic-1.6.2.0:
* https://www.flickr.com/groups/gmic/discuss/72157651409869115/
* New commands -apply_timeout, -boxfilter, -serialize, -unserialize,
-fps, -transition.
* New filters Sequences / Spatial transition, Colors / Transfer colors
[advanced]
* Improved error message line numbers in -if .. -endif block.
* Improved -blur, -displacement, - input, -warp
* Compressed storage of custom commands
OBS-URL: https://build.opensuse.org/request/show/315257
OBS-URL: https://build.opensuse.org/package/show/graphics/gmic?expand=0&rev=5
2015-07-07 17:18:59 +02:00
# Detect SLES12
%if 0%{?suse_version} == 1315
%define no_opencv 1
%if 0%{?suse_version} > 0 && 0%{?suse_version} < 1110
Accepting request 280593 from home:garloff:branches:graphics
- Update to gmic-1.6.0.3:
* New GIMP filters Degradation/Dirty, Rendering/Lightning,
Layers/Colors to Layers
* New commands rgb2int and int2rgb
* New preferred .gmz image list file format
* New -nlmeans denoising algorithm
* Improvements to -bilateral, -peronamalik_flow, -apply_parallel,
(= -ap), -split, -discard, -colormap, -displacement, vanvliet,
-belnd_median
* Bugfixes around -output codec, -eigen, -center3d, -normalize3d,
-split3d, -label
- Update to gmic-1.6.0.2:
* New -peronamalik_flow (diffusion smoothing)
* New -x_select_function1d and -x_color_curves
* New --guided, -cumulate
* New -apply_video, -video2files, -files2video, -average_video
* New -dct and -idct
* Improvements to -parallel
* Improving -fitscreen and tiff -output
* Improvements for -snapshot3d, -text, -fft, -ifft, -blur
* Major ZArt update
* Bugfixes for -deconvolve_fft, -bilateral, -gaussian, -srand
- Update to gmic-1.6.0.1:
* New: const(value) and button() typedefs to describe filters.
* Filter return status can be a list now.
* GIMP plug-in now has default capability to open display windows.
* New -x_segment (Contours/Extract Foreground).
* Double underscore vars are thread shared globals.
* New -x_select_color, -x_select_palette, -input_gpl, -x_colorize
* C++11 support in CImg, avoiding uneeded image copies
OBS-URL: https://build.opensuse.org/request/show/280593
OBS-URL: https://build.opensuse.org/package/show/graphics/gmic?expand=0&rev=4
2015-01-09 16:02:09 +01:00
%define no_opencv 1
%else
%define no_opencv 0
%endif
Accepting request 315257 from home:garloff:branches:graphics
- Fix build of gmic with older 2.6 GIMP (SLE11).
- Update to gmic-1.6.5.0:
* https://www.flickr.com/groups/gmic/discuss/72157653514140862/
* New commands: -label3d, -head, -files
* Improvements -repeat, -axes, -warn, -displacement, -files2video,
-apply_files
* Math parser now supports sqr()
* Bugfixes: Iain Fergusson denoising with selections and new layers,
video stream, -display garbage, -graph, -display_graph, -plot with
plot_type=3, 3d rendering, -camera with specified resolution.
- Update to gmic-1.6.3.1:
* https://www.flickr.com/groups/gmic/discuss/72157652079823575/
* New commands: -pack, -x_landscape
* Improvements for 3d object rendering with z-buffer
* Shared gmicrc resource directory
* Math parser supporrts isfile(path), isdir(path) and fdate() now.
* libgmic now uses libpng, libtiff, libjpeg, libcurl, libfftw.
* Added some tooltips (gimp plugin)
* Bugfixes: Possible buffer overflows in plugins
- Update to gmic-1.6.2.0:
* https://www.flickr.com/groups/gmic/discuss/72157651409869115/
* New commands -apply_timeout, -boxfilter, -serialize, -unserialize,
-fps, -transition.
* New filters Sequences / Spatial transition, Colors / Transfer colors
[advanced]
* Improved error message line numbers in -if .. -endif block.
* Improved -blur, -displacement, - input, -warp
* Compressed storage of custom commands
OBS-URL: https://build.opensuse.org/request/show/315257
OBS-URL: https://build.opensuse.org/package/show/graphics/gmic?expand=0&rev=5
2015-07-07 17:18:59 +02:00
%endif
2014-03-11 08:11:50 +01:00
2016-03-28 00:52:22 +02:00
Name : gmic
Version : 1.6.8
Release : 0
Group : Productivity/Graphics/Bitmap Editors
URL : http://gmic.sourceforge.net/
Packager : kurt@garloff.de
Source : %{name} _%{version} .tar.bz2
Source1 : http://gmic.eu/gmic_reference.pdf
Patch1 : gmic-cflags.diff
Patch2 : gmic-docdir.diff
Patch3 : gmic-overflow.diff
Patch10 : gmic-x11opts.diff
Patch11 : gmic-openmp.diff
Patch15 : gmic-oldgimp.diff
Patch20 : gmic-zart-qmake.diff
Patch21 : gmic-make-zart.diff
Patch31 : gmic-unstrip.diff
Summary : GREYC's Magick for Image Computing (denoise and others)
License : CECILL v.2.0 (GPL compatible)
Prefix : /usr
BuildRoot : %{_tmppath} /%{name} -%{version} -build
BuildRequires : procps
BuildRequires : fftw3-devel
BuildRequires : gcc-c++
BuildRequires : libstdc++-devel
BuildRequires : dos2unix
BuildRequires : OpenEXR-devel
BuildRequires : libqt4-devel
BuildRequires : libcurl-devel
2014-03-11 06:52:11 +01:00
%if 0%{?suse_version} >= 1110
2016-03-28 00:52:22 +02:00
BuildRequires : libjpeg-devel
BuildRequires : libtiff-devel
BuildRequires : fftw3-threads-devel
Accepting request 280593 from home:garloff:branches:graphics
- Update to gmic-1.6.0.3:
* New GIMP filters Degradation/Dirty, Rendering/Lightning,
Layers/Colors to Layers
* New commands rgb2int and int2rgb
* New preferred .gmz image list file format
* New -nlmeans denoising algorithm
* Improvements to -bilateral, -peronamalik_flow, -apply_parallel,
(= -ap), -split, -discard, -colormap, -displacement, vanvliet,
-belnd_median
* Bugfixes around -output codec, -eigen, -center3d, -normalize3d,
-split3d, -label
- Update to gmic-1.6.0.2:
* New -peronamalik_flow (diffusion smoothing)
* New -x_select_function1d and -x_color_curves
* New --guided, -cumulate
* New -apply_video, -video2files, -files2video, -average_video
* New -dct and -idct
* Improvements to -parallel
* Improving -fitscreen and tiff -output
* Improvements for -snapshot3d, -text, -fft, -ifft, -blur
* Major ZArt update
* Bugfixes for -deconvolve_fft, -bilateral, -gaussian, -srand
- Update to gmic-1.6.0.1:
* New: const(value) and button() typedefs to describe filters.
* Filter return status can be a list now.
* GIMP plug-in now has default capability to open display windows.
* New -x_segment (Contours/Extract Foreground).
* Double underscore vars are thread shared globals.
* New -x_select_color, -x_select_palette, -input_gpl, -x_colorize
* C++11 support in CImg, avoiding uneeded image copies
OBS-URL: https://build.opensuse.org/request/show/280593
OBS-URL: https://build.opensuse.org/package/show/graphics/gmic?expand=0&rev=4
2015-01-09 16:02:09 +01:00
%if 0%{?no_opencv} == 0
2014-03-11 08:11:50 +01:00
BuildRequires : opencv-devel
2016-03-28 00:52:22 +02:00
BuildRequires : libjasper1
2014-09-13 08:03:29 +02:00
%endif
#BuildRequires:cuGraphicsMagick-devel
2014-03-11 06:52:11 +01:00
%else
%if 0%{?fedora_version} > 16
2016-03-28 00:52:22 +02:00
BuildRequires : libjpeg-devel
BuildRequires : libtiff-devel
BuildRequires : opencv-devel
BuildRequires : jasper-libs
#BuildRequires: fftw-libs-threads
2014-03-11 06:52:11 +01:00
%else
%if 0%{?mandriva_version} > 0
2016-03-28 00:52:22 +02:00
BuildRequires : libtiff-devel
2014-03-11 06:52:11 +01:00
%endif
%endif
%endif
2016-03-28 00:52:22 +02:00
BuildRequires : gimp-devel
2014-03-11 06:52:11 +01:00
%description
G'MIC is an open and full-featured framework for image processing, providing several different user interfaces to convert/manipulate/filter/visualize generic image datasets, from 1d scalar signals to 3d+t sequences of multi-spectral volumetric images. Technically speaking, what it does is:
Define a lightweight but powerful script language (the G'MIC language) dedicated to the design of image processing operators and pipelines.
Provide several user interfaces embedding the corresponding interpreter:
A command-line executable gmic, to use the G'MIC framework from a shell.
In this setting, G'MIC may be seen as a serious (and friendly) competitor of the ImageMagick or GraphicsMagick software suites.
A plug-in gmic_gimp, to bring G'MIC capabilities to the GIMP image retouching software. (gmic-gimp)
A web service G'MIC Online, to allow users applying image processing algorithms directly in a web browser.
A Qt-based interface ZArt, for real-time mainpulation of webcam images. (gmic-zart)
A C++ library libgmic, to be linked to third-party applications. (libgmic1, gmic-devel)
G'MIC is focused on the design of possibly complex pipelines for converting, manipulating, filtering and visualizing generic 1d/2d/3d multi-spectral image datasets. This includes of course color images, but also more complex data as image sequences or 3d(+t) volumetric float-valued datasets.
G'MIC is an open framework: the default language can be extended with custom G' MIC-written commands, defining thus new available image filters or effects. By the way, G'MIC already contains a substantial set of pre-defined image processing algorithms and pipelines (more than 1000).
G'MIC has been designed with portability in mind and runs on different platforms (Windows, Unix, MacOSX). It is distributed under the CeCILL license (GPL-compatible). Since 2008, it is developed in the Image Team of the GREYC laboratory, in Caen/France, by permanent researchers working in the field of image processing on a daily basis.
G'MIC has superior denoising and sharpening capabilities.
Authors
-------
David Tschumperle ( http://www.greyc.ensicaen.fr/~dtschump/ ) (source code)
Claude Bulin ( http://www.xcfa.tuxfamily.org/ ) (packaging)
Angelo Lama ( historical developper of EKD : http://ekd.tuxfamily.org,
post-prod software for videos and images) (testing)
Stephane de la Linuxerie (http://linuxerie.midiblogs.com and http://polariscorp.free.fr) (design & gimp plug-in)
Jerome Ferrari (testing)
GREYC Image / CNRS UMR 6072 / FRANCE
Team web page : http://www.greyc.ensicaen.fr/EquipeImage/
%package -n libgmic1
2014-03-11 08:11:50 +01:00
Summary : Shared library that belongs to gmic
Group : Productivity/Graphics/Bitmap Editors
2014-03-11 06:52:11 +01:00
%package -n libgmic-devel
2014-03-11 08:11:50 +01:00
Summary : Header and library from gmic for use in other C++ projects
Group : Development/Libraries/C and C++
Requires : libgmic1 = %{version}
2014-03-11 06:52:11 +01:00
%description -n libgmic1
Shared library allows you to use gmic functionality from other
programs.
%description -n libgmic-devel
Header and library from gmic to needed to develop C++ code that
uses the gmic functionality provided by the gmic library.
%package gimp
2014-03-11 08:11:50 +01:00
Summary : GMIC plugin for gimp
Group : Productivity/Graphics/Bitmap Editors
2014-03-11 06:52:11 +01:00
%description gimp
This is a plugin for gimp that exposes many of the nice gmic features
for interactive use in gimp.
Accepting request 280593 from home:garloff:branches:graphics
- Update to gmic-1.6.0.3:
* New GIMP filters Degradation/Dirty, Rendering/Lightning,
Layers/Colors to Layers
* New commands rgb2int and int2rgb
* New preferred .gmz image list file format
* New -nlmeans denoising algorithm
* Improvements to -bilateral, -peronamalik_flow, -apply_parallel,
(= -ap), -split, -discard, -colormap, -displacement, vanvliet,
-belnd_median
* Bugfixes around -output codec, -eigen, -center3d, -normalize3d,
-split3d, -label
- Update to gmic-1.6.0.2:
* New -peronamalik_flow (diffusion smoothing)
* New -x_select_function1d and -x_color_curves
* New --guided, -cumulate
* New -apply_video, -video2files, -files2video, -average_video
* New -dct and -idct
* Improvements to -parallel
* Improving -fitscreen and tiff -output
* Improvements for -snapshot3d, -text, -fft, -ifft, -blur
* Major ZArt update
* Bugfixes for -deconvolve_fft, -bilateral, -gaussian, -srand
- Update to gmic-1.6.0.1:
* New: const(value) and button() typedefs to describe filters.
* Filter return status can be a list now.
* GIMP plug-in now has default capability to open display windows.
* New -x_segment (Contours/Extract Foreground).
* Double underscore vars are thread shared globals.
* New -x_select_color, -x_select_palette, -input_gpl, -x_colorize
* C++11 support in CImg, avoiding uneeded image copies
OBS-URL: https://build.opensuse.org/request/show/280593
OBS-URL: https://build.opensuse.org/package/show/graphics/gmic?expand=0&rev=4
2015-01-09 16:02:09 +01:00
%if 0%{?no_opencv} == 0
2014-09-13 08:03:29 +02:00
%package zart
Summary : Real-time web cam video stream manipulation
Group : Productivity/Graphics/Bitmap editors
%description zart
This program allows you to capture video from a web cam and apply
(real time) gmic image manipulations on the video stream.
%endif
2014-03-11 06:52:11 +01:00
%package doc
2014-03-11 08:11:50 +01:00
Summary : GMIC reference documentation
Group : Productivity/Graphics/Bitmap editors
2016-03-28 00:52:22 +02:00
License : GFDL-v1.3
2014-03-11 06:52:11 +01:00
%description doc
This is the reference documentation for G'MIC in .pdf format.
%prep
%setup
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch10 -p1
%patch11 -p1
Accepting request 315257 from home:garloff:branches:graphics
- Fix build of gmic with older 2.6 GIMP (SLE11).
- Update to gmic-1.6.5.0:
* https://www.flickr.com/groups/gmic/discuss/72157653514140862/
* New commands: -label3d, -head, -files
* Improvements -repeat, -axes, -warn, -displacement, -files2video,
-apply_files
* Math parser now supports sqr()
* Bugfixes: Iain Fergusson denoising with selections and new layers,
video stream, -display garbage, -graph, -display_graph, -plot with
plot_type=3, 3d rendering, -camera with specified resolution.
- Update to gmic-1.6.3.1:
* https://www.flickr.com/groups/gmic/discuss/72157652079823575/
* New commands: -pack, -x_landscape
* Improvements for 3d object rendering with z-buffer
* Shared gmicrc resource directory
* Math parser supporrts isfile(path), isdir(path) and fdate() now.
* libgmic now uses libpng, libtiff, libjpeg, libcurl, libfftw.
* Added some tooltips (gimp plugin)
* Bugfixes: Possible buffer overflows in plugins
- Update to gmic-1.6.2.0:
* https://www.flickr.com/groups/gmic/discuss/72157651409869115/
* New commands -apply_timeout, -boxfilter, -serialize, -unserialize,
-fps, -transition.
* New filters Sequences / Spatial transition, Colors / Transfer colors
[advanced]
* Improved error message line numbers in -if .. -endif block.
* Improved -blur, -displacement, - input, -warp
* Compressed storage of custom commands
OBS-URL: https://build.opensuse.org/request/show/315257
OBS-URL: https://build.opensuse.org/package/show/graphics/gmic?expand=0&rev=5
2015-07-07 17:18:59 +02:00
%if 0%{?suse_version} <= 1120
%patch15 -p1
%endif
2014-09-13 08:03:29 +02:00
# More gmic features ... opencv
Accepting request 280593 from home:garloff:branches:graphics
- Update to gmic-1.6.0.3:
* New GIMP filters Degradation/Dirty, Rendering/Lightning,
Layers/Colors to Layers
* New commands rgb2int and int2rgb
* New preferred .gmz image list file format
* New -nlmeans denoising algorithm
* Improvements to -bilateral, -peronamalik_flow, -apply_parallel,
(= -ap), -split, -discard, -colormap, -displacement, vanvliet,
-belnd_median
* Bugfixes around -output codec, -eigen, -center3d, -normalize3d,
-split3d, -label
- Update to gmic-1.6.0.2:
* New -peronamalik_flow (diffusion smoothing)
* New -x_select_function1d and -x_color_curves
* New --guided, -cumulate
* New -apply_video, -video2files, -files2video, -average_video
* New -dct and -idct
* Improvements to -parallel
* Improving -fitscreen and tiff -output
* Improvements for -snapshot3d, -text, -fft, -ifft, -blur
* Major ZArt update
* Bugfixes for -deconvolve_fft, -bilateral, -gaussian, -srand
- Update to gmic-1.6.0.1:
* New: const(value) and button() typedefs to describe filters.
* Filter return status can be a list now.
* GIMP plug-in now has default capability to open display windows.
* New -x_segment (Contours/Extract Foreground).
* Double underscore vars are thread shared globals.
* New -x_select_color, -x_select_palette, -input_gpl, -x_colorize
* C++11 support in CImg, avoiding uneeded image copies
OBS-URL: https://build.opensuse.org/request/show/280593
OBS-URL: https://build.opensuse.org/package/show/graphics/gmic?expand=0&rev=4
2015-01-09 16:02:09 +01:00
%if 0%{?no_opencv} == 0
Accepting request 315257 from home:garloff:branches:graphics
- Fix build of gmic with older 2.6 GIMP (SLE11).
- Update to gmic-1.6.5.0:
* https://www.flickr.com/groups/gmic/discuss/72157653514140862/
* New commands: -label3d, -head, -files
* Improvements -repeat, -axes, -warn, -displacement, -files2video,
-apply_files
* Math parser now supports sqr()
* Bugfixes: Iain Fergusson denoising with selections and new layers,
video stream, -display garbage, -graph, -display_graph, -plot with
plot_type=3, 3d rendering, -camera with specified resolution.
- Update to gmic-1.6.3.1:
* https://www.flickr.com/groups/gmic/discuss/72157652079823575/
* New commands: -pack, -x_landscape
* Improvements for 3d object rendering with z-buffer
* Shared gmicrc resource directory
* Math parser supporrts isfile(path), isdir(path) and fdate() now.
* libgmic now uses libpng, libtiff, libjpeg, libcurl, libfftw.
* Added some tooltips (gimp plugin)
* Bugfixes: Possible buffer overflows in plugins
- Update to gmic-1.6.2.0:
* https://www.flickr.com/groups/gmic/discuss/72157651409869115/
* New commands -apply_timeout, -boxfilter, -serialize, -unserialize,
-fps, -transition.
* New filters Sequences / Spatial transition, Colors / Transfer colors
[advanced]
* Improved error message line numbers in -if .. -endif block.
* Improved -blur, -displacement, - input, -warp
* Compressed storage of custom commands
OBS-URL: https://build.opensuse.org/request/show/315257
OBS-URL: https://build.opensuse.org/package/show/graphics/gmic?expand=0&rev=5
2015-07-07 17:18:59 +02:00
#%patch15 -p1
2014-03-11 06:52:11 +01:00
%endif
#%patch17 -p1
%patch20 -p1
%patch21 -p1
%patch31 -p1
# Remove build time references so build-compare can do its work
FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir} /%{name} .changes '+%%H:%%M' )
FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir} /%{name} .changes '+%%b %%e %%Y' )
sed -i " s / _ _ T I M E _ _ / \" $ F A K E _ B U I L D T I M E \" / g " src/CImg.h
sed -i " s / _ _ D A T E _ _ / \" $ F A K E _ B U I L D D A T E \" / g " src/CImg.h
sed -i " s / _ _ T I M E _ _ / \" $ F A K E _ B U I L D T I M E \" / g " src/gmic.cpp
sed -i " s / _ _ D A T E _ _ / \" $ F A K E _ B U I L D D A T E \" / g " src/gmic.cpp
# Replacement for documentation that was formerly included
echo -e " < H T M L > \n < H e a d > < T i t l e > G ' M I C d o c u m e n t a t i o n < / T i t l e > < / H e a d > " > index.html
echo -e " < B o d y > < H 1 > G ' M I C d o c u m e n t a t i o n l i n k s < / H 1 > \n < u l > " >> index.html
echo -e " < l i > < A H R e f = \" h t t p : / / g m i c . s o u r c e f o r g e . n e t / r e f e r e n c e . s h t m l \" > R e f e r e n c e d o c u m e n t a t i o n < / A > < / l i > " >> index.html
echo -e " < l i > < A H R e f = \" . . / g m i c - d o c / g m i c _ r e f e r e n c e . p d f \" > R e f e r e n c e d o c ( P D F ) < / A > ( l o c a l c o p y , i f g m i c - d o c i s i n s t a l l e d ) < / l i > " >> index.html
echo -e " < l i > < A H R e f = \" h t t p : / / g m i c . s o u r c e f o r g e . n e t / t u t o r i a l . s h t m l \" > T u t o r i a l < / A > < / l i > " >> index.html
echo -e " < l i > < A H R e f = \" h t t p s : / / w w w . f l i c k r . c o m / g r o u p s / g m i c / d i s c u s s / 7 2 1 5 7 6 2 5 0 2 1 8 9 7 5 5 2 / \" > W h a t c a n I d o w i t h G ' M I C ? < / A > ( T u t o r i a l l i s t o n f l i c k r ) < / l i > " >> index.html
echo -e " < l i > < A H R e f = \" R E A D M E \" > R E A D M E f i l e < / A > ( l o c a l ) < / l i > " >> index.html
echo -e " < / u l > \n < / B o d y > \n < / H T M L > " >> index.html
mv zart/README zart/README.zart
cp -p %{SOURCE1} .
%build
2014-09-13 08:03:29 +02:00
GCCVER=`gcc -v 2>&1 | tail -n1 | sed -e 's/^gcc version \([^ ]*\) .*$/\1/' -e 's/\.//g' `
if test $GCCVER -ge 480 -a $GCCVER -le 482; then MAKEFLAGS=" N O _ O P E N M P = 1 " ; fi
Accepting request 280593 from home:garloff:branches:graphics
- Update to gmic-1.6.0.3:
* New GIMP filters Degradation/Dirty, Rendering/Lightning,
Layers/Colors to Layers
* New commands rgb2int and int2rgb
* New preferred .gmz image list file format
* New -nlmeans denoising algorithm
* Improvements to -bilateral, -peronamalik_flow, -apply_parallel,
(= -ap), -split, -discard, -colormap, -displacement, vanvliet,
-belnd_median
* Bugfixes around -output codec, -eigen, -center3d, -normalize3d,
-split3d, -label
- Update to gmic-1.6.0.2:
* New -peronamalik_flow (diffusion smoothing)
* New -x_select_function1d and -x_color_curves
* New --guided, -cumulate
* New -apply_video, -video2files, -files2video, -average_video
* New -dct and -idct
* Improvements to -parallel
* Improving -fitscreen and tiff -output
* Improvements for -snapshot3d, -text, -fft, -ifft, -blur
* Major ZArt update
* Bugfixes for -deconvolve_fft, -bilateral, -gaussian, -srand
- Update to gmic-1.6.0.1:
* New: const(value) and button() typedefs to describe filters.
* Filter return status can be a list now.
* GIMP plug-in now has default capability to open display windows.
* New -x_segment (Contours/Extract Foreground).
* Double underscore vars are thread shared globals.
* New -x_select_color, -x_select_palette, -input_gpl, -x_colorize
* C++11 support in CImg, avoiding uneeded image copies
OBS-URL: https://build.opensuse.org/request/show/280593
OBS-URL: https://build.opensuse.org/package/show/graphics/gmic?expand=0&rev=4
2015-01-09 16:02:09 +01:00
if test $GCCVER -le 445; then sed -i 's/\-std=c++11//' src/Makefile; fi
Accepting request 315257 from home:garloff:branches:graphics
- Fix build of gmic with older 2.6 GIMP (SLE11).
- Update to gmic-1.6.5.0:
* https://www.flickr.com/groups/gmic/discuss/72157653514140862/
* New commands: -label3d, -head, -files
* Improvements -repeat, -axes, -warn, -displacement, -files2video,
-apply_files
* Math parser now supports sqr()
* Bugfixes: Iain Fergusson denoising with selections and new layers,
video stream, -display garbage, -graph, -display_graph, -plot with
plot_type=3, 3d rendering, -camera with specified resolution.
- Update to gmic-1.6.3.1:
* https://www.flickr.com/groups/gmic/discuss/72157652079823575/
* New commands: -pack, -x_landscape
* Improvements for 3d object rendering with z-buffer
* Shared gmicrc resource directory
* Math parser supporrts isfile(path), isdir(path) and fdate() now.
* libgmic now uses libpng, libtiff, libjpeg, libcurl, libfftw.
* Added some tooltips (gimp plugin)
* Bugfixes: Possible buffer overflows in plugins
- Update to gmic-1.6.2.0:
* https://www.flickr.com/groups/gmic/discuss/72157651409869115/
* New commands -apply_timeout, -boxfilter, -serialize, -unserialize,
-fps, -transition.
* New filters Sequences / Spatial transition, Colors / Transfer colors
[advanced]
* Improved error message line numbers in -if .. -endif block.
* Improved -blur, -displacement, - input, -warp
* Compressed storage of custom commands
OBS-URL: https://build.opensuse.org/request/show/315257
OBS-URL: https://build.opensuse.org/package/show/graphics/gmic?expand=0&rev=5
2015-07-07 17:18:59 +02:00
if test $GCCVER -le 440; then MAKEFLAGS=" N O _ O P E N M P = 1 " ; fi
2014-03-11 06:52:11 +01:00
# Limit parallel build to avoid overloading machines
free -m
MEM=`free -m | grep '^Mem:' | sed 's/^Mem: *\([0-9]*\).*$/\1/' `
# x86(-64) needs 0.6GB per gmic_XXX except gmic_float (main) with 1 GB
MAXJOBS=$((($MEM-300)/540))
echo " L i m i t i n g J o b s % j o b s - > $ M A X J O B S "
if test -n " % j o b s " -a $MAXJOBS -gt 1; then
2016-03-28 00:52:22 +02:00
if test %jobs -gt $MAXJOBS; then
JOBS=" - j $ M A X J O B S "
else
JOBS=" - j % j o b s "
fi
2014-03-11 06:52:11 +01:00
else
2016-03-28 00:52:22 +02:00
JOBS=" "
2014-03-11 06:52:11 +01:00
fi
cd src
%if 0%{?fedora_version} > 16
Accepting request 315257 from home:garloff:branches:graphics
- Fix build of gmic with older 2.6 GIMP (SLE11).
- Update to gmic-1.6.5.0:
* https://www.flickr.com/groups/gmic/discuss/72157653514140862/
* New commands: -label3d, -head, -files
* Improvements -repeat, -axes, -warn, -displacement, -files2video,
-apply_files
* Math parser now supports sqr()
* Bugfixes: Iain Fergusson denoising with selections and new layers,
video stream, -display garbage, -graph, -display_graph, -plot with
plot_type=3, 3d rendering, -camera with specified resolution.
- Update to gmic-1.6.3.1:
* https://www.flickr.com/groups/gmic/discuss/72157652079823575/
* New commands: -pack, -x_landscape
* Improvements for 3d object rendering with z-buffer
* Shared gmicrc resource directory
* Math parser supporrts isfile(path), isdir(path) and fdate() now.
* libgmic now uses libpng, libtiff, libjpeg, libcurl, libfftw.
* Added some tooltips (gimp plugin)
* Bugfixes: Possible buffer overflows in plugins
- Update to gmic-1.6.2.0:
* https://www.flickr.com/groups/gmic/discuss/72157651409869115/
* New commands -apply_timeout, -boxfilter, -serialize, -unserialize,
-fps, -transition.
* New filters Sequences / Spatial transition, Colors / Transfer colors
[advanced]
* Improved error message line numbers in -if .. -endif block.
* Improved -blur, -displacement, - input, -warp
* Compressed storage of custom commands
OBS-URL: https://build.opensuse.org/request/show/315257
OBS-URL: https://build.opensuse.org/package/show/graphics/gmic?expand=0&rev=5
2015-07-07 17:18:59 +02:00
make $JOBS $MAKEFLAGS CFLAGS=" $RPM_OPT_FLAGS " LIB=%{_lib} QMAKE=qmake-qt4 cli
2014-09-13 08:03:29 +02:00
make $JOBS $MAKEFLAGS CFLAGS=" $RPM_OPT_FLAGS " LIB=%{_lib} QMAKE=qmake-qt4 gimp lib
make $JOBS $MAKEFLAGS CFLAGS=" $RPM_OPT_FLAGS " LIB=%{_lib} QMAKE=qmake-qt4 zart
2014-03-11 06:52:11 +01:00
%else
Accepting request 315257 from home:garloff:branches:graphics
- Fix build of gmic with older 2.6 GIMP (SLE11).
- Update to gmic-1.6.5.0:
* https://www.flickr.com/groups/gmic/discuss/72157653514140862/
* New commands: -label3d, -head, -files
* Improvements -repeat, -axes, -warn, -displacement, -files2video,
-apply_files
* Math parser now supports sqr()
* Bugfixes: Iain Fergusson denoising with selections and new layers,
video stream, -display garbage, -graph, -display_graph, -plot with
plot_type=3, 3d rendering, -camera with specified resolution.
- Update to gmic-1.6.3.1:
* https://www.flickr.com/groups/gmic/discuss/72157652079823575/
* New commands: -pack, -x_landscape
* Improvements for 3d object rendering with z-buffer
* Shared gmicrc resource directory
* Math parser supporrts isfile(path), isdir(path) and fdate() now.
* libgmic now uses libpng, libtiff, libjpeg, libcurl, libfftw.
* Added some tooltips (gimp plugin)
* Bugfixes: Possible buffer overflows in plugins
- Update to gmic-1.6.2.0:
* https://www.flickr.com/groups/gmic/discuss/72157651409869115/
* New commands -apply_timeout, -boxfilter, -serialize, -unserialize,
-fps, -transition.
* New filters Sequences / Spatial transition, Colors / Transfer colors
[advanced]
* Improved error message line numbers in -if .. -endif block.
* Improved -blur, -displacement, - input, -warp
* Compressed storage of custom commands
OBS-URL: https://build.opensuse.org/request/show/315257
OBS-URL: https://build.opensuse.org/package/show/graphics/gmic?expand=0&rev=5
2015-07-07 17:18:59 +02:00
make $JOBS $MAKEFLAGS CFLAGS=" $RPM_OPT_FLAGS " LIB=%{_lib} cli
2014-09-13 08:03:29 +02:00
make $JOBS $MAKEFLAGS CFLAGS=" $RPM_OPT_FLAGS " LIB=%{_lib} gimp lib
Accepting request 280593 from home:garloff:branches:graphics
- Update to gmic-1.6.0.3:
* New GIMP filters Degradation/Dirty, Rendering/Lightning,
Layers/Colors to Layers
* New commands rgb2int and int2rgb
* New preferred .gmz image list file format
* New -nlmeans denoising algorithm
* Improvements to -bilateral, -peronamalik_flow, -apply_parallel,
(= -ap), -split, -discard, -colormap, -displacement, vanvliet,
-belnd_median
* Bugfixes around -output codec, -eigen, -center3d, -normalize3d,
-split3d, -label
- Update to gmic-1.6.0.2:
* New -peronamalik_flow (diffusion smoothing)
* New -x_select_function1d and -x_color_curves
* New --guided, -cumulate
* New -apply_video, -video2files, -files2video, -average_video
* New -dct and -idct
* Improvements to -parallel
* Improving -fitscreen and tiff -output
* Improvements for -snapshot3d, -text, -fft, -ifft, -blur
* Major ZArt update
* Bugfixes for -deconvolve_fft, -bilateral, -gaussian, -srand
- Update to gmic-1.6.0.1:
* New: const(value) and button() typedefs to describe filters.
* Filter return status can be a list now.
* GIMP plug-in now has default capability to open display windows.
* New -x_segment (Contours/Extract Foreground).
* Double underscore vars are thread shared globals.
* New -x_select_color, -x_select_palette, -input_gpl, -x_colorize
* C++11 support in CImg, avoiding uneeded image copies
OBS-URL: https://build.opensuse.org/request/show/280593
OBS-URL: https://build.opensuse.org/package/show/graphics/gmic?expand=0&rev=4
2015-01-09 16:02:09 +01:00
%if 0%{?no_opencv} == 0
2014-09-13 08:03:29 +02:00
make $JOBS $MAKEFLAGS CFLAGS=" $RPM_OPT_FLAGS " LIB=%{_lib} zart
%endif
2014-03-11 06:52:11 +01:00
%endif
#make %{?jobs:-j%jobs} CFLAGS="$RPM_OPT_FLAGS" gimp
free -m
%install
mkdir -p $RPM_BUILD_ROOT /usr/%{_lib}/gimp/2.0/plug-ins/
cd src
make install DESTDIR=$RPM_BUILD_ROOT DOCDIR=%{_docdir} MANDIR=%{_mandir} LIB=%{_lib}
#ln -s libgmic.so.1 $RPM_BUILD_ROOT/usr/%{_lib}/libgmic.so
%if 0%{?fedora_version} > 16
make install-zart DESTDIR=$RPM_BUILD_ROOT DOCDIR=%{_docdir} MANDIR=%{_mandir} LIB=%{_lib} QMAKE=qmake-qt4
%else
Accepting request 280593 from home:garloff:branches:graphics
- Update to gmic-1.6.0.3:
* New GIMP filters Degradation/Dirty, Rendering/Lightning,
Layers/Colors to Layers
* New commands rgb2int and int2rgb
* New preferred .gmz image list file format
* New -nlmeans denoising algorithm
* Improvements to -bilateral, -peronamalik_flow, -apply_parallel,
(= -ap), -split, -discard, -colormap, -displacement, vanvliet,
-belnd_median
* Bugfixes around -output codec, -eigen, -center3d, -normalize3d,
-split3d, -label
- Update to gmic-1.6.0.2:
* New -peronamalik_flow (diffusion smoothing)
* New -x_select_function1d and -x_color_curves
* New --guided, -cumulate
* New -apply_video, -video2files, -files2video, -average_video
* New -dct and -idct
* Improvements to -parallel
* Improving -fitscreen and tiff -output
* Improvements for -snapshot3d, -text, -fft, -ifft, -blur
* Major ZArt update
* Bugfixes for -deconvolve_fft, -bilateral, -gaussian, -srand
- Update to gmic-1.6.0.1:
* New: const(value) and button() typedefs to describe filters.
* Filter return status can be a list now.
* GIMP plug-in now has default capability to open display windows.
* New -x_segment (Contours/Extract Foreground).
* Double underscore vars are thread shared globals.
* New -x_select_color, -x_select_palette, -input_gpl, -x_colorize
* C++11 support in CImg, avoiding uneeded image copies
OBS-URL: https://build.opensuse.org/request/show/280593
OBS-URL: https://build.opensuse.org/package/show/graphics/gmic?expand=0&rev=4
2015-01-09 16:02:09 +01:00
%if 0%{?no_opencv} == 0
2014-09-13 08:03:29 +02:00
make install-zart DESTDIR=$RPM_BUILD_ROOT DOCDIR=%{_docdir} MANDIR=%{_mandir} LIB=%{_lib}
%endif
%endif
2014-03-11 06:52:11 +01:00
#mkdir -p $RPM_BUILD_ROOT%{_docdir}/gmic/html
#for name in images res js slides thumbs; do
# cp -ax html/$name $RPM_BUILD_ROOT%{_docdir}/gmic/html/
#done
#for name in README AUTHORS ChangeLog COPYING; do
# cp -p $name $RPM_BUILD_ROOT%{_docdir}/gmic/
#done
strip -S $RPM_BUILD_ROOT /usr/bin/gmic
strip -S $RPM_BUILD_ROOT /usr/%{_lib}/gimp/2.0/plug-ins/gmic_gimp
# ZART
Accepting request 280593 from home:garloff:branches:graphics
- Update to gmic-1.6.0.3:
* New GIMP filters Degradation/Dirty, Rendering/Lightning,
Layers/Colors to Layers
* New commands rgb2int and int2rgb
* New preferred .gmz image list file format
* New -nlmeans denoising algorithm
* Improvements to -bilateral, -peronamalik_flow, -apply_parallel,
(= -ap), -split, -discard, -colormap, -displacement, vanvliet,
-belnd_median
* Bugfixes around -output codec, -eigen, -center3d, -normalize3d,
-split3d, -label
- Update to gmic-1.6.0.2:
* New -peronamalik_flow (diffusion smoothing)
* New -x_select_function1d and -x_color_curves
* New --guided, -cumulate
* New -apply_video, -video2files, -files2video, -average_video
* New -dct and -idct
* Improvements to -parallel
* Improving -fitscreen and tiff -output
* Improvements for -snapshot3d, -text, -fft, -ifft, -blur
* Major ZArt update
* Bugfixes for -deconvolve_fft, -bilateral, -gaussian, -srand
- Update to gmic-1.6.0.1:
* New: const(value) and button() typedefs to describe filters.
* Filter return status can be a list now.
* GIMP plug-in now has default capability to open display windows.
* New -x_segment (Contours/Extract Foreground).
* Double underscore vars are thread shared globals.
* New -x_select_color, -x_select_palette, -input_gpl, -x_colorize
* C++11 support in CImg, avoiding uneeded image copies
OBS-URL: https://build.opensuse.org/request/show/280593
OBS-URL: https://build.opensuse.org/package/show/graphics/gmic?expand=0&rev=4
2015-01-09 16:02:09 +01:00
%if 0%{?no_opencv} == 0
2014-03-11 06:52:11 +01:00
strip -S $RPM_BUILD_ROOT /usr/bin/zart
2014-09-13 08:03:29 +02:00
%endif
2014-03-11 06:52:11 +01:00
# Duplicate man page ...
rm $RPM_BUILD_ROOT /%{_mandir} /fr/man1/gmic.1.gz
# Reference manual
#install -d $RPM_BUILD_ROOT/%{_docdir}/gmic
#install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT/%{_docdir}/gmic/
%post -n libgmic1
%{run_ldconfig}
%postun -n libgmic1
%{run_ldconfig}
%files
%defattr (-,root,root)
/usr/bin/gmic
%if 0%{?mandriva_version} == 0
#%{_mandir}/fr/man1/gmic.1.gz
%{_mandir} /man1/gmic.1.gz
%else
#%{_mandir}/fr/man1/gmic.1.lzma
%{_mandir} /man1/gmic.1.lzma
%endif
#%dir %{_docdir}/gmic
#%doc README COPYING AUTHORS index.html
2016-03-28 00:52:22 +02:00
%doc README COPYING index.html
2014-03-11 06:52:11 +01:00
%config %attr (0644,root,root) /etc/bash_completion.d/gmic
Accepting request 280593 from home:garloff:branches:graphics
- Update to gmic-1.6.0.3:
* New GIMP filters Degradation/Dirty, Rendering/Lightning,
Layers/Colors to Layers
* New commands rgb2int and int2rgb
* New preferred .gmz image list file format
* New -nlmeans denoising algorithm
* Improvements to -bilateral, -peronamalik_flow, -apply_parallel,
(= -ap), -split, -discard, -colormap, -displacement, vanvliet,
-belnd_median
* Bugfixes around -output codec, -eigen, -center3d, -normalize3d,
-split3d, -label
- Update to gmic-1.6.0.2:
* New -peronamalik_flow (diffusion smoothing)
* New -x_select_function1d and -x_color_curves
* New --guided, -cumulate
* New -apply_video, -video2files, -files2video, -average_video
* New -dct and -idct
* Improvements to -parallel
* Improving -fitscreen and tiff -output
* Improvements for -snapshot3d, -text, -fft, -ifft, -blur
* Major ZArt update
* Bugfixes for -deconvolve_fft, -bilateral, -gaussian, -srand
- Update to gmic-1.6.0.1:
* New: const(value) and button() typedefs to describe filters.
* Filter return status can be a list now.
* GIMP plug-in now has default capability to open display windows.
* New -x_segment (Contours/Extract Foreground).
* Double underscore vars are thread shared globals.
* New -x_select_color, -x_select_palette, -input_gpl, -x_colorize
* C++11 support in CImg, avoiding uneeded image copies
OBS-URL: https://build.opensuse.org/request/show/280593
OBS-URL: https://build.opensuse.org/package/show/graphics/gmic?expand=0&rev=4
2015-01-09 16:02:09 +01:00
%if 0%{?no_opencv} == 0
2014-09-13 08:03:29 +02:00
%files zart
%defattr (-,root,root)
/usr/bin/zart
%doc zart/Licence_CeCILL_V2-en.html zart/README.zart
%endif
2014-03-11 06:52:11 +01:00
%files gimp
%defattr (-,root,root)
/usr/%{_lib}/gimp/2.0/plug-ins/gmic_gimp
%files -n libgmic1
%defattr (-,root,root)
%{_libdir} /libgmic.so.1*
%files -n libgmic-devel
%defattr (-,root,root)
/usr/include/gmic.h
%{_libdir} /libgmic.so
%files doc
%defattr (-,root,root)
#%dir %{_docdir}/gmic
%doc gmic_reference.pdf
2014-03-11 08:11:50 +01:00
%changelog