1 |
grozin 14/09/24 13:35:00 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gcl-2.6.11.ebuild |
5 |
Log: |
6 |
Version bump |
7 |
|
8 |
(Portage version: 2.2.13/cvs/Linux i686, signed Manifest commit with key 0x3AFFCE974D34BD8C!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.67 dev-lisp/gcl/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lisp/gcl/ChangeLog?rev=1.67&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lisp/gcl/ChangeLog?rev=1.67&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lisp/gcl/ChangeLog?r1=1.66&r2=1.67 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-lisp/gcl/ChangeLog,v |
20 |
retrieving revision 1.66 |
21 |
retrieving revision 1.67 |
22 |
diff -u -r1.66 -r1.67 |
23 |
--- ChangeLog 11 Jul 2014 08:50:33 -0000 1.66 |
24 |
+++ ChangeLog 24 Sep 2014 13:35:00 -0000 1.67 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-lisp/gcl |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-lisp/gcl/ChangeLog,v 1.66 2014/07/11 08:50:33 patrick Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/gcl/ChangeLog,v 1.67 2014/09/24 13:35:00 grozin Exp $ |
30 |
+ |
31 |
+*gcl-2.6.11 (24 Sep 2014) |
32 |
+ |
33 |
+ 24 Sep 2014; Andrey Grozin <grozin@g.o> +gcl-2.6.11.ebuild: |
34 |
+ Version bump |
35 |
|
36 |
11 Jul 2014; Patrick Lauer <patrick@g.o> gcl-2.6.10.ebuild: |
37 |
Stable on amd64 #511170 |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-lisp/gcl/gcl-2.6.11.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lisp/gcl/gcl-2.6.11.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lisp/gcl/gcl-2.6.11.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: gcl-2.6.11.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2014 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-lisp/gcl/gcl-2.6.11.ebuild,v 1.1 2014/09/24 13:35:00 grozin Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
inherit elisp-common eutils flag-o-matic |
54 |
|
55 |
DESCRIPTION="GNU Common Lisp" |
56 |
HOMEPAGE="http://www.gnu.org/software/gcl/gcl.html" |
57 |
SRC_URI="ftp://ftp.gnu.org/gnu/gcl/${P}.tar.gz http://dev.gentoo.org/~grozin/${P}-fedora.tar.bz2" |
58 |
|
59 |
LICENSE="LGPL-2 GPL-2" |
60 |
SLOT="0" |
61 |
KEYWORDS="~amd64 ~arm ~x86" |
62 |
IUSE="+ansi athena emacs +readline tk X" |
63 |
|
64 |
# See bug #205803 |
65 |
RESTRICT="strip" |
66 |
|
67 |
RDEPEND="emacs? ( virtual/emacs ) |
68 |
readline? ( sys-libs/readline ) |
69 |
athena? ( x11-libs/libXaw ) |
70 |
>=dev-libs/gmp-4.1 |
71 |
tk? ( dev-lang/tk ) |
72 |
X? ( x11-libs/libXt x11-libs/libXext x11-libs/libXmu x11-libs/libXaw ) |
73 |
virtual/latex-base" |
74 |
DEPEND="${RDEPEND} |
75 |
virtual/texi2dvi |
76 |
>=app-text/texi2html-1.64 |
77 |
>=sys-devel/autoconf-2.52" |
78 |
|
79 |
S="${WORKDIR}"/${PN} |
80 |
|
81 |
src_prepare() { |
82 |
mv "${WORKDIR}"/fedora/info/* info/ |
83 |
cp -p /usr/share/texmf-dist/tex/texinfo/texinfo.tex info/ |
84 |
find . -type f -perm /0111 | xargs chmod a-x |
85 |
chmod a+x add-defs add-defs1 config.guess config.sub configure install.sh |
86 |
chmod a+x bin/info bin/info1 gcl-tk/gcltksrv.in gcl-tk/ngcltksrv mp/gcclab |
87 |
chmod a+x o/egrep-def utils/replace xbin/* |
88 |
|
89 |
# fedora patches |
90 |
epatch "${WORKDIR}"/fedora/fd-leak.patch |
91 |
epatch "${WORKDIR}"/fedora/latex.patch |
92 |
epatch "${WORKDIR}"/fedora/texinfo.patch |
93 |
epatch "${WORKDIR}"/fedora/elisp.patch |
94 |
epatch "${WORKDIR}"/fedora/selinux.patch |
95 |
epatch "${WORKDIR}"/fedora/rename.patch |
96 |
epatch "${WORKDIR}"/fedora/getcwd.patch |
97 |
epatch "${WORKDIR}"/fedora/plt.patch |
98 |
epatch "${WORKDIR}"/fedora/ellipsis.patch |
99 |
epatch "${WORKDIR}"/fedora/reloc-type.patch |
100 |
epatch "${WORKDIR}"/fedora/infrastructure.patch |
101 |
epatch "${WORKDIR}"/fedora/extension.patch |
102 |
epatch "${WORKDIR}"/fedora/unrandomize.patch |
103 |
epatch "${WORKDIR}"/fedora/asm-signal-h.patch |
104 |
epatch "${WORKDIR}"/fedora/largefile.patch |
105 |
epatch "${WORKDIR}"/fedora/arm.patch |
106 |
|
107 |
sed -e 's|"-fomit-frame-pointer"|""|' -i configure |
108 |
sed -e 's|@EXT@||g' debian/in.gcl.1 > gcl.1 |
109 |
} |
110 |
|
111 |
src_configure() { |
112 |
strip-flags |
113 |
filter-flags -fstack-protector -fstack-protector-all |
114 |
|
115 |
local tcl="" |
116 |
if use tk; then |
117 |
tcl="--enable-tclconfig=/usr/lib --enable-tkconfig=/usr/lib" |
118 |
fi |
119 |
|
120 |
econf --enable-dynsysgmp \ |
121 |
--disable-xdr \ |
122 |
--enable-emacsdir=/usr/share/emacs/site-lisp/gcl \ |
123 |
--enable-infodir=/usr/share/info \ |
124 |
$(use_enable readline) \ |
125 |
$(use_enable ansi) \ |
126 |
$(use_enable athena xgcl) \ |
127 |
$(use_with X x) \ |
128 |
${tcl} |
129 |
} |
130 |
|
131 |
src_compile() { |
132 |
emake -j1 |
133 |
emake -C info gcl.info |
134 |
if use athena; then |
135 |
pushd xgcl-2 > /dev/null |
136 |
pdflatex dwdoc.tex |
137 |
popd > /dev/null |
138 |
fi |
139 |
} |
140 |
|
141 |
src_test() { |
142 |
local make_ansi_tests_clean="rm -f test.out *.fasl *.o *.so *~ *.fn *.x86f *.fasl *.ufsl" |
143 |
if use ansi; then |
144 |
cd ansi-tests |
145 |
|
146 |
( make clean && make test-unixport ) \ |
147 |
|| die "make ansi-tests failed!" |
148 |
|
149 |
cat "${FILESDIR}/bootstrap-gcl" \ |
150 |
| ../unixport/saved_ansi_gcl |
151 |
|
152 |
cat "${FILESDIR}/bootstrap-gcl" \ |
153 |
|sed s/bootstrapped_ansi_gcl/bootstrapped_r_ansi_gcl/g \ |
154 |
| ./bootstrapped_ansi_gcl |
155 |
|
156 |
( ${make_ansi_tests_clean} && \ |
157 |
echo "(load \"gclload.lsp\")" \ |
158 |
| ./bootstrapped_r_ansi_gcl ) \ |
159 |
|| die "Phase 2, bootstraped compiler failed in tests" |
160 |
fi |
161 |
} |
162 |
|
163 |
src_install() { |
164 |
emake DESTDIR="${D}" install |
165 |
rm -rf "${D}"usr/share/doc |
166 |
rm -rf "${D}"usr/share/emacs |
167 |
|
168 |
rm elisp/add-defaults.el |
169 |
dodoc readme* RELEASE* ChangeLog* doc/* |
170 |
doman gcl.1 |
171 |
doinfo info/*.info* |
172 |
dohtml -r info/gcl-si info/gcl-tk |
173 |
|
174 |
if use emacs; then |
175 |
elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el |
176 |
elisp-install ${PN} elisp/*.el |
177 |
fi |
178 |
|
179 |
insinto /usr/share/doc/${PF} |
180 |
doins info/*.pdf |
181 |
if use athena; then |
182 |
pushd xgcl-2 > /dev/null |
183 |
insinto /usr/share/doc/${PF} |
184 |
doins *.pdf |
185 |
popd > /dev/null |
186 |
fi |
187 |
} |
188 |
|
189 |
pkg_postinst() { |
190 |
use emacs && elisp-site-regen |
191 |
} |
192 |
|
193 |
pkg_postrm() { |
194 |
use emacs && elisp-site-regen |
195 |
} |