Mercurial > octave
changeset 23039:1c98489534aa stable
Update appdata.xml to follow conventions (bug #49952).
* etc/icons/octave.appdata.xml.in: Use "metadata_license" rather than
deprecated "licence". Add "program_license" entry. Use "component" rather
than deprecated "application" entry. Update URL for screenshot. Update
copyright on appdata.xml file itself to include 2017. Use "image" tag
within <screenshot> entry for conformance with standard.
author | Rik <rik@octave.org> |
---|---|
date | Fri, 13 Jan 2017 15:41:04 -0800 |
parents | 0412dc701e28 |
children | a11950e51b7f 97a9fd0af57b |
files | etc/icons/octave.appdata.xml.in |
diffstat | 1 files changed, 14 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/etc/icons/octave.appdata.xml.in Sat Jan 14 00:00:32 2017 +0100 +++ b/etc/icons/octave.appdata.xml.in Fri Jan 13 15:41:04 2017 -0800 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - Copyright (C) 2013-2016 Carnë Draug + Copyright (C) 2013-2017 Carnë Draug 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 @@ -15,11 +15,13 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. --> -<application> - <id type="desktop">%OCTAVE_DESKTOP_FILE%</id> - <licence>GPLv3+</licence> +<component type="desktop"> + <id>%OCTAVE_DESKTOP_FILE%</id> + <metadata_license>FSFAP</metadata_license> + <project_license>GPL-3.0+</project_license> <name>GNU Octave</name> <summary>Interactive programming environment for numerical computations</summary> + <description> <p> GNU Octave is a high-level interpreted language, primarily intended for @@ -41,16 +43,20 @@ C++, C, Fortran, or other languages. </p> </description> + <screenshots> <!-- - From: http://people.freedesktop.org/~hughsient/appdata/ + From: https://www.freedesktop.org/software/appstream/docs/ All screenshots should have a 16:9 aspect ratio, and should have a width that is no smaller than 620px. Screenshots should be in PNG or JPEG format. PNG is the preferred format. --> - <screenshot type="default">http://www.gnu.org/software/octave/images/screenshot.png</screenshot> + <screenshot type="default"> + <image>https://www.gnu.org/software/octave/img/screenshot.png</image> + </screenshot> </screenshots> + <url type="homepage">http://www.octave.org</url> - <updatecontact>maintainers@octave.org</updatecontact> + <update_contact>maintainers@octave.org</update_contact> <project_group>GNU</project_group> -</application> +</component>