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