Gentoo Archives: gentoo-commits

From: "Marijn Schouten (hkbst)" <hkbst@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lisp/clisp: ChangeLog clisp-2.46.ebuild
Date: Thu, 03 Jul 2008 17:14:23
Message-Id: E1KESNt-0006kg-Fd@stork.gentoo.org
1 hkbst 08/07/03 17:14:17
2
3 Modified: ChangeLog
4 Added: clisp-2.46.ebuild
5 Log:
6 bump
7 (Portage version: 2.2_rc1/cvs/Linux 2.6.23-gentoo-r8 x86_64)
8
9 Revision Changes Path
10 1.80 dev-lisp/clisp/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lisp/clisp/ChangeLog?rev=1.80&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lisp/clisp/ChangeLog?rev=1.80&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lisp/clisp/ChangeLog?r1=1.79&r2=1.80
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-lisp/clisp/ChangeLog,v
19 retrieving revision 1.79
20 retrieving revision 1.80
21 diff -u -r1.79 -r1.80
22 --- ChangeLog 21 May 2008 15:59:59 -0000 1.79
23 +++ ChangeLog 3 Jul 2008 17:14:16 -0000 1.80
24 @@ -1,6 +1,32 @@
25 # ChangeLog for dev-lisp/clisp
26 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-lisp/clisp/ChangeLog,v 1.79 2008/05/21 15:59:59 dev-zero Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/clisp/ChangeLog,v 1.80 2008/07/03 17:14:16 hkbst Exp $
29 +
30 +*clisp-2.46 (03 Jul 2008)
31 +
32 + 03 Jul 2008; Marijn Schouten <hkBst@g.o> +clisp-2.46.ebuild:
33 + bump:
34 + User visible changes
35 + --------------------
36 + * CLISP built natively on 64-bit platforms (i.e., with 64-bit pointers)
37 + now has :WORD-SIZE=64 in *FEATURES*.
38 + See <http://clisp.cons.org/impnotes/features.html> for details.
39 + * Module syscalls now offers OS:ERRNO and OS:STRERROR (for the sake of
40 + FFI modules).
41 + See <http://clisp.cons.org/impnotes/syscalls.html#errno> for details.
42 + * Modules MIT-CLX and NEW-CLX export a new macro XLIB:WITH-OPEN-DISPLAY.
43 + * Module netica has been upgraded to the Netica C API version 3.25 (from 2.15).
44 + See <http://clisp.cons.org/impnotes/netica.html> for details.
45 + * Module libsvm has been upgraded to the upstream version 2.86.
46 + See <http://clisp.cons.org/impnotes/libsvm.html> for details.
47 + * Bug fixes:
48 + + Work around the absence of tgamma() on solaris. [ 1966375 ]
49 + + Avoid a rare segfault on SIGHUP. [ 1956715 ]
50 + + Improve module portability to systems with non-GNU make. [ 1970141 ]
51 + + Fix GRAY:STREAM-READ-SEQUENCE and GRAY:STREAM-WRITE-SEQUENCE. [ 1975798 ]
52 + + Fix the remaining bugs in special bindings in evaluated code on
53 + TYPECODES (64-bit) platforms.
54 + + Fix SOCKET:SOCKET-CONNECT with timeout to a dead port. [ 2007052 ]
55
56 21 May 2008; Tiziano Müller <dev-zero@g.o> clisp-2.43-r1.ebuild,
57 clisp-2.44.1.ebuild, clisp-2.44.1-r1.ebuild:
58
59
60
61 1.1 dev-lisp/clisp/clisp-2.46.ebuild
62
63 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lisp/clisp/clisp-2.46.ebuild?rev=1.1&view=markup
64 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lisp/clisp/clisp-2.46.ebuild?rev=1.1&content-type=text/plain
65
66 Index: clisp-2.46.ebuild
67 ===================================================================
68 # Copyright 1999-2008 Gentoo Foundation
69 # Distributed under the terms of the GNU General Public License v2
70 # $Header: /var/cvsroot/gentoo-x86/dev-lisp/clisp/clisp-2.46.ebuild,v 1.1 2008/07/03 17:14:16 hkbst Exp $
71
72 inherit flag-o-matic eutils toolchain-funcs multilib
73
74 DESCRIPTION="A portable, bytecode-compiled implementation of Common Lisp"
75 HOMEPAGE="http://clisp.sourceforge.net/"
76 SRC_URI="mirror://sourceforge/clisp/${P}.tar.bz2"
77 LICENSE="GPL-2"
78
79 # EAPI="1"
80 SLOT="2"
81 KEYWORDS="~amd64 ~ppc -sparc ~x86"
82 IUSE="hyperspec X new-clx fastcgi gdbm gtk pari pcre postgres readline svm zlib"
83
84 RDEPEND="virtual/libiconv
85 >=dev-libs/libsigsegv-2.4
86 >=dev-libs/ffcall-1.10
87 fastcgi? ( dev-libs/fcgi )
88 gdbm? ( sys-libs/gdbm )
89 gtk? ( >=x11-libs/gtk+-2.10 >=gnome-base/libglade-2.6 )
90 pari? ( >=sci-mathematics/pari-2.3.0 )
91 postgres? ( >=dev-db/postgresql-8.0 )
92 readline? ( sys-libs/readline )
93 pcre? ( dev-libs/libpcre )
94 svm? ( sci-libs/libsvm )
95 zlib? ( sys-libs/zlib )
96 X? ( new-clx? ( x11-libs/libXpm ) )
97 hyperspec? ( dev-lisp/hyperspec )"
98 # berkdb? ( sys-libs/db:4.5 )
99
100 DEPEND="${RDEPEND} X? ( new-clx? ( x11-misc/imake x11-proto/xextproto ) )"
101
102 PDEPEND="dev-lisp/gentoo-init"
103
104 PROVIDE="virtual/commonlisp"
105
106 enable_modules() {
107 [[ $# = 0 ]] && die "${FUNCNAME[0]} must receive at least one argument"
108 for m in "$@" ; do
109 einfo "enabling module $m"
110 myconf="${myconf} --with-module=${m}"
111 done
112 }
113
114 BUILDDIR="builddir"
115
116 # modules not enabled:
117 # * berkdb: must figure out a way to make the configure script pick up the
118 # currect version of the library and headers
119 # * dirkey: fails to compile, requiring windows.h, possibly wrong #ifdefs
120 # * matlab, netica: not in portage
121 # * oracle: can't install oracle-instantclient
122
123 src_compile() {
124 # built-in features
125 local myconf="--with-ffcall --with-dynamic-modules"
126 use readline || myconf="${myconf} --with-noreadline"
127
128 # default modules
129 enable_modules wildcard rawsock i18n
130 # optional modules
131 use elibc_glibc && enable_modules bindings/glibc
132 if use X; then
133 if use new-clx; then
134 enable_modules clx/new-clx
135 else
136 enable_modules clx/mit-clx
137 fi
138 fi
139 if use postgres; then
140 enable_modules postgresql
141 CPPFLAGS="-I $(pg_config --includedir)"
142 fi
143 # if use berkdb; then
144 # enable_modules berkley-db
145 # CPPFLAGS="${CPPFLAGS} -I /usr/include/db4.5"
146 # fi
147 use fastcgi && enable_modules fastcgi
148 use gdbm && enable_modules gdbm
149 use gtk && enable_modules gtk2
150 use pari && enable_modules pari
151 use pcre && enable_modules pcre
152 use svm && enable_modules libsvm
153 use zlib && enable_modules zlib
154
155 if use hyperspec; then
156 CLHSROOT="file:///usr/share/doc/hyperspec/HyperSpec/"
157 else
158 CLHSROOT="http://www.lispworks.com/reference/HyperSpec/"
159 fi
160
161 # configure chokes on --infodir option
162 ./configure --prefix=/usr --libdir=/usr/$(get_libdir) \
163 ${myconf} --hyperspec=${CLHSROOT} ${BUILDDIR} || die "./configure failed"
164 cd ${BUILDDIR}
165 sed -i 's,"vi","nano",g' config.lisp
166 IMPNOTES="file://${ROOT%/}/usr/share/doc/${PN}-${PVR}/html/impnotes.html"
167 sed -i "s,http://clisp.cons.org/impnotes/,${IMPNOTES},g" config.lisp
168 # parallel build fails
169 emake -j1 || die "emake failed"
170 }
171
172 src_install() {
173 pushd ${BUILDDIR}
174 make DESTDIR="${D}" prefix=/usr install-bin || die
175 doman clisp.1
176 dodoc SUMMARY README* NEWS MAGIC.add ANNOUNCE clisp.dvi clisp.html
177 chmod a+x "${D}"/usr/$(get_libdir)/clisp-${PV/_*/}/clisp-link
178 # stripping them removes common symbols (defined but unitialised variables)
179 # which are then needed to build modules...
180 export STRIP_MASK="*/usr/$(get_libdir)/clisp-${PV}/*/*"
181 popd
182 dohtml doc/impnotes.{css,html} ${BUILDDIR}/clisp.html doc/clisp.png
183 dodoc ${BUILDDIR}/clisp.ps doc/{editors,CLOS-guide,LISP-tutorial}.txt
184 }
185
186
187
188 --
189 gentoo-commits@l.g.o mailing list