The following commit has been merged in the experimental branch:
commit 0f4d9cbd42602e0088471bf6a720712d10a6fbf7
Author: Gerfried Fuchs <[email protected]>
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

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

Reply via email to