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

Contents of /mcclim/mcclim.asd

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.5