summaryrefslogtreecommitdiff
path: root/lang/smalltalk
diff options
context:
space:
mode:
authorasau <asau>2011-04-30 11:46:15 +0000
committerasau <asau>2011-04-30 11:46:15 +0000
commit90ff6020e59b68aa89c479f0bb7a562fa728f5ad (patch)
tree4116098708be0f9a44e62919f3e31799a5534f24 /lang/smalltalk
parent46bf547262979b27d79590374cb1ed48e329e7fe (diff)
downloadpkgsrc-90ff6020e59b68aa89c479f0bb7a562fa728f5ad.tar.gz
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.
Diffstat (limited to 'lang/smalltalk')
-rw-r--r--lang/smalltalk/Makefile7
-rw-r--r--lang/smalltalk/PLIST5
-rw-r--r--lang/smalltalk/distinfo15
-rw-r--r--lang/smalltalk/patches/patch-aa13
-rw-r--r--lang/smalltalk/patches/patch-ac31
-rw-r--r--lang/smalltalk/patches/patch-ae11
-rw-r--r--lang/smalltalk/patches/patch-af14
-rw-r--r--lang/smalltalk/patches/patch-ah34
8 files changed, 36 insertions, 94 deletions
diff --git a/lang/smalltalk/Makefile b/lang/smalltalk/Makefile
index 562b4fa38db..7ebe8d2c3f2 100644
--- a/lang/smalltalk/Makefile
+++ b/lang/smalltalk/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.57 2011/04/22 13:44:00 obache Exp $
+# $NetBSD: Makefile,v 1.58 2011/04/30 11:46:15 asau Exp $
-DISTNAME= smalltalk-3.2.2
-PKGREVISION= 4
+DISTNAME= smalltalk-3.2.4
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU:=smalltalk/}
@@ -9,7 +8,7 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.smalltalk.org/versions/GNUSmalltalk.html
COMMENT= GNU Smalltalk: A smalltalk-80 implementation
-ONLY_FOR_PLATFORM= *-*-i386 *-*-sparc *-*-powerpc
+ONLY_FOR_PLATFORM= *-*-i386 *-*-x86_64 *-*-sparc *-*-powerpc
PKG_DESTDIR_SUPPORT= user-destdir
diff --git a/lang/smalltalk/PLIST b/lang/smalltalk/PLIST
index 956fd55b0bf..36d871139b4 100644
--- a/lang/smalltalk/PLIST
+++ b/lang/smalltalk/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.21 2010/07/31 22:06:24 asau Exp $
+@comment $NetBSD: PLIST,v 1.22 2011/04/30 11:46:15 asau Exp $
bin/gst
bin/gst-blox
bin/gst-browser
@@ -27,7 +27,9 @@ lib/smalltalk/gstglut.la
lib/smalltalk/gstopengl.la
lib/smalltalk/i18n.la
lib/smalltalk/iconv.la
+lib/smalltalk/libc.la
lib/smalltalk/zlib.la
+libexec/smalltalk/gnutls-wrapper
libexec/smalltalk/vfs/deb
libexec/smalltalk/vfs/lslR
libexec/smalltalk/vfs/mailfs
@@ -50,6 +52,7 @@ man/man1/gst-sunit.1
man/man1/gst.1
share/aclocal/gst-package.m4
share/aclocal/gst.m4
+share/smalltalk/Announcements.star
share/smalltalk/BLOXBrowser.star
share/smalltalk/Blox.star
share/smalltalk/BloxGTK.star
diff --git a/lang/smalltalk/distinfo b/lang/smalltalk/distinfo
index 42941e8c236..40580bbca18 100644
--- a/lang/smalltalk/distinfo
+++ b/lang/smalltalk/distinfo
@@ -1,10 +1,7 @@
-$NetBSD: distinfo,v 1.22 2010/07/31 22:06:24 asau Exp $
+$NetBSD: distinfo,v 1.23 2011/04/30 11:46:15 asau Exp $
-SHA1 (smalltalk-3.2.2.tar.gz) = a985d69e4760420614c9dfe4d3605e47c5eb8faa
-RMD160 (smalltalk-3.2.2.tar.gz) = ec1d0c36139d76f5ced530ca7f8228bd0ff0ddb2
-Size (smalltalk-3.2.2.tar.gz) = 5825782 bytes
-SHA1 (patch-aa) = c82dfcc53ce4177ae051041106c6c2efdb61cb4e
-SHA1 (patch-ac) = 15e45687aca1910818eabb82236de8bdd0abed99
-SHA1 (patch-ae) = 1f73f0e1a5a11099ba5cf636bcc154a83b617cc4
-SHA1 (patch-af) = 76744e495b5bb180b5acdbcc450d7090ed708113
-SHA1 (patch-ah) = 9ff279fd482cbc2d10a35cd87f0c78d8e7a07277
+SHA1 (smalltalk-3.2.4.tar.gz) = 6b164e145c1118ad74770bb15614478d47f55523
+RMD160 (smalltalk-3.2.4.tar.gz) = d8ca6b888311a70748071ff4024e31adeb0a920f
+Size (smalltalk-3.2.4.tar.gz) = 5877496 bytes
+SHA1 (patch-ae) = c92422f2ac5378dafc65762a69c0dc840d974363
+SHA1 (patch-ah) = eaa03cf41f1c30acd1762cb6389dfe0157ce551b
diff --git a/lang/smalltalk/patches/patch-aa b/lang/smalltalk/patches/patch-aa
deleted file mode 100644
index 24fe9f04934..00000000000
--- a/lang/smalltalk/patches/patch-aa
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.10 2009/06/04 07:40:58 hasso Exp $
-
---- libffi/configure.orig 2009-06-03 10:15:20 +0300
-+++ libffi/configure 2009-06-03 10:16:38 +0300
-@@ -9623,7 +9623,7 @@ case "$host" in
- TARGET=PA_HPUX; TARGETDIR=pa
- ;;
-
-- i386-*-freebsd* | i386-*-openbsd*)
-+ i386-*-freebsd* | i386-*-openbsd* | i386-*-dragonfly*)
- TARGET=X86_FREEBSD; TARGETDIR=x86
- ;;
- i?86-win32* | i?86-*-cygwin* | i?86-*-mingw*)
diff --git a/lang/smalltalk/patches/patch-ac b/lang/smalltalk/patches/patch-ac
deleted file mode 100644
index 110412050aa..00000000000
--- a/lang/smalltalk/patches/patch-ac
+++ /dev/null
@@ -1,31 +0,0 @@
-$NetBSD: patch-ac,v 1.4 2010/07/31 22:06:25 asau Exp $
-
---- sigsegv/configure.orig 2010-02-17 00:40:44.000000000 +0300
-+++ sigsegv/configure 2010-05-02 22:55:56.000000000 +0400
-@@ -10590,7 +10590,7 @@
-
-
- case "$host_os" in
-- sunos4* | freebsd* | openbsd* | netbsd* | kfreebsd* | knetbsd*)
-+ sunos4* | freebsd* | openbsd* | netbsd* | dragonfly* | kfreebsd* | knetbsd*)
- CFG_SIGNALS=signals-bsd.h ;;
- hpux*)
- CFG_SIGNALS=signals-hpux.h ;;
-@@ -13304,7 +13304,7 @@
- fi
- if test -z "$CFG_FAULT" && test "$sv_cv_fault_bsd" = yes; then
- case "$host_os" in
-- freebsd* | kfreebsd*)
-+ freebsd* | dragonfly* | kfreebsd*)
- case "$host_cpu" in
- i?86 | x86_64)
- CFG_FAULT=fault-freebsd-i386.h
-@@ -13674,7 +13674,7 @@
- else
- case "$host_os" in
- linux*) CFG_STACKVMA=stackvma-linux.c ;;
-- freebsd*) CFG_STACKVMA=stackvma-freebsd.c ;;
-+ freebsd*|dragonfly*) CFG_STACKVMA=stackvma-freebsd.c ;;
- beos*) CFG_STACKVMA=stackvma-beos.c ;;
- macos* | darwin*)
- ac_fn_c_check_func "$LINENO" "vm_region" "ac_cv_func_vm_region"
diff --git a/lang/smalltalk/patches/patch-ae b/lang/smalltalk/patches/patch-ae
index 79f43c872a5..73d34401526 100644
--- a/lang/smalltalk/patches/patch-ae
+++ b/lang/smalltalk/patches/patch-ae
@@ -1,4 +1,4 @@
-$NetBSD: patch-ae,v 1.4 2010/07/31 22:06:25 asau Exp $
+$NetBSD: patch-ae,v 1.5 2011/04/30 11:46:15 asau Exp $
--- configure.orig 2010-04-21 14:03:23.000000000 +0400
+++ configure 2010-05-02 22:52:09.000000000 +0400
@@ -12,12 +12,3 @@ $NetBSD: patch-ae,v 1.4 2010/07/31 22:06:25 asau Exp $
lrint trunc strsep strpbrk symlink mkdtemp
do :
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-@@ -24753,8 +24754,6 @@
-
- ac_config_files="$ac_config_files tests/atlocal"
-
--ac_config_files="$ac_config_files libc.la"
--
-
- ac_config_files="$ac_config_files Makefile"
-
diff --git a/lang/smalltalk/patches/patch-af b/lang/smalltalk/patches/patch-af
deleted file mode 100644
index 28193619fa3..00000000000
--- a/lang/smalltalk/patches/patch-af
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-af,v 1.2 2009/04/10 17:36:43 asau Exp $
-
---- lib-src/mathl.h.orig 2009-04-07 20:26:25.000000000 +0400
-+++ lib-src/mathl.h 2009-04-07 20:26:37.000000000 +0400
-@@ -66,5 +66,9 @@
- extern long double sinl (long double x);
- extern long double sqrtl(long double x);
- extern long double tanl (long double x);
-+extern double trunc(double x);
-+extern float truncf(float x);
-+extern long lrintl(long double x);
-+extern long double truncl(long double x);
-
- #endif
diff --git a/lang/smalltalk/patches/patch-ah b/lang/smalltalk/patches/patch-ah
index cdb5591bce7..87d66999393 100644
--- a/lang/smalltalk/patches/patch-ah
+++ b/lang/smalltalk/patches/patch-ah
@@ -1,14 +1,24 @@
-$NetBSD: patch-ah,v 1.3 2010/07/31 22:06:25 asau Exp $
+$NetBSD: patch-ah,v 1.4 2011/04/30 11:46:15 asau Exp $
-Avoid creating libtool archive.
+Link against pthreads.
---- Makefile.in.orig 2010-05-02 11:44:41.000000000 +0400
-+++ Makefile.in 2010-05-02 22:50:16.000000000 +0400
-@@ -499,7 +499,6 @@
- ###########################################################
- pkgconfigdir = $(libdir)/pkgconfig
- nodist_pkgconfig_DATA = gnu-smalltalk.pc
--module_DATA = libc.la
- noinst_DATA = gst.im
- bin_SCRIPTS = gst-config
- DISTCLEANFILES = termbold termnorm pkgrules.tmp config.h
+--- Makefile.in.orig 2011-03-21 21:12:57.000000000 +0300
++++ Makefile.in 2011-04-28 21:10:54.000000000 +0400
+@@ -525,14 +525,14 @@
+ -DCMD_XZIP="\"$(XZIP)\"" -DCMD_INSTALL="\"$(INSTALL)\"" \
+ -DCMD_LN_S="\"$(LN_S)\"" $(RELOC_CPPFLAGS) $(am__append_4)
+ gst_SOURCES = main.c
+-gst_LDADD = libgst/libgst.la lib-src/library.la @ICON@ $(am__append_2)
++gst_LDADD = libgst/libgst.la lib-src/library.la $(PTHREAD_LDADD) $(PTHREAD_LIBS) @ICON@ $(am__append_2)
+ gst_DEPENDENCIES = libgst/libgst.la lib-src/library.la @ICON@ \
+ $(am__append_3)
+-gst_LDFLAGS = -export-dynamic $(RELOC_LDFLAGS) $(LIBFFI_EXECUTABLE_LDFLAGS)
++gst_LDFLAGS = -export-dynamic $(RELOC_LDFLAGS) $(LIBFFI_EXECUTABLE_LDFLAGS) $(PTHREAD_LDFLAGS)
+ gst_tool_SOURCES = gst-tool.c
+ gst_tool_LDADD = libgst/libgst.la lib-src/library.la @ICON@
+ gst_tool_DEPENDENCIES = libgst/libgst.la lib-src/library.la @ICON@
+-gst_tool_LDFLAGS = -export-dynamic $(RELOC_LDFLAGS) $(LIBFFI_EXECUTABLE_LDFLAGS)
++gst_tool_LDFLAGS = -export-dynamic $(RELOC_LDFLAGS) $(LIBFFI_EXECUTABLE_LDFLAGS) $(PTHREAD_LDFLAGS)
+ winewrapper_SOURCES = winewrapper.c
+ GST_EXTRA_TOOLS = gst-reload gst-sunit gst-blox gst-package gst-convert \
+ gst-doc gst-remote gst-profile gst-browser