chiark / gitweb /
Exporting *SIGNAL-STOP-EMISSION*
[clg] / gtk / gtk.asd
index 66926bc9f001fe5d8e85412d97231debf85e0fc7..d7aa92b2a4cbbf82edf9643dc1bd25259d87ce99 100644 (file)
@@ -7,17 +7,15 @@
 
 (in-package "GTK-SYSTEM")
 
-(pkg-exists-p "gtk+-2.0" :atleast-version "2.4.0")
-
-(when (string>= (pkg-version "gtk+-2.0") "2.6.0")
-  (pushnew :gtk2.6 *features*))
+(pkg-exists-p "gtk+-2.0" :atleast-version "2.4.0" :error t)
 
 (defsystem gtk
-    :depends-on (glib gdk pango atk)
+    :depends-on (gffi glib gdk pango atk)
     :components ((:file "defpackage")
                 (:library "libgtk-x11-2.0" 
                           :libdir #.(pkg-variable "gtk+-2.0" "libdir"))
                 (:unix-dso "alien"
+                           :ldflags #.(pkg-libs "gtk+-2.0")
                            :components ((:c-source-file "glue"
                                          :cflags #.(pkg-cflags "gtk+-2.0")))
                            :depends-on ("libgtk-x11-2.0"))
@@ -29,7 +27,8 @@
                 (:file "gtktree" :depends-on ("gtktypes"))
                 (:file "gtktext" :depends-on ("gtktypes"))
                 (:file "gtkaction" :depends-on ("gtktypes"))
+                (:file "gtkselection" :depends-on ("gtktypes"))
                 (:file "gtkstyle" :depends-on ("gtktypes"))
-                (:file "gtk" :depends-on ("gtktypes"))
+                (:file "gtk" :depends-on ("gtktypes" "gtkcontainer"))
                 (:file "gtkutils" :depends-on ("gtk"))
-                (:file "export" :depends-on ("gtktypes" "gtkwidget" "gtkcontainer" "gtk" "gtktree" "gtkaction" "gtkutils" "gtkstyle"))))
+                (:file "export" :depends-on ("gtktypes" "gtkwidget" "gtkcontainer" "gtk" "gtktree" "gtkaction" "gtkselection" "gtkutils" "gtkstyle"))))