Marcus Meissner
662b013d9c
- 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
54 lines
1.7 KiB
Diff
54 lines
1.7 KiB
Diff
Index: gmic-1.6.5.0/src/Makefile
|
|
===================================================================
|
|
--- gmic-1.6.5.0.orig/src/Makefile
|
|
+++ gmic-1.6.5.0/src/Makefile
|
|
@@ -329,9 +329,9 @@ endif
|
|
endif
|
|
|
|
cli:
|
|
$(MAKE) "CFLAGS+=$(STD_CLI_CFLAGS) $(OPT_CFLAGS)" "LIBS+=$(STD_CLI_LIBS)" gmic
|
|
- strip gmic$(EXE)
|
|
+ strip -S gmic$(EXE)
|
|
|
|
gimp:
|
|
$(MAKE) "CFLAGS+=$(STD_GIMP_CFLAGS) $(OPT_CFLAGS)" "LIBS+=$(STD_GIMP_LIBS)" gmic_gimp
|
|
|
|
@@ -339,13 +339,13 @@ lib:
|
|
$(MAKE) "CFLAGS+=$(STD_LIB_CFLAGS) $(OPT_CFLAGS)" "LIBS+=$(STD_LIB_LIBS)" libgmic
|
|
|
|
gmicol:
|
|
$(MAKE) "CFLAGS+=$(STD_GMICOL_CFLAGS) $(OPT_CFLAGS)" "LIBS+=$(STD_GMICOL_LIBS)" gmic
|
|
- strip gmic$(EXE)
|
|
+ strip -S gmic$(EXE)
|
|
|
|
static:
|
|
$(MAKE) "CFLAGS+=$(STATIC_CLI_CFLAGS) $(OPT_CFLAGS)" "LIBS+=$(STATIC_CLI_LIBS)" gmic
|
|
- strip gmic$(EXE)
|
|
+ strip -S gmic$(EXE)
|
|
|
|
debug:
|
|
$(MAKE) "CFLAGS+=$(STD_CLI_CFLAGS) $(DEBUG_CFLAGS)" "LIBS+=$(STD_CLI_LIBS)" gmic
|
|
|
|
@@ -354,9 +354,9 @@ QMAKE = qmake
|
|
zart: lib
|
|
ifeq ($(OS),Darwin)
|
|
cd ../zart && $(QMAKE) zart.pro && $(MAKE) "CFLAGS=$(OPT_CFLAGS)" "SUBLIBS=$(OPT_LIBS)" && strip zart.app/Contents/MacOS/zart
|
|
else
|
|
- cd ../zart && $(QMAKE) zart.pro && $(MAKE) && strip zart
|
|
+ cd ../zart && $(QMAKE) zart.pro && $(MAKE) && strip -S zart
|
|
endif
|
|
|
|
# Internal rules to build compilation modules.
|
|
libgmic.o: gmic.cpp gmic.h gmic_def.h CImg.h
|
|
@@ -375,9 +375,9 @@ gmic_gimp.o: gmic.cpp gmic.h gmic_def.h
|
|
$(CC) -o gmic_gimp.o -c gmic.cpp -Dgmic_gimp $(CFLAGS)
|
|
|
|
gmic_gimp : gmic_gimp.o gmic_gimp.cpp
|
|
$(CC) -o gmic_gimp gmic_gimp.cpp gmic_gimp.o -Dgmic_gimp `gimptool-2.0$(EXE) --cflags` $(CFLAGS) `gimptool-2.0$(EXE) --libs` $(LIBS)
|
|
- strip gmic_gimp$(EXE)
|
|
+ strip -S gmic_gimp$(EXE)
|
|
|
|
gmic: gmic.cpp gmic.h gmic_def.h CImg.h
|
|
$(CC) -o gmic gmic.cpp -Dgmic_main $(CFLAGS) $(LIBS)
|
|
|