summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2005-09-09 03:12:13 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2005-09-09 03:12:13 +0000
commit384d977de7e7c57404702086bb50c6b1d5148e33 (patch)
treebdf0a84bc83a762b57708a40717965bcb32084fd /dev-lisp/clisp
parentInitial import. Thanks to James Le Cuirot and Christoph Brill (egore) for the (diff)
downloadgentoo-2-384d977de7e7c57404702086bb50c6b1d5148e33.tar.gz
gentoo-2-384d977de7e7c57404702086bb50c6b1d5148e33.tar.bz2
gentoo-2-384d977de7e7c57404702086bb50c6b1d5148e33.zip
New upstream version; Keywording =dev-lisp/clisp-2.34-r1 stable for x86.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'dev-lisp/clisp')
-rw-r--r--dev-lisp/clisp/ChangeLog9
-rw-r--r--dev-lisp/clisp/Manifest19
-rw-r--r--dev-lisp/clisp/clisp-2.34-r1.ebuild4
-rw-r--r--dev-lisp/clisp/clisp-2.35.ebuild96
-rw-r--r--dev-lisp/clisp/files/2.35/README.Gentoo11
-rw-r--r--dev-lisp/clisp/files/2.35/clisp.sh118
-rw-r--r--dev-lisp/clisp/files/2.35/install-clc.lisp15
-rw-r--r--dev-lisp/clisp/files/digest-clisp-2.351
8 files changed, 258 insertions, 15 deletions
diff --git a/dev-lisp/clisp/ChangeLog b/dev-lisp/clisp/ChangeLog
index 2d22d6d76ceb..e133d1ea7167 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.37 2005/07/22 19:25:22 mkennedy Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/clisp/ChangeLog,v 1.38 2005/09/09 03:12:13 mkennedy Exp $
+
+*clisp-2.35 (09 Sep 2005)
+
+ 09 Sep 2005; Matthew Kennedy <mkennedy@gentoo.org>
+ +files/2.35/README.Gentoo, +files/2.35/install-clc.lisp,
+ +files/2.35/clisp.sh, clisp-2.34-r1.ebuild, +clisp-2.35.ebuild:
+ New upstream version; Keywording =dev-lisp/clisp-2.34-r1 stable for x86.
*clisp-2.34 (22 Jul 2005)
diff --git a/dev-lisp/clisp/Manifest b/dev-lisp/clisp/Manifest
index 881155c3c4da..e4f5146d9bde 100644
--- a/dev-lisp/clisp/Manifest
+++ b/dev-lisp/clisp/Manifest
@@ -1,12 +1,14 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 3b853208a763c60409534dfea44fd374 ChangeLog 8765
+MD5 708621d7ee637970ee09ad7d40f2cd12 ChangeLog 9046
MD5 ce231fc033009fe5fec7c7cee5634165 clisp-2.33.2-r2.ebuild 4238
+MD5 a89957cdb7fad22b8ad1568993b157bf clisp-2.34-r1.ebuild 4161
MD5 485cde76397408cf913fc6d4c7a45a67 metadata.xml 882
-MD5 526ef74ef049559d5aaf99b7c55dac8b clisp-2.34-r1.ebuild 4162
+MD5 2c7512570912fd2086aa6e7c05b95697 clisp-2.35.ebuild 2882
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 66e5b3968b3a6ad0301ca028447b26b3 files/2.35/README.Gentoo 334
+MD5 fe93240f140623bf55d2e503f6d8e01e files/2.35/clisp.sh 2792
+MD5 2f431f5c714c00d04b55e02a9d54f452 files/2.35/install-clc.lisp 501
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
@@ -18,10 +20,3 @@ MD5 fe93240f140623bf55d2e503f6d8e01e files/2.34/clisp.sh 2792
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
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFC8Rw1yiNZaEAZA+ARAkl6AJ9q2OtoIXR2hLq35traTBjHkioBUQCfT5Nj
-1xscBf2u5teBpw1DcHC3+6k=
-=sZCj
------END PGP SIGNATURE-----
diff --git a/dev-lisp/clisp/clisp-2.34-r1.ebuild b/dev-lisp/clisp/clisp-2.34-r1.ebuild
index 7966c4f427c4..7823fa124454 100644
--- a/dev-lisp/clisp/clisp-2.34-r1.ebuild
+++ b/dev-lisp/clisp/clisp-2.34-r1.ebuild
@@ -1,6 +1,6 @@
# 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.34-r1.ebuild,v 1.1 2005/08/03 19:33:45 mkennedy Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/clisp/clisp-2.34-r1.ebuild,v 1.2 2005/09/09 03:12:13 mkennedy Exp $
inherit flag-o-matic common-lisp-common-2 eutils toolchain-funcs
@@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/clisp/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="2"
-KEYWORDS="~x86 ~ppc ~ppc-macos ~amd64 ~sparc"
+KEYWORDS="x86 ~ppc ~ppc-macos ~amd64 ~sparc"
IUSE="X fastcgi pcre postgres readline zlib"
DEPEND="dev-libs/libsigsegv
diff --git a/dev-lisp/clisp/clisp-2.35.ebuild b/dev-lisp/clisp/clisp-2.35.ebuild
new file mode 100644
index 000000000000..2eb6614b4b79
--- /dev/null
+++ b/dev-lisp/clisp/clisp-2.35.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.35.ebuild,v 1.1 2005/09/09 03:12:13 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
+ 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.35/README.Gentoo b/dev-lisp/clisp/files/2.35/README.Gentoo
new file mode 100644
index 000000000000..6bec925fb0d3
--- /dev/null
+++ b/dev-lisp/clisp/files/2.35/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.35/clisp.sh b/dev-lisp/clisp/files/2.35/clisp.sh
new file mode 100644
index 000000000000..f5ed6a1d8fce
--- /dev/null
+++ b/dev-lisp/clisp/files/2.35/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.35/install-clc.lisp b/dev-lisp/clisp/files/2.35/install-clc.lisp
new file mode 100644
index 000000000000..06cb217d32cf
--- /dev/null
+++ b/dev-lisp/clisp/files/2.35/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.35 b/dev-lisp/clisp/files/digest-clisp-2.35
new file mode 100644
index 000000000000..fb1aef6b4353
--- /dev/null
+++ b/dev-lisp/clisp/files/digest-clisp-2.35
@@ -0,0 +1 @@
+MD5 a8e3136c4ecfb5deb65fe53e22ca2c07 clisp-2.35.tar.bz2 7902817