From 580a261c1c5f44c90c0023c0753c9d4b31cb5569 Mon Sep 17 00:00:00 2001 From: Eric Koegel Date: Fri, 26 Sep 2014 19:54:07 +0300 Subject: [PATCH] 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 | 14 ++++++++++++-- mousepad.appdata.xml.in | 37 +++++++++++++++++++++++++++++++++++++ po/POTFILES.in | 5 +++++ 4 files changed, 55 insertions(+), 2 deletions(-) create mode 100644 mousepad.appdata.xml.in diff --git a/.gitignore b/.gitignore index 378fbc4..a567853 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ Makefile Makefile.in Makefile.in.in Mousepad.desktop +mousepad.appdata.xml MousepadHelp aclocal.m4 autom4te.cache/ diff --git a/Makefile.am b/Makefile.am index 964dd9a..87eb045 100644 --- a/Makefile.am +++ b/Makefile.am @@ -16,6 +16,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 = mousepad.appdata.xml.in + .PHONY: ChangeLog ChangeLog: Makefile @@ -29,13 +37,15 @@ EXTRA_DIST = \ intltool-extract.in \ intltool-merge.in \ intltool-update.in \ - $(desktop_in_in_files) + $(desktop_in_in_files) \ + $(appdata_in_files) DISTCLEANFILES = \ intltool-extract \ intltool-merge \ intltool-update \ $(desktop_in_files) \ - $(desktop_DATA) + $(desktop_DATA) \ + $(appdata_DATA) # vi:set ts=8 sw=8 noet ai nocindent syntax=automake: diff --git a/mousepad.appdata.xml.in b/mousepad.appdata.xml.in new file mode 100644 index 0000000..13d20d7 --- /dev/null +++ b/mousepad.appdata.xml.in @@ -0,0 +1,37 @@ + + + + mousepad.desktop + CC-BY-3.0 + GPL-2.0+ + Mousepad + Mousepad is a simple text editor for the Xfce desktop environment + + + <_p>Mousepad aims to be an easy-to-use and fast editor. Our target is an + editor for quickly editing text files, not a development environment + or an editor with a huge bunch of plugins. + + <_p>On the other hand we try to use the latest Gtk+ features available, + which means that if Gtk adds something new in a major release that is + useful for the editor, we will likely bump the Gtk dependency and + integrate this new feature in Mousepad. + + + + + + http://en.zimagez.com/full/b46fb000864ffa1e817defaa1cf6b754b1f6633c6904f93790bde3e8d8890493.php + + + + http://www.xfce.org/ + https://bugzilla.xfce.org/describecomponents.cgi?product=Mousepad + + xfce4-dev@xfce.org + + + mousepad + + + diff --git a/po/POTFILES.in b/po/POTFILES.in index e175eb3..ff70f7e 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -30,3 +30,8 @@ mousepad/mousepad-window.c # Desktop Files # mousepad.desktop.in.in + +# +# Appdata Files +# +mousepad.appdata.xml.in -- 2.1.1