From 074ae56e6421414ee65bbb94cfac0f384ff6c6a9 Mon Sep 17 00:00:00 2001 From: x80486 Date: Wed, 29 May 2019 20:48:48 -0400 Subject: Update/Tweak AppStream Metadata XML and Desktop Entry according to the latest standard(s) --- MANIFEST.in | 5 +-- install/onionshare.appdata.xml | 45 ----------------------- install/onionshare.desktop | 16 --------- install/org.onionshare.OnionShare.appdata.xml | 52 +++++++++++++++++++++++++++ install/org.onionshare.OnionShare.desktop | 16 +++++++++ setup.py | 5 +-- 6 files changed, 74 insertions(+), 65 deletions(-) delete mode 100644 install/onionshare.appdata.xml delete mode 100644 install/onionshare.desktop create mode 100644 install/org.onionshare.OnionShare.appdata.xml create mode 100644 install/org.onionshare.OnionShare.desktop 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/onionshare.appdata.xml deleted file mode 100644 index 2302a2e8..00000000 --- a/install/onionshare.appdata.xml +++ /dev/null @@ -1,45 +0,0 @@ - - - - onionshare.desktop - 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. -

-

- 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. -

-
- - - https://raw.githubusercontent.com/micahflee/onionshare/master/screenshots/appdata-onionshare-share-server.png - Sharing files with OnionShare - - - https://raw.githubusercontent.com/micahflee/onionshare/master/screenshots/appdata-onionshare-share-client.png - Downloading OnionShare files using Tor Browser - - - https://raw.githubusercontent.com/micahflee/onionshare/master/screenshots/appdata-onionshare-receive-server.png - Receiving files with OnionShare - - - https://raw.githubusercontent.com/micahflee/onionshare/master/screenshots/appdata-onionshare-receive-client.png - Uploading files to OnionShare user using Tor Browser - - - https://onionshare.org/ - micah@micahflee.com -
diff --git a/install/onionshare.desktop b/install/onionshare.desktop deleted file mode 100644 index 697668db..00000000 --- a/install/onionshare.desktop +++ /dev/null @@ -1,16 +0,0 @@ -[Desktop Entry] -Name=OnionShare -GenericName=OnionShare Client -Comment=Share a file securely and anonymously over Tor -Comment[da]=Del en fil sikkert og anonymt over Tor -Comment[de]=Teile Dateien sicher und anonym über das Tor-Netzwerk -Exec=/usr/bin/onionshare-gui -Terminal=false -Type=Application -Icon=onionshare80 -Categories=Network;FileTransfer; -Keywords=tor;anonymity;privacy;onion service;file sharing;file hosting; -Keywords[da]=tor;anonymitet;privatliv;onion-tjeneste;fildeling;filhosting; -Keywords[de]=tor;Anonymität;Privatsphäre;Onion-Service;File-Sharing;File-Hosting; -StartupNotify=true -StartupWMClass=onionshare diff --git a/install/org.onionshare.OnionShare.appdata.xml b/install/org.onionshare.OnionShare.appdata.xml new file mode 100644 index 00000000..6ae1b5b6 --- /dev/null +++ b/install/org.onionshare.OnionShare.appdata.xml @@ -0,0 +1,52 @@ + + + + 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. +

+

+ 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 + Sharing files with OnionShare + + + https://raw.githubusercontent.com/micahflee/onionshare/master/screenshots/appdata-onionshare-share-client.png + Downloading OnionShare files using Tor Browser + + + https://raw.githubusercontent.com/micahflee/onionshare/master/screenshots/appdata-onionshare-receive-server.png + Receiving files with OnionShare + + + https://raw.githubusercontent.com/micahflee/onionshare/master/screenshots/appdata-onionshare-receive-client.png + Uploading files to OnionShare user using Tor Browser + + + https://github.com/micahflee/onionshare/issues/ + https://github.com/micahflee/onionshare/wiki/ + https://onionshare.org/ + Micah Lee + micah@micahflee.com + + + + +
diff --git a/install/org.onionshare.OnionShare.desktop b/install/org.onionshare.OnionShare.desktop new file mode 100644 index 00000000..536d73c6 --- /dev/null +++ b/install/org.onionshare.OnionShare.desktop @@ -0,0 +1,16 @@ +[Desktop Entry] +Name=OnionShare +GenericName=OnionShare Client +Comment=Share a file securely and anonymously over Tor +Comment[da]=Del en fil sikkert og anonymt over Tor +Comment[de]=Teile Dateien sicher und anonym über das Tor-Netzwerk +Exec=/usr/bin/onionshare-gui +Terminal=false +Type=Application +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; +Keywords[de]=tor;Anonymität;Privatsphäre;Onion-Service;File-Sharing;File-Hosting; +StartupNotify=true +StartupWMClass=onionshare 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')), -- cgit v1.2.3-54-g00ecf