desktop: removing autotools-only test files.
These are implemented directly in the meson build files.
This commit is contained in:
parent
26dce72d2c
commit
3da0cdc03d
3 changed files with 11 additions and 17 deletions
|
|
@ -8,6 +8,15 @@ sizes = [
|
|||
'256',
|
||||
]
|
||||
|
||||
|
||||
# XXX: the old autotools build used to `touch` the (datadir) /icons/hicolor
|
||||
# folder at install time in order to comply with the "Icon Theme Specification"
|
||||
# (see the "Implementation Notes" section about changing the mtime of the
|
||||
# toplevel icon directory after installing/updating icon themes).
|
||||
# This part was not reimplemented in our meson build. Unsure if this is still
|
||||
# needed or even if this is the role of the application build to take care of
|
||||
# this.
|
||||
|
||||
foreach size : sizes
|
||||
sizedir = size+'x'+size
|
||||
install_data(sizedir / 'gimp.png',
|
||||
|
|
@ -65,6 +74,8 @@ if desktop_validate.found()
|
|||
endif
|
||||
|
||||
if appstreamcli.found()
|
||||
# TODO: should we use validate-strict when the last errors for a strict
|
||||
# validation are fixed?
|
||||
test('appdata_file',
|
||||
appstreamcli,
|
||||
args: [ 'validate', appdatafile ],
|
||||
|
|
|
|||
|
|
@ -1,14 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# TODO: use validate-strict when the last errors for a strict validation
|
||||
# are fixed.
|
||||
appstreamcli validate ${GIMP_TESTING_ABS_TOP_BUILDDIR}/desktop/org.gimp.GIMP.appdata.xml && \
|
||||
if [ $(expr @GIMP_MICRO_VERSION@ % 2) = 0 ]; then
|
||||
grep TODO ${GIMP_TESTING_ABS_TOP_BUILDDIR}/desktop/org.gimp.GIMP.appdata.xml
|
||||
if [ $? = 0 ]; then
|
||||
echo "ERROR: stable version with remaining TODOs in appdata."
|
||||
false
|
||||
fi
|
||||
else
|
||||
true
|
||||
fi
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
desktop-file-validate ${GIMP_TESTING_ABS_TOP_BUILDDIR}/desktop/gimp.desktop
|
||||
Loading…
Reference in a new issue