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
29 lines
1.3 KiB
Diff
29 lines
1.3 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
|
|
@@ -422,10 +422,8 @@ install:
|
|
mkdir -p $(DESTDIR)$(USR)/include/
|
|
cp -f gmic.h $(DESTDIR)$(USR)/include/
|
|
ifneq ($(OS),Darwin)
|
|
mkdir -p $(DESTDIR)$(USR)/share
|
|
-# mkdir -p $(DESTDIR)$(USR)/share/zart
|
|
-# cp -f ../zart/zart $(DESTDIR)$(USR)/bin/zart
|
|
mkdir -p $(DESTDIR)$(USR)/$(LIB)
|
|
cp -f libgmic.so $(DESTDIR)$(USR)/$(LIB)/libgmic.so.1.5.8
|
|
ln -s libgmic.so.1.5.8 $(DESTDIR)$(USR)/$(LIB)/libgmic.so.1
|
|
# ln -s libgmic.so.1.5.8 $(DESTDIR)$(USR)/$(LIB)/libgmic.so.1
|
|
@@ -438,8 +436,12 @@ endif
|
|
cp -f ../man/gmic.1.gz $(DESTDIR)$(USR)/share/man/fr/man1/gmic.1.gz
|
|
if test -d /etc/bash_completion.d/; then mkdir -p $(DESTDIR)/etc/bash_completion.d/; cp -f gmic_bashcompletion.sh $(DESTDIR)/etc/bash_completion.d/gmic; fi
|
|
if test -d /opt/local/etc/bash_completion.d/; then mkdir -p $(DESTDIR)/opt/local/etc/bash_completion.d/; cp -f gmic_bashcompletion.sh $(DESTDIR)/opt/local/etc/bash_completion.d/gmic; fi
|
|
|
|
+install-zart: zart
|
|
+ mkdir -p $(DESTDIR)$(USR)/share/zart
|
|
+ cp -f ../zart/zart $(DESTDIR)$(USR)/bin/zart
|
|
+
|
|
uninstall:
|
|
rm -f $(DESTDIR)$(USR)/bin/gmic
|
|
rm -f $(DESTDIR)$(USR)/include/gmic.h
|
|
rm -f $(DESTDIR)$(USR)/$(LIB)/libgmic.so.1.5.8
|