[gnome-disk-utility] Add appdata files



commit c8c378c063e4b09446fbf3d83a3a842f277cd91b
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sat May 23 17:58:45 2015 -0500

    Add appdata files
    
    Appdata file based on work by Daniel Mustieles and Richard Hughes.

 configure.ac                    |    2 ++
 data/Makefile.am                |    7 +++++++
 data/appdata-screenshot.png     |  Bin 0 -> 88762 bytes
 data/gnome-disks.appdata.xml.in |   26 ++++++++++++++++++++++++++
 po/POTFILES.in                  |    1 +
 5 files changed, 36 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 3480841..b44630c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -17,6 +17,8 @@ AC_HEADER_STDC
 LT_PREREQ([2.2])
 LT_INIT
 
+APPSTREAM_XML
+
 # ***********
 # Compilation
 # ***********
diff --git a/data/Makefile.am b/data/Makefile.am
index e21aff9..088ad6d 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -26,15 +26,22 @@ gsettings_SCHEMAS =                                                 \
        org.gnome.settings-daemon.plugins.gdu-sd.gschema.xml    \
        $(NULL)
 
+appstream_in_files = gnome-disks.appdata.xml.in
+appstream_XML = $(appstream_in_files:.xml.in=.xml)
+
+ APPSTREAM_XML_RULES@
 @INTLTOOL_DESKTOP_RULE@
+ INTLTOOL_XML_RULE@
 @GSETTINGS_RULES@
 
 EXTRA_DIST =                   \
+       $(appstream_in_files)   \
        $(desktop_in_files)     \
        $(gsettings_SCHEMAS)    \
        $(NULL)
 
 CLEANFILES =                   \
+       $(appstream_in_files)   \
        $(desktop_DATA)         \
        $(dbusservice_DATA)     \
        $(NULL)
diff --git a/data/appdata-screenshot.png b/data/appdata-screenshot.png
new file mode 100644
index 0000000..21621aa
Binary files /dev/null and b/data/appdata-screenshot.png differ
diff --git a/data/gnome-disks.appdata.xml.in b/data/gnome-disks.appdata.xml.in
new file mode 100644
index 0000000..19101cc
--- /dev/null
+++ b/data/gnome-disks.appdata.xml.in
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2015 Michael Catanzaro and contributors -->
+<application>
+  <id type="desktop">gnome-disks.desktop</id>
+  <metadata_license>CC0-1.0</metadata_license>
+  <project_license>GPL-2.0+</project_license>
+  <_name>GNOME Disks</_name>
+  <_summary>Disk management utility for GNOME</_summary>
+  <description>
+    <_p>
+      Disks provides an easy way to inspect, format, partition, and configure disks
+      and block devices.
+    </_p>
+    <_p>
+      Using Disks, you can view SMART data, manage RAID devices, benchmark physical
+      disks, and image USB sticks. Tasks are executed in the background, even after
+      the application has been closed by the user.
+    </_p>
+  </description>
+  <screenshots>
+    <screenshot 
type="default">https://git.gnome.org/browse/gnome-disk-utility/plain/data/appdata-screenshot.png</screenshot>
+  </screenshots>
+  <url type="homepage">https://wiki.gnome.org/Design/Apps/Disks</url>
+  <updatecontact>mcatanzaro gnome org</updatecontact>
+  <project_group>GNOME</project_group>
+</application>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index f8f90a4..90bb60a 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -3,6 +3,7 @@
 # Please keep this file sorted alphabetically.
 data/gnome-disk-image-mounter.desktop.in
 data/gnome-disk-image-writer.desktop.in
+data/gnome-disks.appdata.xml.in
 data/gnome-disks.desktop.in
 data/org.gnome.Disks.gschema.xml
 data/org.gnome.settings-daemon.plugins.gdu-sd.gschema.xml


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