Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-lisp
Navigation:
Lists: gentoo-lisp: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-lisp@g.o
From: David Brown <lisp@...>
Subject: [PATCH] dev-lisp/sb-readline: Convert to common-lisp-2.
Date: Sun, 21 Sep 2008 09:23:06 -0700
---
This just copies the files from the main portage tree, and makes minor
changes for common-lisp-2.

  dev-lisp/sb-readline/Manifest                      |    3 ++
  .../files/0.1-load-foreign-library-gentoo.patch    |   14 ++++++++
  dev-lisp/sb-readline/sb-readline-0.1.ebuild        |   33 ++++++++++++++++++++
  3 files changed, 50 insertions(+), 0 deletions(-)
  create mode 100644 dev-lisp/sb-readline/Manifest
  create mode 100644 dev-lisp/sb-readline/files/0.1-load-foreign-library-gentoo.patch
  create mode 100644 dev-lisp/sb-readline/sb-readline-0.1.ebuild

diff --git a/dev-lisp/sb-readline/Manifest b/dev-lisp/sb-readline/Manifest
new file mode 100644
index 0000000..0b70033
--- /dev/null
+++ b/dev-lisp/sb-readline/Manifest
@@ -0,0 +1,3 @@
+AUX 0.1-load-foreign-library-gentoo.patch 638 RMD160 17f0db7860809108c574647c6c02f07fb133278b SHA1 cca47f069f94c199db1722f8df9f74b00e7bda78 SHA256 3c39f74b4ae1fd9e121d613310c59c4d809141c8a6c4609b6a720b629fdce945
+DIST sb-readline-0.1.tar.gz 2218 RMD160 aa8f55886ef6490c383cfa261ee48b16ae163df9 SHA1 38d241ffd5255fc684f71f6458fce62fd1391cbd SHA256 4eee148057a2f2f7c70a3e9f48c823c91fa95352172b9ad02810591fc59848be
+EBUILD sb-readline-0.1.ebuild 824 RMD160 1403ced9d48964863fc7fde2b96fe0b47fde5d23 SHA1 91c94e7ef9e28b05e6f0211b8399232cb8b72d55 SHA256 6b1b9690f81285973f14b186ac37c2ac4e88a620b7fc56d2ba4dd00680cc7d20
diff --git a/dev-lisp/sb-readline/files/0.1-load-foreign-library-gentoo.patch b/dev-lisp/sb-readline/files/0.1-load-foreign-library-gentoo.patch
new file mode 100644
index 0000000..66fa09f
--- /dev/null
+++ b/dev-lisp/sb-readline/files/0.1-load-foreign-library-gentoo.patch
@@ -0,0 +1,14 @@
+diff -ur sb-readline-0.1.orig/sb-readline.lisp sb-readline-0.1/sb-readline.lisp
+--- sb-readline-0.1.orig/sb-readline.lisp       2003-06-09 10:41:47.000000000 -0500
++++ sb-readline-0.1/sb-readline.lisp    2005-09-20 10:24:58.000000000 -0500
+@@ -8,8 +8,8 @@
+ (in-package :readline)
+
+ (eval-when (:compile-toplevel :load-toplevel :execute)
+-  (load-1-foreign "/lib/libncurses.so")
+-  (load-1-foreign "/lib/libreadline.so"))
++  (load-shared-object "/lib/libncurses.so")
++  (load-shared-object "/lib/libreadline.so"))
+
+ (define-alien-routine "add_history" void (command c-string))
+ (define-alien-routine "readline" c-string (prompt c-string))
diff --git a/dev-lisp/sb-readline/sb-readline-0.1.ebuild b/dev-lisp/sb-readline/sb-readline-0.1.ebuild
new file mode 100644
index 0000000..9349bf8
--- /dev/null
+++ b/dev-lisp/sb-readline/sb-readline-0.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-sb-readline/cl-sb-readline-0.1.ebuild,v 1.2 2005/09/20 15:39:35 mkennedy Exp $
+
+inherit common-lisp-2
+
+DESCRIPTION="Implementation of GNU Readline support for SBCL"
+HOMEPAGE="http://www.cliki.net/sb-readline"
+SRC_URI="http://www.caddr.com/lisp/sb-readline/sb-readline-${PV}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND=">=dev-lisp/sbcl-0.9.3
+	sys-libs/readline"
+
+CLPACKAGE=sb-readline
+
+S=${WORKDIR}/sb-readline-${PV}
+
+src_unpack() {
+	unpack ${A}
+	epatch ${FILESDIR}/${PV}-load-foreign-library-gentoo.patch
+}
+
+src_install() {
+	common-lisp-install sb-readline.{lisp,asd}
+	common-lisp-symlink-asdf
+	dodoc COPYING
+	dohtml README.html
+}
-- 
1.6.0.1



Replies:
Re: [PATCH] dev-lisp/sb-readline: Convert to common-lisp-2.
-- Stelian Ionescu
Navigation:
Lists: gentoo-lisp: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
elisp.eclass: SIMPLE_ELISP is gone
Next by thread:
Re: [PATCH] dev-lisp/sb-readline: Convert to common-lisp-2.
Previous by date:
elisp.eclass: SIMPLE_ELISP is gone
Next by date:
Re: [PATCH] dev-lisp/sb-readline: Convert to common-lisp-2.


Updated Jun 17, 2009

Summary: Archive of the gentoo-lisp mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.