Fix a few issues with metainfo.xml

* Rename to `org.karlch.vimiv.qt.metainfo.xml`. This is in conformity
  with the newer `metainfo` instead of the deprecated `appdata` and
  provides a more unique id compared to the basic `vimiv`.
* Fix a few URLs that pointed to the Gtk version.
* Extend information.

See the discussion in https://github.com/karlch/vimiv/pull/87 for
further information.
This commit is contained in:
karlch 2020-06-15 17:04:59 +02:00
parent af3cd96174
commit 251d064d09
5 changed files with 61 additions and 36 deletions

View File

@ -15,7 +15,7 @@ prune scripts
include misc/Makefile
include misc/vimiv.1
include misc/vimiv.desktop
include misc/vimiv.appdata.xml
include misc/org.karlch.vimiv.qt.metainfo.xml
graft misc/requirements
include fastentrypoints.py

View File

@ -23,6 +23,7 @@ Changed:
* The ``=`` key can now be bound using ``<equal>``. Using the raw ``=`` character is not
possible in ``keys.conf`` as it is treated as separator much like ``:``.
* Renamed ``vimiv.appdata.xml`` to ``org.karlch.vimiv.qt.metainfo.xml``.
Fixed:
^^^^^^

View File

@ -31,7 +31,7 @@ help:
install:
python3 setup.py install --root=$(DESTDIR)/ --prefix=$(PREFIX) --record=install_log.txt
install -Dm644 misc/vimiv.desktop $(APPDIR)/vimiv.desktop
install -Dm644 misc/vimiv.appdata.xml $(METAINFODIR)/vimiv.appdata.xml
install -Dm644 misc/org.karlch.vimiv.qt.metainfo.xml $(METAINFODIR)/org.karlch.vimiv.qt.metainfo.xml
install -Dm644 LICENSE $(LICENSEDIR)/vimiv/LICENSE
install -Dm644 misc/vimiv.1 $(MANDIR)/man1/vimiv.1
gzip -n -9 -f $(MANDIR)/man1/vimiv.1
@ -41,7 +41,7 @@ install:
uninstall:
scripts/uninstall_pythonpkg.sh
rm $(APPDIR)/vimiv.desktop
rm $(METAINFODIR)/vimiv.appdata.xml
rm $(METAINFODIR)/org.karlch.vimiv.qt.metainfo.xml
rm -r $(LICENSEDIR)/vimiv
rm $(MANDIR)/man1/vimiv.1.gz
$(foreach i,$(ICONSIZES),rm $(DATADIR)/icons/hicolor/${i}x${i}/apps/vimiv.png;)

View File

@ -0,0 +1,57 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2019 Ankur Sinha <ankursinha AT fedoraproject.org> -->
<!-- Copyright 2020 Christian Karl <karlch at protonmail dot com> -->
<component type="desktop">
<id>org.karlch.vimiv.qt</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0+</project_license>
<name>Vimiv</name>
<summary>An image viewer with vim-like keybindings</summary>
<description>
<p>
Vimiv is an image viewer with vim-like keybindings. It is written in python
using the Qt toolkit. Some of the defining features are the thumbnail view,
the simple library browser as well as the command-line with tab completion.
</p>
</description>
<categories>
<category>Graphics</category>
</categories>
<provides>
<binary>vimiv</binary>
</provides>
<launchable type="desktop-id">vimiv.desktop</launchable>
<screenshots>
<screenshot type="default">
<image>https://karlch.github.io/vimiv-qt/_images/image_dark.png </image>
<caption>Vimiv main image mode.</caption>
</screenshot>
<screenshot>
<image>https://karlch.github.io/vimiv-qt/_images/thumbnail_dark.png </image>
<caption>Vimiv thumbnail view.</caption>
</screenshot>
<screenshot>
<image>https://karlch.github.io/vimiv-qt/_images/library_dark.png </image>
<caption>Vimiv library browser.</caption>
</screenshot>
<screenshot>
<image>https://karlch.github.io/vimiv-qt/_images/command_dark.png </image>
<caption>Vimiv command line.</caption>
</screenshot>
</screenshots>
<url type="homepage">https://karlch.github.io/vimiv-qt</url>
<url type="bugtracker">https://github.com/karlch/vimiv-qt/issues</url>
<url type="help">https://karlch.github.io/vimiv-qt/documentation</url>
<update_contact>ankursinha AT fedoraproject.org</update_contact>
<releases>
<!-- Add new releases here -->
<release version="0.7.0" date="2020-05-17"/>
<release version="0.6.1" date="2020-03-07"/>
<release version="0.6.0" date="2020-03-07"/>
<release version="0.5.0" date="2020-01-05"/>
<release version="0.4.0" date="2019-12-01"/>
<release version="0.3.0" date="2019-11-01"/>
<release version="0.2.0" date="2019-10-01"/>
<release version="0.1.0" date="2019-08-15"/>
</releases>
</component>

View File

@ -1,33 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2019 Ankur Sinha <ankursinha AT fedoraproject.org> -->
<component type="desktop">
<id>vimiv.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPLv3+</project_license>
<name>Vimiv</name>
<summary>An image viewer with vim-like keybindings</summary>
<description>
<p>
Vimiv is an image viewer with vim-like keybindings.
</p>
<ul>
<li>Thumbnail mode</li>
<li>Simple library browser</li>
<li>Basic image editing</li>
<li>Command line with tab completion</li>
</ul>
</description>
<screenshots>
<screenshot type="default">
<image>http://karlch.github.io/vimiv/images/screenshots/library.png </image>
</screenshot>
<screenshot>
<image>http://karlch.github.io/vimiv/images/screenshots/thumbnail.png </image>
</screenshot>
<screenshot>
<image>http://karlch.github.io/vimiv/images/screenshots/commandline.png </image>
</screenshot>
</screenshots>
<url type="homepage">http://karlch.github.io/vimiv</url>
<update_contact>ankursinha AT fedoraproject.org</update_contact>
</component>