Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/imaxima/, app-emacs/imaxima/files/
Date: Mon, 13 Feb 2017 12:30:50
Message-Id: 1486989034.4d72ebeab4493f85f57a5c75d2be2c9fe0e57191.ulm@gentoo
1 commit: 4d72ebeab4493f85f57a5c75d2be2c9fe0e57191
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 13 12:27:08 2017 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 13 12:30:34 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d72ebea
7
8 app-emacs/imaxima: Remove package.
9
10 Bug: 448242
11
12 app-emacs/imaxima/Manifest | 1 -
13 app-emacs/imaxima/files/50imaxima-gentoo.el | 3 -
14 app-emacs/imaxima/files/imaxima-1.0-1.03.patch | 140 -----------------------
15 app-emacs/imaxima/files/imaxima-1.0-mlabel.patch | 26 -----
16 app-emacs/imaxima/imaxima-1.0-r3.ebuild | 50 --------
17 app-emacs/imaxima/metadata.xml | 21 ----
18 6 files changed, 241 deletions(-)
19
20 diff --git a/app-emacs/imaxima/Manifest b/app-emacs/imaxima/Manifest
21 deleted file mode 100644
22 index 645e7d6a0d..0000000000
23 --- a/app-emacs/imaxima/Manifest
24 +++ /dev/null
25 @@ -1 +0,0 @@
26 -DIST imaxima-imath-1.0.tar.gz 407857 SHA256 cce63323ed7d1a77012f81cbc5ded51ceb5be6d13eec79f8660fec638d92ce74 SHA512 d3cbf6f3a8ee7f0b952052f72be684f2143a377a9b896d328db1c46a06d5ec64d6f20d69604536a3abf44a5d5e5b09ec9862992270e5470c561083d183372991 WHIRLPOOL 186fcb8fce7091b350470f6704652020e264427824fee6c3a00cea79bdb0da83a7706ac7098507a164d286b293d06e5ac3dfefd84c5d7d92dc8d9d04f709cb01
27
28 diff --git a/app-emacs/imaxima/files/50imaxima-gentoo.el b/app-emacs/imaxima/files/50imaxima-gentoo.el
29 deleted file mode 100644
30 index 2a735af1c2..0000000000
31 --- a/app-emacs/imaxima/files/50imaxima-gentoo.el
32 +++ /dev/null
33 @@ -1,3 +0,0 @@
34 -(add-to-list 'load-path "@SITELISP@")
35 -(autoload 'imaxima "imaxima" "Image support for Maxima." t)
36 -(autoload 'imath-mode "imath" "Interactive Math minor mode." t)
37
38 diff --git a/app-emacs/imaxima/files/imaxima-1.0-1.03.patch b/app-emacs/imaxima/files/imaxima-1.0-1.03.patch
39 deleted file mode 100644
40 index 93d332f6bc..0000000000
41 --- a/app-emacs/imaxima/files/imaxima-1.0-1.03.patch
42 +++ /dev/null
43 @@ -1,140 +0,0 @@
44 -Patch extracted from maxima git repository.
45 -
46 ---- a/ChangeLog
47 -+++ b/ChangeLog
48 -@@ -1,3 +1,19 @@
49 -+2012-03-25 Yasuaki Honda <yasuaki.honda@×××××.com>
50 -+ * version 1.03
51 -+ * A new command "reinit-imaxima" is added. This command reset the
52 -+ communication status of Emacs Lisp and Maxima. When imaxima does
53 -+ not respond to any input, this command will help to resolve such
54 -+ situation.
55 -+
56 -+2011-10-02 Yasuaki Honda <yasuaki.honda@×××××.com>
57 -+ * version 1.01
58 -+ * An old workaround code for tex prevented imaxima on Mac OS X
59 -+ Lion from working. This is related to the placing of the temporary
60 -+ file directory and the name of the file path containing the
61 -+ character "_". This is fixed in this version.
62 -+ * Special treatment of greek character gamma is removed from
63 -+ imaxima.el and commited to maxima mactex.lisp.
64 -+
65 - 2009-02-07 Yasuaki Honda <yasuaki.honda@×××××.com>
66 - * As for inline graph, if the emacs buffer window is too small for
67 - the generated graph image, the graph is not displayed, but a file
68 ---- a/imaxima-autoconf-variables.el
69 -+++ b/imaxima-autoconf-variables.el
70 -@@ -19,6 +19,6 @@
71 - ;; Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
72 - ;; MA 02111-1307 USA
73 - (defconst *imaxima-autoconf-package* "imaxima-imath")
74 --(defconst *imaxima-autoconf-version* "1.0")
75 -+(defconst *imaxima-autoconf-version* "1.03")
76 -
77 - (provide 'imaxima-autoconf-variables)
78 ---- a/imaxima.el
79 -+++ b/imaxima.el
80 -@@ -420,6 +420,17 @@
81 - (message "%s %s" *imaxima-autoconf-package* *imaxima-autoconf-version*))
82 -
83 - ;;
84 -+;; Reset
85 -+;;
86 -+
87 -+(defun reinit-imaxima ()
88 -+ "Re-initialize imaxima"
89 -+ (interactive)
90 -+ (setq imaxima-filter-running nil
91 -+ imaxima-output nil
92 -+ continuation nil))
93 -+
94 -+;;
95 - ;; Geometry
96 - ;;
97 -
98 -@@ -1174,6 +1185,7 @@
99 - (switch-to-buffer imaxima-buffer)
100 - (set-buffer imaxima-buffer))
101 - (return-from imaxima t)))
102 -+ (reinit-imaxima)
103 - (unless (imaxima-image-type-available-p imaxima-image-type)
104 - (error "Your version of Emacs does not support the image type %s"
105 - imaxima-image-type))
106 -@@ -1183,9 +1195,7 @@
107 - (setq imaxima-file-counter 0)
108 - (make-directory
109 - (setq imaxima-tmp-subdir
110 -- ;; For some reason TeX doesn't grok underscores in file names
111 -- (imaxima-subst-char-in-string ?_ ?=
112 -- (make-temp-name (expand-file-name "imaxima" imaxima-tmp-dir)))))
113 -+ (make-temp-name (expand-file-name "imaxima" imaxima-tmp-dir))) t)
114 - (set-file-modes imaxima-tmp-subdir 448) ; 700 in octal
115 - (let ((process-connection-type process-connection-type-flag))
116 - (if imaxima-use-maxima-mode-flag
117 ---- a/imaxima.lisp
118 -+++ b/imaxima.lisp
119 -@@ -109,9 +109,9 @@
120 - ;;; SBCL.
121 - ;;; by yasuaki honda
122 - #-sbcl
123 --(if (not (fboundp (find-symbol "PRINT-INVERT-CASE" :maxima)))
124 -- (defun print-invert-case (obj)
125 -- (princ-to-string obj)))
126 -+(unless (fboundp 'maxima::print-invert-case)
127 -+ (defun print-invert-case (obj)
128 -+ (princ-to-string obj)))
129 -
130 - (defun print-case-sensitive (obj)
131 - (if obj
132 -@@ -126,7 +126,7 @@
133 -
134 - (defun main-prompt ()
135 - (format () (concatenate 'string (string (code-char 3)) "(~A~D) " (string (code-char 4)))
136 -- (STRIPDOLLAR (print-case-sensitive $inchar)) $linenum))
137 -+ (stripdollar (print-case-sensitive $inchar)) $linenum))
138 -
139 - (defun break-dbm-loop (at)
140 - (let* (
141 -@@ -142,7 +142,7 @@
142 - (declare (special *mread-prompt* ))
143 - (and (consp at) (set-env at))
144 - (cond ((null at)
145 -- ($frame 0 nil)))
146 -+ (break-frame 0 nil)))
147 - (catch 'step-continue
148 - (catch *quit-tag*
149 - (unwind-protect
150 -@@ -672,9 +672,12 @@
151 - (setq res (apply (symbol-function '$draw)
152 - (append
153 - `(
154 -- ((mequal simp) $terminal $eps)
155 -- ((mequal simp) $pic_width ,($first $wxplot_size))
156 -- ((mequal simp) $pic_height ,($second $wxplot_size))
157 -+ ((mequal simp) $terminal $eps_color)
158 -+ ((mequal simp) $dimensions
159 -+ ((mlist simp)
160 -+ ;; convert points to 1/100 of cm
161 -+ ,(* 3.53 ($first $wxplot_size))
162 -+ ,(* 3.53 ($second $wxplot_size))))
163 - ((mequal simp) $file_name ,filename))
164 - args)))
165 - ($ldisp `((wxxmltag simp) ,(format nil "~a.eps" filename) "img"))
166 ---- a/imaxima.texi
167 -+++ b/imaxima.texi
168 -@@ -223,6 +223,15 @@
169 - information when you want to make bug reports.
170 - @end defun
171 -
172 -+@defun reinit-imaxima
173 -+Initialize the imaxima program. Sometimes you may encounter situations
174 -+where imaxima does not repond to your input. This is caused by the
175 -+inconsistency between Emacs Lisp and Maxima. Such situations can be
176 -+resolved by using this command. After calling this command from the
177 -+Emacs mini buffer, you should type simple Maxima expression such as
178 -+1+2; to ensure that the imaxima does respond to you now.
179 -+@end defun
180 -+
181 - @node Inline Graph
182 - @chapter Inline Graph
183 -
184
185 diff --git a/app-emacs/imaxima/files/imaxima-1.0-mlabel.patch b/app-emacs/imaxima/files/imaxima-1.0-mlabel.patch
186 deleted file mode 100644
187 index 4b23ee7617..0000000000
188 --- a/app-emacs/imaxima/files/imaxima-1.0-mlabel.patch
189 +++ /dev/null
190 @@ -1,26 +0,0 @@
191 -Rename mlable to mlabel, accounting for corresponding change in maxima-5.29.
192 -https://bugs.gentoo.org/show_bug.cgi?id=448242
193 -
194 -Patch taken from maxima git repo:
195 -http://maxima.git.sourceforge.net/git/gitweb.cgi?p=maxima/maxima;a=commit;h=620f23e27328a58bfa81fe101734b7488a2b93f5
196 -
197 ---- a/imaxima.lisp
198 -+++ b/imaxima.lisp
199 -@@ -498,7 +498,7 @@
200 -
201 - (defun tex-mtext (x l r) (tex-list (cdr x) l r ""))
202 -
203 --(defun tex-mlable (x l r)
204 -+(defun tex-mlabel (x l r)
205 - (tex (caddr x)
206 - (append l
207 - (if (cadr x)
208 -@@ -517,7 +517,7 @@
209 - (defun latex (x)
210 - ; (princ x) ;; uncomment to debug.
211 - (if (and (listp x) (car x) (listp (car x)) (caar x)
212 -- (equal (caar x) 'mlable)
213 -+ (equal (caar x) 'mlabel)
214 - (cdr x)
215 - (cadr x)
216 - (input-label-p (cadr x)))
217
218 diff --git a/app-emacs/imaxima/imaxima-1.0-r3.ebuild b/app-emacs/imaxima/imaxima-1.0-r3.ebuild
219 deleted file mode 100644
220 index bc5b483275..0000000000
221 --- a/app-emacs/imaxima/imaxima-1.0-r3.ebuild
222 +++ /dev/null
223 @@ -1,50 +0,0 @@
224 -# Copyright 1999-2015 Gentoo Foundation
225 -# Distributed under the terms of the GNU General Public License v2
226 -# $Id$
227 -
228 -EAPI=5
229 -
230 -inherit elisp
231 -
232 -MY_P="${PN}-imath-${PV/_}"
233 -DESCRIPTION="Imaxima enables graphical output in Maxima sessions with emacs"
234 -HOMEPAGE="https://sites.google.com/site/imaximaimath/"
235 -SRC_URI="https://sites.google.com/site/imaximaimath/download-and-install/${MY_P}.tar.gz"
236 -
237 -LICENSE="GPL-2+"
238 -SLOT="0"
239 -KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
240 -IUSE="examples"
241 -
242 -# texlive-latexrecommended needed for breqn.sty
243 -RDEPEND="virtual/latex-base
244 - app-text/ghostscript-gpl
245 - >=dev-texlive/texlive-latexrecommended-2012
246 - >=sci-mathematics/maxima-5.29"
247 -
248 -S="${WORKDIR}/${MY_P}"
249 -ELISP_PATCHES="${P}-1.03.patch ${P}-mlabel.patch"
250 -ELISP_REMOVE="imaxima.info" # remove broken Info file (will be recreated)
251 -SITEFILE="50${PN}-gentoo.el"
252 -
253 -src_configure() {
254 - econf \
255 - --with-lispdir="${EPREFIX}${SITELISP}/${PN}" \
256 - EMACS="${EMACS} ${EMACSFLAGS}"
257 -}
258 -
259 -src_compile() {
260 - default
261 -}
262 -
263 -src_install() {
264 - emake DESTDIR="${D}" install
265 - elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
266 - dodoc ChangeLog NEWS README
267 -
268 - if use examples; then
269 - docinto imath-example
270 - dodoc imath-example/*.txt
271 - dohtml -r imath-example/.
272 - fi
273 -}
274
275 diff --git a/app-emacs/imaxima/metadata.xml b/app-emacs/imaxima/metadata.xml
276 deleted file mode 100644
277 index 0bc20375a5..0000000000
278 --- a/app-emacs/imaxima/metadata.xml
279 +++ /dev/null
280 @@ -1,21 +0,0 @@
281 -<?xml version="1.0" encoding="UTF-8"?>
282 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
283 -<pkgmetadata>
284 -<maintainer type="project">
285 - <email>gnu-emacs@g.o</email>
286 - <name>Gentoo GNU Emacs project</name>
287 -</maintainer>
288 -<maintainer type="project">
289 - <email>sci-mathematics@g.o</email>
290 - <name>Gentoo Mathematics Project</name>
291 -</maintainer>
292 -<longdescription lang="en">
293 - Imaxima provides support for interacting with the computer algebra system
294 - Maxima in an Emacs buffer. Imaxima processes the output from Maxima with TeX
295 - and inserts the resulting image in the buffer. The command imaxima provides
296 - a simple comint derived CLI mode. The command imaxima-latex prepares a LaTeX
297 - version of the Maxima buffer. Imaxima can also be hooked in to the Emacs
298 - mode included with Maxima, which provides more key bindings and other
299 - conveniences.
300 -</longdescription>
301 -</pkgmetadata>