File tuxpaint-makefile.patch of Package tuxpaint

Index: tuxpaint-0.9.33/Makefile
===================================================================
--- tuxpaint-0.9.33.orig/Makefile
+++ tuxpaint-0.9.33/Makefile
@@ -89,6 +89,7 @@ endif
 #   <HOSTROOT>/lib            Library files.
 #   <HOSTROOT>/lib/pkgconfig  *.pc files.
 #
+HOST:=
 ifdef HOST
   ifdef HOSTROOT
     ifeq ($(wildcard $(HOSTROOT)/.),)
@@ -804,9 +805,9 @@ uninstall:	uninstall-i18n
 	  xdg-desktop-menu uninstall tux4kids-tuxpaint.desktop ; \
 	  xdg-desktop-menu uninstall tux4kids-tuxpaint-fullscreen.desktop ; \
 	fi
-	-if [ "x$(shell which update-desktop-database)" != "x" ]; then \
-	  update-desktop-database; \
-	fi
+#	-if [ "x$(shell which update-desktop-database)" != "x" ]; then \
+#	  update-desktop-database; \
+#	fi
 
 # Install default config file:
 .PHONY: install-default-config
@@ -1009,7 +1010,7 @@ install-pkgxdg: src/tuxpaint.desktop src
 .PHONY: install-xdg
 install-xdg: src/tuxpaint.desktop src/tuxpaint-fullscreen.desktop src/org.tuxpaint.Tuxpaint.appdata.xml
 	@echo ""
-	@echo "...Installing launcher icon into desktop environment..."
+	@echo "...Not installing launcher icon into desktop environment..."
 	@if [ "x$(shell which xdg-icon-resource)" != "x" ]; then \
 	  xdg-icon-resource install --size 192 data/images/icon192x192.png tux4kids-tuxpaint ; \
 	  xdg-icon-resource install --size 128 data/images/icon128x128.png tux4kids-tuxpaint ; \
@@ -1036,9 +1037,9 @@ install-xdg: src/tuxpaint.desktop src/tu
 	  xdg-desktop-menu install tux4kids-tuxpaint-fullscreen.desktop ; \
 	  rm ./tux4kids-tuxpaint-fullscreen.desktop ; \
 	fi
-	@if [ "x$(shell which update-desktop-database)" != "x" ]; then \
-	  update-desktop-database ; \
-	fi
+#	@if [ "x$(shell which update-desktop-database)" != "x" ]; then \
+#	  update-desktop-database ; \
+#	fi
 	install --mode=0644 -Dt $(METAINFO_PREFIX) src/org.tuxpaint.Tuxpaint.appdata.xml
 #do package path related stuff, ie use destdir
 
openSUSE Build Service is sponsored by