[Xfce4-commits] [apps/xfce4-screenshooter] 02/03: Add appdata file

noreply at xfce.org noreply at xfce.org
Mon Dec 15 22:53:02 CET 2014


This is an automated email from the git hooks/post-receive script.

landry pushed a commit to branch master
in repository apps/xfce4-screenshooter.

commit 755e1614b7a3b35157babe7287ff07bb885c788a
Author: Eric Koegel <eric.koegel at gmail.com>
Date:   Fri Sep 26 20:11:10 2014 +0300

    Add appdata file
    
    Based on the xfpm appdata, the spec is available at:
    http://www.freedesktop.org/software/appstream/docs/sect-Metadata-Application.html
---
 .gitignore                             |    1 +
 Makefile.am                            |   13 ++++++++++--
 po/POTFILES.in                         |    1 +
 src/xfce4-screenshooter.appdata.xml.in |   35 ++++++++++++++++++++++++++++++++
 4 files changed, 48 insertions(+), 2 deletions(-)

diff --git a/.gitignore b/.gitignore
index bb7481a..ef71331 100644
--- a/.gitignore
+++ b/.gitignore
@@ -37,3 +37,4 @@ Makefile
 /src/xfce4-screenshooter
 /src/xfce4-screenshooter.desktop*
 /stamp-h1
+src/xfce4-screenshooter.appdata.xml
diff --git a/Makefile.am b/Makefile.am
index d0876ca..1cd576b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -165,6 +165,13 @@ panel_desktop_in_files = panel-plugin/screenshooter.desktop.in
 panel_desktop_DATA = $(panel_desktop_in_files:.desktop.in=.desktop)
 @INTLTOOL_DESKTOP_RULE@
 
+# appdata file for the application
+ at INTLTOOL_XML_RULE@
+appdatadir = $(datadir)/appdata
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+appdata_in_files = src/xfce4-screenshooter.appdata.xml.in
+
+
 # Fallback icons
 
 # 48x48 icons
@@ -209,7 +216,8 @@ EXTRA_DIST = \
 	$(app_desktop_in_in_files) \
 	$(panel_desktop_in_files) \
 	$(48icons_DATA) \
-	$(scalicons_DATA)
+	$(scalicons_DATA) \
+	$(appdata_in_files)
 
 DISTCLEANFILES = \
 	intltool-extract \
@@ -219,7 +227,8 @@ DISTCLEANFILES = \
 	$(lib_libscreenshooter_built_sources) \
 	lib/stamp-screenshooter-marshal.h \
 	$(app_desktop_DATA) $(app_desktop_in_files) \
-	$(panel_desktop_DATA)
+	$(panel_desktop_DATA) \
+	$(appdata_DATA)
 
 # Man pages
 dist_man_MANS = xfce4-screenshooter.1
diff --git a/po/POTFILES.in b/po/POTFILES.in
index f4752a4..bac73be 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -5,3 +5,4 @@ src/main.c
 src/xfce4-screenshooter.desktop.in.in
 panel-plugin/screenshooter-plugin.c
 panel-plugin/screenshooter.desktop.in
+src/xfce4-screenshooter.appdata.xml.in
diff --git a/src/xfce4-screenshooter.appdata.xml.in b/src/xfce4-screenshooter.appdata.xml.in
new file mode 100644
index 0000000..85dd7b0
--- /dev/null
+++ b/src/xfce4-screenshooter.appdata.xml.in
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2014 Eric Koegel <eric.koegel at gmail.com> and Simon Steinbeiss <simon at xfce.org> -->
+<component type="desktop">
+  <id>xfce4-screenshooter.desktop</id>
+  <metadata_license>CC-BY-3.0</metadata_license>
+  <project_license>GPL-2.0+</project_license>
+  <name>xfce4-screenshooter</name>
+  <summary>Application and panel plugin to take screenshots</summary>
+
+  <description>
+    <_p>This application allows you to capture the entire screen, the active window
+        or a selected region. You can set the delay that elapses before the screenshot
+        is taken and the action that will be done with the screenshot: save it to a PNG
+        file, copy it to the clipboard, open it using another application, or host it on
+        ZimageZ, a free online image hosting service. 
+    </_p>
+  </description>
+
+  <screenshots>
+    <screenshot type="default">
+      <image>http://docs.xfce.org/_media/apps/screenshooter/xfce4-screenshooter-dialog1.png</image>
+    </screenshot>
+  </screenshots>
+
+  <url type="homepage">http://goodies.xfce.org/projects/applications/xfce4-screenshooter</url>
+  <url type="bugtracker">https://bugzilla.xfce.org/describecomponents.cgi?product=Xfce4-screenshooter</url>
+  <url type="help">http://docs.xfce.org/apps/screenshooter/start</url>
+
+  <updatecontact>xfce4-dev at xfce.org</updatecontact>
+
+  <provides>
+    <binary>xfce4-screenshooter</binary>
+  </provides>
+
+</component>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list