summaryrefslogtreecommitdiff
path: root/security/gcipher/files
diff options
context:
space:
mode:
Diffstat (limited to 'security/gcipher/files')
-rw-r--r--security/gcipher/files/patch-Const.py2
-rw-r--r--security/gcipher/files/patch-gcipher2
-rw-r--r--security/gcipher/files/patch-gcipher.desktop2
3 files changed, 3 insertions, 3 deletions
diff --git a/security/gcipher/files/patch-Const.py b/security/gcipher/files/patch-Const.py
index eac9b1ae6d1b..b4b94da306da 100644
--- a/security/gcipher/files/patch-Const.py
+++ b/security/gcipher/files/patch-Const.py
@@ -6,4 +6,4 @@ diff -ur ../gcipher-1.0.orig/src/Const.py ./src/Const.py
as a command line filter or as a network proxy."""
AUTHORS = ["Shannon -jj Behrens <jjinux@yahoo.com>"]
-GLADEDIR = "."
-+GLADEDIR = "/usr/X11R6/share/gnome/gcipher/lib"
++GLADEDIR = "%%PREFIX%%/share/gcipher/lib"
diff --git a/security/gcipher/files/patch-gcipher b/security/gcipher/files/patch-gcipher
index cb48ac1009fb..2e7ba1abc059 100644
--- a/security/gcipher/files/patch-gcipher
+++ b/security/gcipher/files/patch-gcipher
@@ -10,7 +10,7 @@ diff -ur ../gcipher-1.0.orig/src/gcipher ./src/gcipher
# Edit the path below if you need to port GCipher.
import sys
-# sys.path.append("/usr/share/gcipher/lib")
-+sys.path.append("/usr/X11R6/share/gnome/gcipher/lib")
++sys.path.append("%%PREFIX%%/share/gcipher/lib")
from os import environ
from os.path import join
diff --git a/security/gcipher/files/patch-gcipher.desktop b/security/gcipher/files/patch-gcipher.desktop
index 6027a262a8dd..fa076993d6cc 100644
--- a/security/gcipher/files/patch-gcipher.desktop
+++ b/security/gcipher/files/patch-gcipher.desktop
@@ -6,7 +6,7 @@ diff -ur ../gcipher-1.0.orig/src/gcipher.desktop ./src/gcipher.desktop
Comment[en_US.ISO8859-15]=A simple encryption tool
Exec=gcipher
-Icon=/usr/share/pixmaps/gnome-lockscreen.png
-+Icon=/usr/X11R6/share/gnome/pixmaps/gnome-lockscreen.png
++Icon=gnome-lockscreen.png
Terminal=false
Type=Application
StartupNotify=true