r2298: *** empty log message ***
authorKevin M. Rosenberg <kevin@rosenberg.net>
Sun, 18 Aug 2002 02:57:50 +0000 (02:57 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Sun, 18 Aug 2002 02:57:50 +0000 (02:57 +0000)
ChangeLog
clsql-aodbc.asd [new file with mode: 0644]
clsql-base.asd [new file with mode: 0644]
clsql-mysql.asd [new file with mode: 0644]
clsql-oracle.asd [new file with mode: 0644]
clsql-postgresql-socket.asd [new file with mode: 0644]
clsql-postgresql.asd [new file with mode: 0644]
clsql-uffi.asd [new file with mode: 0644]
clsql.asd [new file with mode: 0644]
debian/changelog
debian/rules

index 813e0149e807851116bd8136fe6afe17a29b1743..45df54281c41ea8e2864742207f09bb44da3542c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,9 @@
+17 Aug 2002 Kevin Rosenberg (kevin@rosenberg.net)
+        * Add .asd definition files for ASDF users
+
 31 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
         * Restructure directories for Common Lisp Controller v3 compatibility
-       
+
 25 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
        * Also change case of logical host in loader files
        * Rework handling of logical pathnames
diff --git a/clsql-aodbc.asd b/clsql-aodbc.asd
new file mode 100644 (file)
index 0000000..7d00f5c
--- /dev/null
@@ -0,0 +1,29 @@
+;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-
+;;;; *************************************************************************
+;;;; FILE IDENTIFICATION
+;;;;
+;;;; Name:          clsql-aodbc.asd
+;;;; Purpose:       ASDF definition file for CLSQL AODBC backend
+;;;; Programmer:    Kevin M. Rosenberg
+;;;; Date Started:  Aug 2002
+;;;;
+;;;; $Id: clsql-aodbc.asd,v 1.1 2002/08/18 02:57:50 kevin Exp $
+;;;;
+;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg
+;;;;
+;;;; CLSQL users are granted the rights to distribute and use this software
+;;;; as governed by the terms of the Lisp Lesser GNU Public License
+;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL.
+;;;; *************************************************************************
+
+(declaim (optimize (debug 3) (speed 3) (safety 1) (compilation-speed 0)))
+(in-package :asdf)
+
+(defsystem clsql-aodbc
+    :default-component-class clsql-cl-source-file
+    :pathname "cl-library:clsql-aodbc;"
+    :components ((:file "aodbc-package")
+                (:file "aodbc-sql" :depends-on ("aodbc-package")))
+    :depends-on (:clsql-base))
+
+    
diff --git a/clsql-base.asd b/clsql-base.asd
new file mode 100644 (file)
index 0000000..66072f3
--- /dev/null
@@ -0,0 +1,43 @@
+;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-
+;;;; *************************************************************************
+;;;; FILE IDENTIFICATION
+;;;;
+;;;; Name:          clsql-base.asd
+;;;; Purpose:       ASDF definition file for Base CLSQL
+;;;; Programmer:    Kevin M. Rosenberg
+;;;; Date Started:  Feb 2002
+;;;;
+;;;; $Id: clsql-base.asd,v 1.1 2002/08/18 02:57:50 kevin Exp $
+;;;;
+;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg
+;;;;
+;;;; CLSQL users are granted the rights to distribute and use this software
+;;;; as governed by the terms of the Lisp Lesser GNU Public License
+;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL.
+;;;; *************************************************************************
+
+(declaim (optimize (debug 3) (speed 3) (safety 1) (compilation-speed 0)))
+(in-package :asdf)
+
+;; For use with non-Debian installations
+(let ((helper-pathname (make-pathname :name "set-cl-library" :type "cl"
+                                     :defaults *load-truename*)))
+  (when (probe-file helper-pathname)
+      (load helper-pathname)))
+
+;;; System definitions
+
+(defsystem clsql-base
+  :default-component-class clsql-cl-source-file
+  :pathname "cl-library:clsql-base;"
+  :perform (load-op :after (op clsql-base)
+                   (pushnew :clsql cl:*features*))
+  :components ((:file "cmucl-compat")
+              (:file "package")
+              (:file "utils" :depends-on ("package"))
+              (:file "classes" :depends-on ("package"))
+              (:file "conditions" :depends-on ("classes"))
+              (:file "db-interface" :depends-on ("conditions"))
+              (:file "initialize" :depends-on ("db-interface")))
+  :finally-do
+  )
diff --git a/clsql-mysql.asd b/clsql-mysql.asd
new file mode 100644 (file)
index 0000000..99a527c
--- /dev/null
@@ -0,0 +1,38 @@
+;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-\r
+;;;; *************************************************************************\r
+;;;; FILE IDENTIFICATION\r
+;;;;\r
+;;;; Name:          clsql-mysql.asd\r
+;;;; Purpose:       ASDF definition file for CLSQL MySQL backend\r
+;;;; Programmer:    Kevin M. Rosenberg\r
+;;;; Date Started:  Aug 2002\r
+;;;;\r
+;;;; $Id: clsql-mysql.asd,v 1.1 2002/08/18 02:57:50 kevin Exp $\r
+;;;;\r
+;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg\r
+;;;;\r
+;;;; CLSQL users are granted the rights to distribute and use this software\r
+;;;; as governed by the terms of the Lisp Lesser GNU Public License\r
+;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL.\r
+;;;; *************************************************************************\r
+\r
+(declaim (optimize (debug 3) (speed 3) (safety 1) (compilation-speed 0)))\r
+\r
+(in-package :asdf)\r
+\r
+;;; System definition\r
+\r
+(defsystem clsql-mysql\r
+    :default-component-class clsql-cl-source-file\r
+    :pathname "cl-library:clsql-mysql;"\r
+    :components ((:file "mysql-package")\r
+                (:file "mysql-loader" :depends-on ("mysql-package"))\r
+                (:file "mysql-api" :depends-on ("mysql-loader"))\r
+                (:file "mysql-sql" :depends-on ("mysql-api"))\r
+                (:file "mysql-usql" :depends-on ("mysql-sql")))\r
+    :depends-on (:uffi :clsql-base :clsql-uffi))\r
+\r
+\r
+\r
+\r
+\r
diff --git a/clsql-oracle.asd b/clsql-oracle.asd
new file mode 100644 (file)
index 0000000..63f48c8
--- /dev/null
@@ -0,0 +1,25 @@
+;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-
+;;;; This is copyrighted software.  See interfaces/oracle/* files for terms.
+;;;; 
+;;;; $Id: clsql-oracle.asd,v 1.1 2002/08/18 02:57:50 kevin Exp $
+
+(in-package :asdf)
+
+;;; System definition
+
+(defsystem :clsql-oracle
+    :default-component-class clsql-cl-source-file
+    :pathname "cl-library:clsql-oracle"
+    :components
+    ((:file "oracle-package")
+     (:file "oracle-loader" :depends-on ("oracle-package"))
+     (:file "alien-resources" :depends-on ("oracle-package"))
+     (:file "oracle-constants" :depends-on ("oracle-package"))
+     (:file "oracle" :depends-on ("oracle-constants" "oracle-loader"))
+     (:file "oracle-sql" :depends-on ("oracle" "alien-resources"))
+     (:file "oracle-objects" :depends-on ("oracle-sql")))
+    :depends-on (:clsql-base))
+
+
+
+
diff --git a/clsql-postgresql-socket.asd b/clsql-postgresql-socket.asd
new file mode 100644 (file)
index 0000000..060dd30
--- /dev/null
@@ -0,0 +1,32 @@
+;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-\r
+;;;; *************************************************************************\r
+;;;; FILE IDENTIFICATION\r
+;;;;\r
+;;;; Name:          clsql-postgresql.asd\r
+;;;; Purpose:       ASDF file for CLSQL PostgresSQL socket backend\r
+;;;; Programmer:    Kevin M. Rosenberg\r
+;;;; Date Started:  Aug 2002\r
+;;;;\r
+;;;; $Id: clsql-postgresql-socket.asd,v 1.1 2002/08/18 02:57:50 kevin Exp $\r
+;;;;\r
+;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg\r
+;;;;\r
+;;;; CLSQL users are granted the rights to distribute and use this software\r
+;;;; as governed by the terms of the Lisp Lesser GNU Public License\r
+;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL.\r
+;;;; *************************************************************************\r
+\r
+(declaim (optimize (debug 3) (speed 3) (safety 1) (compilation-speed 0)))\r
+(in-package :asdf)\r
+\r
+;;; System definition\r
+\r
+(defsystem clsql-postgresql-socket\r
+    :default-component-class clsql-cl-source-file\r
+    :pathname "cl-library:clsql-postgresql-socket;"\r
+    :components ((:file "postgresql-socket-package")\r
+                (:file "postgresql-socket-api"\r
+                       :depends-on ("postgresql-socket-package"))\r
+                (:file "postgresql-socket-sql"\r
+                       :depends-on ("postgresql-socket-api")))\r
+    :depends-on (:clsql-base :uffi))\r
diff --git a/clsql-postgresql.asd b/clsql-postgresql.asd
new file mode 100644 (file)
index 0000000..ae45873
--- /dev/null
@@ -0,0 +1,31 @@
+;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-\r
+;;;; *************************************************************************\r
+;;;; FILE IDENTIFICATION\r
+;;;;\r
+;;;; Name:          clsql-postgresql.asd\r
+;;;; Purpose:       ASDF file for CLSQL PostgresSQL backend\r
+;;;; Programmer:    Kevin M. Rosenberg\r
+;;;; Date Started:  Aug 2002\r
+;;;;\r
+;;;; $Id: clsql-postgresql.asd,v 1.1 2002/08/18 02:57:50 kevin Exp $\r
+;;;;\r
+;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg\r
+;;;;\r
+;;;; CLSQL users are granted the rights to distribute and use this software\r
+;;;; as governed by the terms of the Lisp Lesser GNU Public License\r
+;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL.\r
+;;;; *************************************************************************\r
+\r
+(declaim (optimize (debug 3) (speed 3) (safety 1) (compilation-speed 0)))\r
+(in-package :asdf)\r
+\r
+(defsystem clsql-postgresql\r
+    :default-component-class clsql-cl-source-file\r
+    :pathname "cl-library:clsql-postgresql;"\r
+    :components ((:file "postgresql-package")\r
+                (:file "postgresql-loader" :depends-on ("postgresql-package"))\r
+                (:file "postgresql-api" :depends-on ("postgresql-loader"))\r
+                (:file "postgresql-sql" :depends-on ("postgresql-api"))\r
+                (:file "postgresql-usql" :depends-on ("postgresql-sql")))\r
+    :depends-on (:uffi :clsql-base :clsql-uffi))\r
+\r
diff --git a/clsql-uffi.asd b/clsql-uffi.asd
new file mode 100644 (file)
index 0000000..848f3b1
--- /dev/null
@@ -0,0 +1,37 @@
+;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-
+;;;; *************************************************************************
+;;;; FILE IDENTIFICATION
+;;;;
+;;;; Name:          clsql-uffi.asd
+;;;; Purpose:       ASDF definition file for CLSQL UFFI Helper package
+;;;; Programmer:    Kevin M. Rosenberg
+;;;; Date Started:  Aug 2002
+;;;;
+;;;; $Id: clsql-uffi.asd,v 1.1 2002/08/18 02:57:50 kevin Exp $
+;;;;
+;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg
+;;;;
+;;;; CLSQL users are granted the rights to distribute and use this software
+;;;; as governed by the terms of the Lisp Lesser GNU Public License
+;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL.
+;;;; *************************************************************************
+
+(declaim (optimize (debug 3) (speed 3) (safety 1) (compilation-speed 0)))
+
+(in-package :asdf)
+
+(unless (find-class 'clsql-cl-source-file)
+  (defclass clsql-cl-source-file (cl-source-file) ())
+  (defmethod source-file-type ((c clsql-cl-source-file) (s module)) 
+    "cl"))
+
+;;; System definition
+
+(defsystem clsql-uffi
+    :default-component-class clsql-cl-source-file
+    :pathname "cl-library:clsql-uffi;"
+    :components ((:file "clsql-uffi-package")
+                (:file "clsql-uffi-loader" :depends-on ("clsql-uffi-package"))
+                (:file "clsql-uffi" :depends-on ("clsql-uffi-loader")))
+    :depends-on (:uffi))
+
diff --git a/clsql.asd b/clsql.asd
new file mode 100644 (file)
index 0000000..3d29edc
--- /dev/null
+++ b/clsql.asd
@@ -0,0 +1,50 @@
+;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-
+;;;; *************************************************************************
+;;;; FILE IDENTIFICATION
+;;;;
+;;;; Name:          clsql.system
+;;;; Purpose:       Defsystem-3/4 for CLSQL
+;;;; Programmer:    Kevin M. Rosenberg
+;;;; Date Started:  Feb 2002
+;;;;
+;;;; $Id: clsql.asd,v 1.1 2002/08/18 02:57:50 kevin Exp $
+;;;;
+;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg
+;;;;
+;;;; CLSQL users are granted the rights to distribute and use this software
+;;;; as governed by the terms of the Lisp Lesser GNU Public License
+;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL.
+;;;; *************************************************************************
+
+(declaim (optimize (debug 3) (speed 3) (safety 1) (compilation-speed 0)))
+(in-package :make)
+
+;; For use with non-Debian installations
+(let ((helper-pathname (make-pathname :name "set-cl-library" :type "cl"
+                                     :defaults *load-truename*)))
+  (when (probe-file helper-pathname)
+      (load helper-pathname)))
+
+(in-package :asdf)
+
+;;; System definitions
+
+(unless (find-class 'clsql-cl-source-file)
+  (defclass clsql-cl-source-file (cl-source-file) ())
+  (defmethod source-file-type ((c clsql-cl-source-file) (s module)) 
+    "cl"))
+
+(defsystem clsql
+    :default-component-class clsql-cl-source-file
+    :pathname "cl-library:clsql;"
+    :perform (load-op :after (op clsql)
+                     (pushnew :clsql cl:*features*))
+    :components ((:file "package")
+                (:file "pool" :depends-on ("package"))
+                (:file "loop-extension")
+                (:file "sql" :depends-on ("pool"))
+                (:file "transactions" :depends-on ("sql"))
+                (:file "functional" :depends-on ("sql"))
+                (:file "usql" :depends-on ("sql")))
+    :depends-on (:clsql-base)
+    )
index 50cc764fc3318f23b495c13bee0930e59398acc0..e88ad816aa2d731d5390d014f7c5e4d0e0ab767c 100644 (file)
@@ -1,3 +1,9 @@
+cl-sql (0.8.3-1) unstable; urgency=low
+
+  * Add .asd definition files to upstream for ASDF users
+
+ -- Kevin M. Rosenberg <kmr@debian.org>  Sat, 17 Aug 2002 20:54:35 -0600
+
 cl-sql (0.8.2-1) unstable; urgency=low
 
   * New upstream version
index 4ee900c256e45322d3d6cb6811de955c25300f81..5b1f3c15d4b986197ef631bc0f342ee3c235d749 100755 (executable)
@@ -107,13 +107,13 @@ install: build
        dh_install -p $(pkg-aodbc) $(srcs-aodbc) $(lispdir-aodbc)
 
        # CLC Systems
-       dh_install -p $(pkg) clsql.system $(clc-systems)
-       dh_install -p $(pkg-base) clsql-base.system $(clc-systems)
-       dh_install -p $(pkg-uffi) clsql-uffi.system $(clc-systems)
-       dh_install -p $(pkg-mysql) clsql-mysql.system $(clc-systems)
-       dh_install -p $(pkg-pg) clsql-postgresql.system $(clc-systems)
-       dh_install -p $(pkg-pg-socket) clsql-postgresql-socket.system $(clc-systems)
-       dh_install -p $(pkg-aodbc) clsql-aodbc.system $(clc-systems)
+       dh_install -p $(pkg) clsql.system clsql.asd $(clc-systems)
+       dh_install -p $(pkg-base) clsql-base.system clsql-base.asd $(clc-systems)
+       dh_install -p $(pkg-uffi) clsql-uffi.system clsql-uffi.asd $(clc-systems)
+       dh_install -p $(pkg-mysql) clsql-mysql.system clsql-mysql.asd $(clc-systems)
+       dh_install -p $(pkg-pg) clsql-postgresql.system clsql-postgresql.asd $(clc-systems)
+       dh_install -p $(pkg-pg-socket) clsql-postgresql-socket.system clsql-postgresql-socket.asd $(clc-systems)
+       dh_install -p $(pkg-aodbc) clsql-aodbc.system clsql-aodbc.asd $(clc-systems)
 
        # Test suite
        dh_installdirs -p $(pkg) $(doc-dir)/html $(doc-dir)/test-suite