[gnome-screenshot] Add an AppData file



commit 33f0938a43f872defc53cb42d538fdfc00f4e1e7
Author: Richard Hughes <richard hughsie com>
Date:   Sun Oct 12 20:04:14 2014 +0100

    Add an AppData file
    
    Resolves: https://bugzilla.gnome.org/show_bug.cgi?id=736859

 po/POTFILES.in                          |    1 +
 src/Makefile.am                         |    9 +++++++--
 src/gnome-screenshot.png                |  Bin 0 -> 28502 bytes
 src/org.gnome.Screenshot.appdata.xml.in |   29 +++++++++++++++++++++++++++++
 4 files changed, 37 insertions(+), 2 deletions(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 456dd2b..12a41cd 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -2,6 +2,7 @@
 # Please keep this file sorted alphabetically.
 src/gnome-screenshot.c
 src/org.gnome.Screenshot.desktop.in
+src/org.gnome.Screenshot.appdata.xml.in
 [type: gettext/glade]src/screenshot-app-menu.ui
 [type: gettext/glade]src/screenshot-dialog.ui
 src/org.gnome.gnome-screenshot.gschema.xml.in
diff --git a/src/Makefile.am b/src/Makefile.am
index dc7cb5d..43731b0 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -61,6 +61,11 @@ gnome_screenshot_in_files = org.gnome.Screenshot.desktop.in
 gnome_screenshot_DATA = $(gnome_screenshot_in_files:.desktop.in=.desktop)
 @INTLTOOL_DESKTOP_RULE@
 
+appdatadir = $(datadir)/appdata
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+appdata_in_files = org.gnome.Screenshot.appdata.xml.in
+ INTLTOOL_XML_RULE@
+
 dbusservicedir = $(datadir)/dbus-1/services
 dbusservice_DATA = org.gnome.Screenshot.service
 
@@ -79,11 +84,10 @@ gsettings_SCHEMAS = $(gsettingsschema_in_files:.xml.in=.xml)
 convertdir = $(datadir)/GConf/gsettings
 convert_DATA = gnome-screenshot.convert
 
- INTLTOOL_XML_NOMERGE_RULE@
-
 @GSETTINGS_RULES@
 
 EXTRA_DIST =                                   \
+       $(appdata_in_files)                     \
        $(gsettingsschema_in_files)             \
        $(gnome_screenshot_in_files)            \
        $(man_MANS)                             \
@@ -94,6 +98,7 @@ EXTRA_DIST =                                  \
 
 CLEANFILES = \
        $(BUILT_SOURCES)                        \
+       $(appdata_DATA)                         \
        $(gsettings_SCHEMAS)                    \
        $(gnome_screenshot_DATA)                \
        $(dbusservice_DATA)                     \
diff --git a/src/gnome-screenshot.png b/src/gnome-screenshot.png
new file mode 100644
index 0000000..aa18cb3
Binary files /dev/null and b/src/gnome-screenshot.png differ
diff --git a/src/org.gnome.Screenshot.appdata.xml.in b/src/org.gnome.Screenshot.appdata.xml.in
new file mode 100644
index 0000000..2e1a25b
--- /dev/null
+++ b/src/org.gnome.Screenshot.appdata.xml.in
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2014 Richard Hughes <richard hughsie com> -->
+<application>
+  <id type="desktop">org.gnome.Screenshot.desktop</id>
+  <metadata_license>CC0-1.0</metadata_license>
+  <_name>GNOME Screenshot</_name>
+  <_summary>Save images of your screen or individual windows</_summary>
+  <description>
+    <_p>
+      GNOME Screenshot is a simple utility that lets you take pictures of your computer screen.
+      Screenshots can be of your whole screen, any specific application, or a selected
+      rectangular area.
+      You can also copy the captured screenshot directly into the GNOME clipboard and
+      paste it into other applications.
+    </_p>
+    <_p>
+      GNOME Screenshot allows you to take screenshots even when it's not open: just
+      press the PrtSc button on your keyboard, and a snapshot of your whole screen will
+      be saved to your Pictures folder.
+      Hold Alt while pressing PrtSc and you will get a screenshot of only the currently
+      selected window.
+    </_p>
+  </description>
+  <url type="homepage">https://git.gnome.org/browse/gnome-screenshot/</url>
+  <screenshots>
+  <screenshot 
type="default">https://git.gnome.org/browse/gnome-screenshot/plain/src/gnome-screenshot.png</screenshot>
+  </screenshots>
+  <updatecontact>richard hughsie com</updatecontact>
+</application>


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