diff options
author | Matthew Kennedy <mkennedy@gentoo.org> | 2005-04-16 21:02:44 +0000 |
---|---|---|
committer | Matthew Kennedy <mkennedy@gentoo.org> | 2005-04-16 21:02:44 +0000 |
commit | c2a7052cc06bfd6914294736a1add98e69659b94 (patch) | |
tree | ac9eafbd73192e5f237508d760455a5ab7160fa1 /dev-lisp/cl-ncurses | |
parent | jade-lib isnt in the tree anylonger, package is obsolete as it was splitted i... (diff) | |
download | gentoo-2-c2a7052cc06bfd6914294736a1add98e69659b94.tar.gz gentoo-2-c2a7052cc06bfd6914294736a1add98e69659b94.tar.bz2 gentoo-2-c2a7052cc06bfd6914294736a1add98e69659b94.zip |
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-lisp/cl-ncurses')
-rw-r--r-- | dev-lisp/cl-ncurses/ChangeLog | 7 | ||||
-rw-r--r-- | dev-lisp/cl-ncurses/cl-ncurses-0.1.1.ebuild | 4 | ||||
-rw-r--r-- | dev-lisp/cl-ncurses/cl-ncurses-0.1.ebuild | 40 | ||||
-rw-r--r-- | dev-lisp/cl-ncurses/files/cl-ncurses-0.1-gentoo.patch | 129 | ||||
-rw-r--r-- | dev-lisp/cl-ncurses/files/digest-cl-ncurses-0.1 | 1 |
5 files changed, 8 insertions, 173 deletions
diff --git a/dev-lisp/cl-ncurses/ChangeLog b/dev-lisp/cl-ncurses/ChangeLog index f2022918c6ad..5903e3d639bb 100644 --- a/dev-lisp/cl-ncurses/ChangeLog +++ b/dev-lisp/cl-ncurses/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-lisp/cl-ncurses # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-ncurses/ChangeLog,v 1.5 2005/04/11 06:01:21 mkennedy Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-ncurses/ChangeLog,v 1.6 2005/04/16 21:02:44 mkennedy Exp $ + + 16 Apr 2005; Matthew Kennedy <mkennedy@gentoo.org> + -files/cl-ncurses-0.1-gentoo.patch, -cl-ncurses-0.1.ebuild, + cl-ncurses-0.1.1.ebuild: + Keywording; Removed old ebuilds. 11 Apr 2005; Matthew Kennedy <mkennedy@gentoo.org> cl-ncurses-0.1.1.ebuild: diff --git a/dev-lisp/cl-ncurses/cl-ncurses-0.1.1.ebuild b/dev-lisp/cl-ncurses/cl-ncurses-0.1.1.ebuild index 6e55f61b3d4f..35fb6b2235fc 100644 --- a/dev-lisp/cl-ncurses/cl-ncurses-0.1.1.ebuild +++ b/dev-lisp/cl-ncurses/cl-ncurses-0.1.1.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/cl-ncurses/cl-ncurses-0.1.1.ebuild,v 1.5 2005/04/11 06:01:21 mkennedy Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-ncurses/cl-ncurses-0.1.1.ebuild,v 1.6 2005/04/16 21:02:44 mkennedy Exp $ inherit common-lisp eutils @@ -10,7 +10,7 @@ SRC_URI="http://common-lisp.net/project/cl-ncurses/files/cl-ncurses_${PV}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~ppc ~amd64" +KEYWORDS="x86 ~ppc ~amd64" IUSE="" DEPEND="dev-lisp/common-lisp-controller diff --git a/dev-lisp/cl-ncurses/cl-ncurses-0.1.ebuild b/dev-lisp/cl-ncurses/cl-ncurses-0.1.ebuild deleted file mode 100644 index 5d416df901f0..000000000000 --- a/dev-lisp/cl-ncurses/cl-ncurses-0.1.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-ncurses/cl-ncurses-0.1.ebuild,v 1.4 2004/07/14 15:56:54 agriffis Exp $ - -inherit common-lisp eutils - -DESCRIPTION="CL-NCURSES is a NCURSES interface for Common Lisp on Unix-platforms." -HOMEPAGE="http://www.common-lisp.net/project/cl-ncurses/" -SRC_URI="http://common-lisp.net/project/cl-ncurses/files/cl-ncurses_${PV}.tgz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~x86" -IUSE="" - -DEPEND="dev-lisp/common-lisp-controller - virtual/commonlisp" - -CLPACKAGE=cl-ncurses - -S=${WORKDIR}/cl-ncurses_${PV} - -src_unpack() { - unpack ${A} - cd ${S} && epatch ${FILESDIR}/cl-ncurses-${PV}-gentoo.patch -} - -src_compile() { - make || die -} - -src_install() { - common-lisp-install *.lisp cl-ncurses.asd - common-lisp-system-symlink - dodoc README - exeinto /usr/lib/cl-ncurses - doexe glue.so - insinto ${CLSOURCEROOT}/${PN}/tests - doins tests/* -} diff --git a/dev-lisp/cl-ncurses/files/cl-ncurses-0.1-gentoo.patch b/dev-lisp/cl-ncurses/files/cl-ncurses-0.1-gentoo.patch deleted file mode 100644 index 86b285e56a35..000000000000 --- a/dev-lisp/cl-ncurses/files/cl-ncurses-0.1-gentoo.patch +++ /dev/null @@ -1,129 +0,0 @@ -diff -urN cl-ncurses_0.1.original/Makefile cl-ncurses_0.1/Makefile ---- cl-ncurses_0.1.original/Makefile 2004-03-07 17:24:47.000000000 -0600 -+++ cl-ncurses_0.1/Makefile 2004-03-09 01:22:45.271880072 -0600 -@@ -1,8 +1,16 @@ - NAME=cl-ncurses - SOURCES=ncurses.asd *.lisp glue.c README LICENSE Makefile - --all: glue.o -+CFLAGS=-fPIC -DPIC -+LDFLAGS=-shared - -+glue.so: glue.o -+ $(LD) $(LDFLAGS) $^ -o $@ -+ -+.PHONY: dist clean -+ -+clean: -+ -rm -f glue.so glue.o *.fasl *.x86f *~ - dist: - mkdir $(NAME) - cp $(SOURCES) $(NAME)/ -diff -urN cl-ncurses_0.1.original/cl-ncurses.asd cl-ncurses_0.1/cl-ncurses.asd ---- cl-ncurses_0.1.original/cl-ncurses.asd 2004-03-07 22:36:12.000000000 -0600 -+++ cl-ncurses_0.1/cl-ncurses.asd 2004-03-09 00:37:42.000000000 -0600 -@@ -21,32 +21,12 @@ - ;;;; TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE - ;;;; SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - --(declaim (optimize (debug 3) (safety 3))) -- --(in-package :asdf) -- --(defvar *gcc* "/usr/bin/gcc") -- --(defvar *gcc-options* '("-fPIC")) -+(defpackage #:cl-ncurses-system -+ (:use #:asdf #:common-lisp)) - --(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))) -+(in-package #:cl-ncurses-system) - -+(declaim (optimize (debug 3) (safety 3))) - - (defsystem :cl-ncurses - :version "0.1.0" -@@ -76,7 +56,8 @@ - (:file "getcchar" :depends-on ("packages")) - (:file "getch" :depends-on ("packages")) - (:file "getstr" :depends-on ("glue")) -- (:c-source-file "glue") -+ (:file "glue-loader") -+ (:file "glue" :depends-on ("glue-loader")) - (:file "getyx" :depends-on ("packages" "glue")) - (:file "in_wch" :depends-on ("packages")) - (:file "in_wchstr" :depends-on ("packages")) -@@ -114,5 +95,6 @@ - (:file "util" :depends-on ("packages")) - (:file "variables" :depends-on ("packages")) - (:file "window" :depends-on ("packages")) -- (:file "wresize" :depends-on ("packages")) -- )) -+ (:file "wresize" :depends-on ("packages")))) -+ -+;; cl-ncurses.asd ends here -diff -urN cl-ncurses_0.1.original/glue-loader.lisp cl-ncurses_0.1/glue-loader.lisp ---- cl-ncurses_0.1.original/glue-loader.lisp 1969-12-31 18:00:00.000000000 -0600 -+++ cl-ncurses_0.1/glue-loader.lisp 2004-03-09 01:21:17.728188736 -0600 -@@ -0,0 +1,45 @@ -+;;;; -*- mode: lisp; syntax: common-lisp; indent-tabs-mode: nil; base: 10; package: CL-NCURSES -*- -+ -+;;;; Author: Matthew Kennedy <mkennedy@gentoo.org> -+;;;; -+;;;; This code is adapted from clsql-uffi-loader.lisp which is part of -+;;;; CLSQL. clsql-uffi-loader.lisp comes with the following -+;;;; copyright: -+;;;; -+;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg -+;;;; -+;;;; CLSQL users are granted the rights to distribute and use this -+;;;; software as governed by the terms of the Lisp Lesser GNU -+;;;; Public License (http://opensource.franz.com/preamble.html), -+;;;; also known as the LLGPL. -+;;;; -+ -+(in-package #:cl-ncurses) -+ -+(defparameter *uffi-library-path* -+ `(,(make-pathname :directory (pathname-directory *load-truename*)) -+ "/usr/lib/cl-ncurses/")) -+ -+(defparameter *uffi-library-filename* nil) -+ -+(defvar *uffi-supporting-libraries* '("c")) -+ -+(defvar *uffi-library-loaded* nil -+ "T if foreign library was able to be loaded successfully") -+ -+(defun load-uffi-foreign-library (&optional force) -+ (when force (setf *uffi-library-loaded* nil)) -+ (unless *uffi-library-loaded* -+ (setf *uffi-library-filename* (find-foreign-library "glue" *uffi-library-path*)) -+ (unless (probe-file *uffi-library-filename*) -+ (error "Unable to find glue.so")) -+ (if (load-foreign-library *uffi-library-filename* -+ :module "cl-ncurses" -+ :supporting-libraries -+ *uffi-supporting-libraries*) -+ (setq *uffi-library-loaded* t) -+ (error "Unable to load helper library ~A" *uffi-library-filename*)))) -+ -+(load-uffi-foreign-library) -+ -+;; glue-loader.lisp ends here diff --git a/dev-lisp/cl-ncurses/files/digest-cl-ncurses-0.1 b/dev-lisp/cl-ncurses/files/digest-cl-ncurses-0.1 deleted file mode 100644 index 3dc22fe8d35c..000000000000 --- a/dev-lisp/cl-ncurses/files/digest-cl-ncurses-0.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 c05519d7ae1d35159fc20c4718b14c77 cl-ncurses_0.1.tgz 19111 |