forked from franzinc/clim2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclim-tos.asd
255 lines (226 loc) · 8.97 KB
/
clim-tos.asd
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
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
(in-package #:asdf-user)
(defsystem #:clim-tos
:description "CLIM 2 implementation released by Franz Inc."
:license "BSD-4-Clause"
:depends-on (#:clim-tos/core))
(defsystem #:clim-tos/all
:description "All default packages for demo."
:depends-on (#:clim-tos
#:clim-tos/clx-backend
#:clim-tos/examples
#:clim-tos/homegrown))
;;; based on `clim-standalone' in sys/sysdcl.lisp
(defsystem #:clim-tos/core
:description "Core functionality (doesn't contain backends)."
:depends-on (#:clim-tos/silica)
:components ((:module "clim"
:components
(;; Basic tools
(:file "gestures")
(:file "defprotocol")
(:file "stream-defprotocols")
(:file "defresource")
(:file "temp-strings")
(:file "clim-defs")
;; Definitions and protocols
(:file "stream-class-defs")
(:file "interactive-defs")
(:file "cursor")
(:file "view-defs")
(:file "input-defs")
(:file "input-protocol")
(:file "output-protocol")
;; Output recording
(:file "recording-defs")
(:file "formatted-output-defs")
(:file "recording-protocol")
(:file "text-recording")
(:file "graphics-recording")
(:file "design-recording")
;; Input editing
(:file "interactive-protocol")
(:file "input-editor-commands")
#+(and allegro (not acl86win32)) (:file "japanese-input-editor")
;; Incremental redisplay
(:file "incremental-redisplay")
;; Windows (sheets)
(:file "coordinate-sorted-set")
(:file "r-tree")
(:file "window-stream")
(:file "pixmap-streams")
;; Presentation types
(:file "ptypes1")
(:file "completer")
(:file "presentations")
(:file "translators")
(:file "histories")
(:file "ptypes2")
(:file "standard-types")
#+allegro (:file "excl-presentations")
;; Formatted output
(:file "table-formatting")
(:file "graph-formatting")
(:file "surround-output")
(:file "text-formatting")
;; Pointer tracking
(:file "tracking-pointer")
(:file "dragging-output")
;; Gadgets
(:file "db-stream")
(:file "gadget-output")
;; Application building substrate
(:file "accept")
(:file "present")
(:file "command")
(:file "command-processor")
(:file "basic-translators")
(:file "frames")
(:file "panes")
(:file "default-frame")
(:file "activities")
(:file "db-menu")
#+acl86win32 (:file "db-list")
#+acl86win32 (:file "db-text")
(:file "noting-progress")
(:file "menus")
(:file "accept-values")
(:file "drag-and-drop")
(:file "item-list-manager")
;; Bootstrap everything
(:file "stream-trampolines")))))
;;; based on `clim-utils'
(defsystem #:clim-tos/utils
:depends-on (#:closer-mop
#:trivial-gray-streams
#:bordeaux-threads)
:components
((:module "utils"
:components ((:file "packages")
(:file "defun-utilities")
(:file "reader")
(:file "clos-patches")
(:file "clos")
;; General lisp extensions
(:file "utilities")
(:file "lisp-utilities")
(:file "processes")
(:file "queue")
(:file "timers")
(:file "protocols")
;; Establish a uniform stream model
(:file "clim-streams")
(:file "cl-streams")
;; Basic utilities for Silica and CLIM
(:file "clim-macros")
(:file "transformations")
(:file "regions")
(:file "region-arithmetic")
(:file "extended-regions")
(:file "base-designs")
(:file "designs")))))
;;; based on `clim-silica'
(defsystem #:clim-tos/silica
:depends-on (#:clim-tos/utils
#:closer-mop
#:alexandria)
:components
((:module "silica"
:components
(;; Silica
(:file "macros")
(:file "classes")
(:file "text-style")
(:file "sheet")
(:file "mirror")
(:file "event")
(:file "port")
(:file "medium")
(:file "framem")
(:file "graphics")
(:file "pixmaps")
(:file "std-sheet")
;; "Windshield", aka "DashBoard"
;; Layout gadgets
(:file "layout")
(:file "db-layout")
(:file "db-box")
(:file "db-table")
;; 'Physical' gadgets
(:file "gadgets")
(:file "db-border")
(:file "db-scroll")
(:file "db-button")
(:file "db-label")
(:file "db-slider")
(:file "scroll-pane")))))
(defsystem #:clim-tos/homegrown
:depends-on (#:clim-tos/silica)
:components
((:module "homegrown"
:components
(;(:file "scroll-pane")
(:file "db-button")
(:file "db-label")
(:file "db-slider")
(:file "db-menu")
(:file "db-list" :depends-on ("db-menu"))
(:file "db-text")
(:file "last")))))
(defsystem #:clim-tos/postscript
:description "Draw-only backend as defined in the specification.")
;;; based on `clx-clim' in clx/sysdcl.lisp
(defsystem #:clim-tos/clx-backend
:description "Reference backend for X-Window system."
:depends-on (#:clx #:clim-tos/core)
:components
((:module "clx"
:components
((:file "pkgdcl")
(:file "clx-port")
(:file "clx-mirror")
(:file "clx-medium")
(:file "clx-pixmaps")
(:file "clx-frames")))))
;;; based on `clim-test' in test/sysdcl.lisp
(defsystem #:clim-tos/tests
:description "CLIM tests (framework and definitions)."
:depends-on (#:clim-tos/core
#:clim-tos/examples)
:serial t
:components
((:module "test"
:components
((:file "test-suite")
(:file "test")
(:file "test-buttons")
(:file "test-sliders")
(:file "simple-test")
(:file "postscript-tests")))))
;;; based on `clim-demo' in demo/sysdcl.lisp
(defsystem #:clim-tos/examples
:description "Applications bundled in clim-tos repository."
:depends-on (#:clim-tos/core
#:bordeaux-threads)
:components
((:module "demo"
:components
((:file "packages")
(:file "demo-driver" :depends-on ("packages"))
(:file "listener" :depends-on ("demo-driver"))
(:file "graphics-demos" :depends-on ("demo-driver"))
(:file "palette" :depends-on ("demo-driver"))
;(:file "cad-demo" :depends-on ("demo-driver"))
;(:file "navdata" :depends-on ("packages"))
;(:file "navfun" :depends-on ("navdata"))
(:file "puzzle" :depends-on ("demo-driver"))
(:file "address-book" :depends-on ("demo-driver"))
(:file "thinkadot" :depends-on ("demo-driver"))
;(:file "plot" :depends-on ("demo-driver"))
;(:file "color-editor" :depends-on ("demo-driver"))
;(:file "graphics-editor" :depends-on ("demo-driver"))
))))
(defmethod perform :after ((op load-op) (c (eql (find-system :clim-tos))))
(pushnew :clim *features*)
(pushnew :clim-2 *features*)
(pushnew :clim-2.1 *features*)
(pushnew :silica *features*))