[packages/sbcl] - updated to 1.3.10 and latests bootstraps (x86 1.2.7, x86-64 1.3.10) - added info patch (unify @dir

qboosh qboosh at pld-linux.org
Sun Oct 9 16:40:00 CEST 2016


commit 535364a46b912a5cfef60cbf7bd765a558bd774f
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Oct 9 16:42:04 2016 +0200

    - updated to 1.3.10 and latests bootstraps (x86 1.2.7, x86-64 1.3.10)
    - added info patch (unify @direntry)

 sbcl-info.patch | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 sbcl.spec       | 54 ++++++++++++++++++++++++++++++++++++------------------
 2 files changed, 86 insertions(+), 18 deletions(-)
---
diff --git a/sbcl.spec b/sbcl.spec
index 31e1b4d..950e9a5 100644
--- a/sbcl.spec
+++ b/sbcl.spec
@@ -1,3 +1,4 @@
+# NOTE: tests >100 processes, so ensure proper ulimit
 #
 # Conditional build:
 %bcond_without	doc		# build without documentation
@@ -9,30 +10,44 @@
 Summary:	The Steel Bank Common Lisp development environment
 Summary(pl.UTF-8):	Środowisko programowania Steel Bank Common Lisp
 Name:		sbcl
-Version:	1.1.6
+Version:	1.3.10
 Release:	1
 License:	MIT
 Group:		Development/Languages
 Source0:	http://download.sourceforge.net/sbcl/%{name}-%{version}-source.tar.bz2
-# Source0-md5:	5daeabb9eaf7197006c4402bfc552d72
-Source10:	http://download.sourceforge.net/sbcl/sbcl-1.0.58-x86-linux-binary.tar.bz2
-# Source10-md5:	28104cfb0ee2ac67000c77b9518377e8
-Source11:	http://download.sourceforge.net/sbcl/sbcl-1.0.58-x86-64-linux-binary.tar.bz2
-# Source11-md5:	3d02edfdc851904d1d8dafeec20d1d06
+# Source0-md5:	c8bd43e149109127651a6917976dda4a
+Source10:	http://download.sourceforge.net/sbcl/sbcl-1.2.7-x86-linux-binary.tar.bz2
+# Source10-md5:	f6a1b2137fbc74b4a8aaf338643f4ae2
+Source11:	http://download.sourceforge.net/sbcl/sbcl-1.3.10-x86-64-linux-binary.tar.bz2
+# Source11-md5:	56fe67f916ccdd84e7b739d0a731cf9f
+# TODO (portability) - also available:
+#SourceXX:	http://download.sourceforge.net/sbcl/sbcl-1.3.10-arm64-linux-binary.tar.bz2
+#SourceXX:	http://download.sourceforge.net/sbcl/sbcl-1.3.9-armhf-linux-binary.tar.bz2
+#SourceXX:	http://download.sourceforge.net/sbcl/sbcl-1.2.7-armel-linux-binary.tar.bz2
+#SourceXX:	http://download.sourceforge.net/sbcl/sbcl-1.2.7-powerpc-linux-binary.tar.bz2
+#SourceXX:	http://download.sourceforge.net/sbcl/sbcl-1.0.23-mips-linux-binary.tar.bz2
+#SourceXX:	http://download.sourceforge.net/sbcl/sbcl-1.0.28-mipsel-linux-binary.tar.bz2
+#SourceXX:	http://download.sourceforge.net/sbcl/sbcl-1.0.28-alpha-linux-binary.tar.bz2
+#SourceXX:	http://download.sourceforge.net/sbcl/sbcl-1.0.28-sparc-linux-binary.tar.bz2
 Patch0:		%{name}-tests.patch
 Patch1:		%{name}-threads.patch
+Patch2:		%{name}-info.patch
 URL:		http://sbcl.sourceforge.net/
 %{?with_clisp:BuildRequires:	clisp}
 %if %{with doc}
 BuildRequires:	tetex-dvips
 BuildRequires:	texinfo-texi2dvi
 %endif
+%if %{without clisp}
+%{!?bootstrap_cl:ExclusiveArch:	%{ix86} %{x8664}}
+# also: %{arm} aarch64 alpha mips mipsel ppc sparc
+%endif
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Steel Bank Common Lisp (SBCL) is a Open Source development environment
-for Common Lisp based on CMUCL. It includes an integrated native compiler,
-interpreter, and debugger.
+for Common Lisp based on CMUCL. It includes an integrated native
+compiler, interpreter, and debugger.
 
 %description -l pl.UTF-8
 Steel Bank Common Lisp (SBCL) to środowisko programistyczne Open
@@ -83,6 +98,9 @@ Dokumentacja Steel Bank Common Lisp (SBCL) w formacie PDF.
 %ifarch %{ix86} %{x8664}
 %patch1 -p1
 %endif
+%patch2 -p1 -b .orig
+cp -p doc/manual/sbcl.texinfo{,.patched}
+cp -p contrib/asdf/asdf.texinfo{,.patched}
 
 mkdir sbcl-bootstrap
 cd sbcl-*-linux
@@ -99,10 +117,9 @@ chmod 755 clean.sh
 %endif
 
 %build
-GNUMAKE="make"
-CFLAGS="%{rpmcflags}"
-CC="%{__cc}"
-export GNUMAKE CC CFLAGS
+export GNUMAKE="make"
+export CC="%{__cc}"
+export CFLAGS="%{rpmcflags}"
 export SBCL_HOME=`pwd`/sbcl-bootstrap/lib/sbcl
 export PATH=`pwd`/sbcl-bootstrap/bin:${PATH}
 ./make.sh \
@@ -110,7 +127,7 @@ export PATH=`pwd`/sbcl-bootstrap/bin:${PATH}
 	%{?bootstrap_cl}
 
 %if %{with doc}
-make -C doc/manual
+%{__make} -C doc/manual -j1
 %endif
 
 %install
@@ -148,16 +165,17 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc _install/share/doc/sbcl/[A-Z]*
-%attr (755,root,root) %{_bindir}/%{name}
+%doc _install/share/doc/sbcl/{BUGS,COPYING,CREDITS,NEWS}
+%attr (755,root,root) %{_bindir}/sbcl
 %{_libdir}/%{name}
-%{_mandir}/man1/*
-%config(noreplace,missingok) %verify(not md5 mtime size) /etc/env.d/*
+%{_mandir}/man1/sbcl.1*
+%config(noreplace,missingok) %verify(not md5 mtime size) /etc/env.d/SBCL_HOME
 
 %if %{with doc}
 %files doc-info
 %defattr(644,root,root,755)
-%{_infodir}/*.info*
+%{_infodir}/asdf.info*
+%{_infodir}/sbcl.info*
 
 %files doc-html
 %defattr(644,root,root,755)
diff --git a/sbcl-info.patch b/sbcl-info.patch
new file mode 100644
index 0000000..5f0d4ff
--- /dev/null
+++ b/sbcl-info.patch
@@ -0,0 +1,50 @@
+--- sbcl-1.3.10/doc/manual/Makefile.orig	2016-09-30 18:41:11.000000000 +0200
++++ sbcl-1.3.10/doc/manual/Makefile	2016-10-09 11:43:55.817597512 +0200
+@@ -93,7 +93,7 @@
+ info: $(INFOFILES)
+ 
+ %.info: %.texinfo $(DOCFILES) docstrings
+-	$(MAKEINFO) $(I_FLAGS) $<
++	$(MAKEINFO) --no-split $(I_FLAGS) $<
+ 
+ # Texinfo docstring snippets
+ # Note: assumes contrib module names are the same as the names of
+--- sbcl-1.3.10/doc/manual/sbcl.texinfo.orig	2016-09-30 18:41:11.000000000 +0200
++++ sbcl-1.3.10/doc/manual/sbcl.texinfo	2016-10-09 12:11:23.454244551 +0200
+@@ -11,9 +11,9 @@
+ @settitle SBCL @value{VERSION} User Manual
+ 
+ @c for install-info
+- at dircategory Software development
++ at dircategory Programming Languages:
+ @direntry
+-* sbcl: (sbcl).           The Steel Bank Common Lisp compiler
++* sbcl: (sbcl).				The Steel Bank Common Lisp compiler
+ @end direntry
+ 
+ @copying
+--- sbcl-1.3.10/contrib/asdf/asdf.texinfo.orig	2016-09-30 18:41:11.000000000 +0200
++++ sbcl-1.3.10/contrib/asdf/asdf.texinfo	2016-10-09 12:12:16.280911379 +0200
+@@ -24,9 +24,9 @@
+ @end macro
+ 
+ @c for install-info
+- at dircategory Software development
++ at dircategory Programming Languages:
+ @direntry
+-* asdf: (asdf).           Another System Definition Facility (for Common Lisp)
++* asdf: (asdf).				Another System Definition Facility (for Common Lisp)
+ @end direntry
+ 
+ @copying
+--- sbcl-1.3.10/tools-for-build/canonicalize-whitespace.lisp.orig	2016-09-30 18:41:12.000000000 +0200
++++ sbcl-1.3.10/tools-for-build/canonicalize-whitespace.lisp	2016-10-09 15:29:05.060776547 +0200
+@@ -86,7 +86,7 @@
+ 
+ ;;; Repository-level functions
+ 
+-(defvar *source-types* '("lisp" "lisp-expr" "c" "h" "asd" "texinfo"))
++(defvar *source-types* '("lisp" "lisp-expr" "c" "h" "asd"))
+ 
+ (defvar *exceptions* '("compile-file-pos-utf16be"))
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/sbcl.git/commitdiff/535364a46b912a5cfef60cbf7bd765a558bd774f



More information about the pld-cvs-commit mailing list