1 |
grozin 11/12/21 10:26:25 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gcl-2.6.8_pre20111221.ebuild |
5 |
Log: |
6 |
Current cvs snapshot (masked), useful for maxima |
7 |
|
8 |
(Portage version: 2.2.0_alpha81/cvs/Linux i686) |
9 |
|
10 |
Revision Changes Path |
11 |
1.56 dev-lisp/gcl/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lisp/gcl/ChangeLog?rev=1.56&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lisp/gcl/ChangeLog?rev=1.56&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lisp/gcl/ChangeLog?r1=1.55&r2=1.56 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-lisp/gcl/ChangeLog,v |
20 |
retrieving revision 1.55 |
21 |
retrieving revision 1.56 |
22 |
diff -u -r1.55 -r1.56 |
23 |
--- ChangeLog 21 Jul 2009 16:30:28 -0000 1.55 |
24 |
+++ ChangeLog 21 Dec 2011 10:26:25 -0000 1.56 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for dev-lisp/gcl |
27 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-lisp/gcl/ChangeLog,v 1.55 2009/07/21 16:30:28 fauli Exp $ |
29 |
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/gcl/ChangeLog,v 1.56 2011/12/21 10:26:25 grozin Exp $ |
31 |
+ |
32 |
+*gcl-2.6.8_pre20111221 (21 Dec 2011) |
33 |
+ |
34 |
+ 21 Dec 2011; Andrey Grozin <grozin@g.o> +gcl-2.6.8_pre20111221.ebuild, |
35 |
+ +files/gcl-default-el.patch: |
36 |
+ Current cvs snapshot (masked), useful for maxima |
37 |
|
38 |
21 Jul 2009; Christian Faulhammer <fauli@g.o> |
39 |
gcl-2.6.8_pre20090419.ebuild: |
40 |
|
41 |
|
42 |
|
43 |
1.1 dev-lisp/gcl/gcl-2.6.8_pre20111221.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lisp/gcl/gcl-2.6.8_pre20111221.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lisp/gcl/gcl-2.6.8_pre20111221.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: gcl-2.6.8_pre20111221.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2011 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/dev-lisp/gcl/gcl-2.6.8_pre20111221.ebuild,v 1.1 2011/12/21 10:26:25 grozin Exp $ |
53 |
|
54 |
EAPI=3 |
55 |
|
56 |
#removing flag-o-matic results in make install failing due to a segfault |
57 |
inherit elisp-common flag-o-matic |
58 |
|
59 |
DESCRIPTION="GNU Common Lisp" |
60 |
HOMEPAGE="http://www.gnu.org/software/gcl/gcl.html" |
61 |
SRC_URI="http://dev.gentoo.org/~grozin/${P}.tar.bz2" |
62 |
|
63 |
LICENSE="GPL-2" |
64 |
SLOT="0" |
65 |
KEYWORDS="~x86" |
66 |
IUSE="+ansi debug doc emacs +readline tk X" |
67 |
|
68 |
# See bug #205803 |
69 |
RESTRICT="strip" |
70 |
|
71 |
RDEPEND="emacs? ( virtual/emacs ) |
72 |
readline? ( sys-libs/readline ) |
73 |
>=dev-libs/gmp-4.1 |
74 |
tk? ( dev-lang/tk ) |
75 |
X? ( x11-libs/libXt x11-libs/libXext x11-libs/libXmu x11-libs/libXaw ) |
76 |
virtual/latex-base" |
77 |
DEPEND="${RDEPEND} |
78 |
doc? ( virtual/texi2dvi ) |
79 |
>=app-text/texi2html-1.64 |
80 |
>=sys-devel/autoconf-2.52" |
81 |
|
82 |
src_prepare() { |
83 |
epatch "${FILESDIR}"/${PN}-default-el.patch |
84 |
} |
85 |
|
86 |
src_configure() { |
87 |
local myconfig="" |
88 |
if use tk; then |
89 |
myconfig="${myconfig} --enable-tkconfig=/usr/lib --enable-tclconfig=/usr/lib" |
90 |
fi |
91 |
myconfig="${myconfig} \ |
92 |
--enable-emacsdir=/usr/share/emacs/site-lisp/gcl \ |
93 |
--enable-dynsysgmp \ |
94 |
--disable-xdr |
95 |
$(use_enable readline) \ |
96 |
$(use_with X x) \ |
97 |
$(use_enable debug) \ |
98 |
$(use_enable ansi)" |
99 |
|
100 |
einfo "Configuring with the following: |
101 |
${myconfig}" |
102 |
econf ${myconfig} |
103 |
} |
104 |
|
105 |
src_compile() { |
106 |
make || die "make failed" |
107 |
sed -e 's,@EXT@,,g' debian/in.gcl.1 >gcl.1 |
108 |
} |
109 |
|
110 |
src_test() { |
111 |
local make_ansi_tests_clean="rm -f test.out *.fasl *.o \ |
112 |
*.so *~ *.fn *.x86f *.fasl *.ufsl" |
113 |
if use ansi; then |
114 |
cd ansi-tests |
115 |
|
116 |
( make clean && make test-unixport ) \ |
117 |
|| die "make ansi-tests failed!" |
118 |
|
119 |
cat "${FILESDIR}/bootstrap-gcl" \ |
120 |
| ../unixport/saved_ansi_gcl |
121 |
|
122 |
cat "${FILESDIR}/bootstrap-gcl" \ |
123 |
|sed s/bootstrapped_ansi_gcl/bootstrapped_r_ansi_gcl/g \ |
124 |
| ./bootstrapped_ansi_gcl |
125 |
|
126 |
( ${make_ansi_tests_clean} && \ |
127 |
echo "(load \"gclload.lsp\")" \ |
128 |
| ./bootstrapped_r_ansi_gcl ) \ |
129 |
|| die "Phase 2, bootstraped compiler failed in tests" |
130 |
|
131 |
else |
132 |
|
133 |
ewarn "Upstream provides tests only for ansi-gcl." |
134 |
ewarn "Please emerge with ansi USE flag enabled" |
135 |
ewarn "if you wnat to run the ansi tests." |
136 |
|
137 |
cat "${FILESDIR}/bootstrap-gcl" \ |
138 |
| sed s/bootstrapped_ansi_gcl/bootstrapped_gcl/g \ |
139 |
| unixport/saved_gcl |
140 |
|
141 |
cat "${FILESDIR}/bootstrap-gcl" \ |
142 |
| sed s/bootstrapped_ansi_gcl/bootstrapped_r_gcl/g \ |
143 |
| ./bootstrapped_gcl |
144 |
|
145 |
for x in "./bootstrapped_r_gcl" "unixport/saved_gcl" ; do |
146 |
echo "(compiler::emit-fn t)" \ |
147 |
| ${x} \ |
148 |
|| die "Phase 2, bootstraped compiler failed in tests" |
149 |
done |
150 |
fi |
151 |
} |
152 |
|
153 |
src_install() { |
154 |
make DESTDIR="${D}" install || die "make install failed" |
155 |
rm -rf "${D}"usr/share/doc/${PN}-si "${D}"usr/share/doc/${PN}-tk |
156 |
|
157 |
dosed /usr/bin/gcl |
158 |
fperms 0755 /usr/bin/gcl |
159 |
|
160 |
dodoc readme* RELEASE* ChangeLog* doc/* |
161 |
doman gcl.1 |
162 |
doinfo info/*.info* |
163 |
|
164 |
if use emacs; then |
165 |
mv "${D}"usr/share/emacs/site-lisp/${PN}/add-default.el "${T}"/50${PN}-gentoo.el |
166 |
elisp-site-file-install "${T}"/50${PN}-gentoo.el |
167 |
elisp-install ${PN} elisp/* |
168 |
fperms 0644 /usr/share/emacs/site-lisp/gcl/* |
169 |
else |
170 |
rm -rf "${D}"usr/share/emacs |
171 |
fi |
172 |
|
173 |
if use doc; then |
174 |
mv "${D}"usr/share/doc/*.dvi "${D}"usr/share/doc/dwdoc* "${D}"usr/share/doc/${PF}/ |
175 |
else |
176 |
rm -rf "${D}"usr/share/doc/*.dvi "${D}"usr/share/doc/dwdoc* |
177 |
fi |
178 |
} |
179 |
|
180 |
pkg_postinst() { |
181 |
use emacs && elisp-site-regen |
182 |
} |
183 |
|
184 |
pkg_postrm() { |
185 |
use emacs && elisp-site-regen |
186 |
} |