summaryrefslogtreecommitdiff
path: root/data/mobileterminal/build.diff
blob: 03f60d98a05c671e12d26afaa3bda3587c4c9424 (plain)
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
Only in mobileterminal-316s+iPhone/Artwork: .svn
Only in mobileterminal-316s+iPhone: dstools
diff -ru mobileterminal-316s/Makefile.build mobileterminal-316s+iPhone/Makefile.build
--- mobileterminal-316s/Makefile.build	2008-08-23 05:14:22.000000000 +0000
+++ mobileterminal-316s+iPhone/Makefile.build	2008-08-27 00:30:38.000000000 +0000
@@ -2,18 +2,10 @@
 
 CFLAGS=-Wall -O7 -std=gnu99
 
-ifeq ($(PKG_ARCH),iphoneos-arm)
-QUARTZ=QuartzCore -framework ImageIO
-i20=-I/apl/i20
-else
-QUARTZ=LayerKit
-i20=
-endif
-
 LDFLAGS=-lobjc -framework CoreFoundation -framework Foundation \
-        -framework UIKit -framework $(QUARTZ) -framework CoreGraphics \
-        -framework GraphicsServices -lcurses  -lobjc \
-	-F${PKG_ROOT}/System/Library/PrivateFrameworks
+        -framework UIKit -framework QuartzCore -framework ImageIO \
+	-framework CoreGraphics -framework GraphicsServices \
+	-lcurses -lobjc -F${PKG_ROOT}/System/Library/PrivateFrameworks
 
 all:	svnversion Terminal
 
@@ -33,10 +25,10 @@
 					Sources/UI/GestureView.o \
 					Sources/UI/Menu.o \
           Sources/UI/PieView.o \
-					Sources/Preferences/ColorWidgets.m \
-					Sources/Preferences/Preferences.m \
-					Sources/Preferences/PreferencesGroup.m \
-					Sources/Preferences/PreferencesDataSource.m \
+					Sources/Preferences/ColorWidgets.o \
+					Sources/Preferences/Preferences.o \
+					Sources/Preferences/PreferencesGroup.o \
+					Sources/Preferences/PreferencesDataSource.o \
 					Sources/Misc/Constants.o \
           Sources/Misc/Tools.o \
 					Sources/Misc/Log.o
Only in mobileterminal-316s+iPhone/Resources: .svn
diff -ru mobileterminal-316s/Sources/main.m mobileterminal-316s+iPhone/Sources/main.m
--- mobileterminal-316s/Sources/main.m	2008-08-23 05:14:22.000000000 +0000
+++ mobileterminal-316s+iPhone/Sources/main.m	2008-08-27 00:22:40.000000000 +0000
@@ -25,7 +25,7 @@
     }
 
     UIApplicationUseLegacyEvents(1);
-    int ret = UIApplicationMain(argc, argv, [MobileTerminal class]);
+    int ret = UIApplicationMain(argc, argv, @"MobileTerminal", @"MobileTerminal");
 
     [pool release];
     return ret;
Only in mobileterminal-316s+iPhone/Sources: main.o
diff -ru mobileterminal-316s/Sources/Misc/Color.h mobileterminal-316s+iPhone/Sources/Misc/Color.h
--- mobileterminal-316s/Sources/Misc/Color.h	2008-08-23 00:08:34.000000000 +0000
+++ mobileterminal-316s+iPhone/Sources/Misc/Color.h	2008-08-27 00:29:12.000000000 +0000
@@ -3,6 +3,7 @@
 //  Terminal
 
 #import <UIKit/UIColor.h>
+#import <Foundation/NSArray.h>
 
 UIColor *colorWithRGBA(float red, float green, float blue, float alpha);
 
Only in mobileterminal-316s+iPhone/Sources/Misc: ColorMap.o
Only in mobileterminal-316s+iPhone/Sources/Misc: Color.o
Only in mobileterminal-316s+iPhone/Sources/Misc: Constants.o
Only in mobileterminal-316s+iPhone/Sources/Misc: Log.o
Only in mobileterminal-316s+iPhone/Sources/Misc: Settings.o
Only in mobileterminal-316s+iPhone/Sources/Misc: .svn
Only in mobileterminal-316s+iPhone/Sources/Misc: Tools.o
Only in mobileterminal-316s+iPhone/Sources: MobileTerminal.o
diff -ru mobileterminal-316s/Sources/Preferences/ColorWidgets.m mobileterminal-316s+iPhone/Sources/Preferences/ColorWidgets.m
--- mobileterminal-316s/Sources/Preferences/ColorWidgets.m	2008-08-26 11:46:29.000000000 +0000
+++ mobileterminal-316s+iPhone/Sources/Preferences/ColorWidgets.m	2008-08-27 00:35:39.000000000 +0000
@@ -15,7 +15,7 @@
 
 - (void)drawRect:(struct CGRect)rect
 {
-    CGContextRef context = UICurrentContext();
+    CGContextRef context = UIGraphicsGetCurrentContext();
     CGContextSetFillColorWithColor(context, [[self color] CGColor]);
     CGContextSetStrokeColorWithColor(context, [colorWithRGBA(0.5,0.5,0.5,1) CGColor]);
 
@@ -60,7 +60,7 @@
 
 - (void)drawRect:(CGRect)rect
 {
-    CGContextRef context = UICurrentContext();
+    CGContextRef context = UIGraphicsGetCurrentContext();
     CGContextSetFillColorWithColor(context, [color CGColor]);
     CGContextSetStrokeColorWithColor(context, [colorWithRGBA(0.0,0.0,0.0,0.8) CGColor]);
 
Only in mobileterminal-316s+iPhone/Sources/Preferences: ColorWidgets.o
Only in mobileterminal-316s+iPhone/Sources/Preferences: PreferencesDataSource.o
Only in mobileterminal-316s+iPhone/Sources/Preferences: PreferencesGroup.o
diff -ru mobileterminal-316s/Sources/Preferences/Preferences.h mobileterminal-316s+iPhone/Sources/Preferences/Preferences.h
--- mobileterminal-316s/Sources/Preferences/Preferences.h	2008-08-26 11:46:29.000000000 +0000
+++ mobileterminal-316s+iPhone/Sources/Preferences/Preferences.h	2008-08-27 00:31:39.000000000 +0000
@@ -2,7 +2,7 @@
 //  Preferences.h
 //  Terminal
 
-#import <UIKit/UINavigationController.h>
+#import <UIKit/UIKit.h>
 
 @class MobileTerminal;
 
diff -ru mobileterminal-316s/Sources/Preferences/Preferences.m mobileterminal-316s+iPhone/Sources/Preferences/Preferences.m
--- mobileterminal-316s/Sources/Preferences/Preferences.m	2008-08-26 11:46:29.000000000 +0000
+++ mobileterminal-316s+iPhone/Sources/Preferences/Preferences.m	2008-08-27 00:27:31.000000000 +0000
@@ -74,7 +74,7 @@
 - (void)drawBackgroundInRect:(struct CGRect)fp8 withFade:(float)fp24
 {
     [super drawBackgroundInRect: fp8 withFade: fp24];
-    CGContextRef context = UICurrentContext();
+    CGContextRef context = UIGraphicsGetCurrentContext();
     CGContextSaveGState(context);
     CGContextAddPath(context, [_fillPath _pathRef]);
     CGContextClip(context);
@@ -355,7 +355,7 @@
 - (void)drawBackgroundInRect:(struct CGRect)fp8 withFade:(float)fp24
 {
     [super drawBackgroundInRect: fp8 withFade: fp24];
-    CGContextRef context = UICurrentContext();
+    CGContextRef context = UIGraphicsGetCurrentContext();
     CGContextSaveGState(context);
     CGContextAddPath(context, [_fillPath _pathRef]);
     CGContextClip(context);
Only in mobileterminal-316s+iPhone/Sources/Preferences: Preferences.o
Only in mobileterminal-316s+iPhone/Sources/Preferences: .svn
Only in mobileterminal-316s+iPhone/Sources: .svn
Only in mobileterminal-316s+iPhone/Sources/Terminal: SubProcess.o
Only in mobileterminal-316s+iPhone/Sources/Terminal: .svn
Only in mobileterminal-316s+iPhone/Sources/Terminal: VT100Screen.o
Only in mobileterminal-316s+iPhone/Sources/Terminal: VT100Terminal.o
diff -ru mobileterminal-316s/Sources/UI/GestureView.m mobileterminal-316s+iPhone/Sources/UI/GestureView.m
--- mobileterminal-316s/Sources/UI/GestureView.m	2008-08-23 05:14:22.000000000 +0000
+++ mobileterminal-316s+iPhone/Sources/UI/GestureView.m	2008-08-27 00:27:08.000000000 +0000
@@ -294,7 +294,7 @@
 {
     CGRect rect = [self bounds];
     rect.size.height -= 2;
-    CGContextRef context = UICurrentContext();
+    CGContextRef context = UIGraphicsGetCurrentContext();
     CGColorRef c = [[[Settings sharedInstance] gestureFrameColor] CGColor];
     const float pattern[2] = {1,4};
     CGContextSetLineDash(context, 0, pattern, 2);
Only in mobileterminal-316s+iPhone/Sources/UI: GestureView.o
diff -ru mobileterminal-316s/Sources/UI/Keyboard.h mobileterminal-316s+iPhone/Sources/UI/Keyboard.h
--- mobileterminal-316s/Sources/UI/Keyboard.h	2008-08-23 04:37:49.000000000 +0000
+++ mobileterminal-316s+iPhone/Sources/UI/Keyboard.h	2008-08-27 00:25:55.000000000 +0000
@@ -2,6 +2,7 @@
 
 #import <UIKit/UIKit.h>
 #import <UIKit/UITextView.h>
+#import <Foundation/NSString.h>
 
 @protocol KeyboardInputProtocol
 
diff -ru mobileterminal-316s/Sources/UI/Keyboard.m mobileterminal-316s+iPhone/Sources/UI/Keyboard.m
--- mobileterminal-316s/Sources/UI/Keyboard.m	2008-08-24 13:23:01.000000000 +0000
+++ mobileterminal-316s+iPhone/Sources/UI/Keyboard.m	2008-08-27 00:26:13.000000000 +0000
@@ -4,6 +4,7 @@
 
 #include <objc/runtime.h>
 #import <UIKit/UIDefaultKeyboardInput.h>
+#import <Foundation/NSException.h>
 
 @interface TextInputHandler : UIDefaultKeyboardInput
 {
Only in mobileterminal-316s+iPhone/Sources/UI: Keyboard.o
diff -ru mobileterminal-316s/Sources/UI/Menu.m mobileterminal-316s+iPhone/Sources/UI/Menu.m
--- mobileterminal-316s/Sources/UI/Menu.m	2008-08-23 05:14:22.000000000 +0000
+++ mobileterminal-316s+iPhone/Sources/UI/Menu.m	2008-08-27 00:27:31.000000000 +0000
@@ -517,7 +517,7 @@
 
 - (void)drawRect:(struct CGRect)rect
 {
-    CGContextRef context = UICurrentContext();
+    CGContextRef context = UIGraphicsGetCurrentContext();
     float w = rect.size.width;
     float h = rect.size.height;
     CGContextBeginPath (context);
Only in mobileterminal-316s+iPhone/Sources/UI: Menu.o
diff -ru mobileterminal-316s/Sources/UI/PieView.m mobileterminal-316s+iPhone/Sources/UI/PieView.m
--- mobileterminal-316s/Sources/UI/PieView.m	2008-08-23 05:14:22.000000000 +0000
+++ mobileterminal-316s+iPhone/Sources/UI/PieView.m	2008-08-27 00:27:31.000000000 +0000
@@ -62,7 +62,7 @@
 
 - (void)drawTitleAtPoint:(CGPoint)point width:(float)width
 {
-    CGContextRef context = UICurrentContext();
+    CGContextRef context = UIGraphicsGetCurrentContext();
     CGContextSaveGState(context);
 
     float height = 14.0f;
Only in mobileterminal-316s+iPhone/Sources/UI: PieView.o
diff -ru mobileterminal-316s/Sources/UI/PTYTextView.h mobileterminal-316s+iPhone/Sources/UI/PTYTextView.h
--- mobileterminal-316s/Sources/UI/PTYTextView.h	2008-08-23 04:37:49.000000000 +0000
+++ mobileterminal-316s+iPhone/Sources/UI/PTYTextView.h	2008-08-27 00:24:11.000000000 +0000
@@ -6,6 +6,8 @@
 #import <UIKit/UIKit.h>
 #import <UIKit/UITiledView.h>
 #import <UIKit/UITile.h>
+#import <CoreGraphics/CoreGraphics.h>
+#import <Foundation/NSString.h>
 
 #include <sys/time.h>
 
diff -ru mobileterminal-316s/Sources/UI/PTYTextView.m mobileterminal-316s+iPhone/Sources/UI/PTYTextView.m
--- mobileterminal-316s/Sources/UI/PTYTextView.m	2008-08-23 04:37:49.000000000 +0000
+++ mobileterminal-316s+iPhone/Sources/UI/PTYTextView.m	2008-08-27 00:27:31.000000000 +0000
@@ -292,7 +292,7 @@
 {
     //if (DEBUGLOG) log(@"row %d", row);
 
-    CGContextRef context = UICurrentContext();
+    CGContextRef context = UIGraphicsGetCurrentContext();
 
     [dataSource acquireLock];
 
Only in mobileterminal-316s+iPhone/Sources/UI: PTYTextView.o
Only in mobileterminal-316s+iPhone/Sources/UI: .svn
Only in mobileterminal-316s+iPhone: .svn
Only in mobileterminal-316s+iPhone: svnversion.h
Only in mobileterminal-316s+iPhone: Terminal
Only in mobileterminal-316s+iPhone/Terminal.xcodeproj: .svn