wok-next rev 20678

Up clisp (2.50)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue May 15 02:59:03 2018 +0300 (2018-05-15)
parents a918044cbc4c
children 1ca369c9f448
files clisp/receipt clisp/stuff/patches/series clisp/stuff/patches/streams.tst.patch
line diff
     1.1 --- a/clisp/receipt	Tue May 15 00:56:38 2018 +0300
     1.2 +++ b/clisp/receipt	Tue May 15 02:59:03 2018 +0300
     1.3 @@ -1,41 +1,35 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="clisp"
     1.8 -VERSION="2.49"
     1.9 +VERSION="2.50"
    1.10  CATEGORY="development"
    1.11 -SHORT_DESC="GNU ANSI common lisp implementation."
    1.12 +SHORT_DESC="GNU ANSI Common Lisp implementation"
    1.13  MAINTAINER="paul@slitaz.org"
    1.14  LICENSE="GPL2"
    1.15 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="http://clisp.sourceforge.net/"
    1.17 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.18 +WEB_SITE="https://clisp.sourceforge.io/"
    1.19  
    1.20 -DEPENDS="readline ncurses"
    1.21 -BUILD_DEPENDS="readline-dev libsigsegv libffcall"
    1.22 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.23 +WGET_URL="https://gitlab.com/gnu-clisp/clisp/-/archive/clisp-$VERSION/clisp-clisp-$VERSION.tar.bz2"
    1.24  
    1.25 -# Rules to configure and make the package.
    1.26 -compile_rules()
    1.27 -{
    1.28 -	# CFLAGS/CXXFLAGS/MAKEFLAGS screw the build process.
    1.29 -	unset CFLAGS CXXFLAGS MAKEFLAGS
    1.30 -	export CFLAGS="-falign-functions=4"
    1.31 +BUILD_DEPENDS="libunistring-dev gettext libffcall readline-dev libsigsegv-dev"
    1.32  
    1.33 +compile_rules() {
    1.34 +	FORCE_UNSAFE_CONFIGURE=1 \
    1.35  	./configure \
    1.36 -		--with-libsigsegv \
    1.37 -		--cbc build &&
    1.38 -
    1.39 -	# Be careful - unusual build rules!
    1.40 -	cd build &&
    1.41 -	make DESTDIR=$DESTDIR install
    1.42 +		--with-ffcall \
    1.43 +		--with-readline \
    1.44 +		build &&
    1.45 +	cd  build &&
    1.46 +	./makemake \
    1.47 +		--with-ffcall \
    1.48 +		--with-readline \
    1.49 +		--with-dynamic-ffi \
    1.50 +		> Makefile &&
    1.51 +	make &&
    1.52 +	make DESTDIR=$install install
    1.53  }
    1.54  
    1.55 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.56 -genpkg_rules()
    1.57 -{
    1.58 -	mkdir -p $fs/usr/share
    1.59 -	cp -a $install/usr/bin $fs/usr
    1.60 -	cp -a $install/usr/lib $fs/usr
    1.61 -	cp -a $install/usr/share $fs/usr
    1.62 -	# remove stuff
    1.63 -	rm -rf $fs/usr/share/man
    1.64 +genpkg_rules() {
    1.65 +	copy @std @dev
    1.66 +	DEPENDS="libsigsegv libunistring ncurses readline"
    1.67  }
     2.1 --- a/clisp/stuff/patches/series	Tue May 15 00:56:38 2018 +0300
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,2 +0,0 @@
     2.4 -# Temporarily (?) disabling one failed test
     2.5 --p1|streams.tst.patch
     3.1 --- a/clisp/stuff/patches/streams.tst.patch	Tue May 15 00:56:38 2018 +0300
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,43 +0,0 @@
     3.4 -Disable one test from "streams" group.
     3.5 -
     3.6 -
     3.7 -1) Normal test flow: http://cook.slitaz.org/cooker.cgi?log=clisp.log.2
     3.8 -
     3.9 -(STRINGP (WITH-OUTPUT-TO-STRING (S) (DESCRIBE NIL S)))
    3.10 -;; connecting to "http://clisp.cons.org/impnotes/id-href.map"...connected...HTTP/1.1 301 Moved Permanently --> "http://www.clisp.org/impnotes/id-href.map"
    3.11 -;; connecting to "http://www.clisp.org/impnotes/id-href.map"...connected...HTTP/1.1 200 OK...74,297 bytes
    3.12 -;; SYSTEM::GET-STRING-MAP(#<IO INPUT-BUFFERED SOCKET-STREAM CHARACTER www.clisp.org:80>)...2,004 IDs
    3.13 -;; SYSTEM::ENSURE-IMPNOTES-MAP(#P"/home/slitaz/wok/clisp/source/clisp-2.49/doc/Symbol-Table.text")...
    3.14 -WARNING: SYSTEM::ENSURE-IMPNOTES-MAP: invalid id "compile-errors" for symbol
    3.15 -         "EXT:SOURCE-PROGRAM-ERROR"
    3.16 -WARNING: SYSTEM::ENSURE-IMPNOTES-MAP: invalid id "compile-errors" for symbol
    3.17 -         "EXT:SOURCE-PROGRAM-ERROR-DETAIL"
    3.18 -WARNING: SYSTEM::ENSURE-IMPNOTES-MAP: invalid id "compile-errors" for symbol
    3.19 -         "EXT:SOURCE-PROGRAM-ERROR-FORM"
    3.20 -644 IDs
    3.21 -EQL-OK: T
    3.22 -
    3.23 -
    3.24 -2) Something wrong (network problems?): http://cook.slitaz.org/cooker.cgi?pkg=clisp
    3.25 -
    3.26 -(STRINGP (WITH-OUTPUT-TO-STRING (S) (DESCRIBE NIL S)))
    3.27 -;; connecting to "http://clisp.cons.org/impnotes/id-href.map"...connected...HTTP/1.1 302 Found --> "https://clisp.cons.org:80/impnotes/id-href.map"
    3.28 -;; connecting to "http://clisp.cons.orghttps://clisp.cons.org:80/impnotes/id-href.map"...
    3.29 -[SIMPLE-PARSE-ERROR]: PARSE-INTEGER: substring "" does not have integer syntax at position 0
    3.30 -
    3.31 -ERROR!! ERROR should be T !
    3.32 -
    3.33 -
    3.34 ---- a/tests/streams.tst
    3.35 -+++ b/tests/streams.tst
    3.36 -@@ -1036,8 +1036,8 @@
    3.37 -            (describe (make-array nil :element-type nil) s)))
    3.38 - T
    3.39 - 
    3.40 --(stringp (with-output-to-string (s) (describe nil s)))
    3.41 --T
    3.42 -+;;(stringp (with-output-to-string (s) (describe nil s)))
    3.43 -+;;T
    3.44 - 
    3.45 - ;; https://sourceforge.net/tracker/index.php?func=detail&aid=1622642&group_id=1355&atid=101355
    3.46 - (let ((s "a   b"))