/[mcclim]/mcclim/mcclim.asd
ViewVC logotype

Contents of /mcclim/mcclim.asd

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.46 - (hide annotations)
Sat Jan 6 13:11:42 2007 UTC (7 years, 3 months ago) by thenriksen
Branch: MAIN
Changes since 1.45: +7 -5 lines
Make McCLIM loadable in CLISP.
1 afuchs 1.1 ;;; -*- Mode: Lisp -*-
2    
3     ;;; (c) copyright 1998,1999,2000 by Michael McDonald (mikemac@mikemac.com)
4     ;;; (c) copyright 2000 by
5     ;;; Robert Strandh (strandh@labri.u-bordeaux.fr)
6     ;;; (c) copyright 2005 by
7 afuchs 1.2 ;;; Andreas Fuchs (asf@boinkor.net)
8 afuchs 1.1 ;;;
9     ;;; This library is free software; you can redistribute it and/or
10     ;;; modify it under the terms of the GNU Library General Public
11     ;;; License as published by the Free Software Foundation; either
12     ;;; version 2 of the License, or (at your option) any later version.
13     ;;;
14     ;;; This library is distributed in the hope that it will be useful,
15     ;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
16     ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17     ;;; Library General Public License for more details.
18     ;;;
19     ;;; You should have received a copy of the GNU Library General Public
20     ;;; License along with this library; if not, write to the
21     ;;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
22     ;;; Boston, MA 02111-1307 USA.
23    
24    
25     ;;; Really, I wouldn't bother with anything but ASDF. Almost every lisp
26     ;;; ships with it, and it has the added benefit of ASDF-INSTALL.
27     ;;; Get ASDF, and be welcome to the 21st century. -- [2005-01-31:asf]
28    
29     (defpackage :mcclim.system
30     (:use :asdf :cl))
31     (in-package :mcclim.system)
32    
33     (defparameter *clim-directory* (directory-namestring *load-truename*))
34    
35 thenriksen 1.33 (eval-when (:compile-toplevel :load-toplevel :execute)
36     (defun find-swank-package ()
37     (find-package :swank))
38     (defun find-swank-system ()
39     (handler-case (asdf:find-system :swank)
40     (asdf:missing-component ())))
41     (defun find-swank ()
42     (or (find-swank-package)
43 thenriksen 1.46 (find-swank-system)))
44     (defun ifswank ()
45     (if (find-swank)
46     '(and)
47     '(or))))
48 thenriksen 1.33
49 afuchs 1.1 ;;; Legacy CMUCL support stuff
50     #+cmu
51     (progn
52     (unless (fboundp 'ext:stream-read-char)
53     (unless (ignore-errors (ext:search-list "gray-streams:"))
54     (setf (ext:search-list "gray-streams:")
55     '("target:pcl/" "library:subsystems/")))
56 afuchs 1.4 (if (fboundp 'extensions:without-package-locks)
57     (extensions:without-package-locks
58 afuchs 1.1 (load "gray-streams:gray-streams-library"))
59     (load "gray-streams:gray-streams-library")))
60 dlichteblau 1.39 #-(or clx gtkairo)
61 afuchs 1.1 (require :clx)
62     #+mp (when (eq mp::*initial-process* mp::*current-process*)
63     (format t "~%~%You need to run (mp::startup-idle-and-top-level-loops) to start up the multiprocessing support.~%~%")))
64    
65 afuchs 1.5 ;;; Make CLX asdf-loadable on Allegro 6.2
66     ;;; possibly this should be further refined to funciton properly for
67     ;;; Allegro on Windows platforms. [2005/04/18:rpg]
68 tmoore 1.16
69 afuchs 1.5 #+allegro
70     (progn
71     (defclass requireable-system (asdf:system)
72 tmoore 1.16 ())
73 afuchs 1.5 (defmethod asdf:perform ((op asdf:load-op) (system requireable-system))
74 tmoore 1.11 (require (intern (slot-value system 'asdf::name) :keyword)))
75 afuchs 1.5 (defmethod asdf::traverse ((op asdf:load-op) (system requireable-system))
76     (list (cons op system)))
77     (defsystem :clx
78     :class requireable-system))
79    
80 afuchs 1.1 (defmacro clim-defsystem ((module &key depends-on) &rest components)
81     `(progn
82     (asdf:defsystem ,module
83     ,@(and depends-on
84     `(:depends-on ,depends-on))
85     :serial t
86     :components
87     (,@(loop for c in components
88     for p = (merge-pathnames
89     (parse-namestring c)
90     (make-pathname :type "lisp"
91     :defaults *clim-directory*))
92 crhodes 1.6 collect `(:file ,(namestring p) :pathname ,p))))))
93 afuchs 1.1
94     (defsystem :clim-lisp
95     :components
96     (;; First possible patches
97     (:file "patch")
98     (:module "Lisp-Dep"
99     :depends-on ("patch")
100     :components
101     ((:file #+cmu "fix-cmu"
102 tmoore 1.10 #+scl "fix-scl"
103 afuchs 1.1 #+excl "fix-acl"
104     #+sbcl "fix-sbcl"
105     #+openmcl "fix-openmcl"
106     #+lispworks "fix-lispworks"
107     #+clisp "fix-clisp")))
108 afuchs 1.25 (:file "package" :depends-on ("Lisp-Dep" "patch"))))
109 afuchs 1.1
110 thenriksen 1.33 (defsystem :clim-basic
111 dlichteblau 1.45 :depends-on (:clim-lisp :spatial-trees :flexichain)
112 afuchs 1.1 :components ((:file "decls")
113 tmoore 1.8 (:file "protocol-classes" :depends-on ("decls"))
114 afuchs 1.1 (:module "Lisp-Dep"
115     :depends-on ("decls")
116     :components
117 afuchs 1.26 ((:file #.(first
118     (list
119     #+(and :cmu :mp (not :pthread)) "mp-cmu"
120     #+scl "mp-scl"
121     #+sb-thread "mp-sbcl"
122     #+excl "mp-acl"
123     #+openmcl "mp-openmcl"
124     #+lispworks "mp-lw"
125     #| fall back |# "mp-nil")))))
126 afuchs 1.1 (:file "utils" :depends-on ("decls" "Lisp-Dep"))
127 tmoore 1.8 (:file "design" :depends-on ("decls" "protocol-classes" "Lisp-Dep" "utils"))
128     (:file "X11-colors" :depends-on ("decls" "protocol-classes" "Lisp-Dep" "design"))
129     (:file "coordinates" :depends-on ("decls" "protocol-classes" "Lisp-Dep"))
130 afuchs 1.1 (:file "setf-star" :depends-on ("decls" "Lisp-Dep"))
131 tmoore 1.8 (:file "transforms" :depends-on ("decls" "protocol-classes" "Lisp-Dep" "coordinates" "utils"))
132     (:file "regions" :depends-on ("decls" "protocol-classes" "Lisp-Dep" "coordinates" "utils" "transforms" "setf-star" "design"))
133     (:file "sheets" :depends-on ("decls" "protocol-classes" "Lisp-Dep" "utils" "transforms" "regions"))
134     (:file "pixmap" :depends-on ("decls" "protocol-classes" "Lisp-Dep" "sheets" "transforms" "regions"))
135     (:file "events" :depends-on ("decls" "protocol-classes" "Lisp-Dep" "transforms" "sheets" "utils"))
136     (:file "ports" :depends-on ("decls" "protocol-classes" "Lisp-Dep" "events" "sheets" "pixmap" "utils"))
137     (:file "grafts" :depends-on ("decls" "protocol-classes" "Lisp-Dep" "sheets" "ports" "transforms" "regions"))
138     (:file "medium" :depends-on ("decls" "protocol-classes" "Lisp-Dep" "ports" "X11-colors" "utils" "pixmap" "regions"
139 afuchs 1.1 "transforms" "design"))
140 tmoore 1.8 (:file "output" :depends-on ("decls" "protocol-classes" "Lisp-Dep" "medium"))
141     (:file "input" :depends-on ("decls" "protocol-classes" "Lisp-Dep" "events" "regions" "sheets"))
142     (:file "repaint" :depends-on ("decls" "protocol-classes" "Lisp-Dep" "sheets" "events"))
143     (:file "graphics" :depends-on ("decls" "protocol-classes" "Lisp-Dep" "output" "utils" "medium" "sheets" "pixmap"
144 afuchs 1.1 "regions" "design" "transforms"))
145 tmoore 1.8 (:file "views" :depends-on ("utils" "protocol-classes"))
146     (:file "stream-output" :depends-on ("decls" "protocol-classes" "Lisp-Dep" "design" "utils" "X11-colors" "views"
147 afuchs 1.1 "output" "sheets" "regions" "graphics"
148     "medium" "setf-star"))
149 tmoore 1.8 (:file "recording" :depends-on ("decls" "protocol-classes" "Lisp-Dep" "output" "coordinates" "graphics" "design"
150 afuchs 1.1 "medium" "transforms" "regions" "sheets"
151     "utils" "stream-output"))
152 tmoore 1.8 (:file "encapsulate" :depends-on ("decls" "protocol-classes" "Lisp-Dep" "sheets" "graphics" "utils" "medium" "input"
153 afuchs 1.1 "stream-output" "recording"))
154 tmoore 1.8 (:file "stream-input" :depends-on ("decls" "protocol-classes" "Lisp-Dep" "input" "ports" "sheets" "events"
155 afuchs 1.1 "encapsulate" "transforms" "utils"))
156 tmoore 1.8 (:file "text-selection" :depends-on ("decls" "protocol-classes" "Lisp-Dep" "X11-colors" "medium" "output"
157 afuchs 1.1 "transforms" "sheets" "stream-output"
158     "ports" "recording" "regions"
159 dlichteblau 1.45 "events"))
160     (:file "bezier" :depends-on ("recording"))))
161 afuchs 1.1
162     (defsystem :goatee-core
163 thenriksen 1.33 :depends-on (:clim-basic)
164 afuchs 1.1 :components
165     ((:module "Goatee"
166     :components
167     ((:file "conditions")
168     (:file "dbl-list")
169     (:file "flexivector" :depends-on ("conditions" "dbl-list"))
170     (:file "buffer" :depends-on ("conditions" "flexivector" "dbl-list"))
171     (:file "editable-buffer" :depends-on ("dbl-list" "flexivector" "buffer"))
172     (:file "editable-area" :depends-on ("flexivector" "editable-buffer" "dbl-list"
173     "buffer"))
174     (:file "clim-area" :depends-on ("flexivector" "dbl-list" "buffer"
175     "editable-area" "editable-buffer"))
176     (:file "kill-ring" :depends-on ("editable-buffer" "dbl-list" "flexivector"
177     "buffer"))
178     (:file "goatee-command" :depends-on ("conditions" "clim-area" "dbl-list"
179     "editable-buffer" "kill-ring"
180     "editable-area" "buffer" "flexivector"))
181     (:file "editing-stream" :depends-on ("goatee-command" "kill-ring" "dbl-list"
182     "conditions" "editable-buffer"
183     "flexivector" "clim-area" "buffer"))
184     (:file "presentation-history" :depends-on ("editing-stream" "buffer"
185     "flexivector" "editable-buffer"
186     "goatee-command"))))))
187     ;;; CLIM-PostScript is not a backend in the normal sense.
188     ;;; It is an extension (Chap. 35.1 of the spec) and is an
189     ;;; "included" part of McCLIM. Hence the defsystem is here.
190     (defsystem :clim-postscript
191 thenriksen 1.33 :depends-on (:clim-basic)
192     :components
193     ((:module "Backends/PostScript"
194     :pathname #.(make-pathname :directory '(:relative "Backends" "PostScript"))
195     :components
196     ((:file "package")
197     (:file "encoding" :depends-on ("package"))
198     (:file "paper" :depends-on ("package"))
199     (:file "class" :depends-on ("paper" "package"))
200     (:file "font" :depends-on ("encoding" "class" "paper" "package"))
201     (:file "graphics" :depends-on ("encoding" "paper" "class" "font" "package"))
202     (:file "sheet" :depends-on ("paper" "class" "graphics" "package"))
203     (:file "afm" :depends-on ("class" "paper" "font" "package"))
204     (:file "standard-metrics" :depends-on ("font" "package"))))))
205    
206     (defsystem :clim-core
207     :depends-on (:clim-basic :goatee-core :clim-postscript)
208     :components ((:file "text-formatting")
209     (:file "defresource")
210     (:file "input-editing")
211     (:file "presentations")
212     (:file "pointer-tracking" :depends-on ("input-editing"))
213     (:file "graph-formatting")
214     (:file "frames" :depends-on ("commands" "presentations" "presentation-defs"
215     "pointer-tracking" "incremental-redisplay"))
216     (:file "table-formatting" :depends-on ("presentation-defs" "panes"
217     "presentations" "input-editing"))
218     (:file "bordered-output" :depends-on ("input-editing" "incremental-redisplay"
219     "presentation-defs" "panes"))
220     (:file "dialog-views" :depends-on ("presentations" "incremental-redisplay"
221     "bordered-output" "presentation-defs"))
222     (:file "presentation-defs" :depends-on ("input-editing" "presentations"))
223     (:file "gadgets" :depends-on ("commands" "pointer-tracking" "input-editing"
224     "frames" "incremental-redisplay" "panes"))
225     (:file "describe" :depends-on ("presentations" "presentation-defs" "table-formatting"))
226     (:file "commands" :depends-on ("input-editing" "presentations"
227     "presentation-defs"))
228     (:file "incremental-redisplay" :depends-on ("presentation-defs"))
229     (:file "menu-choose" :depends-on ("commands" "table-formatting" "presentation-defs"
230     "panes" "frames" "pointer-tracking"
231     "presentations"))
232     (:file "menu" :depends-on ("panes" "commands" "gadgets"
233     "presentations" "frames"))
234     (:file "panes" :depends-on ("incremental-redisplay" "presentations"
235     "presentation-defs" "input-editing" "frames"))
236     (:file "dialog" :depends-on ("panes" "frames" "incremental-redisplay"
237     "table-formatting" "presentations"
238     "bordered-output" "presentation-defs"
239     "dialog-views" "input-editing"
240     "commands"))
241 thenriksen 1.34 (:file "builtin-commands" :depends-on ("table-formatting"
242     "commands" "presentations"
243     "dialog" "presentation-defs"
244     "input-editing"))))
245 thenriksen 1.33
246     (defsystem :esa-mcclim
247     :depends-on (:clim-core)
248     :components ((:module "ESA"
249     :components ((:file "packages")
250     (:file "utils" :depends-on ("packages"))
251     (:file "colors" :depends-on ("packages"))
252     (:file "esa" :depends-on ("colors" "packages" "utils"))
253     (:file "esa-buffer" :depends-on ("packages" "esa"))
254     (:file "esa-io" :depends-on ("packages" "esa" "esa-buffer"))
255     (:file "esa-command-parser" :depends-on ("packages" "esa"))))))
256    
257    
258    
259     (defsystem :drei-mcclim
260 thenriksen 1.46 :depends-on (:flexichain :esa-mcclim :clim-core #+#.(mcclim.system::ifswank) :swank)
261 thenriksen 1.33 :components
262     ((:module "cl-automaton"
263     :pathname #.(make-pathname :directory '(:relative "Drei" "cl-automaton"))
264     :components ((:file "automaton-package")
265     (:file "eqv-hash" :depends-on ("automaton-package"))
266     (:file "state-and-transition" :depends-on ("eqv-hash"))
267     (:file "automaton" :depends-on ("state-and-transition" "eqv-hash"))
268     (:file "regexp" :depends-on ("automaton"))))
269     (:module "Persistent"
270     :pathname #.(make-pathname :directory '(:relative "Drei" "Persistent"))
271     :components ((:file "binseq-package")
272     (:file "binseq" :depends-on ("binseq-package"))
273     (:file "obinseq" :depends-on ("binseq-package" "binseq"))
274     (:file "binseq2" :depends-on ("binseq-package" "obinseq" "binseq"))))
275     (:module "Drei" :depends-on ("cl-automaton" "Persistent")
276     :components ((:file "packages")
277     (:file "buffer" :depends-on ("packages"))
278     (:file "motion" :depends-on ("packages" "buffer" "syntax"))
279     (:file "editing" :depends-on ("packages" "buffer" "syntax" "motion" "kill-ring"))
280     (:file "base" :depends-on ("packages" "buffer" "persistent-buffer" "kill-ring"))
281     (:file "syntax" :depends-on ("packages" "buffer" "base"))
282     (:file "drei" :depends-on ("packages" "syntax" "buffer" "base"
283     "persistent-undo" "persistent-buffer" "abbrev"
284     "delegating-buffer" "undo" "motion" "editing"))
285     (:file "drei-clim" :depends-on ("drei"))
286     (:file "drei-redisplay" :depends-on ("drei-clim"))
287     (:file "input-editor" :depends-on ("drei-redisplay" "lisp-syntax"))
288     (:file "fundamental-syntax" :depends-on ("packages" "drei-redisplay"))
289     (:file "abbrev" :depends-on ("packages"))
290     (:file "kill-ring" :depends-on ("packages"))
291     (:file "undo" :depends-on ("packages"))
292     (:file "delegating-buffer" :depends-on ("packages" "buffer"))
293     (:file "basic-commands" :depends-on ("drei-clim" "motion" "editing"))
294     (:file "core" :depends-on ("drei"))
295     (:file "rectangle" :depends-on ("core"))
296     (:file "core-commands" :depends-on ("core" "rectangle" "drei-clim"))
297     (:file "persistent-buffer"
298     :pathname #.(make-pathname :directory '(:relative "Persistent")
299     :name "persistent-buffer"
300     :type "lisp")
301     :depends-on ("packages"))
302     (:file "persistent-undo"
303     :pathname #p"Persistent/persistent-undo.lisp"
304     :depends-on ("packages" "buffer" "persistent-buffer" "undo"))
305     (:file "misc-commands" :depends-on ("basic-commands"))
306     (:file "unicode-commands" :depends-on ("core" "drei-clim"))
307     (:file "search-commands" :depends-on ("core" "drei-clim"))
308     (:file "lisp-syntax" :depends-on ("core" "motion" "fundamental-syntax"))
309     (:file "lisp-syntax-swine" :depends-on ("lisp-syntax"))
310     (:file "lisp-syntax-commands" :depends-on ("lisp-syntax-swine" "misc-commands"))
311 thenriksen 1.46 #+#.(mcclim.system::ifswank) (:file "lisp-syntax-swank" :depends-on ("lisp-syntax"))))))
312 afuchs 1.1
313 thenriksen 1.36 (defsystem :drei-tests
314     :depends-on (:drei-mcclim :fiveam)
315     :components
316     ((:module "Tests"
317     :pathname #.(make-pathname :directory '(:relative "Drei" "Tests"))
318     :components
319     ((:module
320     "cl-automaton"
321     :depends-on ("testing")
322     :components
323     ((:file "eqv-hash-tests")
324     (:file "state-and-transition-tests")
325     (:file "automaton-tests")
326     (:file "regexp-tests")))
327     (:file "packages")
328     (:file "testing" :depends-on ("packages"))
329     (:file "buffer-tests" :depends-on ("testing"))
330     (:file "base-tests" :depends-on ("testing"))
331     (:file "kill-ring-tests" :depends-on ("testing"))
332     (:file "motion-tests" :depends-on ("testing"))
333     (:file "editing-tests" :depends-on ("testing"))
334     (:file "core-tests" :depends-on ("testing"))
335     (:file "rectangle-tests" :depends-on ("testing"))
336 thenriksen 1.38 (:file "undo-tests" :depends-on ("testing"))
337     (:file "lisp-syntax-tests" :depends-on ("testing"))))))
338 thenriksen 1.36
339 afuchs 1.1 (defsystem :clim
340 thenriksen 1.33 :depends-on (:clim-core :goatee-core :clim-postscript :drei-mcclim)
341     :components
342     ((:file "Goatee/presentation-history" ; XXX: this is loaded as part of the Goatee system. huh?
343     :pathname #.(make-pathname :directory '(:relative "Goatee") :name "presentation-history" :type "lisp"))
344     (:file "input-editing-goatee")
345     (:file "input-editing-drei")
346     (:file "text-editor-gadget")))
347 afuchs 1.1
348     (defsystem :clim-clx
349 afuchs 1.5 :depends-on (:clim #+(or sbcl openmcl ecl allegro) :clx)
350 afuchs 1.1 :components
351     ((:module "Backends/CLX"
352     :pathname #.(make-pathname :directory '(:relative "Backends" "CLX"))
353     :components
354     ((:file "package")
355 afuchs 1.2 (:file "image" :depends-on ("package"))
356 afuchs 1.1 (:file "keysyms-common" :depends-on ("package"))
357     (:file "keysyms" :depends-on ("keysyms-common" "package"))
358     (:file "keysymdef" :depends-on ("keysyms-common" "package"))
359     (:file "port" :depends-on ("keysyms-common" "keysyms" "package"))
360     (:file "medium" :depends-on ("port" "keysyms" "package"))
361     (:file "graft" :depends-on ("port" "package"))
362     (:file "frame-manager" :depends-on ("medium" "port" "package"))))))
363    
364 crhodes 1.15 (defsystem :clim-null
365     :depends-on (:clim)
366     :components
367     ((:module "Backends/Null"
368     :pathname #.(make-pathname :directory '(:relative "Backends" "Null"))
369     :components
370     ((:file "package")
371     (:file "port" :depends-on ("package"))
372     (:file "medium" :depends-on ("port" "package"))
373     (:file "graft" :depends-on ("port" "package"))
374     (:file "frame-manager" :depends-on ("medium" "port" "package"))))))
375    
376 dlichteblau 1.19 (defsystem :clim-gtkairo
377     :depends-on (:clim :cffi)
378     :components
379     ((:module "Backends/gtkairo"
380     :pathname #.(make-pathname :directory '(:relative "Backends" "gtkairo"))
381     :serial t ;asf wird's ja richten
382     :components
383     ((:file "clim-fix")
384     (:file "package")
385     (:file "gtk-ffi")
386     (:file "cairo-ffi")
387 dlichteblau 1.35 (:file "ffi")
388 dlichteblau 1.31 (:file "graft")
389 dlichteblau 1.19 (:file "port")
390     (:file "event")
391 dlichteblau 1.37 (:file "keys")
392 dlichteblau 1.44 (:file "medium")
393 dlichteblau 1.41 (:file "pango")
394 dlichteblau 1.44 (:file "cairo")
395 dlichteblau 1.43 (:file "gdk")
396 dlichteblau 1.19 (:file "pixmap")
397     (:file "frame-manager")
398     (:file "gadgets")))))
399    
400 afuchs 1.1 ;;; TODO/asf: I don't have the required libs to get :clim-opengl to load. tough.
401     (clim-defsystem (:clim-opengl :depends-on (:clim))
402     "Backends/OpenGL/opengl-x-frame-manager"
403     "Backends/OpenGL/opengl-frame-manager"
404     "Backends/OpenGL/opengl-x-port-before"
405     "Backends/OpenGL/opengl-port"
406     "Backends/OpenGL/opengl-x-port-after"
407     "Backends/OpenGL/opengl-medium"
408     "Backends/OpenGL/opengl-x-graft")
409    
410     ;;; A system that loads the appropriate backend for the current
411     ;;; platform.
412     (defsystem :clim-looks
413 afuchs 1.12 :depends-on (:clim :clim-postscript
414 afuchs 1.1 ;; If we're on an implementation that ships CLX, use
415     ;; it. Same if the user has loaded CLX already.
416 dlichteblau 1.32 #+(and (or sbcl scl openmcl ecl clx allegro) (not gtkairo))
417     :clim-clx
418 afuchs 1.1 #+gl :clim-opengl
419     ;; OpenMCL and MCL support the beagle backend (native
420     ;; OS X look&feel on OS X).
421    
422     ;; But until it's ready, it's no use forcing users to
423     ;; cope with possible bugs.
424     ;; #+(or openmcl mcl) :clim-beagle
425 crhodes 1.15
426 dlichteblau 1.19 #+gtkairo :clim-gtkairo
427    
428 crhodes 1.15 ;; null backend
429     :clim-null
430 afuchs 1.1 )
431 dlichteblau 1.32 :components (#-gtkairo
432     (:file "Looks/pixie"
433 afuchs 1.1 :pathname #.(make-pathname :directory '(:relative "Looks") :name "pixie" :type "lisp"))))
434    
435     ;;; name of :clim-clx-user chosen by mikemac for no good reason
436     (defsystem :clim-clx-user
437     :depends-on (:clim :clim-clx))
438    
439 ahefner 1.22 ;;; The actual McCLIM system that people should to use in their ASDF
440     ;;; package dependency lists.
441     (defsystem :mcclim
442 afuchs 1.30 :version "0.9.3-dev"
443 ahefner 1.22 :depends-on (:clim-looks))
444    
445 afuchs 1.1 ;;; CLIM-Examples depends on having at least one backend loaded.
446     (defsystem :clim-examples
447 ahefner 1.22 :depends-on (:mcclim)
448 afuchs 1.1 :components
449     ((:module "Examples"
450     :components
451     ((:file "calculator")
452     (:file "colorslider")
453 varkesteijn 1.14 (:file "menutest") ; extra
454 afuchs 1.1 (:file "address-book")
455     (:file "traffic-lights")
456     (:file "clim-fig")
457     (:file "postscript-test")
458 varkesteijn 1.14 (:file "puzzle")
459     (:file "transformations-test")
460     (:file "demodemo")
461 afuchs 1.1 (:file "stream-test")
462     (:file "presentation-test")
463 varkesteijn 1.14 (:file "dragndrop")
464 dlichteblau 1.20 (:file "gadget-test")
465 afuchs 1.1 (:file "accepting-values")
466 tmoore 1.9 (:file "method-browser")
467 afuchs 1.24 (:file "stopwatch")
468 crhodes 1.17 (:file "dragndrop-translator")
469 dlichteblau 1.18 (:file "draggable-graph")
470 dlichteblau 1.21 (:file "text-size-test")
471 ahefner 1.23 (:file "drawing-benchmark")
472 thenriksen 1.27 (:file "logic-cube")
473 dlichteblau 1.42 (:file "views")
474     (:file "font-selector")))
475 varkesteijn 1.14 (:module "Goatee"
476     :components
477     ((:file "goatee-test")))))
478 afuchs 1.1
479     ;;; This won't load in SBCL, either. I have really crappy code to
480     ;;; extract dependency information from :serial t ASDF systems, but
481     ;;; this comment is too narrow to contain it.
482 ahefner 1.22 (clim-defsystem (:scigraph :depends-on (:mcclim))
483 afuchs 1.1 ;; The DWIM part of SCIGRAPH
484     "Apps/Scigraph/dwim/package"
485     "Apps/Scigraph/dwim/feature-case"
486     "Apps/Scigraph/dwim/macros"
487     "Apps/Scigraph/dwim/tv"
488     "Apps/Scigraph/dwim/draw"
489     "Apps/Scigraph/dwim/present"
490     "Apps/Scigraph/dwim/extensions"
491     "Apps/Scigraph/dwim/wholine"
492     "Apps/Scigraph/dwim/export"
493     ;; The Scigraph part
494     "Apps/Scigraph/scigraph/package"
495     "Apps/Scigraph/scigraph/copy"
496     "Apps/Scigraph/scigraph/dump"
497     "Apps/Scigraph/scigraph/duplicate"
498     "Apps/Scigraph/scigraph/random"
499     "Apps/Scigraph/scigraph/menu-tools"
500     "Apps/Scigraph/scigraph/basic-classes"
501     "Apps/Scigraph/scigraph/draw"
502     "Apps/Scigraph/scigraph/mouse"
503     "Apps/Scigraph/scigraph/color"
504     "Apps/Scigraph/scigraph/basic-graph"
505     "Apps/Scigraph/scigraph/graph-mixins"
506     "Apps/Scigraph/scigraph/axis"
507     "Apps/Scigraph/scigraph/moving-object"
508     "Apps/Scigraph/scigraph/symbol"
509     "Apps/Scigraph/scigraph/graph-data"
510     "Apps/Scigraph/scigraph/legend"
511     "Apps/Scigraph/scigraph/graph-classes"
512     "Apps/Scigraph/scigraph/present"
513     "Apps/Scigraph/scigraph/annotations"
514     "Apps/Scigraph/scigraph/annotated-graph"
515     "Apps/Scigraph/scigraph/contour"
516     "Apps/Scigraph/scigraph/equation"
517     "Apps/Scigraph/scigraph/popup-accept"
518     "Apps/Scigraph/scigraph/popup-accept-methods"
519     "Apps/Scigraph/scigraph/duplicate-methods"
520     "Apps/Scigraph/scigraph/frame"
521     "Apps/Scigraph/scigraph/export"
522     "Apps/Scigraph/scigraph/demo-frame")
523    
524     (defsystem :clim-listener
525 ahefner 1.22 :depends-on (:mcclim #+sbcl :sb-posix)
526 afuchs 1.1 :components
527     ((:file "Experimental/xpm"
528     :pathname #.(make-pathname :directory '(:relative "Experimental") :name "xpm" :type "lisp"))
529     (:module "Apps/Listener"
530     :pathname #.(make-pathname :directory '(:relative "Apps" "Listener"))
531     :depends-on ("Experimental/xpm")
532     :components
533     ((:file "package")
534     (:file "util" :depends-on ("package"))
535     (:file "icons" :depends-on ("package" "util"))
536     (:file "file-types" :depends-on ("package" "icons" "util"))
537     (:file "dev-commands" :depends-on ("package" "icons" "file-types" "util"))
538     (:file "listener" :depends-on ("package" "file-types" "icons" "dev-commands" "util"))
539     #+CMU (:file "cmu-hacks" :depends-on ("package"))))))
540    
541 ahefner 1.22 (defsystem :clouseau
542     :depends-on (:mcclim)
543     :serial t
544     :components
545 afuchs 1.24 ((:module "Apps/Inspector"
546     :pathname #.(make-pathname :directory '(:relative "Apps" "Inspector"))
547     :components
548     ((:file "package")
549 thenriksen 1.40 (:file "disassembly" :depends-on ("package"))
550     (:file "inspector" :depends-on ("disassembly"))))))
551 afuchs 1.7
552 tmoore 1.8 (defmethod perform :after ((op load-op) (c (eql (find-system :clim))))
553     (pushnew :clim *features*)
554     (pushnew :mcclim *features*))
555    
556 afuchs 1.7 (defmethod perform :after ((op load-op) (c (eql (find-system :mcclim))))
557     (pushnew :clim *features*)
558 tmoore 1.8 (pushnew :mcclim *features*))
559 thenriksen 1.33
560     ;; XXX This is very ugly, but ESA and Drei need to know whether they
561     ;; are being compiled as part of McCLIM, or in another CLIM
562     ;; implementation.
563     (defmethod perform :around (op c)
564     (if (and (or (eql (component-system c) (find-system :esa-mcclim))
565     (eql (component-system c) (find-system :drei-mcclim)))
566     (not (find :building-mcclim *features*)))
567     (unwind-protect (progn (push :building-mcclim *features*)
568     (call-next-method))
569     (setf *features* (delete :building-mcclim *features*)))
570     (call-next-method)))

  ViewVC Help
Powered by ViewVC 1.1.5