File: datadir.patch

package info (click to toggle)
sdlbasic 0.0.20070714-4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 7,928 kB
  • sloc: cpp: 49,901; ansic: 19,236; yacc: 1,232; makefile: 1,033; sh: 64
file content (57 lines) | stat: -rw-r--r-- 2,619 bytes parent folder | download | duplicates (4)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
Author: Miriam Ruiz <little_miry@yahoo.es>
Description: fix some issues with the datadir
Bug-Ubuntu: http://launchpad.net/bugs/372185
Last-Update: 2008-09-13
--- a/src/sdlBasic/share/sdlBasic/sdlBasic.properties
+++ b/src/sdlBasic/share/sdlBasic/sdlBasic.properties
@@ -651,21 +651,21 @@
 	BASEDIR=$(SciteDefaultHome)/../..
 	# uncomment this if you use kde and have problems with audio
 	#ARTSDSP=artsdsp -m
-	SDLBRT=$(ARTSDSP) $(BASEDIR)/bin/sdlBrt
+	SDLBRT=$(ARTSDSP) /usr/bin/sdlBrt
 	BROWSER=firefox
     command.go.*.sdlbas=$(SDLBRT) "$(FilePath)"
-	command.help.*.sdlbas=$(BROWSER) "file:$(BASEDIR)/share/doc/sdlBasic/english/QuickHelp.html"
+	command.help.*.sdlbas=$(BROWSER) "file:/usr/share/doc/sdlbasic/english/QuickHelp.html"
 
 
 command.name.1.*.sdlbas=Autoindent
-command.1.*.sdlbas=$(SDLBRT) --nodefaults $(BASEDIR)/share/sdlBasic/plugins/autoindent.sdlbas "$(FilePath)"
+command.1.*.sdlbas=$(SDLBRT) --nodefaults /usr/share/sdlbasic/plugins/autoindent.sdlbas "$(FilePath)"
 command.is.filter.1.*.sdlbas=1
 
 command.name.2.*.sdlbas=Unindent
-command.2.*.sdlbas=$(SDLBRT) --nodefaults $(BASEDIR)/share/sdlBasic/plugins/unindent.sdlbas "$(FilePath)"
+command.2.*.sdlbas=$(SDLBRT) --nodefaults /usr/share/sdlbasic/plugins/unindent.sdlbas "$(FilePath)"
 command.is.filter.2.*.sdlbas=1
 
 command.name.3.*.sdlbas=make executable
-command.3.*.sdlbas=$(SDLBRT)  --nodefaults $(BASEDIR)/share/sdlBasic/plugins/bind.sdlbas $(SDLBRT) "$(FilePath)"
+command.3.*.sdlbas=$(SDLBRT)  --nodefaults /usr/share/sdlbasic/plugins/bind.sdlbas $(SDLBRT) "$(FilePath)"
 command.is.filter.3.*.sdlbas=1
 
--- a/src/sdlBasic/src/sdlBasic/src/SciTEIO.cxx
+++ b/src/sdlBasic/src/sdlBasic/src/SciTEIO.cxx
@@ -91,8 +91,8 @@
 const char propGlobalFileName[] = "../share/sdlBasic/Global.properties";
 const char propAbbrevFileName[] = "../share/sdlBasic/abbrev.properties";
 #else
-const char propGlobalFileName[] = "Global.properties";
-const char propAbbrevFileName[] = "abbrev.properties";
+const char propGlobalFileName[] = "Global.properties";
+const char propAbbrevFileName[] = "abbrev.properties";
 #endif
 
 #define PROPERTIES_EXTENSION	".properties"
--- a/src/sdlBasic/share/sdlBasic/Global.properties
+++ b/src/sdlBasic/share/sdlBasic/Global.properties
@@ -209,7 +209,7 @@
 if PLAT_GTK
 	BROWSER=firefox
 	#command.print.*=a2ps $(FileNameExt)
-	command.scite.help=$(BROWSER)  "file:$(SciteDefaultHome)/../doc/sdlBasic/english/index.html"
+	command.scite.help=$(BROWSER)  "file:/usr/share/doc/sdlbasic/english/index.html"
 # Internationalisation
 # Japanese input code page 932 and ShiftJIS character set 128
 #code.page=932