From f71ace5bb60a35d7f92a1739e675028d4ca1a9ab Mon Sep 17 00:00:00 2001 From: Eric Koegel Date: Fri, 26 Sep 2014 19:20:11 +0300 Subject: [PATCH] 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 --- .gitignore | 1 + Makefile.am | 13 ++++++++++++- po/POTFILES.in | 1 + thunar.appdata.xml.in | 24 ++++++++++++++++++++++++ 4 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 thunar.appdata.xml.in 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 +# +@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 @@ + + + + + Thunar.desktop + CC0-1.0 + File Browser + + <_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. + + + http://xfce.org/projects + https://bugzilla.xfce.org/describecomponents.cgi?product=Thunar + http://docs.xfce.org/xfce/thunar/start + + + http://docs.xfce.org/_media/xfce/thunar/file-manager-window.png + + + xfce4-dev@xfce.org + -- 2.1.1