File: bundles-installdir.patch

package info (click to toggle)
steptalk 0.10.0-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid, stretch
  • size: 4,104 kB
  • ctags: 780
  • sloc: objc: 14,096; yacc: 394; makefile: 31; csh: 8; awk: 3; lisp: 3
file content (115 lines) | stat: -rw-r--r-- 5,096 bytes parent folder | download | duplicates (3)
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
2007-05-14  Hubert Chathi  <uhoreg@debian.org>

	Fix some compilation/installation issues.
	* Examples/Shell/GNUmakefile (ADDITIONAL_INCLUDE_DIRS)
	(ADDITIONAL_LIB_DIRS): Define.
	* Finders/ApplicationFinder/GNUmakefile (BUNDLE_INSTALL_DIR):
	* Finders/DistributedFinder/GNUmakefile (BUNDLE_INSTALL_DIR):
	* Languages/Smalltalk/GNUmakefile (BUNDLE_INSTALL_DIR):
	* Modules/AppKit/GNUmakefile (BUNDLE_INSTALL_DIR):
	* Modules/Foundation/GNUmakefile (BUNDLE_INSTALL_DIR):
	* Modules/GDL2/GNUmakefile (BUNDLE_INSTALL_DIR):
	* Modules/ObjectiveC/GNUmakefile (BUNDLE_INSTALL_DIR):
	* Modules/SimpleTranscript/GNUmakefile (BUNDLE_INSTALL_DIR): Don't
	use the deprecated variable GNUSTEP_INSTALLATION_DIR.

--- steptalk-0.10.0.orig/Examples/Shell/GNUmakefile
+++ steptalk-0.10.0/Examples/Shell/GNUmakefile
@@ -27,7 +27,8 @@
 stshell_OBJC_FILES = STShell.m STShell+output.m stshell_tool.m
 
 ADDITIONAL_TOOL_LIBS += -lStepTalk -lreadline -lncurses
-
+ADDITIONAL_INCLUDE_DIRS += -I../../Frameworks
+ADDITIONAL_LIB_DIRS += -L../../Frameworks/StepTalk/StepTalk.framework/Versions/Current/$(GNUSTEP_TARGET_LDIR)
 ADDITIONAL_OBJCFLAGS = -Wall -Wno-import
 
 -include GNUmakefile.preamble
--- steptalk-0.10.0.orig/Finders/ApplicationFinder/GNUmakefile
+++ steptalk-0.10.0/Finders/ApplicationFinder/GNUmakefile
@@ -37,7 +37,7 @@
 ADDITIONAL_INCLUDE_DIRS += -I../../Frameworks/
 ADDITIONAL_LIB_DIRS += -L../../Frameworks/StepTalk/StepTalk.framework/Versions/Current/$(GNUSTEP_TARGET_LDIR)
 
-BUNDLE_INSTALL_DIR:=$(GNUSTEP_INSTALLATION_DIR)/Library/StepTalk/Finders
+BUNDLE_INSTALL_DIR:=$(DESTDIR)$(GNUSTEP_$(GNUSTEP_INSTALLATION_DOMAIN)_LIBRARY)/StepTalk/Finders
 
 -include GNUmakefile.preamble
 include $(GNUSTEP_MAKEFILES)/bundle.make
--- steptalk-0.10.0.orig/Finders/DistributedFinder/GNUmakefile
+++ steptalk-0.10.0/Finders/DistributedFinder/GNUmakefile
@@ -35,7 +35,7 @@
 ADDITIONAL_INCLUDE_DIRS += -I../../Frameworks/
 ADDITIONAL_LIB_DIRS += -L../../Frameworks/StepTalk/StepTalk.framework/Versions/Current/$(GNUSTEP_TARGET_LDIR)
 
-BUNDLE_INSTALL_DIR:=$(GNUSTEP_INSTALLATION_DIR)/Library/StepTalk/Finders
+BUNDLE_INSTALL_DIR:=$(DESTDIR)$(GNUSTEP_$(GNUSTEP_INSTALLATION_DOMAIN)_LIBRARY)/StepTalk/Finders
 
 -include GNUmakefile.preamble
 include $(GNUSTEP_MAKEFILES)/bundle.make
--- steptalk-0.10.0.orig/Languages/Smalltalk/GNUmakefile
+++ steptalk-0.10.0/Languages/Smalltalk/GNUmakefile
@@ -24,7 +24,7 @@
 
 BUNDLE_NAME        = Smalltalk
 BUNDLE_EXTENSION  := .stlanguage
-BUNDLE_INSTALL_DIR:=$(GNUSTEP_INSTALLATION_DIR)/Library/StepTalk/Languages
+BUNDLE_INSTALL_DIR:=$(DESTDIR)$(GNUSTEP_$(GNUSTEP_INSTALLATION_DOMAIN)_LIBRARY)/StepTalk/Languages
     
 Smalltalk_OBJC_FILES = \
         SmalltalkEngine.m \
--- steptalk-0.10.0.orig/Modules/AppKit/GNUmakefile
+++ steptalk-0.10.0/Modules/AppKit/GNUmakefile
@@ -39,7 +39,7 @@
         
 AppKit_BUNDLE_LIBS += $(GUI_LIBS)
 
-BUNDLE_INSTALL_DIR:=$(GNUSTEP_INSTALLATION_DIR)/Library/StepTalk/Modules
+BUNDLE_INSTALL_DIR:=$(DESTDIR)$(GNUSTEP_$(GNUSTEP_INSTALLATION_DOMAIN)_LIBRARY)/StepTalk/Modules
 
 ADDITIONAL_OBJCFLAGS = -Wall -Wno-import
 
--- steptalk-0.10.0.orig/Modules/Foundation/GNUmakefile
+++ steptalk-0.10.0/Modules/Foundation/GNUmakefile
@@ -34,7 +34,7 @@
         
 Foundation_RESOURCE_FILES = ScriptingInfo.plist
 
-BUNDLE_INSTALL_DIR:=$(GNUSTEP_INSTALLATION_DIR)/Library/StepTalk/Modules
+BUNDLE_INSTALL_DIR:=$(DESTDIR)$(GNUSTEP_$(GNUSTEP_INSTALLATION_DOMAIN)_LIBRARY)/StepTalk/Modules
 ADDITIONAL_BUNDLE_LIBS = -lStepTalk
 ADDITIONAL_INCLUDE_DIRS += -I../../Frameworks/
 ADDITIONAL_LIB_DIRS += -L../../Frameworks/StepTalk/StepTalk.framework/Versions/Current/$(GNUSTEP_TARGET_LDIR)
--- steptalk-0.10.0.orig/Modules/GDL2/GNUmakefile
+++ steptalk-0.10.0/Modules/GDL2/GNUmakefile
@@ -41,7 +41,7 @@
 ADDITIONAL_INCLUDE_DIRS += -I../../Frameworks/
 ADDITIONAL_LIB_DIRS += -L../../Frameworks/StepTalk/StepTalk.framework/Versions/Current/$(GNUSTEP_TARGET_LDIR)
 
-BUNDLE_INSTALL_DIR:=$(GNUSTEP_INSTALLATION_DIR)/Library/StepTalk/Modules
+BUNDLE_INSTALL_DIR:=$(DESTDIR)$(GNUSTEP_$(GNUSTEP_INSTALLATION_DOMAIN)_LIBRARY)/StepTalk/Modules
 
 ADDITIONAL_OBJCFLAGS = -Wall -Wno-import
 
--- steptalk-0.10.0.orig/Modules/ObjectiveC/GNUmakefile
+++ steptalk-0.10.0/Modules/ObjectiveC/GNUmakefile
@@ -40,7 +40,7 @@
 ADDITIONAL_INCLUDE_DIRS += -I../../Frameworks/
 ADDITIONAL_LIB_DIRS += -L../../Frameworks/StepTalk/StepTalk.framework/Versions/Current/$(GNUSTEP_TARGET_LDIR)
 
-BUNDLE_INSTALL_DIR:=$(GNUSTEP_INSTALLATION_DIR)/Library/StepTalk/Modules
+BUNDLE_INSTALL_DIR:=$(DESTDIR)$(GNUSTEP_$(GNUSTEP_INSTALLATION_DOMAIN)_LIBRARY)/StepTalk/Modules
 
 ADDITIONAL_OBJCFLAGS = -Wall -Wno-import
 
--- steptalk-0.10.0.orig/Modules/SimpleTranscript/GNUmakefile
+++ steptalk-0.10.0/Modules/SimpleTranscript/GNUmakefile
@@ -32,7 +32,7 @@
         
 SimpleTranscript_RESOURCE_FILES = ScriptingInfo.plist
 
-BUNDLE_INSTALL_DIR:=$(GNUSTEP_INSTALLATION_DIR)/Library/StepTalk/Modules
+BUNDLE_INSTALL_DIR:=$(DESTDIR)$(GNUSTEP_$(GNUSTEP_INSTALLATION_DOMAIN)_LIBRARY)/StepTalk/Modules
 
 ADDITIONAL_BUNDLE_LIBS = -lStepTalk
 ADDITIONAL_INCLUDE_DIRS += -I../../Frameworks/