File appdata.patch of Package poedit
From 62c9c73adc616ecc44c5618bf2d917226babbe65 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= <matthias@mailaender.name>
Date: Sun, 4 Sep 2016 08:57:46 +0200
Subject: [PATCH] Add an appdata.xml file for software gallery integration.
---
Makefile.am | 3 +++
poedit.appdata.xml | 31 +++++++++++++++++++++++++++++++
2 files changed, 34 insertions(+)
create mode 100644 poedit.appdata.xml
diff --git a/Makefile.am b/Makefile.am
index 800850e..f56caf6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,4 +6,7 @@ SUBDIRS = src docs locales artwork
desktopdir=$(datadir)/applications
dist_desktop_DATA = poedit.desktop poedit-uri.desktop
+appdatadir=$(datadir)/appdata
+dist_appdata_DATA = poedit.appdata.xml
+
EXTRA_DIST = bootstrap
diff --git a/poedit.appdata.xml b/poedit.appdata.xml
new file mode 100644
index 0000000..f82a98d
--- /dev/null
+++ b/poedit.appdata.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2015 Mario Blättermann <mariobl@fedoraproject.org> -->
+<application>
+ <id type="desktop">poedit.desktop</id>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>MIT</project_license>
+ <name>Poedit</name>
+ <name xml:lang="de">Poedit</name>
+ <summary>GUI editor for GNU gettext .po files</summary>
+ <summary xml:lang="de">Grafischer Editor für GNU Gettext-Dateien</summary>
+ <description>
+ <p>
+ This program is a GUI frontend to GNU Gettext utilities and a catalogs
+ editor/source code parser. It helps with translating applications into
+ other languages.
+ </p>
+ <p xml:lang="de">
+ Dieses Programm stellt eine grafische Benutzeroberfläche für die
+ Dienstprogramme aus GNU Gettext bereit, sowie einen Katalogeditor und
+ einen Quellcode-Parser. Es hilft beim Übersetzen von Anwendungen in
+ andere Sprachen.
+ </p>
+ </description>
+ <screenshots>
+ <screenshot type="default">
+ <image>https://upload.wikimedia.org/wikipedia/commons/c/c2/Poedit_1.8.1_en.png</image>
+ </screenshot>
+ </screenshots>
+ <url type="homepage">http://poedit.net</url>
+ <updatecontact>help@poedit.net</updatecontact>
+</application>