[SCM] Debian packaging of wesnoth branch, experimental, updated. 52393ded7cb0123699a9a0cff897b134eae84725

Gerfried Fuchs rhonda at debian.at
Thu Mar 18 19:11:16 UTC 2010


The following commit has been merged in the experimental branch:
commit 0f4d9cbd42602e0088471bf6a720712d10a6fbf7
Author: Gerfried Fuchs <rhonda at debian.at>
Date:   Wed Mar 17 21:39:35 2010 +0100

    fix desktop files

diff --git a/debian/rules b/debian/rules
index 7fce24b..27a9231 100755
--- a/debian/rules
+++ b/debian/rules
@@ -205,6 +205,16 @@ binary-arch: build-arch install-arch
 	mv debian/wesnoth-$(BRANCH_VERSION)-server/usr/games/wesnothd \
 		debian/wesnoth-$(BRANCH_VERSION)-server/usr/games/wesnothd-$(BRANCH_VERSION)
 
+	# move the desktop files to their proper name
+	mv debian/wesnoth-$(BRANCH_VERSION)-core/usr/share/applications/wesnoth.desktop \
+		debian/wesnoth-$(BRANCH_VERSION)-core/usr/share/applications/wesnoth-$(BRANCH_VERSION).desktop
+	mv debian/wesnoth-$(BRANCH_VERSION)-core/usr/share/applications/wesnoth_editor.desktop \
+		debian/wesnoth-$(BRANCH_VERSION)-core/usr/share/applications/wesnoth-$(BRANCH_VERSION)_editor.desktop
+	# add branch name to desktop entries
+	sed -i -e "/^Name/ s/$$/ ($(BRANCH_VERSION))/" \
+		debian/wesnoth-$(BRANCH_VERSION)-core/usr/share/applications/*.desktop
+
+
 	# /usr/share/doc symlinks
 	for i in wesnoth-$(BRANCH_VERSION)-core wesnoth-$(BRANCH_VERSION)-dbg; do \
 		install -p -d -m755 debian/$$i/usr/share/doc; \

-- 
Debian packaging of wesnoth



More information about the Pkg-games-commits mailing list