File: 101_system_install

package info (click to toggle)
pyew 2.0-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 2,252 kB
  • ctags: 1,722
  • sloc: python: 10,791; makefile: 8; sh: 1
file content (36 lines) | stat: -rw-r--r-- 1,120 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Description: Make Pyew available for wide system use.
 This allows the repo to be run locally but makes Pyew only able to run
  inside a normal system directory, also fixes a couple of assumptions
  in the code.
Author: David Martínez Moreno <ender@debian.org>
Forwarded: not-needed
Last-Update: <2011-12-14>

--- pyew-2.0.orig/pyew
+++ pyew-2.0/pyew
@@ -1,5 +1,3 @@
 #!/bin/sh
 
-export LD_LIBRARY_PATH=`dirname $0`/lib
-./pyew.py $@
-
+/usr/share/pyshared/pyew/pyew.py $@
--- pyew-2.0.orig/pydistorm.py
+++ pyew-2.0/pydistorm.py
@@ -34,7 +34,7 @@ osVer = platform.system()
 if osVer == "Windows":
     LIB_FILENAME = "distorm64.dll"
 else:
-    LIB_FILENAME = 'libdistorm64.so'
+    LIB_FILENAME = 'libdistorm64.so.1'
 
 distorm = cdll.LoadLibrary(LIB_FILENAME)
 Decode16Bits = 0
--- pyew-2.0.orig/config.py
+++ pyew-2.0/config.py
@@ -6,4 +6,4 @@ CODE_ANALYSIS=True
 DEEP_CODE_ANALYSIS=False
 CONFIG_ANALYSIS_TIMEOUT=0
 PLUGINS_PATH=os.path.dirname(__file__) + os.sep + "plugins"
-DATABASE_PATH=os.path.dirname(__file__) + os.sep + "files.sqlite"
+DATABASE_PATH=os.path.expanduser('~' + os.sep + 'pyew-files.sqlite')