[telegnome] Add AppStream metadata
- From: Colin Watson <cjwatson src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [telegnome] Add AppStream metadata
- Date: Thu, 18 Feb 2016 13:29:05 +0000 (UTC)
commit bc905ced9003d6b724e440c2b4be7dcf73537760
Author: Colin Watson <cjwatson debian org>
Date: Thu Feb 18 13:26:18 2016 +0000
Add AppStream metadata
* telegnome.appdata.xml.in: New file.
* Makefile.am (appstreamdir, appstream_in_files, appstream_DATA):
New variables. Use @INTLTOOL_XML_RULE
(EXTRA_DIST): Replace $(srcdir)/telegnome.desktop.in with
$(apps_in_files) $(appstream_in_files).
(CLEANFILES): Replace telegnome.desktop with $(apps_DATA)
$(appstream_DATA).
* po/POTFILES.in: Add telegnome.appdata.xml.
* .gitignore: Add telegnome.appdata.xml.
.gitignore | 1 +
Makefile.am | 12 +++++++--
po/POTFILES.in | 1 +
telegnome.appdata.xml.in | 55 ++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 66 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 9a4053c..50a7f9c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -25,4 +25,5 @@ m4
missing
mkinstalldirs
stamp-h1
+telegnome.appdata.xml
telegnome.desktop
diff --git a/Makefile.am b/Makefile.am
index 90c85b9..0c84464 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,6 @@
SUBDIRS = data src po pixmaps doc
-EXTRA_DIST = $(srcdir)/telegnome.desktop.in \
+EXTRA_DIST = \
ChangeLog-pre-2-0 \
MAINTAINERS \
gnome-doc-utils.make \
@@ -9,8 +9,6 @@ EXTRA_DIST = $(srcdir)/telegnome.desktop.in \
intltool-update.in \
telegnome.doap
-CLEANFILES = telegnome.desktop
-
DISTCLEANFILES = intltool-extract intltool-merge intltool-update
MAINTAINERCLEANFILES = gnome-doc-utils.make
@@ -20,6 +18,14 @@ apps_in_files = telegnome.desktop.in
apps_DATA = $(apps_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@
+appstreamdir = $(datadir)/appdata
+appstream_in_files = telegnome.appdata.xml.in
+appstream_DATA = $(appstream_in_files:.xml.in=.xml)
+ INTLTOOL_XML_RULE@
+
+EXTRA_DIST += $(apps_in_files) $(appstream_in_files)
+CLEANFILES = $(apps_DATA) $(appstream_DATA)
+
ACLOCAL_AMFLAGS = -I m4
# Build ChangeLog from git history
diff --git a/po/POTFILES.in b/po/POTFILES.in
index e6a431c..846f9b6 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -5,4 +5,5 @@ src/gui.vala
[type: gettext/glade] src/menus.ui
[type: gettext/glade] src/prefs.ui
[type: gettext/glade] src/telegnome.ui
+telegnome.appdata.xml.in
telegnome.desktop.in
diff --git a/telegnome.appdata.xml.in b/telegnome.appdata.xml.in
new file mode 100644
index 0000000..28dda57
--- /dev/null
+++ b/telegnome.appdata.xml.in
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (C) 2016 Colin Watson <cjwatson debian org>
+
+ Permission is hereby granted, free of charge, to any person obtaining a
+ copy of this software and associated documentation files (the "Software"),
+ to deal in the Software without restriction, including without limitation
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ and/or sell copies of the Software, and to permit persons to whom the
+ Software is furnished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+ THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ DEALINGS IN THE SOFTWARE.
+-->
+<component type="desktop">
+ <id>telegnome.desktop</id>
+ <metadata_license>MIT</metadata_license>
+ <project_license>GPL-2.0+</project_license>
+ <_name>TeleGNOME</_name>
+ <_summary>Viewer for Teletext pages</_summary>
+
+ <description>
+ <_p>
+ TeleGNOME is a program to display teletext pages over the internet,
+ based on image feeds from a variety of broadcasters.
+ </_p>
+ </description>
+
+ <url type="homepage">http://telegnome.sourceforge.net/</url>
+ <project_group>GNOME</project_group>
+ <update_contact>cjwatson debian org</update_contact>
+
+ <provides>
+ <binary>telegnome</binary>
+ </provides>
+
+ <releases>
+ <release version="0.3.0" date="2016-02-15">
+ <description>
+ <ul>
+ <li>Add Italian teletext channel.</li>
+ <li>Rewrite in Vala.</li>
+ </ul>
+ </description>
+ </release>
+ </releases>
+</component>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]