From 4f0e9801e966d570c6484aa53a32683ce8f70659 Mon Sep 17 00:00:00 2001 From: Kevin Bowen Date: Thu, 28 Nov 2019 14:47:23 -0800 Subject: [PATCH] Add appdata file --- .gitignore | 1 + Makefile.am | 9 +++++++++ mousepad.appdata.xml.in | 40 ++++++++++++++++++++++++++++++++++++++++ po/POTFILES.in | 5 +++++ 4 files changed, 55 insertions(+) create mode 100644 mousepad.appdata.xml.in diff --git a/.gitignore b/.gitignore index 411f37b..2d66569 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,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 db9d51b..3945a4b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -16,6 +16,13 @@ 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 polkit_policydir = $(datadir)/polkit-1/actions polkit_in_in_files = \ @@ -41,6 +48,7 @@ EXTRA_DIST = \ intltool-merge.in \ intltool-update.in \ $(desktop_in_in_files) \ + $(appdata_in_files) \ $(polkit_in_in_files) DISTCLEANFILES = \ @@ -49,6 +57,7 @@ DISTCLEANFILES = \ intltool-update \ $(desktop_in_files) \ $(desktop_DATA) \ + $(appdata_DATA) \ $(polkit_in_files) \ $(polkit_policy_DATA) diff --git a/mousepad.appdata.xml.in b/mousepad.appdata.xml.in new file mode 100644 index 0000000..6f7afec --- /dev/null +++ b/mousepad.appdata.xml.in @@ -0,0 +1,40 @@ + + + + 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. + + + + + + https://docs.xfce.org/_media/apps/mousepad/mousepad_window.png + + + + https://xfce.org + https://bugzilla.xfce.org/describecomponents.cgi?product=Mousepad + https://docs.xfce.org/apps/mousepad/start + + Xfce + xfce4-dev@xfce.org + Mousepad + + + mousepad + + + diff --git a/po/POTFILES.in b/po/POTFILES.in index d587cca..7768af2 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -31,6 +31,11 @@ mousepad/mousepad-window.c # mousepad.desktop.in.in +# +# Appdata Files +# +mousepad.appdata.xml.in + # # Polkit File # -- 2.20.1