[gnome-maps] Provide an AppData file



commit 4b6ad25d2b85b203996d03b0054fc6f602bad36f
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Mon Sep 2 18:07:57 2013 +0200

    Provide an AppData file
    
    This is important for Maps to appear (nicely) in gnome's software
    center. More details:
    
    http://blogs.gnome.org/hughsie/2013/08/29/gnome-software-center-and-you/
    
    Based on a patch from Andreas Nilsson <anilsson redhat com>.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=707125

 data/Makefile.am               |    7 +++++++
 data/gnome-maps.appdata.xml.in |   28 ++++++++++++++++++++++++++++
 2 files changed, 35 insertions(+), 0 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 97eb64e..c3eee1b 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -13,11 +13,18 @@ gsettings_SCHEMAS = $(gsettingsschema_in_files:.xml.in=.xml)
 @INTLTOOL_XML_NOMERGE_RULE@
 @GSETTINGS_RULES@
 
+appdatadir = $(datadir)/appdata
+appdata_in_file = gnome-maps.appdata.xml.in
+appdata_DATA = $(appdata_in_file:.xml.in=.xml)
+ INTLTOOL_XML_RULE@
+
 EXTRA_DIST= \
     gnome-maps.desktop \
     $(desktop_in_files) \
+    $(appdata_in_file) \
     $(gsettingsschema_in_files)
 
 CLEANFILES = \
     $(desktop_DATA) \
+    $(appdata_DATA) \
     $(gsettings_SCHEMAS)
diff --git a/data/gnome-maps.appdata.xml.in b/data/gnome-maps.appdata.xml.in
new file mode 100644
index 0000000..35711af
--- /dev/null
+++ b/data/gnome-maps.appdata.xml.in
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application>
+  <id type="desktop">gnome-maps.desktop</id>
+  <licence>CC0</licence>
+  <summary>Find places around the world</summary>
+  <description>
+    <_p>Maps gives you quick access to maps all across the world. It allows you
+        to quickly find the place you're looking for by searching for a city or
+        street, or locate a place to meet a friend.
+    </_p>
+        <_ul>
+            <li>Search for country, region, city or street.</li>
+            <li>Search for specific types of  locations, such as
+                "Pubs near Main Street, Boston" or
+                "WiFi Access near Alexanderplatz, Berlin"</li>
+        </_ul>
+    <_p>Maps uses the collaborative OpenStreetMap database, made by hundreds of
+        thousands of people across the globe.
+    </_p>
+  </description>
+  <screenshots>
+    <screenshot type="default" width="800" 
height="600">http://people.gnome.org/~zeeshanak/screenshots/gnome-maps-search-peshawar.png</screenshot>
+    <screenshot width="800" 
height="600">http://people.gnome.org/~zeeshanak/screenshots/gnome-maps-search-karachi.png</screenshot>
+    <screenshot width="800" 
height="600">http://people.gnome.org/~zeeshanak/screenshots/gnome-maps-satellite.png</screenshot>
+  </screenshots>
+  <url type="homepage">http://wiki.gnome.org/Maps</url>
+  <updatecontact>gnome-maps-list gnome org</updatecontact>
+</application>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]