summaryrefslogtreecommitdiff
path: root/gnu/packages/patches
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2016-09-11 21:43:06 +0300
committerEfraim Flashner <efraim@flashner.co.il>2016-09-18 23:19:46 +0300
commitb8ea5204ab1d9eb9464753fa6b1af9f5705a1084 (patch)
tree7de1b70485c0cb090236cb0281e8ba9f5d936b21 /gnu/packages/patches
parentd488d5d65b1bfb85da5277bd4697a29d75b2d373 (diff)
gnu: Add onionshare.
* gnu/packages/tor.scm (onionshare): New variable. * gnu/packages/patches/onionshare-fix-install-paths.patch: New variable. * gnu/local.mk (dist_patch_DATA): Add it.
Diffstat (limited to 'gnu/packages/patches')
-rw-r--r--gnu/packages/patches/onionshare-fix-install-paths.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/gnu/packages/patches/onionshare-fix-install-paths.patch b/gnu/packages/patches/onionshare-fix-install-paths.patch
new file mode 100644
index 0000000000..721b89f04b
--- /dev/null
+++ b/gnu/packages/patches/onionshare-fix-install-paths.patch
@@ -0,0 +1,39 @@
+From 7afdd3366711a0c508bfb9323af8f4268ab77c9b Mon Sep 17 00:00:00 2001
+From: Efraim Flashner <efraim@flashner.co.il>
+Date: Thu, 21 Jul 2016 13:22:45 +0300
+Subject: [PATCH] patch
+
+---
+ setup.py | 14 +++++++-------
+ 1 file changed, 7 insertions(+), 7 deletions(-)
+
+diff --git a/setup.py b/setup.py
+index 8ae56fe..8b245c9 100644
+--- a/setup.py
++++ b/setup.py
+@@ -91,15 +91,15 @@ setup(
+ include_package_data=True,
+ scripts=['install/scripts/onionshare', 'install/scripts/onionshare-gui'],
+ data_files=[
+- (os.path.join(sys.prefix, 'share/applications'), ['install/onionshare.desktop']),
+- (os.path.join(sys.prefix, 'share/appdata'), ['install/onionshare.appdata.xml']),
+- (os.path.join(sys.prefix, 'share/pixmaps'), ['install/onionshare80.xpm']),
+- (os.path.join(sys.prefix, 'share/onionshare'), [
++ ('share/applications', ['install/onionshare.desktop']),
++ ('share/appdata', ['install/onionshare.appdata.xml']),
++ ('share/pixmaps', ['install/onionshare80.xpm']),
++ ('share/onionshare', [
+ 'resources/version.txt',
+ 'resources/wordlist.txt'
+ ]),
+- (os.path.join(sys.prefix, 'share/onionshare/images'), images),
+- (os.path.join(sys.prefix, 'share/onionshare/locale'), locale),
+- (os.path.join(sys.prefix, 'share/onionshare/html'), html)
++ ('share/onionshare/images', images),
++ ('share/onionshare/locale', locale),
++ ('share/onionshare/html', html)
+ ]
+ )
+--
+2.9.1
+