From c4106617ba406cedcfa1c0b55b8bcad3bfcccca9 Mon Sep 17 00:00:00 2001 From: Ross Gammon Date: Sun, 8 May 2016 15:13:46 +0200 Subject: [PATCH] 9443: Gramps not appearing in Gnome Software I updated the appdata.xml file to the latest version of the specification (https://www.freedesktop.org/software/appstream/docs/index.html), adding some new tags in the process. I also installed the appdata.xml file to the latest location in the specification. The XML has bene validated by the appstreamcli validation tool, and the patch applied in Debian (Gramps 4.2.3). If it looks OK, it should probably be cherry-picked to the gramps42 maintenance branch. --- data/gramps.appdata.xml.in | 48 ++++++++++++++++++++++++-------------- setup.py | 2 +- 2 files changed, 32 insertions(+), 18 deletions(-) diff --git a/data/gramps.appdata.xml.in b/data/gramps.appdata.xml.in index 9d04ac03d..d2e5e30a3 100644 --- a/data/gramps.appdata.xml.in +++ b/data/gramps.appdata.xml.in @@ -1,18 +1,32 @@ - -gramps.desktop -CC0 - -<_p>Gramps is a genealogy program that is both intuitive for hobbyists and feature-complete for professional genealogists. -<_p>It gives you the ability to record the many details of the life of an individual as well as the complex relationships between various people, places and events. -<_p>All of your research is kept organized, searchable and as precise as you need it to be. - -http://gramps-project.org/ - -http://www.gramps-project.org/wiki/images/5/5f/AppData1.png -http://www.gramps-project.org/wiki/images/6/68/AppData2.png -http://www.gramps-project.org/wiki/images/e/e9/AppData3.png -http://www.gramps-project.org/wiki/images/6/68/AppData4.png -http://www.gramps-project.org/wiki/images/5/50/AppData5.png - - + + gramps.desktop + CC0 + Gramps + Genealogical research program + + +

Gramps is a genealogy program that is both intuitive for hobbyists and feature-complete for professional genealogists.

+

It gives you the ability to record the many details of the life of an individual as well as the complex relationships between various people, places and events.

+

All of your research is kept organized, searchable and as precise as you need it to be.

+
+ + https://gramps-project.org/ + https://gramps-project.org/bugs/ + https://gramps-project.org/wiki/index.php?title=Main_page + GPL-2.0+ + Gramps Development Team + + + http://www.gramps-project.org/wiki/images/5/5f/AppData1.png + http://www.gramps-project.org/wiki/images/6/68/AppData2.png + http://www.gramps-project.org/wiki/images/e/e9/AppData3.png + http://www.gramps-project.org/wiki/images/6/68/AppData4.png + http://www.gramps-project.org/wiki/images/5/50/AppData5.png + + + + gramps + + +
diff --git a/setup.py b/setup.py index 99ac2e252..e645a1f3f 100755 --- a/setup.py +++ b/setup.py @@ -197,7 +197,7 @@ def build_intl(build_cmd): merge_files = (('data/gramps.desktop', 'share/applications', '-d'), ('data/gramps.keys', 'share/mime-info', '-k'), ('data/gramps.xml', 'share/mime/packages', '-x'), - ('data/gramps.appdata.xml', 'share/appdata', '-x')) + ('data/gramps.appdata.xml', 'share/metainfo', '-x')) for filename, target, option in merge_files: filenamelocal = convert_path(filename)