Gentoo Archives: gentoo-commits

From: "José María Alonso" <nimiux@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/lisp:master commit in: dev-lisp/linedit/files/
Date: Sun, 15 Oct 2017 19:21:17
Message-Id: 1508095274.f005e745dde5f481e424eae1326425f48a15375f.nimiux@gentoo
1 commit: f005e745dde5f481e424eae1326425f48a15375f
2 Author: Chema Alonso Josa <nimiux <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 15 19:21:14 2017 +0000
4 Commit: José María Alonso <nimiux <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 15 19:21:14 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/lisp.git/commit/?id=f005e745
7
8 dev-lisp/linedit: Drops stale files
9
10 dev-lisp/linedit/files/0.15.12-Makefile | 14 -----
11 .../0.15.12-linedit.asd-uffi-glue-gentoo.patch | 72 ----------------------
12 2 files changed, 86 deletions(-)
13
14 diff --git a/dev-lisp/linedit/files/0.15.12-Makefile b/dev-lisp/linedit/files/0.15.12-Makefile
15 deleted file mode 100644
16 index 0de155fb..00000000
17 --- a/dev-lisp/linedit/files/0.15.12-Makefile
18 +++ /dev/null
19 @@ -1,14 +0,0 @@
20 -
21 -CFLAGS=-fPIC -shared
22 -
23 -UFFI_LIBS=signals.so terminal_glue.so
24 -
25 -all: $(UFFI_LIBS)
26 -
27 -%.so : %.c
28 - $(CC) $(CFLAGS) -o $@ $^
29 -
30 -clean:
31 - rm -f $(UFFI_LIBS)
32 -
33 -.PHONY: clean
34
35 diff --git a/dev-lisp/linedit/files/0.15.12-linedit.asd-uffi-glue-gentoo.patch b/dev-lisp/linedit/files/0.15.12-linedit.asd-uffi-glue-gentoo.patch
36 deleted file mode 100644
37 index 4b2578f4..00000000
38 --- a/dev-lisp/linedit/files/0.15.12-linedit.asd-uffi-glue-gentoo.patch
39 +++ /dev/null
40 @@ -1,72 +0,0 @@
41 -diff -urN linedit_0.15.12.orig/linedit.asd linedit_0.15.12/linedit.asd
42 ---- linedit_0.15.12.orig/linedit.asd 2004-08-04 22:43:07.576054400 -0500
43 -+++ linedit_0.15.12/linedit.asd 2004-08-04 23:04:36.314136432 -0500
44 -@@ -26,33 +26,6 @@
45 -
46 - (in-package :linedit-system)
47 -
48 --(defvar *gcc* "/usr/bin/gcc")
49 --
50 --(defvar *gcc-options* '(#-darwin "-shared"
51 -- #+darwin "-bundle"
52 -- "-fPIC"))
53 --
54 --;;; Separate class so that we don't mess up other packages
55 --(defclass uffi-c-source-file (c-source-file) ())
56 --
57 --(defmethod output-files ((o compile-op) (c uffi-c-source-file))
58 -- (list (make-pathname :name (component-name c)
59 -- :type "so"
60 -- :defaults (component-pathname c))))
61 --
62 --(defmethod perform ((o load-op) (c uffi-c-source-file))
63 -- (let ((loader (intern "LOAD-FOREIGN-LIBRARY" :uffi)))
64 -- (dolist (f (asdf::input-files o c))
65 -- (funcall loader f))))
66 --
67 --(defmethod perform ((o compile-op) (c uffi-c-source-file))
68 -- (unless (zerop (run-shell-command "~A ~A ~{~A ~}-o ~A"
69 -- *gcc*
70 -- (namestring (component-pathname c))
71 -- *gcc-options*
72 -- (namestring (car (output-files o c)))))
73 -- (error 'operation-error :component c :operation o)))
74 --
75 - (defsystem :linedit
76 - :version "0.15.12"
77 - :depends-on (:uffi :terminfo :osicat)
78 -@@ -64,10 +37,10 @@
79 - (:file "matcher" :depends-on ("packages"))
80 -
81 - ;; Backend
82 -- (:file "backend" :depends-on ("utility-macros"))
83 -- (:uffi-c-source-file "terminal_glue")
84 -+ (:file "uffi-loader" :depends-on ("packages"))
85 -+ (:file "backend" :depends-on ("utility-macros" "uffi-loader"))
86 - (:file "terminal-translations" :depends-on ("packages"))
87 -- (:file "terminal" :depends-on ("terminal-translations" "backend" "terminal_glue"))
88 -+ (:file "terminal" :depends-on ("terminal-translations" "backend" "uffi-loader"))
89 - (:file "smart-terminal" :depends-on ("terminal" "matcher"))
90 - (:file "dumb-terminal" :depends-on ("terminal"))
91 -
92 -@@ -76,8 +49,7 @@
93 - (:file "line" :depends-on ("utility-macros"))
94 - (:file "buffer" :depends-on ("utility-macros"))
95 - (:file "command-keys" :depends-on ("packages"))
96 -- (:uffi-c-source-file "signals")
97 -- (:file "editor" :depends-on ("backend" "rewindable" "signals"
98 -+ (:file "editor" :depends-on ("backend" "rewindable"
99 - "line" "buffer" "command-keys"))
100 - (:file "main" :depends-on ("editor"))
101 - (:file "complete" :depends-on ("utility-macros"))
102 -diff -urN linedit_0.15.12.orig/uffi-loader.lisp linedit_0.15.12/uffi-loader.lisp
103 ---- linedit_0.15.12.orig/uffi-loader.lisp 1969-12-31 18:00:00.000000000 -0600
104 -+++ linedit_0.15.12/uffi-loader.lisp 2004-08-04 22:48:23.525022856 -0500
105 -@@ -0,0 +1,7 @@
106 -+;;;; -*- mode: lisp; syntax: common-lisp; indent-tabs-mode: nil; base: 10; package: linedit -*-
107 -+
108 -+(in-package :linedit)
109 -+
110 -+(uffi:load-foreign-library #p"/usr/lib/linedit/signals.so")
111 -+(uffi:load-foreign-library #p"/usr/lib/linedit/terminal_glue.so")
112 -+