mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-15 11:25:22 -05:00
b8ea5204ab
* 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.
39 lines
1.5 KiB
Diff
39 lines
1.5 KiB
Diff
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
|
|
|