diff options
author | AsavarTzeth <asavartzeth@gmail.com> | 2017-10-26 14:00:50 +0300 |
---|---|---|
committer | AsavarTzeth <asavartzeth@gmail.com> | 2017-11-08 19:51:37 +0300 |
commit | 4853014a61f01427ec9cb59c46371c5619e74653 (patch) | |
tree | ff02267503b5815bb4bb6aec1517804132c3806e /share | |
parent | c280eac309c3a888bc5ce0e621816193dea9ce11 (diff) |
Fix id and appdata validation failures (#1131)
According to the AppStream specification org.keepassxc is not a valid
id. The product name is missing. This results in failures if one tries
to validate the file and makes it unusable where validation is enforced.
Additionally it seems specification don't allow the `<icon>` tag with
component type desktop-application. I am not sure this tag is strictly
necessary. In any case validation tests require this to be removed.
Fixing both of these issues ensure the AppStream appdata is compliant
and works anywhere passing validations is a requirement.
Also provide some other fixes and improvements to the appdata.
Minor validation failures:
- Fix missing captions for screenshots (`appstreamcli`)
- Fix descriptions cannot start with `<ul>` tag (`appstream-util`)
Other enhancements:
- Add more URL types, but could not add donation type because "&" is not
allowed in the `<url>` tag and using "%26" causes
`appstreamcli validate` to fail.
- Add `<developer_name>`, which in cases such as KeePassXC is a team name.
Diffstat (limited to 'share')
-rw-r--r-- | share/CMakeLists.txt | 4 | ||||
-rw-r--r-- | share/linux/org.keepassxc.KeePassXC.appdata.xml (renamed from share/linux/org.keepassxc.appdata.xml) | 53 | ||||
-rw-r--r-- | share/linux/org.keepassxc.KeePassXC.desktop (renamed from share/linux/org.keepassxc.desktop) | 0 |
3 files changed, 24 insertions, 33 deletions
diff --git a/share/CMakeLists.txt b/share/CMakeLists.txt index 6323ece88..81bb26938 100644 --- a/share/CMakeLists.txt +++ b/share/CMakeLists.txt @@ -30,8 +30,8 @@ if(UNIX AND NOT APPLE) install(DIRECTORY icons/application/ DESTINATION ${CMAKE_INSTALL_DATADIR}/icons/hicolor FILES_MATCHING PATTERN "application-x-keepassxc.png" PATTERN "application-x-keepassxc.svgz" PATTERN "status" EXCLUDE PATTERN "actions" EXCLUDE PATTERN "categories" EXCLUDE) - install(FILES linux/org.keepassxc.desktop DESTINATION ${CMAKE_INSTALL_DATADIR}/applications) - install(FILES linux/org.keepassxc.appdata.xml DESTINATION ${CMAKE_INSTALL_DATADIR}/metainfo) + install(FILES linux/org.keepassxc.KeePassXC.desktop DESTINATION ${CMAKE_INSTALL_DATADIR}/applications) + install(FILES linux/org.keepassxc.KeePassXC.appdata.xml DESTINATION ${CMAKE_INSTALL_DATADIR}/metainfo) install(FILES linux/keepassxc.xml DESTINATION ${CMAKE_INSTALL_DATADIR}/mime/packages) endif(UNIX AND NOT APPLE) diff --git a/share/linux/org.keepassxc.appdata.xml b/share/linux/org.keepassxc.KeePassXC.appdata.xml index 563450a4f..b2a4de6e6 100644 --- a/share/linux/org.keepassxc.appdata.xml +++ b/share/linux/org.keepassxc.KeePassXC.appdata.xml @@ -1,16 +1,15 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Copyright 2017 KeePassXC Team <team@keepassxc.org> --> <component type="desktop-application"> - <id>org.keepassxc</id> + <id>org.keepassxc.KeePassXC.desktop</id> <name>KeePassXC</name> <metadata_license>CC-BY-3.0</metadata_license> <project_license>GPL-3.0+</project_license> - <icon type="stock">keepassxc</icon> - <url type="homepage">https://keepassxc.org</url> <mimetypes> <mimetype>application/x-keepass2</mimetype> </mimetypes> <summary>Community-driven port of the Windows application “KeePass Password Safe”</summary> + <developer_name>KeePassXC Team</developer_name> <description> <p> KeePassXC is an application for people with extremely high demands on secure @@ -19,56 +18,41 @@ </p> </description> - <launchable type="desktop-id">org.keepassxc.desktop</launchable> + <launchable type="desktop-id">org.keepassxc.KeePassXC.desktop</launchable> + + <url type="homepage">https://keepassxc.org</url> + <url type="bugtracker">https://github.com/keepassxreboot/keepassxc/issues</url> + <url type="faq">https://keepassxc.org/docs#faq</url> + <url type="help">https://keepassxc.org/docs</url> + <url type="translate">https://www.transifex.com/keepassxc/keepassxc</url> <screenshots> <screenshot type="default"> <image>https://keepassxc.org/images/screenshots/linux/screen_001.png</image> + <caption>Create, Import or Open Databases</caption> </screenshot> <screenshot> <image>https://keepassxc.org/images/screenshots/linux/screen_002.png</image> + <caption>Organize with Groups and Entries</caption> </screenshot> <screenshot> <image>https://keepassxc.org/images/screenshots/linux/screen_003.png</image> + <caption>Database Entry</caption> </screenshot> <screenshot> <image>https://keepassxc.org/images/screenshots/linux/screen_004.png</image> - </screenshot> - <screenshot> - <image>https://keepassxc.org/images/screenshots/linux/screen_005.png</image> + <caption>Icon Selection for Entry</caption> </screenshot> <screenshot> <image>https://keepassxc.org/images/screenshots/linux/screen_006.png</image> - </screenshot> - <screenshot> - <image>https://keepassxc.org/images/screenshots/linux/screen_007.png</image> - </screenshot> - <screenshot> - <image>https://keepassxc.org/images/screenshots/linux/screen_008.png</image> - </screenshot> - <screenshot> - <image>https://keepassxc.org/images/screenshots/linux/screen_009.png</image> - </screenshot> - <screenshot> - <image>https://keepassxc.org/images/screenshots/linux/screen_010.png</image> - </screenshot> - <screenshot> - <image>https://keepassxc.org/images/screenshots/linux/screen_011.png</image> - </screenshot> - <screenshot> - <image>https://keepassxc.org/images/screenshots/linux/screen_012.png</image> - </screenshot> - <screenshot> - <image>https://keepassxc.org/images/screenshots/linux/screen_013.png</image> - </screenshot> - <screenshot> - <image>https://keepassxc.org/images/screenshots/linux/screen_014.png</image> + <caption>Password Generator</caption> </screenshot> </screenshots> <releases> <release version="2.2.2" date="2017-10-22"> <description> + <p>Changes included in this release:</p> <ul> <li>Fixed entries with empty URLs being reported to KeePassHTTP clients [#1031]</li> <li>Fixed YubiKey detection and enabled CLI tool for AppImage binary [#1100]</li> @@ -87,6 +71,7 @@ </description> </release><release version="2.2.1" date="2017-10-01"> <description> + <p>Changes included in this release:</p> <ul> <li>Corrected multiple snap issues [#934, #1011]</li> <li>Corrected multiple custom icon issues [#708, #719, #994]</li> @@ -103,6 +88,7 @@ </release> <release version="2.2.0" date="2017-06-23"> <description> + <p>Changes included in this release:</p> <ul> <li>Added YubiKey 2FA integration for unlocking databases [#127]</li> <li>Added TOTP support [#519]</li> @@ -138,6 +124,7 @@ </release> <release version="2.1.4" date="2017-04-09"> <description> + <p>Changes included in this release:</p> <ul> <li>Bumped KeePassHTTP version to 1.8.4.2</li> <li>KeePassHTTP confirmation window comes to foreground [#466]</li> @@ -146,6 +133,7 @@ </release> <release version="2.1.3" date="2017-03-03"> <description> + <p>Changes included in this release:</p> <ul> <li>Fix possible overflow in zxcvbn library [#363]</li> <li>Revert HiDPI setting to avoid problems on laptop screens [#332]</li> @@ -160,6 +148,7 @@ </release> <release version="2.1.2" date="2017-02-17"> <description> + <p>Changes included in this release:</p> <ul> <li>Ask for save location when creating a new database [#302]</li> <li>Remove Libmicrohttpd dependency to clean up the code and ensure better OS X compatibility [#317, #265]</li> @@ -177,6 +166,7 @@ </release> <release version="2.1.1" date="2017-02-06"> <description> + <p>Changes included in this release:</p> <ul> <li>Enabled HTTP plugin build; plugin is disabled by default and limited to localhost [#147]</li> <li>Escape HTML in dialog boxes [#247]</li> @@ -189,6 +179,7 @@ </release> <release version="2.1.0" date="2017-01-22"> <description> + <p>Changes included in this release:</p> <ul> <li>Show unlock dialog when using autotype on a closed database [#10, #89]</li> <li>Show different tray icon when database is locked [#37, #46]</li> diff --git a/share/linux/org.keepassxc.desktop b/share/linux/org.keepassxc.KeePassXC.desktop index d3b007bdc..d3b007bdc 100644 --- a/share/linux/org.keepassxc.desktop +++ b/share/linux/org.keepassxc.KeePassXC.desktop |