summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2006-01-11 22:39:06 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2006-01-11 22:39:06 +0000
commit9f70e90bc0e09ee6a7df8a64120e1dfef8b36526 (patch)
treed71e7195ed3867e3084cb5f6c0608f1f50d7fc6e /dev-lisp
parentMasked packages in preparation for prelude-suite stabilization (diff)
downloadhistorical-9f70e90bc0e09ee6a7df8a64120e1dfef8b36526.tar.gz
historical-9f70e90bc0e09ee6a7df8a64120e1dfef8b36526.tar.bz2
historical-9f70e90bc0e09ee6a7df8a64120e1dfef8b36526.zip
New upstream version.
Package-Manager: portage-2.1_pre3-r1
Diffstat (limited to 'dev-lisp')
-rw-r--r--dev-lisp/clisp/ChangeLog11
-rw-r--r--dev-lisp/clisp/Manifest13
-rw-r--r--dev-lisp/clisp/clisp-2.37.ebuild102
-rw-r--r--dev-lisp/clisp/files/2.37/README.Gentoo11
-rw-r--r--dev-lisp/clisp/files/2.37/clisp.sh118
-rw-r--r--dev-lisp/clisp/files/2.37/install-clc.lisp15
-rw-r--r--dev-lisp/clisp/files/digest-clisp-2.371
7 files changed, 265 insertions, 6 deletions
diff --git a/dev-lisp/clisp/ChangeLog b/dev-lisp/clisp/ChangeLog
index 0bbbf7628671..ba0037f38e78 100644
--- a/dev-lisp/clisp/ChangeLog
+++ b/dev-lisp/clisp/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-lisp/clisp
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lisp/clisp/ChangeLog,v 1.43 2005/12/22 22:01:55 mkennedy Exp $
+# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/clisp/ChangeLog,v 1.44 2006/01/11 22:39:06 mkennedy Exp $
+
+*clisp-2.37 (11 Jan 2006)
+
+ 11 Jan 2006; Matthew Kennedy <mkennedy@gentoo.org>
+ +files/2.37/README.Gentoo, +files/2.37/clisp.sh,
+ +files/2.37/install-clc.lisp, +clisp-2.37.ebuild:
+ New upstream version.
22 Dec 2005; Matthew Kennedy <mkennedy@gentoo.org> clisp-2.36.ebuild:
Depend on >=dev-db/postgresql-8.0*; Install implementation notes and PDF
diff --git a/dev-lisp/clisp/Manifest b/dev-lisp/clisp/Manifest
index 010a027f0596..160c8b8d0bda 100644
--- a/dev-lisp/clisp/Manifest
+++ b/dev-lisp/clisp/Manifest
@@ -1,11 +1,12 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 8825f97dd8ed981528d7ba91fc641312 ChangeLog 9966
+MD5 70027dd716521b9bdd92638463edc66a ChangeLog 10174
MD5 fce61ccc24ef4d9aa4b70cc4c8fde0be clisp-2.33.2-r2.ebuild 4238
MD5 703fc21066f759fb89bd66a28a9ee91f clisp-2.34-r1.ebuild 4160
MD5 875bf0b817f57e16ad20f42f094ad8a1 clisp-2.35.ebuild 2879
MD5 9e6248cf0be7ec4870e11beca0ce5480 clisp-2.36.ebuild 3050
+MD5 05ced13b529e80ae8c900b93ebc34bae clisp-2.37.ebuild 3050
MD5 66e5b3968b3a6ad0301ca028447b26b3 files/2.33.2/README.Gentoo 334
MD5 fe93240f140623bf55d2e503f6d8e01e files/2.33.2/clisp.sh 2792
MD5 8d8449ba456d4f8b789d4349496845b6 files/2.33.2/compilefix.patch 1174
@@ -23,15 +24,19 @@ MD5 2f431f5c714c00d04b55e02a9d54f452 files/2.35/install-clc.lisp 501
MD5 66e5b3968b3a6ad0301ca028447b26b3 files/2.36/README.Gentoo 334
MD5 fe93240f140623bf55d2e503f6d8e01e files/2.36/clisp.sh 2792
MD5 2f431f5c714c00d04b55e02a9d54f452 files/2.36/install-clc.lisp 501
+MD5 66e5b3968b3a6ad0301ca028447b26b3 files/2.37/README.Gentoo 334
+MD5 fe93240f140623bf55d2e503f6d8e01e files/2.37/clisp.sh 2792
+MD5 2f431f5c714c00d04b55e02a9d54f452 files/2.37/install-clc.lisp 501
MD5 9a2df7725b74af8b8b9f3db39b350e79 files/digest-clisp-2.33.2-r2 66
MD5 d8868b134ba5463d87df11818719fcec files/digest-clisp-2.34-r1 64
MD5 f9c5dbcccff51886eb3704fd7fa7c429 files/digest-clisp-2.35 64
MD5 08b8b798be80ccd9fe2e06b3a94d11ec files/digest-clisp-2.36 64
+MD5 2d45de933623d2c7336e5717130fd321 files/digest-clisp-2.37 64
MD5 485cde76397408cf913fc6d4c7a45a67 metadata.xml 882
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
-iD8DBQFDrS2WI1lqEGTUzyQRAiWLAJ9Qnnxk8+h7tavZgiQt49j5mdqSkQCfbdS4
-uGP2lwNu4N3PSg0k6YyXMWo=
-=N2xo
+iD8DBQFDxYkbyiNZaEAZA+ARAlj2AJ9l1iZwXTck+wJa16iBCFP/r/LxCACfYDN9
+zhIyscOXB9HmQfyGaeL81cs=
+=AOgi
-----END PGP SIGNATURE-----
diff --git a/dev-lisp/clisp/clisp-2.37.ebuild b/dev-lisp/clisp/clisp-2.37.ebuild
new file mode 100644
index 000000000000..e6769cb55253
--- /dev/null
+++ b/dev-lisp/clisp/clisp-2.37.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/clisp/clisp-2.37.ebuild,v 1.1 2006/01/11 22:39:06 mkennedy Exp $
+
+inherit flag-o-matic common-lisp-common-2 eutils toolchain-funcs
+
+DESCRIPTION="A portable, bytecode-compiled implementation of Common Lisp"
+HOMEPAGE="http://clisp.sourceforge.net/"
+SRC_URI="mirror://sourceforge/clisp/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="2"
+KEYWORDS="~x86 ~ppc ~ppc-macos ~amd64 -sparc"
+IUSE="X fastcgi pcre postgres readline zlib"
+
+DEPEND="dev-libs/libsigsegv
+ >=dev-lisp/common-lisp-controller-4.27
+ sys-devel/gettext
+ virtual/tetex
+ fastcgi? ( dev-libs/fcgi )
+ postgres? ( >=dev-db/postgresql-8.0 )
+ X? ( virtual/x11 )
+ readline? ( sys-libs/readline )
+ pcre? ( dev-libs/libpcre )
+ zlib? ( sys-libs/zlib )"
+
+PROVIDE="virtual/commonlisp"
+
+src_compile() {
+ # Let CLISP use its own set of optimizations
+ unset CFLAGS CXXFLAGS
+ CC="$(tc-getCC)"
+ local myconf="--with-dynamic-ffi
+ --with-module=wildcard
+ --with-module=rawsock"
+ use ppc-macos || myconf="${myconf} --with-module=bindings/glibc"
+ use readline || myconf="${myconf} --with-noreadline"
+ use X && myconf="${myconf} --with-module=clx/new-clx"
+ if use postgres; then
+ myconf="${myconf} --with-module=postgresql"
+ CC="${CC} -I $(pg_config --includedir)"
+ fi
+ use fastcgi && myconf="${myconf} --with-module=fastcgi"
+ use pcre && myconf="${myconf} --with-module=pcre"
+ use zlib && myconf="${myconf} --with-module=zlib"
+ einfo "Configuring with ${myconf}"
+ ./configure --prefix=/usr ${myconf} build || die "./configure failed"
+ cd build
+ ./makemake ${myconf} >Makefile
+ emake -j1 config.lisp
+ sed -i 's,"vi","nano",g' config.lisp
+ sed -i 's,http://www.lisp.org/HyperSpec/,http://www.lispworks.com/reference/HyperSpec/,g' config.lisp
+ emake -j1 || die
+}
+
+src_install() {
+ pushd build
+ make DESTDIR=${D} prefix=/usr install-bin || die
+ doman clisp.1
+ dodoc SUMMARY README* NEWS MAGIC.add GNU-GPL COPYRIGHT \
+ ANNOUNCE clisp.dvi clisp.html
+ rm -f ${D}/usr/lib/clisp/base/*
+ (cd ${D}/usr/lib/clisp/base && ln -s ../full/* .)
+ chmod a+x ${D}/usr/lib/clisp/clisp-link
+ popd
+ # install common-lisp-controller profile
+ exeinto /usr/lib/common-lisp/bin
+ doexe ${FILESDIR}/${PV}/clisp.sh
+ insinto /usr/lib/clisp
+ doins ${FILESDIR}/${PV}/install-clc.lisp
+ dodoc ${FILESDIR}/${PV}/README.Gentoo
+ keepdir /usr/lib/common-lisp/clisp
+
+ dohtml doc/impnotes.{css,html}
+ dohtml build/clisp.html
+ dohtml doc/clisp.png
+ dodoc build/clisp.{ps,pdf}
+ dodoc doc/{editors,CLOS-guide,LISP-tutorial}.txt
+}
+
+pkg_preinst() {
+ local clisp_dir=/usr/lib/clisp
+ local old_mem=$clisp_dir/full/lispinit.mem
+ local new_mem=$clisp_dir/full/lispinit-new.mem
+ local clean_mem=$clisp_dir/full/lispinit-clean.mem
+ local lisp_run=$clisp_dir/full/lisp.run
+ rm -f $old_mem $new_mem $clean_mem $lisp_run
+}
+
+pkg_postinst() {
+ standard-impl-postinst clisp
+}
+
+pkg_postrm() {
+ standard-impl-postrm clisp /usr/bin/clisp
+}
+
+pkg_postrm() {
+ if [ ! -x /usr/bin/clisp ]; then
+ rm -rf /usr/lib/clisp/ || die
+ fi
+}
diff --git a/dev-lisp/clisp/files/2.37/README.Gentoo b/dev-lisp/clisp/files/2.37/README.Gentoo
new file mode 100644
index 000000000000..6bec925fb0d3
--- /dev/null
+++ b/dev-lisp/clisp/files/2.37/README.Gentoo
@@ -0,0 +1,11 @@
+ -*-outline-*-
+
+* Gentoo Specific Notes
+
+The CLISP port for Gentoo uses Common Lisp Controller related code
+(install-clc.lisp and clisp.sh) from Debian. This code contains the following
+copyright:
+
+ ;;;; Copyright (c) 2004 Kevin M. Rosenberg
+ ;;;; GNU GPL v2 license
+
diff --git a/dev-lisp/clisp/files/2.37/clisp.sh b/dev-lisp/clisp/files/2.37/clisp.sh
new file mode 100644
index 000000000000..f5ed6a1d8fce
--- /dev/null
+++ b/dev-lisp/clisp/files/2.37/clisp.sh
@@ -0,0 +1,118 @@
+#!/bin/sh
+# Copyright (c) 2002 Kevin M. Rosenberg
+# GNU GPL v2 license
+
+if [ ! -f /usr/share/common-lisp/source/common-lisp-controller/common-lisp-controller.lisp ] ; then
+ echo "*** Can't find common-lisp-controller.lisp ***" >&2
+ echo "Please report this as a bug" &>2
+ exit 1
+fi
+
+clisp_dir=/usr/lib/clisp
+clc_lib_dir=/usr/lib/common-lisp/clisp
+
+builder=/usr/bin/clisp
+old_mem=$clisp_dir/full/lispinit.mem
+new_mem=$clisp_dir/full/lispinit-new.mem
+clean_mem=$clisp_dir/full/lispinit-clean.mem
+
+lisp_error()
+{
+ echo "Error running $builder" >&2
+ exit 1
+}
+
+mem_error()
+{
+ echo "Error moving new lisp image $new_mem" >&2
+ exit 1
+}
+
+
+case $1 in
+ rebuild)
+ echo $0 Rebuilding packages...
+ shift
+ while [ -x $builder ] && [ ! -z "$1" ] ; do
+ echo ...rebuilding $1
+ $builder -norc -q -M $old_mem -x "
+(let ((*compile-print* nil)
+ (*compile-progress* nil)
+ (*compile-verbose* nil)
+ (*require-verbose* nil)
+ (*load-verbose* nil)
+ (mk::*load-source-if-no-binary* nil)
+ (mk::*bother-user-if-no-binary* nil)
+ (mk::*compile-during-load* t))
+ (handler-case
+ (progn
+ (c-l-c:compile-library (quote $1))
+ (ext:exit 0)
+ )
+ (error (e)
+ (ignore-errors (format t \"~&Build error: ~A~%\" e))
+ (finish-output)
+ (ext:exit 1))))" || exit 1
+ shift
+ done
+ ;;
+ remove)
+ echo $0 Removing packages...
+ shift
+ while [ ! -z "$1" ] ; do
+ echo ...removing package $1
+ rm -rf "${clc_lib_dir}/$1"
+ shift
+ done
+ rmdir $clc_lib_dir 2> /dev/null
+ ;;
+ install-clc)
+ echo Installing clc...
+ if [ ! -f $clean_mem ]; then
+ cp $old_mem $clean_mem
+ fi
+ if [ -x $clisp_dir/$lisp_builder ]; then
+ $builder -norc -q -M $clean_mem \
+ -x "
+(handler-case
+ (progn
+ (when (find-package :c-l-c) ; have to remove
+ (delete-package :c-l-c)) ; for clisp workaround
+ (load \"$clisp_dir/install-clc.lisp\")
+ (saveinitmem \"${new_mem}\")
+ (ext:exit 0))
+ (error (e)
+ (ignore-errors (format t \"~&install-clc error: ~A~%\" e))
+ (finish-output)
+ (ext:exit 1)))" || lisp_error
+ mv $new_mem $old_mem || mem_error
+ fi
+ ;;
+ remove-clc)
+ if [ -f $clean_mem ]; then
+ cp $clean_mem $old_mem
+ else
+ echo "Warning: Can't find original image file $clean_mem. Aborting." >& 2
+ fi
+ ;;
+ make-user-image)
+ if [ ! -f $2 ] ; then
+ echo "Trying to make-user image, but can not find file $2" >&2
+ exit 1
+ fi
+ $builder -norc -q -M $old_mem \
+ -x "(progn
+ (load \"$2\")
+ (saveinitmem \"${new_mem}\"))
+ (ext:exit 0)" || lisp_error
+ mv $new_mem $old_mem || mem_error
+ ;;
+ *)
+ echo "`basename $0`: Unknown command $1" >&2
+ echo "Known commands are:" >&2
+ echo "install-clc, remove-clc, rebuild, remove, and make-user-image" >&2
+ exit 1
+ ;;
+esac
+
+exit 0
diff --git a/dev-lisp/clisp/files/2.37/install-clc.lisp b/dev-lisp/clisp/files/2.37/install-clc.lisp
new file mode 100644
index 000000000000..06cb217d32cf
--- /dev/null
+++ b/dev-lisp/clisp/files/2.37/install-clc.lisp
@@ -0,0 +1,15 @@
+;;;; -*- Mode: Lisp; Package: CL-USER -*-
+;;;; Copyright (c) 2004 Kevin M. Rosenberg
+;;;; GNU GPL v2 license
+
+(in-package #:cl-user)
+
+(handler-case
+ (load "/usr/share/common-lisp/source/common-lisp-controller/common-lisp-controller.lisp")
+ (error (e)
+ (format t "Error during loading of common-lisp-controller.lisp: ~A~%" e)))
+
+(handler-case
+ (common-lisp-controller:init-common-lisp-controller-v4 "clisp")
+ (error (e)
+ (format t "Error during init-common-lisp-controller-v4: ~A~%" e)))
diff --git a/dev-lisp/clisp/files/digest-clisp-2.37 b/dev-lisp/clisp/files/digest-clisp-2.37
new file mode 100644
index 000000000000..4e6924140041
--- /dev/null
+++ b/dev-lisp/clisp/files/digest-clisp-2.37
@@ -0,0 +1 @@
+MD5 f2445b3935b6f97b443d9548c38872e9 clisp-2.37.tar.bz2 8052113