[Xfce4-commits] [apps/mousepad] 01/01: Add appdata file (Bug #11200)

noreply at xfce.org noreply at xfce.org
Fri Dec 6 04:40:52 CET 2019


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

a   n   d   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/mousepad.

commit 814f193831be8066e305fc2d829f940c43722b84
Author: Kevin Bowen <kevin.bowen at gmail.com>
Date:   Thu Nov 28 14:47:23 2019 -0800

    Add appdata file (Bug #11200)
---
 .gitignore              |  1 +
 Makefile.am             |  9 +++++++++
 mousepad.appdata.xml.in | 40 ++++++++++++++++++++++++++++++++++++++++
 po/POTFILES.in          |  5 +++++
 4 files changed, 55 insertions(+)

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
+#
+ at 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..08ed4a3
--- /dev/null
+++ b/mousepad.appdata.xml.in
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2014 Eric Koegel <eric.koegel at gmail.com> and Simon Steinbeiss <simon at xfce.org> -->
+<component type="desktop">
+  <id>mousepad.desktop</id>
+  <metadata_license>CC-BY-3.0</metadata_license>
+  <project_license>GPL-2.0+</project_license>
+  <name>Mousepad</name>
+  <summary>Mousepad is a simple text editor for the Xfce desktop environment</summary>
+
+  <description>
+    <_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>
+   <_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.
+    </_p>
+  </description>
+
+  <screenshots>
+    <screenshot type="default">
+      <image>https://docs.xfce.org/_media/apps/mousepad/mousepad_window.png</image>
+    </screenshot>
+  </screenshots>
+
+  <url type="homepage">https://xfce.org</url>
+  <url type="bugtracker">https://bugzilla.xfce.org/describecomponents.cgi?product=Mousepad</url>
+  <url type="help">https://docs.xfce.org/apps/mousepad/start</url>
+
+  <project_group>Xfce</project_group>
+  <updatecontact>xfce4-dev at xfce.org</updatecontact>
+  <translation type="gettext">Mousepad</translation>
+
+  <provides>
+    <binary>mousepad</binary>
+  </provides>
+
+</component>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index d587cca..7768af2 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -32,6 +32,11 @@ mousepad/mousepad-window.c
 mousepad.desktop.in.in
 
 #
+# Appdata Files
+#
+mousepad.appdata.xml.in
+
+#
 # Polkit File
 #
 org.xfce.mousepad.policy.in.in

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


More information about the Xfce4-commits mailing list