summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2005-12-09 23:49:57 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2005-12-09 23:49:57 +0000
commit0debc505f4ddb89ecb2346d0cddef5677b4f5526 (patch)
tree37fd251106c3a07a9cfc650a71ca8d49e439ec28 /dev-lisp/clisp
parent~x86 marked per Chainsaw's request. (diff)
downloadgentoo-2-0debc505f4ddb89ecb2346d0cddef5677b4f5526.tar.gz
gentoo-2-0debc505f4ddb89ecb2346d0cddef5677b4f5526.tar.bz2
gentoo-2-0debc505f4ddb89ecb2346d0cddef5677b4f5526.zip
New upstream version; Dependency on dev-lisp/common-lisp-controller-4.27.
(Portage version: 2.0.53)
Diffstat (limited to 'dev-lisp/clisp')
-rw-r--r--dev-lisp/clisp/ChangeLog9
-rw-r--r--dev-lisp/clisp/Manifest47
-rw-r--r--dev-lisp/clisp/clisp-2.36.ebuild96
-rw-r--r--dev-lisp/clisp/files/2.36/README.Gentoo11
-rw-r--r--dev-lisp/clisp/files/2.36/clisp.sh118
-rw-r--r--dev-lisp/clisp/files/2.36/install-clc.lisp15
-rw-r--r--dev-lisp/clisp/files/digest-clisp-2.361
7 files changed, 270 insertions, 27 deletions
diff --git a/dev-lisp/clisp/ChangeLog b/dev-lisp/clisp/ChangeLog
index 76b9cb076ddd..c92a0376ac1d 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.40 2005/11/15 14:21:15 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/clisp/ChangeLog,v 1.41 2005/12/09 23:49:57 mkennedy Exp $
+
+*clisp-2.36 (09 Dec 2005)
+
+ 09 Dec 2005; Matthew Kennedy <mkennedy@gentoo.org>
+ +files/2.36/README.Gentoo, +files/2.36/clisp.sh,
+ +files/2.36/install-clc.lisp, +clisp-2.36.ebuild:
+ New upstream version; Dependency on dev-lisp/common-lisp-controller-4.27.
15 Nov 2005; Gustavo Zacarias <gustavoz@gentoo.org>
clisp-2.33.2-r2.ebuild, clisp-2.34-r1.ebuild, clisp-2.35.ebuild:
diff --git a/dev-lisp/clisp/Manifest b/dev-lisp/clisp/Manifest
index c449f4ec487d..a094461c564c 100644
--- a/dev-lisp/clisp/Manifest
+++ b/dev-lisp/clisp/Manifest
@@ -1,32 +1,27 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 703fc21066f759fb89bd66a28a9ee91f clisp-2.34-r1.ebuild 4160
-MD5 fce61ccc24ef4d9aa4b70cc4c8fde0be clisp-2.33.2-r2.ebuild 4238
MD5 b7ef5c7e35d1a066604d73f1adfe6d62 ChangeLog 9344
-MD5 485cde76397408cf913fc6d4c7a45a67 metadata.xml 882
+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 f9c5dbcccff51886eb3704fd7fa7c429 files/digest-clisp-2.35 64
-MD5 d8868b134ba5463d87df11818719fcec files/digest-clisp-2.34-r1 64
-MD5 9a2df7725b74af8b8b9f3db39b350e79 files/digest-clisp-2.33.2-r2 66
-MD5 2f431f5c714c00d04b55e02a9d54f452 files/2.34/install-clc.lisp 501
-MD5 a68a303f8d8e4eec8542f36167df1377 files/2.34/fastcgi-Makefile.in-gentoo.patch 662
-MD5 e415e209cc23163e624face90f97e024 files/2.34/glibc-linux.lisp-sigpause-gentoo.patch 614
+MD5 81c8bccf469a9e5cc28fd4c163c145ba clisp-2.36.ebuild 2886
+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
+MD5 a9325cfeff703a21e63dbd2b3aad34c1 files/2.33.2/fastcgi-Makefile.in-gentoo.patch 670
+MD5 3eb393d2fbfe2e395744f45ce0d3e4f0 files/2.33.2/glibc-linux.lisp-sigpause-gentoo.patch 622
+MD5 2f431f5c714c00d04b55e02a9d54f452 files/2.33.2/install-clc.lisp 501
MD5 66e5b3968b3a6ad0301ca028447b26b3 files/2.34/README.Gentoo 334
MD5 fe93240f140623bf55d2e503f6d8e01e files/2.34/clisp.sh 2792
-MD5 2f431f5c714c00d04b55e02a9d54f452 files/2.35/install-clc.lisp 501
+MD5 a68a303f8d8e4eec8542f36167df1377 files/2.34/fastcgi-Makefile.in-gentoo.patch 662
+MD5 e415e209cc23163e624face90f97e024 files/2.34/glibc-linux.lisp-sigpause-gentoo.patch 614
+MD5 2f431f5c714c00d04b55e02a9d54f452 files/2.34/install-clc.lisp 501
MD5 66e5b3968b3a6ad0301ca028447b26b3 files/2.35/README.Gentoo 334
MD5 fe93240f140623bf55d2e503f6d8e01e files/2.35/clisp.sh 2792
-MD5 2f431f5c714c00d04b55e02a9d54f452 files/2.33.2/install-clc.lisp 501
-MD5 8d8449ba456d4f8b789d4349496845b6 files/2.33.2/compilefix.patch 1174
-MD5 a9325cfeff703a21e63dbd2b3aad34c1 files/2.33.2/fastcgi-Makefile.in-gentoo.patch 670
-MD5 3eb393d2fbfe2e395744f45ce0d3e4f0 files/2.33.2/glibc-linux.lisp-sigpause-gentoo.patch 622
-MD5 66e5b3968b3a6ad0301ca028447b26b3 files/2.33.2/README.Gentoo 334
-MD5 fe93240f140623bf55d2e503f6d8e01e files/2.33.2/clisp.sh 2792
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFDee8CKRy60XGEcJIRAk63AJoCbcDhiaBefXjgP/QIpS9UNmjBOQCfS6by
-F1e4eDPOywRai5jBgO36RBU=
-=WLCR
------END PGP SIGNATURE-----
+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 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 485cde76397408cf913fc6d4c7a45a67 metadata.xml 882
diff --git a/dev-lisp/clisp/clisp-2.36.ebuild b/dev-lisp/clisp/clisp-2.36.ebuild
new file mode 100644
index 000000000000..b720b4ca28a7
--- /dev/null
+++ b/dev-lisp/clisp/clisp-2.36.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/clisp/clisp-2.36.ebuild,v 1.1 2005/12/09 23:49:57 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-2.27
+ sys-devel/gettext
+ virtual/tetex
+ fastcgi? ( dev-libs/fcgi )
+ postgres? ( dev-db/postgresql )
+ 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
+}
+
+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.36/README.Gentoo b/dev-lisp/clisp/files/2.36/README.Gentoo
new file mode 100644
index 000000000000..6bec925fb0d3
--- /dev/null
+++ b/dev-lisp/clisp/files/2.36/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.36/clisp.sh b/dev-lisp/clisp/files/2.36/clisp.sh
new file mode 100644
index 000000000000..f5ed6a1d8fce
--- /dev/null
+++ b/dev-lisp/clisp/files/2.36/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.36/install-clc.lisp b/dev-lisp/clisp/files/2.36/install-clc.lisp
new file mode 100644
index 000000000000..06cb217d32cf
--- /dev/null
+++ b/dev-lisp/clisp/files/2.36/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.36 b/dev-lisp/clisp/files/digest-clisp-2.36
new file mode 100644
index 000000000000..72e2ea68c72d
--- /dev/null
+++ b/dev-lisp/clisp/files/digest-clisp-2.36
@@ -0,0 +1 @@
+MD5 b6b5f6b7e6d0ce9f42bc07d59fbddc09 clisp-2.36.tar.bz2 8008221