- run: sudo apt-get install desktop-file-utils
- run: sudo apt-get install gettext
- run: sudo apt-get install libgtk-3-bin
+ - run: sudo apt-get install libxml2-utils
- run: sudo apt-get install shellcheck
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- run: sudo apt-get install libunwind-dev
- run: sudo apt-get install libwebp-dev
- run: sudo apt-get install libwebp7
+ - run: sudo apt-get install libxml2-utils
- run: sudo apt-get install pandoc
- run: sudo apt-get install shellcheck
#~ - run: sudo apt-get install libffmpegthumbnailer-dev
## desktop
## scripts
## ui
+## xml
##
cd "$1" || exit 1
printf "%s: appstreamcli in org.geeqie.Geeqie.appdata.xml.in: \n%s\n" "$status" "$result"
fi
+# xml files lint
+if [ -z "$(command -v xmllint)" ]
+then
+ printf "ERROR: xmllint is not installed"
+ exit_status=1
+else
+ while read -r line
+ do
+ if [ -n "$line" ]
+ then
+ if ! xmllint --quiet --nowarning "$line" > /dev/null
+ then
+ printf "ERROR: xmllint error in: %s\n" "$line"
+ exit_status=1
+ fi
+ fi
+ done << EOF
+$(find ./doc/docbook -name "*.xml")
+EOF
+fi
+
exit "$exit_status"