1 |
grozin 14/04/28 03:15:51 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: sbcl-1.1.17.ebuild |
5 |
Removed: sbcl-1.1.11.ebuild sbcl-1.1.10.ebuild |
6 |
sbcl-1.1.14.ebuild sbcl-1.1.12.ebuild |
7 |
Log: |
8 |
Version bump, cleaning old |
9 |
|
10 |
(Portage version: 2.2.10/cvs/Linux i686, signed Manifest commit with key 0x3AFFCE974D34BD8C!) |
11 |
|
12 |
Revision Changes Path |
13 |
1.202 dev-lisp/sbcl/ChangeLog |
14 |
|
15 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lisp/sbcl/ChangeLog?rev=1.202&view=markup |
16 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lisp/sbcl/ChangeLog?rev=1.202&content-type=text/plain |
17 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lisp/sbcl/ChangeLog?r1=1.201&r2=1.202 |
18 |
|
19 |
Index: ChangeLog |
20 |
=================================================================== |
21 |
RCS file: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/ChangeLog,v |
22 |
retrieving revision 1.201 |
23 |
retrieving revision 1.202 |
24 |
diff -u -r1.201 -r1.202 |
25 |
--- ChangeLog 9 Mar 2014 14:18:01 -0000 1.201 |
26 |
+++ ChangeLog 28 Apr 2014 03:15:51 -0000 1.202 |
27 |
@@ -1,6 +1,13 @@ |
28 |
# ChangeLog for dev-lisp/sbcl |
29 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
30 |
-# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/ChangeLog,v 1.201 2014/03/09 14:18:01 grozin Exp $ |
31 |
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/ChangeLog,v 1.202 2014/04/28 03:15:51 grozin Exp $ |
32 |
+ |
33 |
+*sbcl-1.1.17 (28 Apr 2014) |
34 |
+ |
35 |
+ 28 Apr 2014; Andrey Grozin <grozin@g.o> -sbcl-1.1.10.ebuild, |
36 |
+ -sbcl-1.1.11.ebuild, -sbcl-1.1.12.ebuild, -sbcl-1.1.14.ebuild, |
37 |
+ +sbcl-1.1.17.ebuild: |
38 |
+ Version bump, cleaning old |
39 |
|
40 |
*sbcl-1.1.16 (09 Mar 2014) |
41 |
|
42 |
|
43 |
|
44 |
|
45 |
1.1 dev-lisp/sbcl/sbcl-1.1.17.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lisp/sbcl/sbcl-1.1.17.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lisp/sbcl/sbcl-1.1.17.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: sbcl-1.1.17.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2014 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/sbcl-1.1.17.ebuild,v 1.1 2014/04/28 03:15:51 grozin Exp $ |
55 |
|
56 |
EAPI=5 |
57 |
inherit multilib eutils flag-o-matic pax-utils |
58 |
|
59 |
#same order as http://www.sbcl.org/platform-table.html |
60 |
BV_X86=1.0.58 |
61 |
BV_AMD64=1.1.17 |
62 |
BV_PPC=1.0.28 |
63 |
BV_SPARC=1.0.28 |
64 |
BV_ALPHA=1.0.28 |
65 |
|
66 |
DESCRIPTION="Steel Bank Common Lisp (SBCL) is an implementation of ANSI Common Lisp." |
67 |
HOMEPAGE="http://sbcl.sourceforge.net/" |
68 |
SRC_URI="mirror://sourceforge/sbcl/${P}-source.tar.bz2 |
69 |
x86? ( mirror://sourceforge/sbcl/${PN}-${BV_X86}-x86-linux-binary.tar.bz2 ) |
70 |
amd64? ( mirror://sourceforge/sbcl/${PN}-${BV_AMD64}-x86-64-linux-binary.tar.bz2 ) |
71 |
ppc? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC}-powerpc-linux-binary.tar.bz2 ) |
72 |
sparc? ( mirror://sourceforge/sbcl/${PN}-${BV_SPARC}-sparc-linux-binary.tar.bz2 ) |
73 |
alpha? ( mirror://sourceforge/sbcl/${PN}-${BV_ALPHA}-alpha-linux-binary.tar.bz2 )" |
74 |
|
75 |
LICENSE="MIT" |
76 |
SLOT="0/${PV}" |
77 |
KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
78 |
IUSE="debug doc source +threads +unicode zlib" |
79 |
|
80 |
CDEPEND=">=dev-lisp/asdf-2.33-r3:=" |
81 |
DEPEND="${CDEPEND} |
82 |
doc? ( sys-apps/texinfo >=media-gfx/graphviz-2.26.0 )" |
83 |
RDEPEND="${CDEPEND} |
84 |
elibc_glibc? ( >=sys-libs/glibc-2.3 || ( <sys-libs/glibc-2.6[nptl] >=sys-libs/glibc-2.6 ) )" |
85 |
|
86 |
# Disable warnings about executable stacks, as this won't be fixed soon by upstream |
87 |
QA_EXECSTACK="usr/bin/sbcl" |
88 |
|
89 |
CONFIG="${S}/customize-target-features.lisp" |
90 |
ENVD="${T}/50sbcl" |
91 |
|
92 |
# Prevent ASDF from using the system libraries |
93 |
CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" |
94 |
ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" |
95 |
|
96 |
usep() { |
97 |
use ${1} && echo "true" || echo "false" |
98 |
} |
99 |
|
100 |
sbcl_feature() { |
101 |
echo "$( [[ ${1} == "true" ]] && echo "(enable ${2})" || echo "(disable ${2})")" >> "${CONFIG}" |
102 |
} |
103 |
|
104 |
sbcl_apply_features() { |
105 |
cat > "${CONFIG}" <<'EOF' |
106 |
(lambda (list) |
107 |
(flet ((enable (x) (pushnew x list)) |
108 |
(disable (x) (setf list (remove x list)))) |
109 |
EOF |
110 |
if use x86 || use amd64; then |
111 |
sbcl_feature "$(usep threads)" ":sb-thread" |
112 |
fi |
113 |
sbcl_feature "true" ":sb-ldb" |
114 |
sbcl_feature "false" ":sb-test" |
115 |
sbcl_feature "$(usep unicode)" ":sb-unicode" |
116 |
sbcl_feature "$(usep zlib)" ":sb-core-compression" |
117 |
sbcl_feature "$(usep debug)" ":sb-xref-for-internals" |
118 |
cat >> "${CONFIG}" <<'EOF' |
119 |
) |
120 |
list) |
121 |
EOF |
122 |
cat "${CONFIG}" |
123 |
} |
124 |
|
125 |
src_unpack() { |
126 |
unpack ${A} |
127 |
mv sbcl-*-linux sbcl-binary || die |
128 |
cd "${S}" |
129 |
} |
130 |
|
131 |
src_prepare() { |
132 |
epatch "${FILESDIR}"/gentoo-fix_install_man.patch |
133 |
epatch "${FILESDIR}"/gentoo-fix_linux-os-c.patch |
134 |
# bug #468482 |
135 |
epatch "${FILESDIR}"/concurrency-test.patch |
136 |
# bug #486552 |
137 |
epatch "${FILESDIR}"/bsd-sockets-test.patch |
138 |
|
139 |
# To make the hardened compiler NOT compile with -fPIE -pie |
140 |
if gcc-specs-pie ; then |
141 |
einfo "Disabling PIE..." |
142 |
epatch "${FILESDIR}"/gentoo-fix_nopie_for_hardened_toolchain.patch |
143 |
fi |
144 |
|
145 |
cp /usr/share/common-lisp/source/asdf/build/asdf.lisp contrib/asdf/ || die |
146 |
|
147 |
use source && sed 's%"$(BUILD_ROOT)%$(MODULE).lisp "$(BUILD_ROOT)%' -i contrib/vanilla-module.mk |
148 |
|
149 |
# Some shells(such as dash) don't have "time" as builtin |
150 |
# and we don't want to DEPEND on sys-process/time |
151 |
sed "s,^time ,," -i make.sh || die |
152 |
sed "s,/lib,/$(get_libdir),g" -i install.sh || die |
153 |
# #define SBCL_HOME ... |
154 |
sed "s,/usr/local/lib,/usr/$(get_libdir),g" -i src/runtime/runtime.c || die |
155 |
|
156 |
find . -type f -name .cvsignore -delete |
157 |
} |
158 |
|
159 |
src_configure() { |
160 |
# customizing SBCL version as per |
161 |
# http://sbcl.cvs.sourceforge.net/sbcl/sbcl/doc/PACKAGING-SBCL.txt?view=markup |
162 |
echo -e ";;; Auto-generated by Gentoo\n\"gentoo-${PR}\"" > branch-version.lisp-expr |
163 |
|
164 |
# applying customizations |
165 |
sbcl_apply_features |
166 |
} |
167 |
|
168 |
src_compile() { |
169 |
local bindir="${WORKDIR}"/sbcl-binary |
170 |
|
171 |
strip-unsupported-flags ; filter-flags -fomit-frame-pointer |
172 |
|
173 |
if host-is-pax ; then |
174 |
# To disable PaX on hardened systems |
175 |
pax-mark -C "${bindir}"/src/runtime/sbcl |
176 |
pax-mark -mr "${bindir}"/src/runtime/sbcl |
177 |
|
178 |
# Hack to disable PaX on second GENESIS stage |
179 |
sed -i -e '/load/!s/^echo \/\/doing warm.*$/&\npaxctl -C \.\/src\/runtime\/sbcl\npaxctl -mprexs \.\/src\/runtime\/sbcl/' \ |
180 |
"${S}"/make-target-2.sh || die "Cannot disable PaX on second GENESIS runtime" |
181 |
fi |
182 |
|
183 |
# clear the environment to get rid of non-ASCII strings, see bug 174702 |
184 |
# set HOME for paludis |
185 |
env - HOME="${T}" \ |
186 |
CC="$(tc-getCC)" AS="$(tc-getAS)" LD="$(tc-getLD)" \ |
187 |
CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" ASFLAGS="${ASFLAGS}" LDFLAGS="${LDFLAGS}" \ |
188 |
GNUMAKE=make ./make.sh \ |
189 |
"sh ${bindir}/run-sbcl.sh --no-sysinit --no-userinit --disable-debugger" \ |
190 |
|| die "make failed" |
191 |
|
192 |
# need to set HOME because libpango(used by graphviz) complains about it |
193 |
if use doc; then |
194 |
env - HOME="${T}" \ |
195 |
CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \ |
196 |
ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \ |
197 |
make -C doc/manual info html || die "Cannot build manual" |
198 |
env - HOME="${T}" \ |
199 |
CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \ |
200 |
ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \ |
201 |
make -C doc/internals info html || die "Cannot build internal docs" |
202 |
fi |
203 |
} |
204 |
|
205 |
src_test() { |
206 |
ewarn "Unfortunately, it is known that some tests fail eg." |
207 |
ewarn "run-program.impure.lisp. This is an issue of the upstream's" |
208 |
ewarn "development and not of Gentoo's side. Please, before filing" |
209 |
ewarn "any bug(s) search for older submissions. Thank you." |
210 |
time ( cd tests && sh run-tests.sh ) |
211 |
} |
212 |
|
213 |
src_install() { |
214 |
# install system-wide initfile |
215 |
dodir /etc/ |
216 |
cat > "${D}"/etc/sbclrc <<EOF |
217 |
;;; The following is required if you want source location functions to |
218 |
;;; work in SLIME, for example. |
219 |
|
220 |
(setf (logical-pathname-translations "SYS") |
221 |
'(("SYS:SRC;**;*.*.*" #p"/usr/$(get_libdir)/sbcl/src/**/*.*") |
222 |
("SYS:CONTRIB;**;*.*.*" #p"/usr/$(get_libdir)/sbcl/**/*.*"))) |
223 |
|
224 |
;;; Setup ASDF2 |
225 |
(load "/etc/common-lisp/gentoo-init.lisp") |
226 |
EOF |
227 |
|
228 |
# Install documentation |
229 |
unset SBCL_HOME |
230 |
INSTALL_ROOT="${D}/usr" LIB_DIR="/usr/$(get_libdir)" DOC_DIR="${D}/usr/share/doc/${PF}" \ |
231 |
sh install.sh || die "install.sh failed" |
232 |
|
233 |
# rm empty directories lest paludis complain about this |
234 |
find "${D}" -empty -type d -exec rmdir -v {} + |
235 |
|
236 |
if use doc; then |
237 |
dohtml -r doc/manual/ |
238 |
doinfo doc/manual/*.info* |
239 |
dohtml -r doc/internals/sbcl-internals |
240 |
doinfo doc/internals/sbcl-internals.info |
241 |
docinto internals-notes && dodoc doc/internals-notes/* |
242 |
else |
243 |
rm -Rv "${D}/usr/share/doc/${PF}" || die |
244 |
fi |
245 |
|
246 |
dodoc BUGS CREDITS INSTALL NEWS OPTIMIZATIONS PRINCIPLES README TLA TODO |
247 |
|
248 |
# install the SBCL source |
249 |
if use source; then |
250 |
./clean.sh |
251 |
cp -av src "${D}/usr/$(get_libdir)/sbcl/" || die |
252 |
fi |
253 |
|
254 |
# necessary for running newly-saved images |
255 |
echo "SBCL_HOME=/usr/$(get_libdir)/${PN}" > "${ENVD}" |
256 |
echo "SBCL_SOURCE_ROOT=/usr/$(get_libdir)/${PN}/src" >> "${ENVD}" |
257 |
doenvd "${ENVD}" |
258 |
} |