[gnome-weather] Update Appdata (now Appstream)



commit b77d5b4ba284a637d459b87239f69e0aea46d74a
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Mon Jun 23 22:18:11 2014 +0200

    Update Appdata (now Appstream)
    
    New screenshots, now hosted on git in the misc/screenshots subdirectory,
    and new syntax, compliant with the 0.6 version of the Appstream
    specification.

 configure.ac                                      |    1 +
 data/Makefile.am                                  |    5 ++-
 data/org.gnome.Weather.Application.appdata.xml.in |   30 ++++++++++++++++----
 misc/screenshots/city-view-sidebar.png            |  Bin 0 -> 366900 bytes
 4 files changed, 28 insertions(+), 8 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 1bfdc8f..0a74221 100644
--- a/configure.ac
+++ b/configure.ac
@@ -27,6 +27,7 @@ LIBGD_INIT([main-view gir])
 
 PKG_PROG_PKG_CONFIG([0.22])
 
+APPSTREAM_XML
 GLIB_GSETTINGS
 GOBJECT_INTROSPECTION_REQUIRE([1.35.9])
 GJS_MIN_VERSION=1.39.91
diff --git a/data/Makefile.am b/data/Makefile.am
index f3fb26c..c6a7d03 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -21,9 +21,9 @@ gsettings_SCHEMAS = $(PACKAGE_NAME).Application.gschema.xml
 
 @GSETTINGS_RULES@
 
-appdatadir = $(datadir)/appdata
-appdata_DATA = $(PACKAGE_NAME).Application.appdata.xml
+appstream_XML = $(PACKAGE_NAME).Application.appdata.xml
 
+ APPSTREAM_XML_RULES@
 @INTLTOOL_XML_RULE@
 
 $(PACKAGE_NAME).Application.service: $(PACKAGE_NAME).Application.service.in
@@ -65,6 +65,7 @@ CLEANFILES = \
        $(PACKAGE_NAME).Application.data.gresource \
        $(PACKAGE_NAME).BackgroundService.data.gresource \
        $(PACKAGE_NAME).Application.appdata.xml \
+       $(PACKAGE_NAME).Application.appdata.valid \
        $(apps_DATA) \
        *.valid \
        gschemas.compiled \
diff --git a/data/org.gnome.Weather.Application.appdata.xml.in 
b/data/org.gnome.Weather.Application.appdata.xml.in
index be1ceba..719f083 100644
--- a/data/org.gnome.Weather.Application.appdata.xml.in
+++ b/data/org.gnome.Weather.Application.appdata.xml.in
@@ -1,18 +1,36 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<application>
-  <id type="desktop">org.gnome.Weather.Application.desktop</id>
+<!-- Copyright 2014 Giovanni Campagna -->
+<component type="desktop">
+  <id>org.gnome.Weather.Application.desktop</id>
   <metadata_license>CC0-1.0</metadata_license>
   <project_license>GPL-2.0+ and CC-BY-2.0 and CC-BY-SA-2.0</project_license>
   <description>
     <_p>
       A small application that allows you to monitor the current weather
-      conditions for your city, or anywhere in the world and to access
-      updated forecasts, up to 7 days, provided by various internet services.
+      conditions for your city, or anywhere in the world.
+    </_p>
+    <_p>
+      It provides access to detailed forecasts, up to 7 days, with hourly
+      details for the current and next day, using various internet services.
+    </_p>
+    <_p>
+      It also integrates with the GNOME Shell, allowing you see the
+      current conditions of any configured city by just typing its name
+      in the Activities Overview.
     </_p>
   </description>
   <screenshots>
-    <screenshot type="default" width="940" 
height="529">https://help.gnome.org/misc/release-notes/3.8/figures/weather-zurich.png</screenshot>
+    <screenshot type="default">
+      <image width="1002" 
height="564">https://git.gnome.org/browse/gnome-weather/plain/misc/screenshots/city-view.png</image>
+    </screenshot>
+    <screenshot>
+      <image width="1002" 
height="564">https://git.gnome.org/browse/gnome-weather/plain/misc/screenshots/world-view.png</image>
+    </screenshot>
+    <screenshot>
+      <image width="1002" 
height="564">https://git.gnome.org/browse/gnome-weather/plain/misc/screenshots/city-view-sidebar.png</image>
+    </screenshot>
   </screenshots>
   <url type="homepage">https://wiki.gnome.org/Apps/Weather</url>
+  <url type="bugtracker">https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-weather</url>
   <updatecontact>gcampagna_at_src.gnome.org</updatecontact>
-</application>
+</component>
diff --git a/misc/screenshots/city-view-sidebar.png b/misc/screenshots/city-view-sidebar.png
new file mode 100644
index 0000000..c1e8d3e
Binary files /dev/null and b/misc/screenshots/city-view-sidebar.png differ


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