;;; -*- Mode: lisp -*- (setf (logical-pathname-translations "clg") '(("**;*.*.*" "/home/espen/src/clg/**/*.*.*"))) (setq mk::*cmu-errors-to-file* nil) (push '(:PKG_CONFIG_PATH . "/opt/gnome/lib/pkgconfig") ext:*environment-list*) (load "clg:tools;config") (load "clg:tools;sharedlib") (import 'alien:load-shared-library) (eval `(mk:defsystem clg :source-pathname "clg:" :binary-pathname "clg:" :components ((:module tools :components ("autoexport")) (:file "pcl" :source-pathname "glib;" :binary-pathname "glib;") (:module glib :initially-do (progn (load-shared-library "libglib-1.3.so.5") (load-shared-library "libgobject-1.3.so.5" :init "g_type_init")) :components ((:file "callback" :language :c :compiler-options (:cflags ,(pkg-cflags "glib-2.0") :optimize 2 :definitions (#+cmu CMUCL) :include-paths ("/usr/src/cmucl-2.4.20/src/lisp"))) (:file "glib-package") (:file "gutils" :depends-on ("glib-package")) (:file "gforeign" :depends-on ("gutils")) (:file "glib" :depends-on ("gforeign")) (:file "proxy" :depends-on ("glib")) (:file "gtype" :depends-on ("proxy")) (:file "gboxed" :depends-on ("gtype")) (:file "gcallback" :depends-on ("gtype" "gparam" "callback")) (:file "genums" :depends-on ("gtype")) (:file "gparam" :depends-on ("genums")) (:file "gobject" :depends-on ("gparam")) (:file "glib-export" :depends-on ("gutils" "glib" "proxy" "gboxed" "gtype" "gparam" "gcallback" "genums" "gobject"))) :depends-on (tools "pcl")) (:file "gdkglue" :source-pathname "gdk;" :binary-pathname "gdk;" :initially-do (progn (load-shared-library "libgdk_pixbuf-1.3.so.5") (load-shared-library "libgdk-x11-1.3.so.5" :init "gdk_init" :prototype '(function c-call:void alien:system-area-pointer alien:system-area-pointer) :initargs (list (system:int-sap 0) (system:int-sap 0)))) :language :c :compiler-options (:cflags ,(pkg-cflags "gtk+-2.0") :optimize 2)) (:module gdk :components ((:file "gdk-package") (:file "gdk-export" :depends-on ("gdkevents" "gdktypes" "gdk")) (:file "gdktypes" :depends-on ("gdk-package")) (:file "gdkevents" :depends-on ("gdktypes")) (:file "gdk" :depends-on ("gdkevents"))) :depends-on (glib "gdkglue")) (:module pango :initially-do (load-shared-library "libpango-0.16.so") :components ((:file "pango-package") (:file "pango" :depends-on ("pango-package")) (:file "pango-export" :depends-on ("pango"))) :depends-on (glib)) (:file "gtkglue" :source-pathname "gtk;" :binary-pathname "gtk;" :initially-do (progn (load-shared-library "libgtk-x11-1.3.so.5" :init "gtk_init" :prototype '(function c-call:void alien:system-area-pointer alien:system-area-pointer) :initargs (list (system:int-sap 0) (system:int-sap 0)))) :language :c :compiler-options (:cflags ,(pkg-cflags "gtk+-2.0") :optimize 2 :definitions (#+cmu CMUCL) :include-paths ("/usr/lib/cmucl"))) (:module gtk :components ((:file "gtk-package") ; (:file "gtk-export" :depends-on ("gtktypes" "gtk")) (:file "gtkobject" :depends-on ("gtk-package")) (:file "gtktypes" :depends-on ("gtkobject")) (:file "gtkwidget" :depends-on ("gtktypes")) (:file "gtkcontainer" :depends-on ("gtktypes")) ; (:file "gtk" :depends-on ("gtktypes")) ; (:file "gtkutils" :depends-on ("gtk")) ) :depends-on (glib gdk pango "gtkglue")))))