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

Contents of /mcclim/mcclim.asd

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.5