Hello community,
here is the log from the commit of package clisp for openSUSE:Factory
checked in at Mon Jul 19 20:27:18 CEST 2010.
--------
--- clisp/clisp.changes 2010-04-21 16:36:19.000000000 +0200
+++ /mounts/work_src_done/STABLE/clisp/clisp.changes 2010-07-15 15:25:41.000000000 +0200
@@ -1,0 +2,144 @@
+Thu Jul 15 15:09:10 CEST 2010 - werner@suse.de
+
+- Update 2.49
+ * FFI:OPEN-FOREIGN-LIBRARY now accepts the :REQUIRE argument.
+ * New user variable CUSTOM:*USER-LIB-DIRECTORY* is respected by REQUIRE
+ and used by "clisp-link install".
+ Dynamic modules are now the default build option.
+ * Function RENAME-FILE now accepts :IF-EXISTS argument which determines
+ the action when the destination exists, unless, of course, *ANSI* is T.
+ * The replacement value entered by the user in STORE-VALUE and USE-VALUE
+ restarts is now EVALuated.
+ * The old user variable CUSTOM:*PRINT-CLOSURE* now controls interpreted
+ closure output too (RFE#3001956). This is a tricky feature, read up!
+ * Module readline now supports readline 6.1.
+ * Module pcre now supports pcre 8.01.
+ * Module libsvm does not come with the upstream sources anymore, install
+ locally and pass --with-libsvm-prefix to the top-level configure instead.
+ All upstream versions up to 2.91 are supported.
+ * Module berkeley-db now supports Berkeley-DB 4.8.
+ * Module postgresql now supports PostgreSQL 8.4.
+ * Module pari has been updated to support both 64 & 32 bit platforms
+ with and without GMP.
+ * New functions OS:VERSION-COMPARE et al call strverscmp.
+ * Multiple threads of execution are now experimentally supported
+ (not ready for prime time yet).
+ * Module libsvm has been upgraded to the upstream version 2.89.
+ * Module Berkeley-DB now supports Berkeley DB 4.7.
+ (older versions 4.* are, of course, still supported).
+ * Module readline now supports readline 6.0.
+ (older versions 5.* are, of course, still supported).
+ * Passing :EXECUTABLE 0 to EXT:SAVEINITMEM results in an executable
+ image which delegates processing of all the usual CLISP command line
+ options to the :INIT-FUNCTION.
+ * Driver clisp accepts "-b" to print the installation directory.
+ * Add file clisp.m4 so that the packages which use CLISP can check
+ whether it is properly installed and has the required version.
+ * POSIX:COPY-FILE now accepts :METHOD :HARDLINK-OR-COPY.
+ * New function POSIX:WAIT calls waitpid or wait4.
+ * New function EXT:TRIM-IF removes leading and trailing matches.
+ * New user command "LocalSymbols" (abbreviated ":ls").
+ * Commands "add" and "create" replace "add-module-set", "add-module-sets" and
+ "create-module-set" in clisp-link.
+ * New module DBUS interfaces to the D-Bus message bus system.
+ * New function EXT:PROBE-PATHNAME can figure out whether the existing
+ pathname refers to a file or a directory.
+ * New function EXT:CANONICALIZE lets you easily canonicalize a value
+ before processing it.
+ * New user variable CUSTOM:*REOPEN-OPEN-FILE* controls CLISP behavior
+ when opening an already open file.
+ * New SETFable function OS:FILE-SIZE extends FILE-LENGTH to pathname
+ designators and lets you change file size.
+ New function OS:USER-SHELLS returns the list of legal user shells.
+ New SETFable functions OS:HOSTID and OS:DOMAINNAME.
+ * LOAD now uses DIRECTORY only for wild *LOAD-PATHS* components, thus
+ speeding up the most common cases and preventing the denial-of-service
+ attack whereas CLISP would not start if a file with a name
+ incompatible with *PATHNAME-ENCODING* is present in USER-HOMEDIR-PATHNAME.
+ * ROOM now prints some GC statistics and returns the same values as GC.
+ * New user variable CUSTOM:*HTTP-LOG-STREAM* controls EXT:OPEN-HTTP logging.
+ * CLISP built natively on 64-bit platforms (i.e., with 64-bit pointers)
+ now has :WORD-SIZE=64 in *FEATURES*.
+ * Module syscalls now offers OS:ERRNO and OS:STRERROR (for the sake of
+ FFI modules).
+ * Modules MIT-CLX and NEW-CLX export a new macro XLIB:WITH-OPEN-DISPLAY.
+ * Module netica has been upgraded to the Netica C API version 3.25 (from 2.15).
+ * Module libsvm has been upgraded to the upstream version 2.86.
+ * The top-level configure option --build has been replaced by --cbc
+ (Configure/Build/Check) to avoid conflict with the standard autoconf option.
+ * Experimental Just-In-Time Compilation of byte-compiled closures is now
+ done using GNU lightning (this is a configure-time option).
+ * New command-line option -lp adds directories to *LOAD-PATHS*.
+ * New function FFI:OPEN-FOREIGN-LIBRARY allows pre-opening of shared libraries.
+ * New macro EXT:COMPILE-TIME-VALUE allows computing values at file compilation.
+ * New function FFI:FOREIGN-POINTER-INFO allows some introspection.
+ * Versioned library symbols are now accessible via the :VERSION argument of
+ DEF-CALL-OUT and DEF-C-VAR.
+ * New functions GRAY:STREAM-READ-SEQUENCE and GRAY:STREAM-WRITE-SEQUENCE have
+ been added for portability reasons.
+ * New user variable CUSTOM:*SUPPRESS-SIMILAR-CONSTANT-REDEFINITION-WARNING*
+ controls whether the redefinition warning is issues when the new
+ constant value is visually similar to the old one.
+ * REPL commands can now accept arguments.
+ * Bug fixes:
+ + Do not eliminate function calls which are advertised to have
+ exceptional situation in unsafe code (bug#2868166).
+ + Fix an internal error in DECLAIM on bad OPTIMIZE quality (bug#2868147).
+ + CLEAR-INPUT now clears the EOF condition on file streams (bug#2902716).
+ + When quitting on a signal, never enter the debugger (bug#2795278).
+ + Respect :FULL T in DIRECTORY :WILD-INFERIORS (bug#3009966).
+ + Handle TWO-WAY-STREAM and ECHO-STREAM correctly by
+ (SETF STREAM-EXTERNAL-FORMAT) (bug#3020933).
+ + Fix unbuffered output pipe stream initialization (bug#3024887).
+ + Better support of :START and :END arguments in NEW-CLX (bug#2159172).
+ + Fix LOAD-LOGICAL-PATHNAME-TRANSLATIONS when *LOAD-PATHS* contains
+ wild pathnames (introduced in 2.47) (bug#2198109).
+ + Module NEW-CLX now has the XLIB:QUEUE-EVENT function,
+ + Extend the domain of LOG to larger BIGNUMs and RATIOs (bug#1007358).
+ + Avoid a segfault on (EXPT <HUGE> <HUGE>) (bug#2807311).
+ + Fix interaction of finalizers and weak objects (bug#1472478).
+ + Comparison of floats and rationals never underflows (bug#2014262).
+ + When failing to convert a huge LONG-FLOAT to a RATIONAL, signal an
+ ARITHMETIC-ERROR instead of blowing the stack (bug#2015118).
+ + Restored TYPECODES g++ compilation (bug#1385641), which allowed fixing
+ a few GC-safety bugs.
+ + Fixed a segfault when signaling some UNBOUND-VARIABLE errors in some
+ interpreted code on MacOS X (introduced in 2.46) (bug#2020784).
+ + Fixed input after switching a :DOS stream to binary (bug#2022362).
+ + Support circular objects in EQUAL and EQUALP hash-tables (bug#2029069).
+ + Avoid C namespace pollution (bug#2146126).
+ + Fix timeout precision in NEW-CLX (bug#2188102).
+ + Work around the absence of tgamma on solaris (bug#1966375).
+ + Avoid a rare segfault on SIGHUP (bug#1956715).
+ + Improve module portability to systems with non-GNU make (bug#1970141).
+ + Fix GRAY:STREAM-READ-SEQUENCE and GRAY:STREAM-WRITE-SEQUENCE (bug#1975798).
+ + Fix the remaining bugs in special bindings in evaluated code on
+ TYPECODES (64-bit) platforms.
+ + Fix SOCKET:SOCKET-CONNECT with timeout to a dead port (bug#2007052).
+ + Fix handling of quoted objects by READ-PRESERVING-WHITESPACE (bug#1890854).
+ + Fix rectangle count in NEW-CLX XLIB:SET-GCONTEXT-CLIP-MASK (bug#1918017).
+ + Fix argument handling in NEW-CLX XLIB:QUERY-COLORS (bug#1931101).
+ + Fix compilation on systems not supporting returning void (bug#1924506).
+ + Fix TANH floating point overflow for large floats (bug#1683394).
+ + Avoid extra aggressive bignum overflow reporting in READ (bug#1928735).
+ + Improved floating point number formatting. (bug#1790496, bug#1928759)
+ + COMPILE no longer discards MACRO doc strings (bug#1936255).
+ + Improved accuracy of LOG on complex numbers (bug#1934968).
+ + Fix COERCE for compound float result-types (bug#1942246).
+ + Fix $http_proxy parsing (bug#1959436).
+ + Fix LISTEN on buffered streams when the last character was
+ CRLF (bug#1961475).
+ + Cross-compilation process has been restored to its former glory,
+ thanks to the valiant and persistent testing by
+ (bug#1928920, bug#1929496, bug#1929516, bug#1931097)
+ * ANSI compliance:
+ + Implement the ANSI issue COMPILER-DIAGNOSTICS:USE-HANDLER: use the
+ CL Condition System for compiler diagnostics.
+ + STREAM-ELEMENT-TYPE on empty CONCATENATED-STREAMs now returns NIL
+ because nothing can be read from such streams (bug#3014921).
+ + Implement the ANSI (IGNORE #'FUNCTION) declaration.
+ + The sets of declaration and type names are disjoint.
+ + FLET, LABELS and MACROLET respect declarations.
+
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
clisp-2.31-personality.patch
clisp-2.36-alloca.patch
clisp-2.39-berkeley-db.dif
clisp-2.44.1.dif
clisp-2.44.1.tar.bz2
libsigsegv-2.5.tar.bz2
sigseg-configure.diff
New:
----
README.SuSE
clisp-2.49-berkeley-db.dif
clisp-2.49-personality.patch
clisp-2.49.dif
clisp-2.49.tar.bz2
libsigsegv-2.8.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ clisp.spec ++++++
--- /var/tmp/diff_new_pack.7xDC36/_old 2010-07-19 20:27:04.000000000 +0200
+++ /var/tmp/diff_new_pack.7xDC36/_new 2010-07-19 20:27:04.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package clisp (Version 2.44.1)
+# spec file for package clisp (Version 2.49)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -19,8 +19,7 @@
Name: clisp
-# BuildRequires: db43-devel gcc-c++ libstdc++-devel openssl-devel pcre-devel postgresql-devel readline-devel texlive-latex xorg-x11-devel
-BuildRequires: db-devel openssl-devel pcre-devel postgresql-devel readline-devel xorg-x11-devel
+BuildRequires: db-devel dbus-1-devel fdupes gdbm-devel gtk2-devel libglade2-devel openssl-devel pcre-devel postgresql-devel readline-devel xorg-x11-devel
#
# If set to yes do not forget to add
# gcc-c++
@@ -31,25 +30,24 @@
Group: Development/Languages/Other
PreReq: vim
AutoReqProv: on
-Version: 2.44.1
-Release: 65
+Version: 2.49
+Release: 1
Summary: A Common Lisp Interpreter
Url: http://clisp.cons.org
-Source0: ftp://ftp.gnu.org/pub/gnu/clisp/latest/clisp-%{version}.tar.bz2
-Source1: ftp://ftp.santafe.edu/pub/gnu/ffcall-1.10+2.43.tar.bz2
-Source2: ftp://ftp.gnu.org/pub/gnu/libsigsegv/libsigsegv-2.5.tar.bz2
+Source0: http://switch.dl.sourceforge.net/sourceforge/clisp/clisp-2.49.tar.bz2
+Source1: http://www.haible.de/bruno/gnu/ffcall-1.10+2.43.tar.bz2
+Source2: ftp://ftp.gnu.org/pub/gnu/libsigsegv/libsigsegv-2.8.tar.bz2
Source3: clisp-rpmlintrc
-Patch0: clisp-2.44.1.dif
+Source4: README.SuSE
+Patch0: clisp-2.49.dif
Patch1: clisp-2.44.1-map_private.patch
Patch2: clisp-2.44.1-map_variable.patch
-Patch3: clisp-2.31-personality.patch
+Patch3: clisp-2.49-personality.patch
Patch4: clisp-2.44.1-ia64.dif
-Patch5: clisp-2.36-alloca.patch
Patch7: clisp-2.39-ia64-wooh.dif
Patch8: clisp-2.39-clx.dif
-Patch9: clisp-2.39-berkeley-db.dif
+Patch9: clisp-2.49-berkeley-db.dif
Patch10: ffcall-1.10+2.43.dif
-Patch11: sigseg-configure.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%global vimdir %{_datadir}/vim/site/after/syntax
%global xarch ppc64 s390x armv4l
@@ -87,12 +85,10 @@
%patch2 -p0 -b .mapvar
%patch3 -p0 -b .sel
%patch4 -p0 -b .ia64
-%patch5 -p0 -b .alloca
%patch7 -p0 -b .wooh
%patch8 -p0 -b .clx
%patch9 -p0 -b .bdb
%patch10 -p0 -b .ffcall
-%patch11 -p0 -b .sigseg
%patch0
%build
@@ -208,6 +204,11 @@
FFCALL=${FFCALL}/usr
%endif
#
+#
+#
+find -name configure | xargs -r \
+ sed -ri "/ac_precious_vars='build_alias\$/ {N; s/build_alias\\n//; }"
+#
# The modules i18n, syscalls, regexp
# are part of the base clisp system.
#
@@ -226,7 +227,10 @@
%endif
--with-dynamic-modules \
--with-gettext \
+ --with-module=dbus \
--with-module=queens \
+ --with-module=gdbm \
+ --with-module=gtk2 \
--with-module=pcre \
--with-module=rawsock \
--with-module=zlib \
@@ -235,6 +239,10 @@
--with-module=clx/new-clx \
--with-module=berkeley-db \
--with-module=postgresql
+pushd src/
+ make
+ make check
+popd
#
# Remove pipe
#
@@ -242,7 +250,7 @@
#
# Check for errors
#
-test -z "$(ls ${SYSTEM}/tests/*.erg 2>/dev/null)"
+test -z "$(ls tests/*.erg 2>/dev/null)"
%install
#
@@ -257,29 +265,30 @@
#
# Install the current system
#
-make install -C ${SYSTEM} \
- prefix=%{_prefix} \
+pushd src/
+ make install prefix=%{_prefix} \
exec_prefix=%{_prefix} \
mandir=%{_mandir} \
libdir=%{_libdir} \
DESTDIR=%{buildroot} \
INSTALL_DATA='install -cm 0444'
+popd
#
# The CLX interface
#
install -d %{buildroot}${CLXDOC}
install -d %{buildroot}${CLXLIB}
-install -d %{buildroot}${LSPLIB}/fullnox
-pushd ${SYSTEM}/clx/new-clx/
+pushd modules/clx/new-clx/
install -c -m 0444 README %{buildroot}${CLXDOC}/
- install -c -m 0444 README.SuSE %{buildroot}${CLXDOC}/
+ install -c -m 0444 %{S:4} %{buildroot}${CLXDOC}/
tar cf - demos/ | (cd %{buildroot}${CLXDOC}/ ; tar xf - )
popd
-pushd ${SYSTEM}/clx/
+pushd modules/clx/
tar xfz clx-manual.tar.gz -C %{buildroot}${CLXDOC}
popd
+chmod u+xrw,a+rx %{buildroot}%{_bindir}/clisp
+chmod u+xrw,a+rx %{buildroot}%{_bindir}/clisp-link
chmod -R g+r,o+r %{buildroot}${LSPDOC}/
-chmod u+xrw,a+rx %{buildroot}${LSPLIB}/clisp-link
chmod a-x %{buildroot}${CLXDOC}/clx-manual/html/doc-index.cgi
find %{buildroot}${LSPDOC} -type d | xargs chmod 755
rm -f %{buildroot}${CLXDOC}/*,v
@@ -296,7 +305,9 @@
%defattr(-,root,root,755)
%doc %{_docdir}/clisp/
%{_bindir}/clisp
+%{_bindir}/clisp-link
%{_libdir}/clisp-%{version}/
+%{_datadir}/aclocal/clisp.m4
%{_datadir}/emacs/site-lisp/clhs.el
%{_datadir}/emacs/site-lisp/clisp-coding.el
%{_datadir}/emacs/site-lisp/clisp-ffi.el
@@ -305,5 +316,6 @@
# Do not touch this but wait on check in of new vim!!!
%{vimdir}/lisp.vim
%doc %{_mandir}/man1/clisp.1.gz
+%doc %{_mandir}/man1/clisp-link.1.gz
%changelog
++++++ README.SuSE ++++++
#
# (C) 1997-99, SuSE GmbH, Nürnberg
#
Call of CLX
Please call clisp with the option '-K full' to use clx. The
X Window System is required for the usage of clx. Therefore the clisp
version under /usr/lib/clisp/full/ is used.
For some examples of clx try out in the directory demos/
clisp -K full -q -i sokoban
and
clisp -K full -q -i qix
----------------------------------------------------------------------------
Aufruf von CLX
Bitte rufen Sie clisp mit der Option '-K full' auf. CLX erfordert ein
installiertes X-Window-System. Daher wird die entsprechende clisp-Version
aus /usr/lib/clisp/full/ benutzt.
Sie finden zwei Beispiele für clx im Verzeichnis demos/
clisp -K full -q -i sokoban
und
clisp -K full -q -i qix
++++++ clisp-2.39-ia64-wooh.dif ++++++
--- /var/tmp/diff_new_pack.7xDC36/_old 2010-07-19 20:27:04.000000000 +0200
+++ /var/tmp/diff_new_pack.7xDC36/_new 2010-07-19 20:27:05.000000000 +0200
@@ -1,7 +1,5 @@
-Index: tests/streams.tst
-===================================================================
---- tests/streams.tst.orig
-+++ tests/streams.tst
+--- tests/streams.tst
++++ tests/streams.tst 2006-07-25 15:58:55.000000000 +0000
@@ -1031,8 +1031,8 @@ T
(describe (make-array nil :element-type nil) s)))
T
++++++ clisp-2.44.1-map_variable.patch ++++++
--- /var/tmp/diff_new_pack.7xDC36/_old 2010-07-19 20:27:05.000000000 +0200
+++ /var/tmp/diff_new_pack.7xDC36/_new 2010-07-19 20:27:05.000000000 +0200
@@ -1,7 +1,5 @@
-Index: ffcall-1.10+2.43/callback/trampoline_r/trampoline_r.h.in
-===================================================================
---- ffcall-1.10+2.43/callback/trampoline_r/trampoline_r.h.in.orig
-+++ ffcall-1.10+2.43/callback/trampoline_r/trampoline_r.h.in
+--- ffcall-1.10+2.43/callback/trampoline_r/trampoline_r.h.in
++++ ffcall-1.10+2.43/callback/trampoline_r/trampoline_r.h.in 2003-12-10 22:04:30.000000000 -0800
@@ -22,4 +22,9 @@ extern __TR_function trampoline_r_addres
extern void* trampoline_r_data0 (void*);
extern void* trampoline_r_data1 (void*);
++++++ clisp-2.39-berkeley-db.dif -> clisp-2.49-berkeley-db.dif ++++++
--- clisp/clisp-2.39-berkeley-db.dif 2009-03-05 16:38:56.000000000 +0100
+++ /mounts/work_src_done/STABLE/clisp/clisp-2.49-berkeley-db.dif 2010-07-15 15:25:39.000000000 +0200
@@ -1,13 +1,16 @@
--- modules/berkeley-db/configure
-+++ modules/berkeley-db/configure 2007-01-24 14:52:14.000000000 +0100
-@@ -3161,6 +3161,10 @@ fi;
++++ modules/berkeley-db/configure 2010-07-14 13:16:42.458924990 +0000
+@@ -4665,10 +4665,9 @@ fi
done
fi
+-
+-
+-
+-
+ LIBDB=-ldb-4
+LTLIBDB=
+ INCDB=-I/usr/include/db4
-+
+
ac_cv_libdb_libs="$LIBDB"
ac_cv_libdb_ltlibs="$LTLIBDB"
- ac_cv_libdb_cppflags="$INCDB"
++++++ clisp-2.31-personality.patch -> clisp-2.49-personality.patch ++++++
--- clisp/clisp-2.31-personality.patch 2007-01-16 00:07:20.000000000 +0100
+++ /mounts/work_src_done/STABLE/clisp/clisp-2.49-personality.patch 2010-07-15 15:25:39.000000000 +0200
@@ -1,7 +1,7 @@
--- src/_clisp.c
-+++ src/_clisp.c 2003-12-11 22:22:29.000000000 -0800
-@@ -45,6 +45,11 @@
- /* Declare stderr. */
++++ src/_clisp.c 2010-07-14 13:14:48.983463701 +0000
+@@ -46,6 +46,11 @@
+ /* Declare stderr, perror(). */
# include