From 04a5f8a286a1214c0e84f6c9564348570c7f4e71 Mon Sep 17 00:00:00 2001 From: x80486 Date: Wed, 29 May 2019 20:48:48 -0400 Subject: [PATCH] Update/Tweak AppStream Metadata XML and Desktop Entry according to the latest standard(s) --- MANIFEST.in | 5 +-- ... => org.onionshare.OnionShare.appdata.xml} | 33 +++++++++++-------- ...ktop => org.onionshare.OnionShare.desktop} | 2 +- setup.py | 5 +-- 4 files changed, 27 insertions(+), 18 deletions(-) rename install/{onionshare.appdata.xml => org.onionshare.OnionShare.appdata.xml} (53%) rename install/{onionshare.desktop => org.onionshare.OnionShare.desktop} (95%) diff --git a/MANIFEST.in b/MANIFEST.in index 71af3740..6861423d 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -2,12 +2,13 @@ include LICENSE include README.md include BUILD.md include share/* +include share/icons/hicolor/scalable/apps/org.onionshare.OnionShare.svg include share/images/* include share/locale/* include share/templates/* include share/static/* -include install/onionshare.desktop -include install/onionshare.appdata.xml +include install/org.onionshare.OnionShare.desktop +include install/org.onionshare.OnionShare.appdata.xml include install/onionshare80.xpm include install/scripts/onionshare-nautilus.py include tests/*.py diff --git a/install/onionshare.appdata.xml b/install/org.onionshare.OnionShare.appdata.xml similarity index 53% rename from install/onionshare.appdata.xml rename to install/org.onionshare.OnionShare.appdata.xml index 2302a2e8..6ae1b5b6 100644 --- a/install/onionshare.appdata.xml +++ b/install/org.onionshare.OnionShare.appdata.xml @@ -1,27 +1,27 @@ - - onionshare.desktop + + org.onionshare.OnionShare CC0-1.0 GPL-3.0 OnionShare Securely and anonymously share a file of any size

- OnionShare lets you securely and anonymously send and receive files. It works by starting a - web server, making it accessible as a Tor onion service, and generating an unguessable web - address so others can download files from you, or upload files to you. It does not - require setting up a separate server or using a third party file-sharing service. + OnionShare lets you securely and anonymously send and receive files. It works by starting a web server, + making it accessible as a Tor onion service, and generating an unguessable web address so others can + download files from you, or upload files to you. It does not require setting up a separate server + or using a third party file-sharing service.

- If you want to send files to someone, OnionShare hosts them on your own computer and uses a Tor - onion service to make them temporarily accessible over the internet. The receiving user just - needs to open the web address in Tor Browser to download the files. If you want to receive files, - OnionShare hosts an anonymous dropbox directly on your computer and uses a Tor onion service to - make it temporarily accessible over the internet. Other users can upload files to you from by - loading the web address in Tor Browser. + If you want to send files to someone, OnionShare hosts them on your own computer and uses a Tor onion + service to make them temporarily accessible over the internet. The receiving user just needs to open the web + address in Tor Browser to download the files. If you want to receive files, OnionShare hosts an anonymous + dropbox directly on your computer and uses a Tor onion service to make it temporarily accessible over the + internet. Other users can upload files to you from by loading the web address in Tor Browser.

+ org.onionshare.OnionShare.desktop https://raw.githubusercontent.com/micahflee/onionshare/master/screenshots/appdata-onionshare-share-server.png @@ -40,6 +40,13 @@ Uploading files to OnionShare user using Tor Browser + https://github.com/micahflee/onionshare/issues/ + https://github.com/micahflee/onionshare/wiki/ https://onionshare.org/ - micah@micahflee.com + Micah Lee + micah@micahflee.com + + + +
diff --git a/install/onionshare.desktop b/install/org.onionshare.OnionShare.desktop similarity index 95% rename from install/onionshare.desktop rename to install/org.onionshare.OnionShare.desktop index 697668db..536d73c6 100644 --- a/install/onionshare.desktop +++ b/install/org.onionshare.OnionShare.desktop @@ -7,7 +7,7 @@ Comment[de]=Teile Dateien sicher und anonym über das Tor-Netzwerk Exec=/usr/bin/onionshare-gui Terminal=false Type=Application -Icon=onionshare80 +Icon=org.onionshare.OnionShare Categories=Network;FileTransfer; Keywords=tor;anonymity;privacy;onion service;file sharing;file hosting; Keywords[da]=tor;anonymitet;privatliv;onion-tjeneste;fildeling;filhosting; diff --git a/setup.py b/setup.py index 347ff366..fa2294a9 100644 --- a/setup.py +++ b/setup.py @@ -63,8 +63,9 @@ classifiers = [ "Environment :: Web Environment" ] data_files=[ - (os.path.join(sys.prefix, 'share/applications'), ['install/onionshare.desktop']), - (os.path.join(sys.prefix, 'share/metainfo'), ['install/onionshare.appdata.xml']), + (os.path.join(sys.prefix, 'share/applications'), ['install/org.onionshare.OnionShare.desktop']), + (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/onionshare'), file_list('share')), (os.path.join(sys.prefix, 'share/onionshare/images'), file_list('share/images')),