commit: cdff442df5a8e313ac5c8c7b8ccfc141dab8abbb
Author: Chema Alonso Josa <nimiux <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 16 21:18:24 2017 +0000
Commit: José María Alonso <nimiux <AT> gentoo <DOT> org>
CommitDate: Mon Oct 16 21:18:24 2017 +0000
URL: https://gitweb.gentoo.org/proj/lisp.git/commit/?id=cdff442d
dev-lisp/linedit: Drops live ebuild
.../files/9999-linedit.asd-uffi-glue-gentoo.patch | 20 -------
dev-lisp/linedit/linedit-9999.ebuild | 66 ----------------------
2 files changed, 86 deletions(-)
diff --git a/dev-lisp/linedit/files/9999-linedit.asd-uffi-glue-gentoo.patch
b/dev-lisp/linedit/files/9999-linedit.asd-uffi-glue-gentoo.patch
deleted file mode 100644
index 97dabc4d..00000000
--- a/dev-lisp/linedit/files/9999-linedit.asd-uffi-glue-gentoo.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff -Nuar a/linedit.asd b/linedit.asd
---- a/linedit.asd 2014-07-26 14:24:03.109913304 +0200
-+++ b/linedit.asd 2014-07-26 14:25:34.279912792 +0200
-@@ -75,10 +75,13 @@
- (:file "matcher" :depends-on ("packages"))
-
- ;; Backend
-- (:file "backend" :depends-on ("utility-macros"))
-- (:uffi-c-source-file "terminal_glue")
-+ ;(: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"))
-
diff --git a/dev-lisp/linedit/linedit-9999.ebuild
b/dev-lisp/linedit/linedit-9999.ebuild
deleted file mode 100644
index bccaff67..00000000
--- a/dev-lisp/linedit/linedit-9999.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit common-lisp-3 flag-o-matic git-r3 multilib toolchain-funcs
-
-DESCRIPTION="Linedit is a readline-style library written in Common Lisp."
-HOMEPAGE="http://www.common-lisp.net/project/linedit/"
-EGIT_REPO_URI="https://gitlab.common-lisp.net/${PN}/${PN}.git"
-
-LICENSE="MIT"
-SLOT="0"
-IUSE=""
-
-RDEPEND="!dev-lisp/cl-${PN}
- dev-lisp/alexandria
- dev-lisp/madeira-port
- >=dev-lisp/osicat-0.6.0
- dev-lisp/terminfo
- dev-lisp/uffi"
-
-CFILES="terminal_glue"
-
-@cc() {
- local cc=$(tc-getCC)
- echo "${cc}" "${@}"
- "${cc}" "${@}"
-}
-
-create_uffi_loader() {
- cat > uffi-loader.lisp <<-EOF
- ;;;; -*- mode: lisp; syntax: common-lisp; indent-tabs-mode: nil; base:
10; package: linedit -*-
- (in-package :linedit)
-
- (uffi:load-foreign-library
#p"/usr/$(get_libdir)/linedit/terminal_glue.so")
- EOF
-}
-
-cleanup_terminfo_files() {
- rm "${D}/${CLSOURCEROOT}/${PN}/terminfo.lisp" || die
- rm "${D}/${CLSYSTEMROOT}/terminfo.asd" || die
-}
-
-src_prepare() {
- default
- eapply "${FILESDIR}"/${PV}-${PN}.asd-uffi-glue-gentoo.patch
- create_uffi_loader
-}
-
-src_compile() {
- strip-flags
- for filename in "${CFILES}" ; do
- @cc "${filename}.c" ${CFLAGS} ${LDFLAGS} \
- -fPIC -DPIC -shared -Wl,-soname="${filename}" -o
"${filename}.so" \
- || die "Cannot compile ${filename}.c"
- done
-}
-
-src_install() {
- common-lisp-install-sources *.lisp ports/
- common-lisp-install-asdf
- cleanup_terminfo_files
- exeinto "/usr/$(get_libdir)/${PN}"
- doexe *.so
-}