Git Repositories

Add appdata file for Thunar (Bug 11172)
authorEric Koegel <eric.koegel@gmail.com>
Fri, 26 Sep 2014 16:20:11 +0000 (19:20 +0300)
committerSimon Steinbeiss <simon.steinbeiss@elfenbeinturm.at>
Sat, 1 Nov 2014 18:56:30 +0000 (19:56 +0100)
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@elfenbeinturm.at>
.gitignore
Makefile.am
po/POTFILES.in
thunar.appdata.xml.in [new file with mode: 0644]

index f8754f9..c574434 100644 (file)
@@ -29,6 +29,7 @@ core
 *.desktop
 *.desktop.in
 *.service
+thunar.appdata.xml
 gtk-doc.make
 ThunarBulkRename
 Thunar.spec
index ece3b41..3c56127 100644 (file)
@@ -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
+#
+@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                                                \
index 87561fd..c47182a 100644 (file)
@@ -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 (file)
index 0000000..2c3fc39
--- /dev/null
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2014 Ryan Lerch <rlerch@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@xfce.org</updatecontact>
+</application>