aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/onionshare-fix-install-paths.patch
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-09-30 12:01:32 +0200
committerLudovic Courtès <ludo@gnu.org>2016-09-30 12:05:27 +0200
commit79355ae3e84359716f5135cc7083e72246bc8bf9 (patch)
tree6b61851e2153581578bb78ef0f177b8841ee5db7 /gnu/packages/patches/onionshare-fix-install-paths.patch
parent39d6b9c99f297e14fc4f47f002be3d40556726be (diff)
parent86d8f6d3efb8300a3354735cbf06be6c01e23243 (diff)
downloadguix-79355ae3e84359716f5135cc7083e72246bc8bf9.tar
guix-79355ae3e84359716f5135cc7083e72246bc8bf9.tar.gz
Merge branch 'master' into core-updates
Diffstat (limited to 'gnu/packages/patches/onionshare-fix-install-paths.patch')
-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
+