diff options
author | Matthew Kennedy <mkennedy@gentoo.org> | 2004-01-27 20:18:12 +0000 |
---|---|---|
committer | Matthew Kennedy <mkennedy@gentoo.org> | 2004-01-27 20:18:12 +0000 |
commit | 1e371c222e26f73f1a517a43f1edd9f7e11f1ea8 (patch) | |
tree | aa664052c4b0136af382c17c4f67dc07914159cf /dev-lisp/cl-acl-compat | |
parent | fixing SRC_URI. closes 39313 (diff) | |
download | gentoo-2-1e371c222e26f73f1a517a43f1edd9f7e11f1ea8.tar.gz gentoo-2-1e371c222e26f73f1a517a43f1edd9f7e11f1ea8.tar.bz2 gentoo-2-1e371c222e26f73f1a517a43f1edd9f7e11f1ea8.zip |
*** empty log message ***
Diffstat (limited to 'dev-lisp/cl-acl-compat')
-rw-r--r-- | dev-lisp/cl-acl-compat/ChangeLog | 13 | ||||
-rw-r--r-- | dev-lisp/cl-acl-compat/Manifest | 7 | ||||
-rw-r--r-- | dev-lisp/cl-acl-compat/cl-acl-compat-1.2.27.2003.09.19.ebuild | 6 | ||||
-rw-r--r-- | dev-lisp/cl-acl-compat/cl-acl-compat-1.2.33.20031205.ebuild | 38 | ||||
-rw-r--r-- | dev-lisp/cl-acl-compat/files/acl-compat.asd | 184 | ||||
-rw-r--r-- | dev-lisp/cl-acl-compat/files/digest-cl-acl-compat-1.2.33.20031205 | 1 |
6 files changed, 242 insertions, 7 deletions
diff --git a/dev-lisp/cl-acl-compat/ChangeLog b/dev-lisp/cl-acl-compat/ChangeLog index f2dbbf8a6fc0..847d3732e3a5 100644 --- a/dev-lisp/cl-acl-compat/ChangeLog +++ b/dev-lisp/cl-acl-compat/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for dev-lisp/cl-acl-compat -# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-acl-compat/ChangeLog,v 1.3 2003/10/15 17:10:09 mkennedy Exp $ +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-acl-compat/ChangeLog,v 1.4 2004/01/27 20:18:12 mkennedy Exp $ + +*cl-acl-compat-1.2.33.20031205 (27 Jan 2004) + + 27 Jan 2004; <mkennedy@gentoo.org> cl-acl-compat-1.2.27.2003.09.19.ebuild, + cl-acl-compat-1.2.33.20031205.ebuild, files/acl-compat.asd: + New upstream + + 29 Nov 2003; <mkennedy@gentoo.org> cl-acl-compat-1.2.27.2003.09.19.ebuild: + adjust build file to prevent recompilation at load time 15 Oct 2003; Matthew Kennedy <mkennedy@gentoo.org> cl-acl-compat-1.2.27.2003.09.19.ebuild, metadata.xml, diff --git a/dev-lisp/cl-acl-compat/Manifest b/dev-lisp/cl-acl-compat/Manifest index 0a407a7edd5e..460eab195ded 100644 --- a/dev-lisp/cl-acl-compat/Manifest +++ b/dev-lisp/cl-acl-compat/Manifest @@ -1,7 +1,10 @@ -MD5 2ce220eecc8ac990105463bd9ae1e1a5 cl-acl-compat-1.2.27.2003.09.19.ebuild 1152 +MD5 2314196c60af4a0d6034911e20d8ce96 cl-acl-compat-1.2.27.2003.09.19.ebuild 1153 MD5 a0f68c3db0d619427e4ba41081041649 cl-acl-compat-1.2.12c.ebuild 885 -MD5 0bd80bd923fb280aa71301d1339dd339 ChangeLog 755 +MD5 046eb8c212347d42c84c9fa144aa859d cl-acl-compat-1.2.33.20031205.ebuild 1095 +MD5 a3178bb0e8fb08ddafe8cac9c60fd8e7 ChangeLog 1092 MD5 9b65b0341efc8f4b29498aad23315229 metadata.xml 164 MD5 d04be22ec17b2276ee4835ff59e3592d files/1.2.27.2003.09.19-lw-buffering.lisp-gentoo.patch 733 +MD5 bfd9d609ea1565b5f02358cef3f6e55f files/digest-cl-acl-compat-1.2.33.20031205 91 MD5 15d5d16cbcbb9ba7405c40c985cfc2fb files/digest-cl-acl-compat-1.2.12c 92 +MD5 ecfa2dd02bb5a68ecc69740c7f293291 files/acl-compat.asd 7076 MD5 55d28579b14e29bf3df0fb0c4ef69d22 files/digest-cl-acl-compat-1.2.27.2003.09.19 91 diff --git a/dev-lisp/cl-acl-compat/cl-acl-compat-1.2.27.2003.09.19.ebuild b/dev-lisp/cl-acl-compat/cl-acl-compat-1.2.27.2003.09.19.ebuild index cc2d5fb9f6b1..369a9dd5d719 100644 --- a/dev-lisp/cl-acl-compat/cl-acl-compat-1.2.27.2003.09.19.ebuild +++ b/dev-lisp/cl-acl-compat/cl-acl-compat-1.2.27.2003.09.19.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. +# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-acl-compat/cl-acl-compat-1.2.27.2003.09.19.ebuild,v 1.3 2003/11/14 11:41:53 seemant Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-acl-compat/cl-acl-compat-1.2.27.2003.09.19.ebuild,v 1.4 2004/01/27 20:18:12 mkennedy Exp $ inherit common-lisp @@ -29,7 +29,7 @@ src_unpack() { src_install() { dodir /usr/share/common-lisp/source/ cp -r acl-compat/ ${D}/usr/share/common-lisp/source/ - common-lisp-install acl-compat/acl-compat.asd + common-lisp-install ${FILESDIR}/acl-compat.asd common-lisp-system-symlink } diff --git a/dev-lisp/cl-acl-compat/cl-acl-compat-1.2.33.20031205.ebuild b/dev-lisp/cl-acl-compat/cl-acl-compat-1.2.33.20031205.ebuild new file mode 100644 index 000000000000..ed907a2909cd --- /dev/null +++ b/dev-lisp/cl-acl-compat/cl-acl-compat-1.2.33.20031205.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-acl-compat/cl-acl-compat-1.2.33.20031205.ebuild,v 1.1 2004/01/27 20:18:12 mkennedy Exp $ + +inherit common-lisp + +MY_PV=1.2.33 +CVS_PV=2003.12.05 + +DESCRIPTION="Compatibility layer for Allegro Common Lisp" +HOMEPAGE="http://packages.debian.org/unstable/web/cl-acl-compat.html" +SRC_URI="http://ftp.debian.org/debian/pool/main/c/cl-portable-aserve/cl-portable-aserve_${MY_PV}+cvs${CVS_PV}.tar.gz" +LICENSE="LLGPL-2.1" +SLOT="0" +KEYWORDS="~x86" +IUSE="" +DEPEND="dev-lisp/common-lisp-controller + dev-lisp/cmucl-source + virtual/commonlisp" + +CLPACKAGE=acl-compat + +S=${WORKDIR}/cl-portable-aserve-${MY_PV}+cvs${CVS_PV} + +src_install() { + dodir /usr/share/common-lisp/source/ + cp -r acl-compat/ ${D}/usr/share/common-lisp/source/ + common-lisp-install ${FILESDIR}/acl-compat.asd + common-lisp-system-symlink +} + +pkg_preinst() { + rm -rf /usr/lib/common-lisp/*/${CLPACKAGE} || true +} + +pkg_postrm() { + rm -rf /usr/lib/common-lisp/*/${CLPACKAGE} || true +} diff --git a/dev-lisp/cl-acl-compat/files/acl-compat.asd b/dev-lisp/cl-acl-compat/files/acl-compat.asd new file mode 100644 index 000000000000..0ab1eca2cf95 --- /dev/null +++ b/dev-lisp/cl-acl-compat/files/acl-compat.asd @@ -0,0 +1,184 @@ +;;;; -*- mode: lisp -*- +;;;; +;;;; This as an ASDF system for ACL-COMPAT, meant to replace +;;;; acl-compat-cmu.system, but could replace all other systems, too. +;;;; (hint, hint) + +(defpackage #:acl-compat-system + (:use #:cl #:asdf)) +(in-package #:acl-compat-system) + +;;;; load gray stream support + +(defclass library-component (component) ()) + +(defmethod asdf::input-files ((operation load-op) (component library-component)) + nil) + +(defmethod asdf::output-files ((operation load-op) (component library-component)) + nil) + +(defmethod asdf::operation-done-p ((operaton compile-op) (component library-component)) + "Always need to compile a library component" + #+common-lisp-controller (if (string= (common-lisp-controller::getenv "PN") "acl-compat") + nil + t) + #-common-lisp-controller nil) + +(defmethod asdf::operation-done-p ((operaton load-op) (component library-component)) + "Always need to load a library component" + #+common-lisp-controller (if (string= (common-lisp-controller::getenv "PN") "acl-compat") + nil + t) + #-common-lisp-controller nil) + + +(defclass gray-streams (library-component) ()) + +(defmethod perform ((operation compile-op) (component gray-streams)) + ;; vanilla cmucl + #+(and cmu (not common-lisp-controller) (not gray-streams)) + (progn (load "library:subsystems/gray-streams-library") + (pushnew :gray-streams *features*))) + +(defmethod perform ((operation load-op) (component gray-streams)) + ;; vanilla cmucl + #+(and cmu (not common-lisp-controller) (not gray-streams)) + (progn (load "library:subsystems/gray-streams-library") + (pushnew :gray-streams *features*))) + + +;;;; ignore warnings +;;;; +;;;; FIXME: should better fix warnings instead of ignoring them +;;;; FIXME: (perform legacy-cl-sourcefile) duplicates ASDF code + +(defclass legacy-cl-source-file (cl-source-file) + () + (:documentation + "Common Lisp source code module with (non-style) warnings. +In contrast to CL-SOURCE-FILE, this class does not think that such warnings +indicate failure.")) + +(defmethod perform ((operation compile-op) (c legacy-cl-source-file)) + (let ((source-file (component-pathname c)) + (output-file (car (output-files operation c))) + (warnings-p nil) + (failure-p nil)) + (setf (asdf::component-property c 'last-compiled) nil) + (handler-bind ((warning (lambda (c) + (declare (ignore c)) + (setq warnings-p t))) + ;; _not_ (or error (and warning (not style-warning))) + (error (lambda (c) + (declare (ignore c)) + (setq failure-p t)))) + (compile-file source-file + :output-file output-file)) + ;; rest of this method is as for CL-SOURCE-FILE + (setf (asdf::component-property c 'last-compiled) (file-write-date output-file)) + (when warnings-p + (case (asdf::operation-on-warnings operation) + (:warn (warn "COMPILE-FILE warned while performing ~A on ~A" + c operation)) + (:error (error 'compile-warned :component c :operation operation)) + (:ignore nil))) + (when failure-p + (case (asdf::operation-on-failure operation) + (:warn (warn "COMPILE-FILE failed while performing ~A on ~A" + c operation)) + (:error (error 'compile-failed :component c :operation operation)) + (:ignore nil))))) + +;;; +;;; This is thought to reduce reader-conditionals in the system definition +;;; +(defclass unportable-cl-source-file (cl-source-file) () + (:documentation + "This is for files which contain lisp-system dependent code. Until now those +are marked by a -system postfix but we could later change that to a directory per +lisp-system")) + +(defun lisp-system-shortname () + #+allegro :allegro #+lispworks :lispworks #+cmu :cmucl + #+mcl :mcl #+clisp :clisp #+scl :scl #+sbcl :sbcl) ;mcl/openmcl use the same directory + +(defmethod component-pathname ((component unportable-cl-source-file)) + (let ((pathname (call-next-method)) + (name (string-downcase (lisp-system-shortname)))) + (merge-pathnames + (make-pathname :directory (list :relative name)) + pathname))) + +;;;; system + + +;standard MCL make-load-form is not ansi compliant because of CLIM +#+(and mcl (not openmcl)) (require :ansi-make-load-form) + +;want to include it with the rest - but I'm afraid ... maybe later +#+(or mcl openmcl) +(defsystem acl-compat + :components ((:file "nregex") + (:unportable-cl-source-file "mcl-timers") + (:unportable-cl-source-file "acl-mp" :depends-on ("mcl-timers")) + #-openmcl + (:unportable-cl-source-file "acl-socket-mcl") + #+(and (not openmcl) (not carbon-compat)) + (:unportable-cl-source-file "mcl-stream-fix" :depends-on ("acl-socket-mcl")) + #+openmcl + (:unportable-cl-source-file "acl-socket-openmcl") + (:unportable-cl-source-file "acl-excl" :depends-on ("nregex")) + (:unportable-cl-source-file "acl-sys") + (:file "meta") + (:file "uri" :depends-on ("meta"))) + :perform (load-op :after (op acl-compat) + (pushnew :acl-compat cl:*features*))) + + +#+(or lispworks cmu scl sbcl clisp allegro) +(defsystem acl-compat + :components ((:gray-streams "vendor-gray-streams") + (:file "nregex") + (:file "packages" :depends-on ("nregex")) + #-lispworks (:file "lw-buffering" :depends-on ("packages")) + (:unportable-cl-source-file "acl-mp" + :depends-on ("packages" "acl-socket" + ;"acl-mp-package" + )) + (:unportable-cl-source-file "acl-excl" + :depends-on ("packages" "nregex")) + ;; Hack for old versions of cmucl that did not + ;; implement Gray stream handling in read-sequence, + ;; write-sequence + (:unportable-cl-source-file "acl-socket" + :depends-on ("packages" "acl-excl" + #-(or mcl allegro) + "chunked-stream-mixin")) + (:unportable-cl-source-file "acl-sys" :depends-on ("packages")) + (:file "meta") + (:file "uri" :depends-on ("meta")) + #-(or allegro mcl) + (:legacy-cl-source-file "chunked-stream-mixin" + :depends-on ("packages" + "acl-excl" + #-lispworks "lw-buffering")) + #+(and ssl-available (not (or allegro mcl cmu clisp))) + (:file "acl-ssl" :depends-on ("acl-ssl-streams" "acl-socket")) + #+(and ssl-available (not (or allegro mcl cmu clisp))) + (:file "acl-ssl-streams" :depends-on ("packages")) + #+nil + (:legacy-cl-source-file "md5") + #+nil + (:legacy-cl-source-file "acl-md5" :depends-on ("acl-excl" "md5"))) + + #+sbcl :depends-on + #+sbcl (:sb-bsd-sockets) + #+(and cmu common-lisp-controller) :depends-on + #+(and cmu common-lisp-controller) (:cmucl-graystream) + #+(and lispworks ssl-available) :depends-on + #+(and lispworks ssl-available) (:cl-ssl) + + :perform (load-op :after (op acl-compat) + (pushnew :acl-compat cl:*features*)) + ) diff --git a/dev-lisp/cl-acl-compat/files/digest-cl-acl-compat-1.2.33.20031205 b/dev-lisp/cl-acl-compat/files/digest-cl-acl-compat-1.2.33.20031205 new file mode 100644 index 000000000000..7310c604317b --- /dev/null +++ b/dev-lisp/cl-acl-compat/files/digest-cl-acl-compat-1.2.33.20031205 @@ -0,0 +1 @@ +MD5 ce0583f69b8e474ed1b3d9db4f7fcb30 cl-portable-aserve_1.2.33+cvs2003.12.05.tar.gz 607897 |