[gnome-terminal] appdata: Add appdata file



commit 9f321cbc9907acbf483bfd235031a8a4ad002738
Author: Christian Persch <chpe gnome org>
Date:   Mon Feb 24 23:11:41 2014 +0100

    appdata: Add appdata file
    
    https://bugzilla.gnome.org/show_bug.cgi?id=708448

 Makefile.am                   |    6 ++++++
 gnome-terminal.appdata.xml.in |   38 ++++++++++++++++++++++++++++++++++++++
 po/POTFILES.in                |    1 +
 3 files changed, 45 insertions(+), 0 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 17943da..d09067b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -18,7 +18,13 @@ desktop_in_files = @PACKAGE  desktop in in
 desktop_DATA = $(desktop_in_files:.desktop.in.in=.desktop)
 @INTLTOOL_DESKTOP_RULE@
 
+appdatadir = $(datadir)/appdata
+appdata_in_files = gnome-terminal.appdata.xml.in
+nodist_appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+ INTLTOOL_XML_RULE@
+
 EXTRA_DIST =                   \
+       $(appdata_in_files)     \
        ChangeLog.pre-2-23      \
        ChangeLog.README        \
        HACKING                 \
diff --git a/gnome-terminal.appdata.xml.in b/gnome-terminal.appdata.xml.in
new file mode 100644
index 0000000..5b5acc9
--- /dev/null
+++ b/gnome-terminal.appdata.xml.in
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright © 2014 Christian Persch
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License as published by
+  the Free Software Foundation; either version 3, or (at your option)
+  any later version.
+
+  This program is distributed in the hope conf it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  GNU General Public License for more details.
+
+  You should have received a copy of the GNU General Public License
+  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+-->
+<!-- FIXME: the xmlns for appdata is made-up -->
+<application
+  xmlns="https://www.freedesktop.org/standards/appdata/1.0";
+  xmlns:xi="http://www.w3.org/2001/XInclude";
+  xmlns:its="http://www.w3.org/2005/11/its";>
+  <id type="desktop">gnome-terminal.desktop</id>
+  <licence>GPL-3.0+</licence>
+  <_name>Terminal</_name>
+  <_summary>Use the command line</_summary>
+  <description>
+    <p>blah</p>
+    <p>blah blah</p>
+    <p>blah blah blah</p>
+  </description>
+  <screenshot>
+    <screenshot 
type="default">https://help.gnome.org/users/gnome-terminal/stable/figures/gnome-terminal.png</screenshot>
+  </screenshot>
+  <url type="homepage">https://wiki.gnome.org/Apps/Terminal</url>
+  <project_group>GNOME</project_group>
+  <updatecontact>https://wiki.gnome.org/Apps/Terminal/ReportingBugs</updatecontact>
+</application>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 7c3169c..477cd7d 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,6 +1,7 @@
 [encoding: UTF-8]
 # List of source files containing translatable strings.
 # Please keep this file sorted alphabetically.
+gnome-terminal.appdata.xml.in
 gnome-terminal.desktop.in.in
 src/client.c
 [type: gettext/glade]src/find-dialog.ui


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]