gmic/gmic-oldgimp.diff

15 lines
411 B
Diff
Raw Normal View History

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
--- gmic_newgimp/src/gmic_gimp.cpp 2015-06-24 14:20:53.000000000 +0200
+++ gmic-1.6.5.0/src/gmic_gimp.cpp 2015-07-06 17:41:59.842681265 +0200
@@ -60,6 +60,11 @@
#define gmic_pixel_type float
#endif
+#if GIMP_MINOR_VERSION<=6
+#define gimp_item_get_name gimp_drawable_get_name
+#define gimp_item_set_name gimp_drawable_set_name
+#endif
+
using namespace cimg_library;
// Define plug-in global variables.