Update AppStream XML files to current (0.11) standards

<id> tag is changed to a Reverse-DNS form, and an accommodating
PACKAGE_RDNS is set in configure.ac to use it.

<name> and <summary> tags have been added, using existing autoconf
variable values.

The `appstream-util validate` command will complain about some
optionally-missing tags and a strict string length limit on some of
the <caption> tags.  `validate-relax` passes, and by the letter of the
AppStream specification, we should be completely valid.
This commit is contained in:
Mike Swanson 2018-01-22 20:41:16 -08:00
parent 12d69a4ee6
commit 3582793055
5 changed files with 14 additions and 4 deletions

View file

@ -7,6 +7,7 @@ PACKAGE_COPYRIGHT="Copyright (C) 1993-2017"
PACKAGE_LICENSE="GNU General Public License, version 2"
PACKAGE_MAINTAINER="Simon Howard"
PACKAGE_URL="https://www.chocolate-doom.org/"
PACKAGE_RDNS="org.chocolate_doom"
PACKAGE_ISSUES="https://github.com/chocolate-doom/chocolate-doom/issues"
AC_CONFIG_AUX_DIR(autotools)
@ -142,6 +143,7 @@ AC_SUBST(PACKAGE_COPYRIGHT)
AC_SUBST(PACKAGE_LICENSE)
AC_SUBST(PACKAGE_MAINTAINER)
AC_SUBST(PACKAGE_URL)
AC_SUBST(PACKAGE_RDNS)
AC_SUBST(PACKAGE_ISSUES)
AC_SUBST(bashcompletiondir)

View file

@ -1,7 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop">
<id>@PROGRAM_PREFIX@doom.desktop</id>
<id>@PACKAGE_RDNS@.Doom</id>
<name>@PACKAGE_SHORTNAME@ Doom</name>
<summary>@PACKAGE_SHORTDESC@</summary>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0+</project_license>
<developer_name>@PACKAGE_MAINTAINER@</developer_name>

View file

@ -1,7 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop">
<id>@PROGRAM_PREFIX@heretic.desktop</id>
<id>@PACKAGE_RDNS@.Heretic</id>
<name>@PACKAGE_SHORTNAME@ Heretic</name>
<summary>@PACKAGE_SHORTDESC@</summary>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0+</project_license>
<developer_name>@PACKAGE_MAINTAINER@</developer_name>

View file

@ -1,7 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop">
<id>@PROGRAM_PREFIX@hexen.desktop</id>
<id>@PACKAGE_RDNS@.Hexen</id>
<name>@PACKAGE_SHORTNAME@ Hexen</name>
<summary>@PACKAGE_SHORTDESC@</summary>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0+</project_license>
<developer_name>@PACKAGE_MAINTAINER@</developer_name>

View file

@ -1,7 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop">
<id>@PROGRAM_PREFIX@strife.desktop</id>
<id>@PACKAGE_RDNS@.Strife</id>
<name>@PACKAGE_SHORTNAME@ Strife</name>
<summary>@PACKAGE_SHORTDESC@</summary>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0+</project_license>
<developer_name>@PACKAGE_MAINTAINER@</developer_name>