summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2004-05-09 07:10:12 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2004-05-09 07:10:12 +0000
commit09a83a7193361aee62e8098b13aed6cf81066159 (patch)
tree8a34629569bd5d845ecf97208226230f3a2a2867 /dev-lisp/cl-linedit
parent (Manifest recommit) (diff)
downloadgentoo-2-09a83a7193361aee62e8098b13aed6cf81066159.tar.gz
gentoo-2-09a83a7193361aee62e8098b13aed6cf81066159.tar.bz2
gentoo-2-09a83a7193361aee62e8098b13aed6cf81066159.zip
*** empty log message ***
Diffstat (limited to 'dev-lisp/cl-linedit')
-rw-r--r--dev-lisp/cl-linedit/ChangeLog8
-rw-r--r--dev-lisp/cl-linedit/Manifest11
-rw-r--r--dev-lisp/cl-linedit/cl-linedit-0.15.9.ebuild43
-rw-r--r--dev-lisp/cl-linedit/files/0.15.9-Makefile14
-rw-r--r--dev-lisp/cl-linedit/files/0.15.9-linedit.asd-uffi-glue-gentoo.patch69
-rw-r--r--dev-lisp/cl-linedit/files/digest-cl-linedit-0.15.91
6 files changed, 141 insertions, 5 deletions
diff --git a/dev-lisp/cl-linedit/ChangeLog b/dev-lisp/cl-linedit/ChangeLog
index 4ac8d4857528..e4f2eb64bf24 100644
--- a/dev-lisp/cl-linedit/ChangeLog
+++ b/dev-lisp/cl-linedit/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-lisp/cl-linedit
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-linedit/ChangeLog,v 1.1 2004/02/15 10:33:49 mkennedy Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-linedit/ChangeLog,v 1.2 2004/05/09 07:10:12 mkennedy Exp $
+
+*cl-linedit-0.15.9 (09 May 2004)
+
+ 09 May 2004; <mkennedy@gentoo.org> +files/0.15.9-Makefile,
+ +files/0.15.9-linedit.asd-uffi-glue-gentoo.patch, +cl-linedit-0.15.9.ebuild:
+ New upstream version.
*cl-linedit-0.14.8 (15 Feb 2004)
diff --git a/dev-lisp/cl-linedit/Manifest b/dev-lisp/cl-linedit/Manifest
index 1c3fab3a2136..4e3a7d4e0dca 100644
--- a/dev-lisp/cl-linedit/Manifest
+++ b/dev-lisp/cl-linedit/Manifest
@@ -1,6 +1,9 @@
-MD5 8484e646d6628ae40d929863632d4e8e files/0.14.8-Makefile 164
-MD5 5f8cc94766061989efdc39a3138e88e6 files/0.14.8-linedit.asd-uffi-glue-gentoo.patch 2770
-MD5 185f37d78a060f449f048c6571695583 files/digest-cl-linedit-0.14.8 65
-MD5 de5f0fffee6d1cff9941fe75ca1246ef ChangeLog 485
MD5 80632b3fe45d92626b0028924920856e cl-linedit-0.14.8.ebuild 1052
+MD5 de5f0fffee6d1cff9941fe75ca1246ef ChangeLog 485
MD5 6310c8b01587b6100d7a50443ee27454 metadata.xml 820
+MD5 80632b3fe45d92626b0028924920856e cl-linedit-0.15.9.ebuild 1052
+MD5 8f72c4f1abfa33058e4fe0750ffc9cda files/digest-cl-linedit-0.15.9 65
+MD5 5f8cc94766061989efdc39a3138e88e6 files/0.14.8-linedit.asd-uffi-glue-gentoo.patch 2770
+MD5 fe194c5dc559fd5510881305970c9114 files/semantic.cache 691
+MD5 185f37d78a060f449f048c6571695583 files/digest-cl-linedit-0.14.8 65
+MD5 8484e646d6628ae40d929863632d4e8e files/0.14.8-Makefile 164
diff --git a/dev-lisp/cl-linedit/cl-linedit-0.15.9.ebuild b/dev-lisp/cl-linedit/cl-linedit-0.15.9.ebuild
new file mode 100644
index 000000000000..32676c0827b5
--- /dev/null
+++ b/dev-lisp/cl-linedit/cl-linedit-0.15.9.ebuild
@@ -0,0 +1,43 @@
+# 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-linedit/cl-linedit-0.15.9.ebuild,v 1.1 2004/05/09 07:10:12 mkennedy Exp $
+
+inherit common-lisp eutils
+
+DESCRIPTION="Linedit is a readline-style library written in Common Lisp that provides customizable line-editing features."
+HOMEPAGE=""
+SRC_URI="http://common-lisp.net/project/linedit/files/linedit_${PV}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="dev-lisp/common-lisp-controller
+ virtual/commonlisp
+ dev-lisp/cl-terminfo
+ dev-lisp/cl-uffi
+ dev-lisp/cl-osicat"
+
+CLPACKAGE=linedit
+
+S=${WORKDIR}/linedit_${PV}
+
+src_unpack() {
+ unpack ${A}
+ # adds uffi-loader.lisp, removes building .so files
+ epatch ${FILESDIR}/${PV}-linedit.asd-uffi-glue-gentoo.patch
+ cp ${FILESDIR}/${PV}-Makefile ${S}/Makefile
+}
+
+src_compile() {
+ make || die
+}
+
+src_install() {
+ common-lisp-install *.lisp linedit.asd version.lisp-expr
+ common-lisp-system-symlink
+ dodoc LICENSE
+ exeinto /usr/lib/linedit
+ doexe *.so
+}
diff --git a/dev-lisp/cl-linedit/files/0.15.9-Makefile b/dev-lisp/cl-linedit/files/0.15.9-Makefile
new file mode 100644
index 000000000000..0de155fbd03a
--- /dev/null
+++ b/dev-lisp/cl-linedit/files/0.15.9-Makefile
@@ -0,0 +1,14 @@
+
+CFLAGS=-fPIC -shared
+
+UFFI_LIBS=signals.so terminal_glue.so
+
+all: $(UFFI_LIBS)
+
+%.so : %.c
+ $(CC) $(CFLAGS) -o $@ $^
+
+clean:
+ rm -f $(UFFI_LIBS)
+
+.PHONY: clean
diff --git a/dev-lisp/cl-linedit/files/0.15.9-linedit.asd-uffi-glue-gentoo.patch b/dev-lisp/cl-linedit/files/0.15.9-linedit.asd-uffi-glue-gentoo.patch
new file mode 100644
index 000000000000..8fc02ae4c29b
--- /dev/null
+++ b/dev-lisp/cl-linedit/files/0.15.9-linedit.asd-uffi-glue-gentoo.patch
@@ -0,0 +1,69 @@
+diff -urN linedit_0.15.9.orig/linedit.asd linedit_0.15.9/linedit.asd
+--- linedit_0.15.9.orig/linedit.asd 2004-03-05 13:49:51.000000000 -0600
++++ linedit_0.15.9/linedit.asd 2004-05-09 01:54:06.119229032 -0500
+@@ -23,30 +23,6 @@
+
+ (in-package :asdf)
+
+-(defvar *gcc* "/usr/bin/gcc")
+-
+-(defvar *gcc-options* '(#-darwin "-shared"
+- #+darwin "-bundle"
+- "-fPIC"))
+-
+-(defmethod output-files ((o compile-op) (c c-source-file))
+- (list (make-pathname :name (component-name c)
+- :type "so"
+- :defaults (component-pathname c))))
+-
+-(defmethod perform ((o load-op) (c c-source-file))
+- (let ((loader (intern "LOAD-FOREIGN-LIBRARY" :uffi)))
+- (dolist (f (input-files o c))
+- (funcall loader f))))
+-
+-(defmethod perform ((o compile-op) (c c-source-file))
+- (unless (zerop (run-shell-command "~A ~A ~{~A ~}-o ~A"
+- *gcc*
+- (namestring (component-pathname c))
+- *gcc-options*
+- (namestring (car (output-files o c)))))
+- (error 'operation-error :component c :operation o)))
+-
+ (defsystem :linedit
+ :version "0.15.9"
+ :depends-on (:uffi :terminfo :osicat)
+@@ -58,10 +34,10 @@
+ (:file "matcher" :depends-on ("packages"))
+
+ ;; Backend
+- (:file "backend" :depends-on ("utility-macros"))
+- (:c-source-file "terminal_glue")
++ (:file "uffi-loader" :depends-on ("packages"))
++ (:file "backend" :depends-on ("utility-macros" "uffi-loader"))
+ (:file "terminal-translations" :depends-on ("packages"))
+- (:file "terminal" :depends-on ("terminal-translations" "backend" "terminal_glue"))
++ (:file "terminal" :depends-on ("terminal-translations" "backend" "uffi-loader"))
+ (:file "smart-terminal" :depends-on ("terminal" "matcher"))
+ (:file "dumb-terminal" :depends-on ("terminal"))
+
+@@ -70,8 +46,7 @@
+ (:file "line" :depends-on ("utility-macros"))
+ (:file "buffer" :depends-on ("utility-macros"))
+ (:file "command-keys" :depends-on ("packages"))
+- (:c-source-file "signals")
+- (:file "editor" :depends-on ("backend" "rewindable" "signals"
++ (:file "editor" :depends-on ("backend" "rewindable"
+ "line" "buffer" "command-keys"))
+ (:file "main" :depends-on ("editor"))
+ (:file "complete" :depends-on ("utility-macros"))
+diff -urN linedit_0.15.9.orig/uffi-loader.lisp linedit_0.15.9/uffi-loader.lisp
+--- linedit_0.15.9.orig/uffi-loader.lisp 1969-12-31 18:00:00.000000000 -0600
++++ linedit_0.15.9/uffi-loader.lisp 2004-05-09 01:47:12.383126480 -0500
+@@ -0,0 +1,7 @@
++;;;; -*- mode: lisp; syntax: common-lisp; indent-tabs-mode: nil; base: 10; package: linedit -*-
++
++(in-package :linedit)
++
++(uffi:load-foreign-library #p"/usr/lib/linedit/signals.so")
++(uffi:load-foreign-library #p"/usr/lib/linedit/terminal_glue.so")
++
diff --git a/dev-lisp/cl-linedit/files/digest-cl-linedit-0.15.9 b/dev-lisp/cl-linedit/files/digest-cl-linedit-0.15.9
new file mode 100644
index 000000000000..c3408bd2ae9e
--- /dev/null
+++ b/dev-lisp/cl-linedit/files/digest-cl-linedit-0.15.9
@@ -0,0 +1 @@
+MD5 48696cc960cad0ea3bd1b524cf4f32fd linedit_0.15.9.tar.gz 14788