[Debian-islamic-commits] [thawab] 05/06: separate_setup.py.diff patch: also removed calls for updating icon cache & desktop database.
أحمد المحمودي (Ahmed El-Mahmoudy)
aelmahmoudy at sabily.org
Wed Oct 1 13:42:07 UTC 2014
This is an automated email from the git hooks/post-receive script.
aelmahmoudy-guest pushed a commit to branch master
in repository thawab.
commit f948fd66bd90b2fae95d2355e4b340763d1c7771
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at sabily.org>
Date: Wed Oct 1 15:10:01 2014 +0200
separate_setup.py.diff patch: also removed calls for updating icon cache & desktop database.
---
debian/patches/separate_setup.py.diff | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/debian/patches/separate_setup.py.diff b/debian/patches/separate_setup.py.diff
index 9aa2860..ef111a8 100644
--- a/debian/patches/separate_setup.py.diff
+++ b/debian/patches/separate_setup.py.diff
@@ -1,5 +1,6 @@
Description: Do not call setup.py from Makefile
For Debian packaging, it would be better to call setup.py using debhelper.
+ Also removed calls for updating icon cache & desktop database.
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at sabily.org>
Forwarded: not-needed
@@ -13,3 +14,12 @@ Forwarded: not-needed
@$(ECHO) "Copying: $(APPNAME).desktop -> $(DATADIR)/applications/"
@$(INSTALL) -d $(DATADIR)/applications/
@$(INSTALL) -d $(DATADIR)/$(APPNAME)/
+@@ -36,8 +35,6 @@
+ $(INSTALL) -m 0644 -D $(APPNAME)-$${i}.png $(DATADIR)/icons/hicolor/$${i}x$${i}/apps/$(APPNAME).png; \
+ done
+ @$(RM) -rf build
+- @$(DESTDIR)/$(UPDATE_DESKTOP_DATABASE) --quiet $(DATADIR)/applications &> /dev/null || :
+- @$(DESTDIR)/$(GTK_UPDATE_ICON_CACHE) --quiet $(DATADIR)/icons/hicolor &> /dev/null || :
+
+ uninstall:
+ @$(ECHO) "*** Uninstalling..."
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-islamic/packages/thawab.git
More information about the Debian-islamic-commits
mailing list