diff options
author | Matthew Kennedy <mkennedy@gentoo.org> | 2004-08-05 04:14:02 +0000 |
---|---|---|
committer | Matthew Kennedy <mkennedy@gentoo.org> | 2004-08-05 04:14:02 +0000 |
commit | 88e9c9f42d157ede0e01426215c8943f854a576f (patch) | |
tree | 3f12c5b5194b775d88903b36565aae78e9b4d8fe /dev-lisp/cl-linedit | |
parent | Ebuild for working Celestia (diff) | |
download | historical-88e9c9f42d157ede0e01426215c8943f854a576f.tar.gz historical-88e9c9f42d157ede0e01426215c8943f854a576f.tar.bz2 historical-88e9c9f42d157ede0e01426215c8943f854a576f.zip |
*** empty log message ***
Diffstat (limited to 'dev-lisp/cl-linedit')
-rw-r--r-- | dev-lisp/cl-linedit/ChangeLog | 7 | ||||
-rw-r--r-- | dev-lisp/cl-linedit/Manifest | 8 | ||||
-rw-r--r-- | dev-lisp/cl-linedit/cl-linedit-0.15.12.ebuild | 43 | ||||
-rw-r--r-- | dev-lisp/cl-linedit/files/0.15.12-Makefile | 14 | ||||
-rw-r--r-- | dev-lisp/cl-linedit/files/0.15.12-linedit.asd-uffi-glue-gentoo.patch | 72 | ||||
-rw-r--r-- | dev-lisp/cl-linedit/files/digest-cl-linedit-0.15.12 | 1 |
6 files changed, 141 insertions, 4 deletions
diff --git a/dev-lisp/cl-linedit/ChangeLog b/dev-lisp/cl-linedit/ChangeLog index 89e4a89b1c65..5775aa45e3c4 100644 --- a/dev-lisp/cl-linedit/ChangeLog +++ b/dev-lisp/cl-linedit/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-lisp/cl-linedit # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-linedit/ChangeLog,v 1.4 2004/06/24 23:46:05 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-linedit/ChangeLog,v 1.5 2004/08/05 04:14:02 mkennedy Exp $ + +*cl-linedit-0.15.12 (04 Aug 2004) + + 04 Aug 2004; <mkennedy@gentoo.org> +cl-linedit-0.15.12.ebuild: + New upstream version 09 May 2004; David Holm <dholm@gentoo.org> cl-linedit-0.15.9.ebuild: Added to ~ppc. diff --git a/dev-lisp/cl-linedit/Manifest b/dev-lisp/cl-linedit/Manifest index ec3d04d33be8..4cd84416809c 100644 --- a/dev-lisp/cl-linedit/Manifest +++ b/dev-lisp/cl-linedit/Manifest @@ -1,10 +1,12 @@ MD5 bddcb903e86ef4ad22301374b0a1ff77 cl-linedit-0.14.8.ebuild 1045 MD5 055384e6f37f92992272f5ce5b91b2ff ChangeLog 764 +MD5 83344fe269093ae9775c938eb315effd cl-linedit-0.15.12.ebuild 1113 MD5 6310c8b01587b6100d7a50443ee27454 metadata.xml 820 MD5 98e7dbf4ce336cb31f21319c6f256487 cl-linedit-0.15.9.ebuild 1070 -MD5 5f8cc94766061989efdc39a3138e88e6 files/0.14.8-linedit.asd-uffi-glue-gentoo.patch 2770 +MD5 8f72c4f1abfa33058e4fe0750ffc9cda files/digest-cl-linedit-0.15.9 65 MD5 10b16f6b84d43aa87a8093a2ffa410a0 files/0.15.9-linedit.asd-uffi-glue-gentoo.patch 2775 +MD5 5f8cc94766061989efdc39a3138e88e6 files/0.14.8-linedit.asd-uffi-glue-gentoo.patch 2770 +MD5 185f37d78a060f449f048c6571695583 files/digest-cl-linedit-0.14.8 65 +MD5 6b789d0efe8fe5f119ca2d1454393f3d files/digest-cl-linedit-0.15.12 66 MD5 8484e646d6628ae40d929863632d4e8e files/0.14.8-Makefile 164 MD5 8484e646d6628ae40d929863632d4e8e files/0.15.9-Makefile 164 -MD5 185f37d78a060f449f048c6571695583 files/digest-cl-linedit-0.14.8 65 -MD5 8f72c4f1abfa33058e4fe0750ffc9cda files/digest-cl-linedit-0.15.9 65 diff --git a/dev-lisp/cl-linedit/cl-linedit-0.15.12.ebuild b/dev-lisp/cl-linedit/cl-linedit-0.15.12.ebuild new file mode 100644 index 000000000000..2ebc229e74cd --- /dev/null +++ b/dev-lisp/cl-linedit/cl-linedit-0.15.12.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-linedit/cl-linedit-0.15.12.ebuild,v 1.1 2004/08/05 04:14:02 mkennedy Exp $ + +inherit common-lisp eutils + +DESCRIPTION="Linedit is a readline-style library written in Common Lisp that provides customizable line-editing features." +HOMEPAGE="http://www.common-lisp.net/project/linedit/" +SRC_URI="http://common-lisp.net/project/linedit/files/linedit_${PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~x86 ~ppc" +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.12-Makefile b/dev-lisp/cl-linedit/files/0.15.12-Makefile new file mode 100644 index 000000000000..0de155fbd03a --- /dev/null +++ b/dev-lisp/cl-linedit/files/0.15.12-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.12-linedit.asd-uffi-glue-gentoo.patch b/dev-lisp/cl-linedit/files/0.15.12-linedit.asd-uffi-glue-gentoo.patch new file mode 100644 index 000000000000..4b2578f4c33c --- /dev/null +++ b/dev-lisp/cl-linedit/files/0.15.12-linedit.asd-uffi-glue-gentoo.patch @@ -0,0 +1,72 @@ +diff -urN linedit_0.15.12.orig/linedit.asd linedit_0.15.12/linedit.asd +--- linedit_0.15.12.orig/linedit.asd 2004-08-04 22:43:07.576054400 -0500 ++++ linedit_0.15.12/linedit.asd 2004-08-04 23:04:36.314136432 -0500 +@@ -26,33 +26,6 @@ + + (in-package :linedit-system) + +-(defvar *gcc* "/usr/bin/gcc") +- +-(defvar *gcc-options* '(#-darwin "-shared" +- #+darwin "-bundle" +- "-fPIC")) +- +-;;; Separate class so that we don't mess up other packages +-(defclass uffi-c-source-file (c-source-file) ()) +- +-(defmethod output-files ((o compile-op) (c uffi-c-source-file)) +- (list (make-pathname :name (component-name c) +- :type "so" +- :defaults (component-pathname c)))) +- +-(defmethod perform ((o load-op) (c uffi-c-source-file)) +- (let ((loader (intern "LOAD-FOREIGN-LIBRARY" :uffi))) +- (dolist (f (asdf::input-files o c)) +- (funcall loader f)))) +- +-(defmethod perform ((o compile-op) (c uffi-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.12" + :depends-on (:uffi :terminfo :osicat) +@@ -64,10 +37,10 @@ + (:file "matcher" :depends-on ("packages")) + + ;; Backend +- (:file "backend" :depends-on ("utility-macros")) +- (:uffi-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")) + +@@ -76,8 +49,7 @@ + (:file "line" :depends-on ("utility-macros")) + (:file "buffer" :depends-on ("utility-macros")) + (:file "command-keys" :depends-on ("packages")) +- (:uffi-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.12.orig/uffi-loader.lisp linedit_0.15.12/uffi-loader.lisp +--- linedit_0.15.12.orig/uffi-loader.lisp 1969-12-31 18:00:00.000000000 -0600 ++++ linedit_0.15.12/uffi-loader.lisp 2004-08-04 22:48:23.525022856 -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.12 b/dev-lisp/cl-linedit/files/digest-cl-linedit-0.15.12 new file mode 100644 index 000000000000..9ff1fb80bd9b --- /dev/null +++ b/dev-lisp/cl-linedit/files/digest-cl-linedit-0.15.12 @@ -0,0 +1 @@ +MD5 b8031db6f8157f5a9126a92baff32e37 linedit_0.15.12.tar.gz 16822 |