[Xfce4-commits] [xfce/thunar] 01/02: Add appdata file for Thunar (Bug 11172)

noreply at xfce.org noreply at xfce.org
Sat Nov 1 20:02:04 CET 2014


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

ochosi pushed a commit to branch master
in repository xfce/thunar.

commit 9e3a5dccfa01e096b0905020fa3ef4453b976ced
Author: Eric Koegel <eric.koegel at gmail.com>
Date:   Fri Sep 26 19:20:11 2014 +0300

    Add appdata file for Thunar (Bug 11172)
    
    Ryan Lerch wrote most of the appdata file, I only added the url
    help and the autoconf stuff to use intltool for translated strings
    in the appdata as we can do that as upstream. See:
    http://www.freedesktop.org/software/appstream/docs/sect-Metadata-Application.html
    
    Signed-off-by: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
---
 .gitignore            |    1 +
 Makefile.am           |   13 ++++++++++++-
 po/POTFILES.in        |    1 +
 thunar.appdata.xml.in |   24 ++++++++++++++++++++++++
 4 files changed, 38 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index f8754f9..c574434 100644
--- a/.gitignore
+++ b/.gitignore
@@ -29,6 +29,7 @@ core
 *.desktop
 *.desktop.in
 *.service
+thunar.appdata.xml
 gtk-doc.make
 ThunarBulkRename
 Thunar.spec
diff --git a/Makefile.am b/Makefile.am
index ece3b41..3c56127 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -66,6 +66,14 @@ desktop_in_files = $(desktop_in_in_files:.desktop.in.in=.desktop.in)
 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
 @INTLTOOL_DESKTOP_RULE@
 
+#
+# .appdata
+#
+ at INTLTOOL_XML_RULE@
+appdatadir = $(datadir)/appdata
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+appdata_in_files = thunar.appdata.xml.in
+
 if HAVE_DBUS
 servicedir = $(datadir)/dbus-1/services
 service_in_files = org.xfce.FileManager.service.in org.xfce.Thunar.service.in
@@ -82,7 +90,10 @@ EXTRA_DIST =								\
 	intltool-merge.in						\
 	intltool-update.in						\
 	$(desktop_in_in_files)						\
-	$(service_in_files)
+	$(service_in_files)						\
+	$(appdata_in_files)
+
+CLEANFILES		= $(appdata_DATA)
 
 DISTCLEANFILES =							\
 	ThunarBulkRename						\
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 87561fd..c47182a 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -129,3 +129,4 @@ Thunar.desktop.in.in
 Thunar-bulk-rename.desktop.in.in
 Thunar-folder-handler.desktop.in.in
 thunar/thunar-settings.desktop.in
+thunar.appdata.xml.in
diff --git a/thunar.appdata.xml.in b/thunar.appdata.xml.in
new file mode 100644
index 0000000..2c3fc39
--- /dev/null
+++ b/thunar.appdata.xml.in
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2014 Ryan Lerch <rlerch at redhat.com> -->
+
+<application>
+  <id type="desktop">Thunar.desktop</id>
+  <metadata_license>CC0-1.0</metadata_license>
+  <summary>File Browser</summary>
+  <description>
+    <_p>
+      Thunar is a file browser specifically designed for the XFCE Desktop, but also can
+      serve as an alternate file browser for other Desktop environments. It has a simple,
+      clean two-pane design for browsing all your files.
+    </_p>
+  </description>
+  <url type="homepage">http://xfce.org/projects</url>
+  <url type="bugtracker">https://bugzilla.xfce.org/describecomponents.cgi?product=Thunar</url>
+  <url type="help">http://docs.xfce.org/xfce/thunar/start</url>
+
+  <screenshots>
+    <screenshot type="default">http://docs.xfce.org/_media/xfce/thunar/file-manager-window.png</screenshot>
+  </screenshots>
+
+  <updatecontact>xfce4-dev at xfce.org</updatecontact>
+</application>

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


More information about the Xfce4-commits mailing list