File tuxpaint-makefile.patch of Package tuxpaint

---
 Makefile |   15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

Index: tuxpaint-0.9.35/Makefile
===================================================================
--- tuxpaint-0.9.35.orig/Makefile
+++ tuxpaint-0.9.35/Makefile
@@ -97,6 +97,7 @@ endif
 #   <HOSTROOT>/lib            Library files.
 #   <HOSTROOT>/lib/pkgconfig  *.pc files.
 #
+HOST:=
 ifdef HOST
   ifdef HOSTROOT
     ifeq ($(wildcard $(HOSTROOT)/.),)
@@ -827,9 +828,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
@@ -1033,7 +1034,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 ; \
@@ -1060,9 +1061,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
 	mkdir -p $(METAINFO_PREFIX)
 	cp -a src/org.tuxpaint.Tuxpaint.appdata.xml $(METAINFO_PREFIX)
 	# ^ Instead of: install --mode=0644 -Dt $(METAINFO_PREFIX) src/org.tuxpaint.Tuxpaint.appdata.xml
openSUSE Build Service is sponsored by