Sat Apr 30 11:46:15 2011 UTC ()
Update GNU Smalltalk to version 3.2.4

List of user-visible changes in GNU Smalltalk

NEWS FROM 3.2.3 TO 3.2.4

o   Autoload is extended to allow plugging in arbitrary loaders.

o   Array items in a CStruct didn't work, this is fixed now.

o   DLD could have problems when the same library was requested multiple
    times.

o   Errors in the bind() system call were not detected correctly; this
    has been fixed.

o   Fixes for platforms with 113-bit long doubles.

o   Fixes to Delay in the presence of delays with the exact same expiration.

o   Fixes to the HTTP package, including correct flushing of POST requests
    and doesNotUnderstand exceptions when the host did not exist.

o   GLUT bindings now build correctly under Windows.

o   Many smalltalk-mode improvements.

o   New methods: TextCollector>>#critical:,

o   nil can be passed to a C function accepting a #cObjectPtr (i.e.
    void **) argument.

o   SocketAddress>>#allByName: returns nil now, instead of an empty array,
    when getaddrinfo succeeds but returns no address for the requested
    address class.

o   SocketAddress>>#byName: returns addresses for the default address class
    when the receiver is SocketAddress (and not a subclass).

o   Support for older versions of GnuTLS.

o   Swazoo's static content serving was broken and has been fixed.

o   The GST_PACKAGE macro supports having multiple .la files in its last
    argument.  gst-package's --prepare option was broken and has been fixed.

o   The NetClients exception ProtocolError now includes the erroneous
    response.  Similarly, the package includes ProtocolNotification which
    is used, for example, for HTTP redirects.

o   Updated the Squeak/Pharo fileout parser.

o   Updated VisualGST.

-----------------------------------------------------------------------------

NEWS FROM 3.2.2 TO 3.2.3

o   Class attributes can have more than 1 keyword.

o   Documented #byteArrayOut C call argument passing mode.

o   Fixed crash when an invalid UnicodeString was created using
    #changeClassTo:

o   Fixed deadlock with #atEnd and two-way pipes.

o   Fixed bugs when adding instance variables to an existing class.

o   Fixed Socket>>#isPeerAlive falsely returning true.

o   Fixed some bugs in UTF-7 conversion.

o   FreeBSD port and 64-bit Darwin port.  The latter requires a
    pre-installed libsigsegv.

o   "gst-convert -f squeak" reads binary selectors with more than two
    characters; however they should be shortened with rewrite rules
    to use the output.

o   gst-doc can generate sensible documentation for a package if
    some of its prerequisite are not loaded, even if some of the
    package's classes subclass from the prerequisite.

o   GTK+ bindings are generated correctly for newer versions of GLib
    (tested up to 2.26).

o   If found, pre-installed libsigsegv, libffi and libltdl are used by
    default.

o   Improvements for Emacs mode.  Installation of Emacs mode detects
    Debian's /etc/emacs/site-start.d, and a --with-lispstartdir option
    is provided for distributions that are not Red Hat- or Debian-based.

o   Machine-specific optimizations for x86-64, and other microoptimizations
    resulting in small but consistent performance improvements.

o   More out of memory conditions are detected.

o   New methods: ByteArray>>#castTo:, ByteArray>>#asCData,
    String>>#asCData, UndefinedObject>>#inheritsFrom:

o   New goodie: Announcements.

o   Number class>>#readFrom: can parse numbers in scientific notation.

o   Package descriptions do not need to include a <file> item for each
    <filein> item.  However, it is still possible to include them for
    backwards compatibility, and it is possible to include a source file
    as both <filein> and <built-file> (so that gst-package --dist will
    skip it).

o   Packages can be downloaded using HTTPS if GnuTLS libraries are
    present.

o   Performance statistics printed by -V are now correct.

o   Scoped methods ("A class >> a") can be used in an "A class [ ... ]"
    block.

o   Semaphore>>#wait returns nil if the wait was interrupted externally
    (e.g. from Process>>#resume).

o   String>>#asCData: and String>>#asCData NULL-terminate their output.

o   Support for timeouts when waiting on a Semaphore.

o   Swazoo supports SCGI.  Its configuration however is still manual,
    since the Seaside and Iliad adaptors do not know about it.

o   Updated VisualGST.


(asau)
diff -r1.57 -r1.58 pkgsrc/lang/smalltalk/Makefile
diff -r1.21 -r1.22 pkgsrc/lang/smalltalk/PLIST
diff -r1.22 -r1.23 pkgsrc/lang/smalltalk/distinfo
diff -r1.10 -r0 pkgsrc/lang/smalltalk/patches/patch-aa
diff -r1.4 -r0 pkgsrc/lang/smalltalk/patches/patch-ac
diff -r1.4 -r1.5 pkgsrc/lang/smalltalk/patches/patch-ae
diff -r1.2 -r0 pkgsrc/lang/smalltalk/patches/patch-af
diff -r1.3 -r1.4 pkgsrc/lang/smalltalk/patches/patch-ah

cvs diff -r1.57 -r1.58 pkgsrc/lang/smalltalk/Makefile (expand / switch to unified diff)

--- pkgsrc/lang/smalltalk/Makefile 2011/04/22 13:44:00 1.57
+++ pkgsrc/lang/smalltalk/Makefile 2011/04/30 11:46:15 1.58
@@ -1,25 +1,24 @@ @@ -1,25 +1,24 @@
1# $NetBSD: Makefile,v 1.57 2011/04/22 13:44:00 obache Exp $ 1# $NetBSD: Makefile,v 1.58 2011/04/30 11:46:15 asau Exp $
2 2
3DISTNAME= smalltalk-3.2.2 3DISTNAME= smalltalk-3.2.4
4PKGREVISION= 4 
5CATEGORIES= lang 4CATEGORIES= lang
6MASTER_SITES= ${MASTER_SITE_GNU:=smalltalk/} 5MASTER_SITES= ${MASTER_SITE_GNU:=smalltalk/}
7 6
8MAINTAINER= pkgsrc-users@NetBSD.org 7MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://www.smalltalk.org/versions/GNUSmalltalk.html 8HOMEPAGE= http://www.smalltalk.org/versions/GNUSmalltalk.html
10COMMENT= GNU Smalltalk: A smalltalk-80 implementation 9COMMENT= GNU Smalltalk: A smalltalk-80 implementation
11 10
12ONLY_FOR_PLATFORM= *-*-i386 *-*-sparc *-*-powerpc 11ONLY_FOR_PLATFORM= *-*-i386 *-*-x86_64 *-*-sparc *-*-powerpc
13 12
14PKG_DESTDIR_SUPPORT= user-destdir 13PKG_DESTDIR_SUPPORT= user-destdir
15 14
16MAKE_JOBS_SAFE= no 15MAKE_JOBS_SAFE= no
17 16
18BUILD_DEPENDS+= zip-[0-9]*:../../archivers/zip 17BUILD_DEPENDS+= zip-[0-9]*:../../archivers/zip
19 18
20USE_TOOLS+= gawk gmake makeinfo pkg-config 19USE_TOOLS+= gawk gmake makeinfo pkg-config
21USE_GNU_READLINE= YES 20USE_GNU_READLINE= YES
22USE_LIBTOOL= YES 21USE_LIBTOOL= YES
23GNU_CONFIGURE= YES 22GNU_CONFIGURE= YES
24CONFIGURE_ARGS+= --with-system-libsigsegv=${BUILDLINK_PREFIX.libsigsegv}/lib 23CONFIGURE_ARGS+= --with-system-libsigsegv=${BUILDLINK_PREFIX.libsigsegv}/lib
25CONFIGURE_ARGS+= --with-system-libffi=${BUILDLINK_PREFIX.libffi}/lib 24CONFIGURE_ARGS+= --with-system-libffi=${BUILDLINK_PREFIX.libffi}/lib

cvs diff -r1.21 -r1.22 pkgsrc/lang/smalltalk/PLIST (expand / switch to unified diff)

--- pkgsrc/lang/smalltalk/PLIST 2010/07/31 22:06:24 1.21
+++ pkgsrc/lang/smalltalk/PLIST 2011/04/30 11:46:15 1.22
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.21 2010/07/31 22:06:24 asau Exp $ 1@comment $NetBSD: PLIST,v 1.22 2011/04/30 11:46:15 asau Exp $
2bin/gst 2bin/gst
3bin/gst-blox 3bin/gst-blox
4bin/gst-browser 4bin/gst-browser
5bin/gst-config 5bin/gst-config
6bin/gst-convert 6bin/gst-convert
7bin/gst-doc 7bin/gst-doc
8bin/gst-load 8bin/gst-load
9bin/gst-package 9bin/gst-package
10bin/gst-profile 10bin/gst-profile
11bin/gst-reload 11bin/gst-reload
12bin/gst-remote 12bin/gst-remote
13bin/gst-sunit 13bin/gst-sunit
14include/gst.h 14include/gst.h
@@ -17,49 +17,52 @@ info/gst-base.info @@ -17,49 +17,52 @@ info/gst-base.info
17info/gst-libs.info 17info/gst-libs.info
18info/gst.info 18info/gst.info
19lib/libgst.la 19lib/libgst.la
20lib/pkgconfig/gnu-smalltalk.pc 20lib/pkgconfig/gnu-smalltalk.pc
21lib/smalltalk/blox-tk.la 21lib/smalltalk/blox-tk.la
22lib/smalltalk/digest.la 22lib/smalltalk/digest.la
23lib/smalltalk/expat.la 23lib/smalltalk/expat.la
24lib/smalltalk/gdbm.la 24lib/smalltalk/gdbm.la
25lib/smalltalk/gst-gtk.la 25lib/smalltalk/gst-gtk.la
26lib/smalltalk/gstglut.la 26lib/smalltalk/gstglut.la
27lib/smalltalk/gstopengl.la 27lib/smalltalk/gstopengl.la
28lib/smalltalk/i18n.la 28lib/smalltalk/i18n.la
29lib/smalltalk/iconv.la 29lib/smalltalk/iconv.la
 30lib/smalltalk/libc.la
30lib/smalltalk/zlib.la 31lib/smalltalk/zlib.la
 32libexec/smalltalk/gnutls-wrapper
31libexec/smalltalk/vfs/deb 33libexec/smalltalk/vfs/deb
32libexec/smalltalk/vfs/lslR 34libexec/smalltalk/vfs/lslR
33libexec/smalltalk/vfs/mailfs 35libexec/smalltalk/vfs/mailfs
34libexec/smalltalk/vfs/patchfs 36libexec/smalltalk/vfs/patchfs
35libexec/smalltalk/vfs/uar 37libexec/smalltalk/vfs/uar
36libexec/smalltalk/vfs/ucpio 38libexec/smalltalk/vfs/ucpio
37libexec/smalltalk/vfs/ulha 39libexec/smalltalk/vfs/ulha
38libexec/smalltalk/vfs/urar 40libexec/smalltalk/vfs/urar
39libexec/smalltalk/vfs/utar 41libexec/smalltalk/vfs/utar
40libexec/smalltalk/vfs/uzip 42libexec/smalltalk/vfs/uzip
41libexec/smalltalk/vfs/uzoo 43libexec/smalltalk/vfs/uzoo
42man/man1/gst-config.1 44man/man1/gst-config.1
43man/man1/gst-convert.1 45man/man1/gst-convert.1
44man/man1/gst-doc.1 46man/man1/gst-doc.1
45man/man1/gst-load.1 47man/man1/gst-load.1
46man/man1/gst-package.1 48man/man1/gst-package.1
47man/man1/gst-profile.1 49man/man1/gst-profile.1
48man/man1/gst-reload.1 50man/man1/gst-reload.1
49man/man1/gst-sunit.1 51man/man1/gst-sunit.1
50man/man1/gst.1 52man/man1/gst.1
51share/aclocal/gst-package.m4 53share/aclocal/gst-package.m4
52share/aclocal/gst.m4 54share/aclocal/gst.m4
 55share/smalltalk/Announcements.star
53share/smalltalk/BLOXBrowser.star 56share/smalltalk/BLOXBrowser.star
54share/smalltalk/Blox.star 57share/smalltalk/Blox.star
55share/smalltalk/BloxGTK.star 58share/smalltalk/BloxGTK.star
56share/smalltalk/BloxTK.star 59share/smalltalk/BloxTK.star
57share/smalltalk/CParser.star 60share/smalltalk/CParser.star
58share/smalltalk/Cairo.star 61share/smalltalk/Cairo.star
59share/smalltalk/ClassPublisher.star 62share/smalltalk/ClassPublisher.star
60share/smalltalk/Compiler.star 63share/smalltalk/Compiler.star
61share/smalltalk/Complex.star 64share/smalltalk/Complex.star
62share/smalltalk/Continuations.star 65share/smalltalk/Continuations.star
63share/smalltalk/DBD-MySQL.star 66share/smalltalk/DBD-MySQL.star
64share/smalltalk/DBI.star 67share/smalltalk/DBI.star
65share/smalltalk/DebugTools.star 68share/smalltalk/DebugTools.star

cvs diff -r1.22 -r1.23 pkgsrc/lang/smalltalk/distinfo (expand / switch to unified diff)

--- pkgsrc/lang/smalltalk/distinfo 2010/07/31 22:06:24 1.22
+++ pkgsrc/lang/smalltalk/distinfo 2011/04/30 11:46:15 1.23
@@ -1,10 +1,7 @@ @@ -1,10 +1,7 @@
1$NetBSD: distinfo,v 1.22 2010/07/31 22:06:24 asau Exp $ 1$NetBSD: distinfo,v 1.23 2011/04/30 11:46:15 asau Exp $
2 2
3SHA1 (smalltalk-3.2.2.tar.gz) = a985d69e4760420614c9dfe4d3605e47c5eb8faa 3SHA1 (smalltalk-3.2.4.tar.gz) = 6b164e145c1118ad74770bb15614478d47f55523
4RMD160 (smalltalk-3.2.2.tar.gz) = ec1d0c36139d76f5ced530ca7f8228bd0ff0ddb2 4RMD160 (smalltalk-3.2.4.tar.gz) = d8ca6b888311a70748071ff4024e31adeb0a920f
5Size (smalltalk-3.2.2.tar.gz) = 5825782 bytes 5Size (smalltalk-3.2.4.tar.gz) = 5877496 bytes
6SHA1 (patch-aa) = c82dfcc53ce4177ae051041106c6c2efdb61cb4e 6SHA1 (patch-ae) = c92422f2ac5378dafc65762a69c0dc840d974363
7SHA1 (patch-ac) = 15e45687aca1910818eabb82236de8bdd0abed99 7SHA1 (patch-ah) = eaa03cf41f1c30acd1762cb6389dfe0157ce551b
8SHA1 (patch-ae) = 1f73f0e1a5a11099ba5cf636bcc154a83b617cc4 
9SHA1 (patch-af) = 76744e495b5bb180b5acdbcc450d7090ed708113 
10SHA1 (patch-ah) = 9ff279fd482cbc2d10a35cd87f0c78d8e7a07277 

File Deleted: pkgsrc/lang/smalltalk/patches/Attic/patch-aa

File Deleted: pkgsrc/lang/smalltalk/patches/Attic/patch-ac

cvs diff -r1.4 -r1.5 pkgsrc/lang/smalltalk/patches/patch-ae (expand / switch to unified diff)

--- pkgsrc/lang/smalltalk/patches/patch-ae 2010/07/31 22:06:25 1.4
+++ pkgsrc/lang/smalltalk/patches/patch-ae 2011/04/30 11:46:15 1.5
@@ -1,23 +1,14 @@ @@ -1,23 +1,14 @@
1$NetBSD: patch-ae,v 1.4 2010/07/31 22:06:25 asau Exp $ 1$NetBSD: patch-ae,v 1.5 2011/04/30 11:46:15 asau Exp $
2 2
3--- configure.orig 2010-04-21 14:03:23.000000000 +0400 3--- configure.orig 2010-04-21 14:03:23.000000000 +0400
4+++ configure 2010-05-02 22:52:09.000000000 +0400 4+++ configure 2010-05-02 22:52:09.000000000 +0400
5@@ -15539,7 +15539,8 @@ 5@@ -15539,7 +15539,8 @@
6  6
7 for ac_func in putenv strdup strerror strsignal mkstemp getpagesize \ 7 for ac_func in putenv strdup strerror strsignal mkstemp getpagesize \
8 getdtablesize strstr ftruncate floorl ceill sqrtl frexpl ldexpl asinl \ 8 getdtablesize strstr ftruncate floorl ceill sqrtl frexpl ldexpl asinl \
9- acosl atanl logl expl tanl sinl cosl powl truncl lrintl truncf lrintf \ 9- acosl atanl logl expl tanl sinl cosl powl truncl lrintl truncf lrintf \
10+ acosl atanl logl expl tanl sinl cosl truncl lrintl truncf lrintf \ 10+ acosl atanl logl expl tanl sinl cosl truncl lrintl truncf lrintf \
11+ acosl atanl logl expl tanl sinl cosl powl trunc truncf truncl lrintl strsep strpbrk \ 11+ acosl atanl logl expl tanl sinl cosl powl trunc truncf truncl lrintl strsep strpbrk \
12 lrint trunc strsep strpbrk symlink mkdtemp 12 lrint trunc strsep strpbrk symlink mkdtemp
13 do : 13 do :
14 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15@@ -24753,8 +24754,6 @@ 
16  
17 ac_config_files="$ac_config_files tests/atlocal" 
18  
19-ac_config_files="$ac_config_files libc.la" 
20- 
21  
22 ac_config_files="$ac_config_files Makefile" 
23  

File Deleted: pkgsrc/lang/smalltalk/patches/Attic/patch-af

cvs diff -r1.3 -r1.4 pkgsrc/lang/smalltalk/patches/patch-ah (expand / switch to unified diff)

--- pkgsrc/lang/smalltalk/patches/patch-ah 2010/07/31 22:06:25 1.3
+++ pkgsrc/lang/smalltalk/patches/patch-ah 2011/04/30 11:46:15 1.4
@@ -1,14 +1,24 @@ @@ -1,14 +1,24 @@
1$NetBSD: patch-ah,v 1.3 2010/07/31 22:06:25 asau Exp $ 1$NetBSD: patch-ah,v 1.4 2011/04/30 11:46:15 asau Exp $
2 2
3Avoid creating libtool archive. 3Link against pthreads.
4 4
5--- Makefile.in.orig 2010-05-02 11:44:41.000000000 +0400 5--- Makefile.in.orig 2011-03-21 21:12:57.000000000 +0300
6+++ Makefile.in 2010-05-02 22:50:16.000000000 +0400 6+++ Makefile.in 2011-04-28 21:10:54.000000000 +0400
7@@ -499,7 +499,6 @@ 7@@ -525,14 +525,14 @@
8 ########################################################### 8 -DCMD_XZIP="\"$(XZIP)\"" -DCMD_INSTALL="\"$(INSTALL)\"" \
9 pkgconfigdir = $(libdir)/pkgconfig 9 -DCMD_LN_S="\"$(LN_S)\"" $(RELOC_CPPFLAGS) $(am__append_4)
10 nodist_pkgconfig_DATA = gnu-smalltalk.pc 10 gst_SOURCES = main.c
11-module_DATA = libc.la 11-gst_LDADD = libgst/libgst.la lib-src/library.la @ICON@ $(am__append_2)
12 noinst_DATA = gst.im 12+gst_LDADD = libgst/libgst.la lib-src/library.la $(PTHREAD_LDADD) $(PTHREAD_LIBS) @ICON@ $(am__append_2)
13 bin_SCRIPTS = gst-config 13 gst_DEPENDENCIES = libgst/libgst.la lib-src/library.la @ICON@ \
14 DISTCLEANFILES = termbold termnorm pkgrules.tmp config.h 14 $(am__append_3)
 15-gst_LDFLAGS = -export-dynamic $(RELOC_LDFLAGS) $(LIBFFI_EXECUTABLE_LDFLAGS)
 16+gst_LDFLAGS = -export-dynamic $(RELOC_LDFLAGS) $(LIBFFI_EXECUTABLE_LDFLAGS) $(PTHREAD_LDFLAGS)
 17 gst_tool_SOURCES = gst-tool.c
 18 gst_tool_LDADD = libgst/libgst.la lib-src/library.la @ICON@
 19 gst_tool_DEPENDENCIES = libgst/libgst.la lib-src/library.la @ICON@
 20-gst_tool_LDFLAGS = -export-dynamic $(RELOC_LDFLAGS) $(LIBFFI_EXECUTABLE_LDFLAGS)
 21+gst_tool_LDFLAGS = -export-dynamic $(RELOC_LDFLAGS) $(LIBFFI_EXECUTABLE_LDFLAGS) $(PTHREAD_LDFLAGS)
 22 winewrapper_SOURCES = winewrapper.c
 23 GST_EXTRA_TOOLS = gst-reload gst-sunit gst-blox gst-package gst-convert \
 24 gst-doc gst-remote gst-profile gst-browser