desktop: remove the double <releases> trick.

This was added in commits 447d9bbc56 and fb6328b9ad.
With it, the validation succeeds. Still I am actually not sure that is
proper appdata format. Also we have issues of metadata not shown for our
flatpak package, and I am wondering if this could be the issue.
So let's get rid of this hack.

Also temporarily commenting out the appdata unit test because it fails
without, because of a bug in appstream-util. This bug has been fixed
since, but there are no releases containing this fix yet.
See: https://github.com/hughsie/appstream-glib/issues/234
We'll reactivate the tests later.
This commit is contained in:
Jehan 2018-05-13 15:27:54 +02:00
parent 5b2dd00fab
commit 0492157dd2
2 changed files with 1 additions and 3 deletions

View File

@ -143,9 +143,7 @@
<_p>For more information, see https://www.gimp.org/news/2018/04/27/gimp-2-10-0-released/</_p>
</description>
</release>
</releases>
<releases>
<release version="2.10.0~rc2" date="2018-04-17" type="development">
<description>
<_p>

View File

@ -2,5 +2,5 @@
# TODO: use validate-strict when the last errors for a strict validation
# are fixed.
appstream-util validate-relax ${GIMP_TESTING_ABS_TOP_BUILDDIR}/desktop/org.gimp.GIMP.appdata.xml && \
# appstream-util validate-relax ${GIMP_TESTING_ABS_TOP_BUILDDIR}/desktop/org.gimp.GIMP.appdata.xml && \
appstream-util validate-relax ${GIMP_TESTING_ABS_TOP_BUILDDIR}/desktop/gimp-data-extras.metainfo.xml