Update/Tweak AppStream Metadata XML and Desktop Entry according to the latest standard(s)

This commit is contained in:
x80486 2019-05-29 20:48:48 -04:00
parent f480ac2c11
commit 04a5f8a286
4 changed files with 27 additions and 18 deletions

View File

@ -2,12 +2,13 @@ include LICENSE
include README.md include README.md
include BUILD.md include BUILD.md
include share/* include share/*
include share/icons/hicolor/scalable/apps/org.onionshare.OnionShare.svg
include share/images/* include share/images/*
include share/locale/* include share/locale/*
include share/templates/* include share/templates/*
include share/static/* include share/static/*
include install/onionshare.desktop include install/org.onionshare.OnionShare.desktop
include install/onionshare.appdata.xml include install/org.onionshare.OnionShare.appdata.xml
include install/onionshare80.xpm include install/onionshare80.xpm
include install/scripts/onionshare-nautilus.py include install/scripts/onionshare-nautilus.py
include tests/*.py include tests/*.py

View File

@ -1,27 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2018 Micah Lee <micah@micahflee.com> --> <!-- Copyright 2018 Micah Lee <micah@micahflee.com> -->
<component type="desktop"> <component type="desktop-application">
<id>onionshare.desktop</id> <id>org.onionshare.OnionShare</id>
<metadata_license>CC0-1.0</metadata_license> <metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0</project_license> <project_license>GPL-3.0</project_license>
<name>OnionShare</name> <name>OnionShare</name>
<summary>Securely and anonymously share a file of any size</summary> <summary>Securely and anonymously share a file of any size</summary>
<description> <description>
<p> <p>
OnionShare lets you securely and anonymously send and receive files. It works by starting a OnionShare lets you securely and anonymously send and receive files. It works by starting a web server,
web server, making it accessible as a Tor onion service, and generating an unguessable web making it accessible as a Tor onion service, and generating an unguessable web address so others can
address so others can download files from you, or upload files to you. It does <em>not</em> download files from you, or upload files to you. It does <em>not</em> require setting up a separate server
require setting up a separate server or using a third party file-sharing service. or using a third party file-sharing service.
</p> </p>
<p> <p>
If you want to send files to someone, OnionShare hosts them on your own computer and uses a Tor If you want to send files to someone, OnionShare hosts them on your own computer and uses a Tor onion
onion service to make them temporarily accessible over the internet. The receiving user just service to make them temporarily accessible over the internet. The receiving user just needs to open the web
needs to open the web address in Tor Browser to download the files. If you want to receive files, address in Tor Browser to download the files. If you want to receive files, OnionShare hosts an anonymous
OnionShare hosts an anonymous dropbox directly on your computer and uses a Tor onion service to dropbox directly on your computer and uses a Tor onion service to make it temporarily accessible over the
make it temporarily accessible over the internet. Other users can upload files to you from by internet. Other users can upload files to you from by loading the web address in Tor Browser.
loading the web address in Tor Browser.
</p> </p>
</description> </description>
<launchable type="desktop-id">org.onionshare.OnionShare.desktop</launchable>
<screenshots> <screenshots>
<screenshot type="default"> <screenshot type="default">
<image>https://raw.githubusercontent.com/micahflee/onionshare/master/screenshots/appdata-onionshare-share-server.png</image> <image>https://raw.githubusercontent.com/micahflee/onionshare/master/screenshots/appdata-onionshare-share-server.png</image>
@ -40,6 +40,13 @@
<caption>Uploading files to OnionShare user using Tor Browser</caption> <caption>Uploading files to OnionShare user using Tor Browser</caption>
</screenshot> </screenshot>
</screenshots> </screenshots>
<url type="bugtracker">https://github.com/micahflee/onionshare/issues/</url>
<url type="help">https://github.com/micahflee/onionshare/wiki/</url>
<url type="homepage">https://onionshare.org/</url> <url type="homepage">https://onionshare.org/</url>
<updatecontact>micah@micahflee.com</updatecontact> <developer_name>Micah Lee</developer_name>
<update_contact>micah@micahflee.com</update_contact>
<content_rating type="oars-1.1" />
<releases>
<release type="stable" date="2019-05-07" version="2.1" />
</releases>
</component> </component>

View File

@ -7,7 +7,7 @@ Comment[de]=Teile Dateien sicher und anonym über das Tor-Netzwerk
Exec=/usr/bin/onionshare-gui Exec=/usr/bin/onionshare-gui
Terminal=false Terminal=false
Type=Application Type=Application
Icon=onionshare80 Icon=org.onionshare.OnionShare
Categories=Network;FileTransfer; Categories=Network;FileTransfer;
Keywords=tor;anonymity;privacy;onion service;file sharing;file hosting; Keywords=tor;anonymity;privacy;onion service;file sharing;file hosting;
Keywords[da]=tor;anonymitet;privatliv;onion-tjeneste;fildeling;filhosting; Keywords[da]=tor;anonymitet;privatliv;onion-tjeneste;fildeling;filhosting;

View File

@ -63,8 +63,9 @@ classifiers = [
"Environment :: Web Environment" "Environment :: Web Environment"
] ]
data_files=[ data_files=[
(os.path.join(sys.prefix, 'share/applications'), ['install/onionshare.desktop']), (os.path.join(sys.prefix, 'share/applications'), ['install/org.onionshare.OnionShare.desktop']),
(os.path.join(sys.prefix, 'share/metainfo'), ['install/onionshare.appdata.xml']), (os.path.join(sys.prefix, 'share/icons/hicolor/scalable/apps'), ['install/org.onionshare.OnionShare.svg']),
(os.path.join(sys.prefix, 'share/metainfo'), ['install/org.onionshare.OnionShare.appdata.xml']),
(os.path.join(sys.prefix, 'share/pixmaps'), ['install/onionshare80.xpm']), (os.path.join(sys.prefix, 'share/pixmaps'), ['install/onionshare80.xpm']),
(os.path.join(sys.prefix, 'share/onionshare'), file_list('share')), (os.path.join(sys.prefix, 'share/onionshare'), file_list('share')),
(os.path.join(sys.prefix, 'share/onionshare/images'), file_list('share/images')), (os.path.join(sys.prefix, 'share/onionshare/images'), file_list('share/images')),