Adrian Schröter
8ba574cff5
Submit gmic package to openSUSE:Factory via the graphics Devel package. Sidenote: While I will continue to build the full gmic binary in my home:garloff:Photography project (and use MMX,SSE on i386) for continuity reasons, I follow upstream to only build gmic the float type for openSUSE submission, covering probably 99% of the use cases ... This is controlled by a %define in the specfile, so I can keep the packages in sync otherwise at least for the time being. OBS-URL: https://build.opensuse.org/request/show/225522 OBS-URL: https://build.opensuse.org/package/show/graphics/gmic?expand=0&rev=1
38 lines
1.6 KiB
Diff
38 lines
1.6 KiB
Diff
Index: gmic-1.5.8.4/src/Makefile
|
|
===================================================================
|
|
--- gmic-1.5.8.4.orig/src/Makefile
|
|
+++ gmic-1.5.8.4/src/Makefile
|
|
@@ -323,9 +323,9 @@ lib:
|
|
QMAKE = qmake
|
|
|
|
zart: lib
|
|
ifneq ($(OS),Darwin)
|
|
- cd ../zart && $(QMAKE) zart.pro && $(MAKE) && strip zart
|
|
+ cd ../zart && $(QMAKE) zart.pro && $(MAKE) && strip -S zart
|
|
else
|
|
cd ../zart && $(QMAKE) zart.pro && $(MAKE) "CFLAGS=$(STD_MACOSX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS=$(STD_MACOSX_LDFLAGS) $(OPT_LDFLAGS)"
|
|
endif
|
|
|
|
@@ -375,9 +375,9 @@ endif
|
|
gmic_gimp.o: gmic.cpp gmic_def.h
|
|
$(CC) -o gmic_gimp.o -c gmic.cpp $(CFLAGS) -Dgmic_gimp -Dgmic_float_only
|
|
gmic_gimp : gmic_gimp.o gmic_gimp.cpp
|
|
$(CC) -o gmic_gimp gmic_gimp.cpp gmic_gimp.o `gimptool-2.0$(EXE) --cflags` $(CFLAGS) `gimptool-2.0$(EXE) --libs` $(LDFLAGS)
|
|
- strip gmic_gimp$(EXE)
|
|
+ strip -S gmic_gimp$(EXE)
|
|
|
|
gmic_bool.o: gmic.cpp
|
|
$(CC) -o gmic_bool.o -c gmic.cpp $(CFLAGS) -Dgmic_split_compilation -Dgmic_bool
|
|
gmic_uchar.o: gmic.cpp
|
|
@@ -397,9 +397,9 @@ gmic_float.o: gmic.cpp
|
|
gmic_double.o: gmic.cpp
|
|
$(CC) -o gmic_double.o -c gmic.cpp $(CFLAGS) -Dgmic_split_compilation -Dgmic_double
|
|
gmic_cli_alltypes: gmic_float.o gmic_uchar.o gmic_char.o gmic_uint.o gmic_int.o gmic_double.o gmic_bool.o gmic_ushort.o gmic_short.o gmic_def.h
|
|
$(CC) -o gmic gmic_bool.o gmic_uchar.o gmic_char.o gmic_ushort.o gmic_short.o gmic_uint.o gmic_int.o gmic_float.o gmic_double.o $(LDFLAGS)
|
|
- strip gmic$(EXE)
|
|
+ strip -S gmic$(EXE)
|
|
|
|
gmic_cli_standard: gmic.cpp
|
|
$(CC) -o gmic gmic.cpp $(CFLAGS) -Dgmic_float_only -Dgmic_main $(LDFLAGS)
|
|
|