[widelands] 01/04: Update the appdata file so that widelands appears in the software center
Martin Quinson
mquinson at moszumanska.debian.org
Sat Mar 11 09:23:45 UTC 2017
This is an automated email from the git hooks/post-receive script.
mquinson pushed a commit to branch master
in repository widelands.
commit 2c6087b5ebdd74e6a4cce974c1bc3fe441aa9402
Author: Martin Quinson <martin.quinson at loria.fr>
Date: Sat Mar 11 08:50:12 2017 +0100
Update the appdata file so that widelands appears in the software center
This patch was adapted from the following upstream patch:
https://bazaar.launchpad.net/~widelands-dev/widelands/b19/revision/8147
---
debian/{widelands.desktop => org.widelands.widelands.desktop} | 0
debian/rules | 2 +-
debian/widelands.appdata.xml | 8 ++++----
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/debian/widelands.desktop b/debian/org.widelands.widelands.desktop
similarity index 100%
rename from debian/widelands.desktop
rename to debian/org.widelands.widelands.desktop
diff --git a/debian/rules b/debian/rules
index 53d6fc8..749da57 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,7 +26,7 @@ override_dh_strip:
override_dh_auto_install:
dh_auto_install --parallel
mkdir -p debian/tmp/usr/share/applications/
- cp debian/widelands.desktop debian/tmp/usr/share/applications/
+ cp debian/org.widelands.widelands.desktop debian/tmp/usr/share/applications/
# Take care of the fonts (use system-wide ones)
# Not doing so would violate the Debian Policy, preventing the package to enter the official repositories
rm -r debian/tmp/usr/share/games/widelands/data/i18n/fonts/amiri
diff --git a/debian/widelands.appdata.xml b/debian/widelands.appdata.xml
index 056b2e5..099f080 100644
--- a/debian/widelands.appdata.xml
+++ b/debian/widelands.appdata.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2016 The Widelands Development Team <widelands-dev_at_lists.launchpad.net> -->
-<component>
- <id>org.widelands.widelands</id>
+<component type="desktop-application">
+ <id>org.widelands.widelands.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0</project_license>
<name>Widelands</name>
@@ -198,7 +198,7 @@
<url type="donation">https://wl.widelands.org/wiki/The%20Widelands%20Project/</url>
<url type="help">https://wl.widelands.org/wiki/Game%20Manual/</url>
<developer_name>The Widelands Development Team</developer_name>
- <content_rating type="oars-1.0">
+ <x-content_rating type="oars-1.0">
<content_attribute id="violence-cartoon">moderate</content_attribute>
<content_attribute id="violence-fantasy">none</content_attribute>
<content_attribute id="violence-realistic">none</content_attribute>
@@ -219,5 +219,5 @@
<content_attribute id="social-contacts">none</content_attribute>
<content_attribute id="money-purchasing">none</content_attribute>
<content_attribute id="money-gambling">none</content_attribute>
- </content_rating>
+ </x-content_rating>
</component>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/widelands.git
More information about the Pkg-games-commits
mailing list