30 lines
1.1 KiB
Plaintext
30 lines
1.1 KiB
Plaintext
|
$OpenBSD: patch-emesenecommon_py,v 1.1.1.1 2008/07/10 13:22:41 wcmaier Exp $
|
||
|
--- emesenecommon.py.orig Mon Mar 24 19:46:56 2008
|
||
|
+++ emesenecommon.py Thu Jul 10 07:05:25 2008
|
||
|
@@ -33,10 +33,11 @@ class PATH(object):
|
||
|
|
||
|
DIR_SEP = os.sep
|
||
|
|
||
|
- if hasattr(sys, "frozen"):
|
||
|
- APP_PATH = os.path.dirname(sys.executable)
|
||
|
- else:
|
||
|
- APP_PATH = os.path.abspath(os.path.dirname(__file__))
|
||
|
+ #if hasattr(sys, "frozen"):
|
||
|
+ # APP_PATH = os.path.dirname(sys.executable)
|
||
|
+ #else:
|
||
|
+ # APP_PATH = os.path.abspath(os.path.dirname(__file__))
|
||
|
+ APP_PATH = '${PREFIX}/share/emesene'
|
||
|
|
||
|
HOME_DIR = os.path.expanduser('~')
|
||
|
CONF_DIR_NAME = '.config' + DIR_SEP + 'emesene1.0'
|
||
|
@@ -48,7 +49,8 @@ class PATH(object):
|
||
|
|
||
|
PLUGINS_HOME = 'pluginsEmesene'
|
||
|
PLUGINS_SYSTEM_WIDE = 'plugins_base'
|
||
|
- PLUGIN_SYSTEM_WIDE_PATH = APP_PATH + DIR_SEP + PLUGINS_SYSTEM_WIDE
|
||
|
+ PLUGIN_SYSTEM_WIDE_ROOT = '${MODPY_SITEPKG}/emesene/'
|
||
|
+ PLUGIN_SYSTEM_WIDE_PATH = PLUGIN_SYSTEM_WIDE_ROOT + PLUGINS_SYSTEM_WIDE
|
||
|
PLUGIN_HOME_PATH = CONFIG_DIR + DIR_SEP + PLUGINS_HOME
|
||
|
|
||
|
SMILIES_SYSTEM_WIDE_PATH = APP_PATH + DIR_SEP + 'smilies'
|