pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/gauche Update Gauche from 0.8.6 to 0.8.9.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b38e780e03eb
branches:  trunk
changeset: 524139:b38e780e03eb
user:      uebayasi <uebayasi%pkgsrc.org@localhost>
date:      Fri Jan 19 12:59:00 2007 +0000

description:
Update Gauche from 0.8.6 to 0.8.9.

Important changes excerpted from web pages:

2007/1/17

    Gauche 0.8.9: Major maintenance release
      + Bug fixes
      + Miscellaneous improvements:

2006/11/18

    Gauche 0.8.8 important patch: There is a bug in main.c that makes gosh
    exits silently without reporting errors when a Scheme script raised an
    unhandled error. Please apply the patch shown in the following message:
    http://sourceforge.net/mailarchive/forum.php?thread_id=30949517&forum_id=
    2043

2006/11/11

    Gauche 0.8.8: Major maintenance release
      + Important Changes:
          o Exact rational number is supported; now you get 1/3 from (/ 1 3).
            To obtain inexact number from division of two exact numbers, you
            have to use exact->inexact explicitly. With this change you can get
            more exact result, but if your code has relied on the old Gauche
            behavior that automatically converts rationals to inexact reals,
            your code may run very slowly in this release of Gauche (since
            exact rational arithmetic is much slower than flonum arithmetic).
            For the smooth transition, a compatibility module compat.norational
            is provided, which makes the / operator behaves like before. See
            the manual entry for the details.
          o The reader is more strict about utf-8 encoding. Consequently, some
            source files in other encoding that happened to be accepted by
            previous versions of Gauche may no longer work. If you get an
            error, either convert the encoding of the source, or use "coding:"
            magic comment (See "Multibyte scripts" section of the reference
            manual).
          o The test-module routine in gauche.test is fixed so that it detects
            more references to undefined global variables that have been
            overlooked. You may get an error something like "symbols referenced
            but not defined: ...". In most cases, they are from typos. See the
            manual entry of gauche.test - Unit testing for the details.
          o New modules:
              # sxml.serializer: Generic routine to convert SXML to other
                formats like XML or HTML. Written by Dmitry Lizorkin and ported
                to Gauche by Leonardo Boiko.
              # util.trie: Implementation of Trie. Originally by OOHASHI
                Daichi, and hacked by numerous Gauche hackers.
              # util.rbtree: Implementation of Red-Black Tree. Written by Rui
                Ueyama.
          o A bug in port locking routine, that caused a race condition on
            multiprocessor machine, is fixed. As a side effect, port lock
            operation became a bit faster.
          o C API prospected change: Scm_Eval, Scm_EvalCString, and Scm_Apply
            will have different API in the next release. The current API is
            kept under a different name, Scm_EvalRec, Scm_EvalCStringRec, and
            Scm_ApplyRec. If you are using those functions, please make changes
            until the next release.
      + Miscellaneous fixes and improvements:

2006/4/12

    Gauche 0.8.7: Major maintenance release
      + Bug fixes:
      + Improvements:

diffstat:

 lang/gauche/Makefile         |   5 ++---
 lang/gauche/PLIST            |  18 ++++++++++++++++--
 lang/gauche/distinfo         |  19 ++++++++-----------
 lang/gauche/options.mk       |  14 +++++++++-----
 lang/gauche/patches/patch-aa |  12 ++++++------
 lang/gauche/patches/patch-ab |  13 -------------
 lang/gauche/patches/patch-ac |  13 -------------
 lang/gauche/patches/patch-ad |  13 -------------
 lang/gauche/patches/patch-ae |  16 ++++++++--------
 lang/gauche/patches/patch-af |   4 ++--
 lang/gauche/patches/patch-ag |   4 ++--
 11 files changed, 53 insertions(+), 78 deletions(-)

diffs (truncated from 322 to 300 lines):

diff -r 5d396a650e9c -r b38e780e03eb lang/gauche/Makefile
--- a/lang/gauche/Makefile      Fri Jan 19 12:00:40 2007 +0000
+++ b/lang/gauche/Makefile      Fri Jan 19 12:59:00 2007 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.38 2006/04/09 01:11:31 jlam Exp $
+# $NetBSD: Makefile,v 1.39 2007/01/19 12:59:00 uebayasi Exp $
 #
 
-DISTNAME=      Gauche-0.8.6
-PKGREVISION=   1
+DISTNAME=      Gauche-0.8.9
 CATEGORIES=    lang
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=gauche/}
 EXTRACT_SUFX=  .tgz
diff -r 5d396a650e9c -r b38e780e03eb lang/gauche/PLIST
--- a/lang/gauche/PLIST Fri Jan 19 12:00:40 2007 +0000
+++ b/lang/gauche/PLIST Fri Jan 19 12:59:00 2007 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.14 2006/03/31 18:35:22 jlam Exp $
+@comment $NetBSD: PLIST,v 1.15 2007/01/19 12:59:01 uebayasi Exp $
 bin/gauche-cesconv
 bin/gauche-config
 bin/gauche-install
@@ -11,9 +11,13 @@
 lib/gauche/${PKGVERSION}/${MACHINE_GNU_PLATFORM}/fcntl.so
 lib/gauche/${PKGVERSION}/${MACHINE_GNU_PLATFORM}/file-util-lib.so
 lib/gauche/${PKGVERSION}/${MACHINE_GNU_PLATFORM}/gauche-cesconv
+lib/gauche/${PKGVERSION}/${MACHINE_GNU_PLATFORM}/gauche-collection-lib.so
 lib/gauche/${PKGVERSION}/${MACHINE_GNU_PLATFORM}/gauche-config
+lib/gauche/${PKGVERSION}/${MACHINE_GNU_PLATFORM}/gauche-hook-lib.so
 lib/gauche/${PKGVERSION}/${MACHINE_GNU_PLATFORM}/gauche-install
 lib/gauche/${PKGVERSION}/${MACHINE_GNU_PLATFORM}/gauche-package
+lib/gauche/${PKGVERSION}/${MACHINE_GNU_PLATFORM}/gauche-parameter-lib.so
+lib/gauche/${PKGVERSION}/${MACHINE_GNU_PLATFORM}/gauche-sequence-lib.so
 ${USE_GDBM}lib/gauche/${PKGVERSION}/${MACHINE_GNU_PLATFORM}/gdbm.so
 lib/gauche/${PKGVERSION}/${MACHINE_GNU_PLATFORM}/gosh
 lib/gauche/${PKGVERSION}/${MACHINE_GNU_PLATFORM}/libcharconv.so
@@ -28,6 +32,7 @@
 lib/gauche/${PKGVERSION}/${MACHINE_GNU_PLATFORM}/srfi-13-lib.so
 lib/gauche/${PKGVERSION}/${MACHINE_GNU_PLATFORM}/srfi-19-lib.so
 lib/gauche/${PKGVERSION}/${MACHINE_GNU_PLATFORM}/srfi-43-lib.so
+lib/gauche/${PKGVERSION}/${MACHINE_GNU_PLATFORM}/sxml-serializer.so
 lib/gauche/${PKGVERSION}/${MACHINE_GNU_PLATFORM}/sxml-ssax.so
 lib/gauche/${PKGVERSION}/${MACHINE_GNU_PLATFORM}/sxml-sxpath.so
 lib/gauche/${PKGVERSION}/${MACHINE_GNU_PLATFORM}/sxml-tools.so
@@ -38,23 +43,28 @@
 lib/gauche/${PKGVERSION}/${MACHINE_GNU_PLATFORM}/vport.so
 lib/gauche/${PKGVERSION}/include/gauche.h
 lib/gauche/${PKGVERSION}/include/gauche/arch.h
+lib/gauche/${PKGVERSION}/include/gauche/bignum.h
 lib/gauche/${PKGVERSION}/include/gauche/builtin-syms.h
 lib/gauche/${PKGVERSION}/include/gauche/char_euc_jp.h
 lib/gauche/${PKGVERSION}/include/gauche/char_none.h
 lib/gauche/${PKGVERSION}/include/gauche/char_sjis.h
 lib/gauche/${PKGVERSION}/include/gauche/char_utf_8.h
 lib/gauche/${PKGVERSION}/include/gauche/class.h
+lib/gauche/${PKGVERSION}/include/gauche/code.h
 lib/gauche/${PKGVERSION}/include/gauche/config.h
-lib/gauche/${PKGVERSION}/include/gauche/code.h
 lib/gauche/${PKGVERSION}/include/gauche/exception.h
 lib/gauche/${PKGVERSION}/include/gauche/extend.h
 lib/gauche/${PKGVERSION}/include/gauche/int64.h
 lib/gauche/${PKGVERSION}/include/gauche/mingw-compat.h
 lib/gauche/${PKGVERSION}/include/gauche/net.h
+lib/gauche/${PKGVERSION}/include/gauche/number.h
+lib/gauche/${PKGVERSION}/include/gauche/port.h
 lib/gauche/${PKGVERSION}/include/gauche/pthread.h
 lib/gauche/${PKGVERSION}/include/gauche/scmconst.h
+lib/gauche/${PKGVERSION}/include/gauche/system.h
 lib/gauche/${PKGVERSION}/include/gauche/uthread.h
 lib/gauche/${PKGVERSION}/include/gauche/uvector.h
+lib/gauche/${PKGVERSION}/include/gauche/vector.h
 lib/gauche/${PKGVERSION}/include/gauche/vm.h
 lib/gauche/${PKGVERSION}/include/gauche/vminsn.h
 lib/gauche/${PKGVERSION}/include/gc.h
@@ -71,6 +81,7 @@
 share/gauche/${PKGVERSION}/lib/binary/pack.scm
 share/gauche/${PKGVERSION}/lib/cesconv
 share/gauche/${PKGVERSION}/lib/compat/jfilter.scm
+share/gauche/${PKGVERSION}/lib/compat/norational.scm
 share/gauche/${PKGVERSION}/lib/compat/stk.scm
 share/gauche/${PKGVERSION}/lib/dbd/null.scm
 share/gauche/${PKGVERSION}/lib/dbi.scm
@@ -182,6 +193,7 @@
 share/gauche/${PKGVERSION}/lib/srfi-7.scm
 share/gauche/${PKGVERSION}/lib/srfi-9.scm
 share/gauche/${PKGVERSION}/lib/sxml/adaptor.scm
+share/gauche/${PKGVERSION}/lib/sxml/serializer.scm
 share/gauche/${PKGVERSION}/lib/sxml/ssax.scm
 share/gauche/${PKGVERSION}/lib/sxml/sxpath.scm
 share/gauche/${PKGVERSION}/lib/sxml/to-html.scm
@@ -203,11 +215,13 @@
 share/gauche/${PKGVERSION}/lib/util/list.scm
 share/gauche/${PKGVERSION}/lib/util/match.scm
 share/gauche/${PKGVERSION}/lib/util/queue.scm
+share/gauche/${PKGVERSION}/lib/util/rbtree.scm
 share/gauche/${PKGVERSION}/lib/util/record.scm
 share/gauche/${PKGVERSION}/lib/util/relation.scm
 share/gauche/${PKGVERSION}/lib/util/stream.scm
 share/gauche/${PKGVERSION}/lib/util/toposort.scm
 share/gauche/${PKGVERSION}/lib/util/tree.scm
+share/gauche/${PKGVERSION}/lib/util/trie.scm
 share/gauche/${PKGVERSION}/lib/www/cgi-test.scm
 share/gauche/${PKGVERSION}/lib/www/cgi.scm
 share/gauche/${PKGVERSION}/template.DIST
diff -r 5d396a650e9c -r b38e780e03eb lang/gauche/distinfo
--- a/lang/gauche/distinfo      Fri Jan 19 12:00:40 2007 +0000
+++ b/lang/gauche/distinfo      Fri Jan 19 12:59:00 2007 +0000
@@ -1,12 +1,9 @@
-$NetBSD: distinfo,v 1.20 2006/03/31 18:35:22 jlam Exp $
+$NetBSD: distinfo,v 1.21 2007/01/19 12:59:01 uebayasi Exp $
 
-SHA1 (Gauche-0.8.6.tgz) = 8ce200011da2eff925c8ccf65502529df379f2b8
-RMD160 (Gauche-0.8.6.tgz) = e6986c2602926b6a5c16a41838212bd041a4fbae
-Size (Gauche-0.8.6.tgz) = 2881800 bytes
-SHA1 (patch-aa) = 21aa160a43ce7eb0de636dd422c8d9b59b71f8ee
-SHA1 (patch-ab) = 7c05e4e266078903871e13084c217ba6930275ce
-SHA1 (patch-ac) = 7e5e0056f6e1cf685edf8dd0bd5b7ea87b05348c
-SHA1 (patch-ad) = 25d6ed22d3a3d8d0360575ab8be5c5f1f0cf447e
-SHA1 (patch-ae) = 0f76f4ba32b21d9c34335713e17bac70b8f8f9fd
-SHA1 (patch-af) = 3f269e0c65830eeed9c5723cda02a9a66a8aa475
-SHA1 (patch-ag) = 97d19d33e2ae59bb894716bd289206b9b12ed38c
+SHA1 (Gauche-0.8.9.tgz) = 5d150708e3363e56b7e99e483d7f8e19937e9916
+RMD160 (Gauche-0.8.9.tgz) = b9b5a78e99c65db31c4fe6e3f6e90083a928f1e6
+Size (Gauche-0.8.9.tgz) = 3080645 bytes
+SHA1 (patch-aa) = 4051468ba1fee56927f0d1bc61b7310432655279
+SHA1 (patch-ae) = ab7aacbfe88450674cf56458c6000bc895b6f91e
+SHA1 (patch-af) = cfa1772da7f0dd90a9f4a53c2d1e0b27a74a24ee
+SHA1 (patch-ag) = ee9946e364d6723b0efe3b260fc5d02ccb04621d
diff -r 5d396a650e9c -r b38e780e03eb lang/gauche/options.mk
--- a/lang/gauche/options.mk    Fri Jan 19 12:00:40 2007 +0000
+++ b/lang/gauche/options.mk    Fri Jan 19 12:59:00 2007 +0000
@@ -1,8 +1,10 @@
-# $NetBSD: options.mk,v 1.4 2006/03/31 18:35:22 jlam Exp $
+# $NetBSD: options.mk,v 1.5 2007/01/19 12:59:01 uebayasi Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.gauche
-PKG_SUPPORTED_OPTIONS= gdbm multibyte
-PKG_SUGGESTED_OPTIONS= gdbm multibyte
+PKG_OPTIONS_OPTIONAL_GROUPS=   multibyte
+PKG_OPTIONS_GROUP.multibyte=   utf8 eucjp sjis
+PKG_SUPPORTED_OPTIONS= gdbm
+PKG_SUGGESTED_OPTIONS= gdbm utf8
 
 .include "../../mk/bsd.options.mk"
 
@@ -23,9 +25,11 @@
 ###
 ### Multibyte extension.
 ###
-.if !empty(PKG_OPTIONS:Mmultibyte) && defined(GAUCHE_MULTIBYTE)
-CONFIGURE_ARGS+=       --enable-multibyte=${GAUCHE_MULTIBYTE:Q}
+.for __encoding in utf8 eucjp sjis
+.if !empty(PKG_OPTIONS:M${__encoding})
+CONFIGURE_ARGS+=       --enable-multibyte=${__encoding}
 .endif
+.endfor
 
 .if defined(PKG_DEVELOPER)
 .PHONY: print-multibyte-options
diff -r 5d396a650e9c -r b38e780e03eb lang/gauche/patches/patch-aa
--- a/lang/gauche/patches/patch-aa      Fri Jan 19 12:00:40 2007 +0000
+++ b/lang/gauche/patches/patch-aa      Fri Jan 19 12:59:00 2007 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.7 2006/03/31 18:35:22 jlam Exp $
+$NetBSD: patch-aa,v 1.8 2007/01/19 12:59:01 uebayasi Exp $
 
---- configure.orig     2005-11-04 20:00:47.000000000 -0500
+--- configure.orig     2007-01-18 04:18:59.000000000 +0900
 +++ configure
-@@ -1631,7 +1631,7 @@ _ACEOF
+@@ -1619,7 +1619,7 @@ _ACEOF
  
        THREADLIBS="-lpthread -lrt"
        ;;
@@ -11,7 +11,7 @@
        { echo "$as_me:$LINENO: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&5
  echo "$as_me: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&2;}
  
-@@ -7238,7 +7238,72 @@ fi
+@@ -7426,7 +7426,72 @@ fi
  
  
  
@@ -85,7 +85,7 @@
  do
  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
  echo "$as_me:$LINENO: checking for $ac_func" >&5
-@@ -8878,7 +8943,7 @@ case $target in
+@@ -9068,7 +9133,7 @@ case $target in
      SHLIB_MAIN_LDFLAGS=""
      SHLIB_OK=ok
      ;;
@@ -94,7 +94,7 @@
      SHLIB_SO_CFLAGS="-fPIC"
      SHLIB_SO_LDFLAGS="$rpath -shared -o"
      SHLIB_SO_SUFFIX="so"
-@@ -9276,7 +9341,9 @@ fi;
+@@ -9466,7 +9531,9 @@ fi;
  if test "${with_iconv_lib+set}" = set; then
    withval="$with_iconv_lib"
  
diff -r 5d396a650e9c -r b38e780e03eb lang/gauche/patches/patch-ab
--- a/lang/gauche/patches/patch-ab      Fri Jan 19 12:00:40 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.5 2005/12/30 14:18:52 joerg Exp $
-
---- gc/include/private/gcconfig.h.orig 2005-12-30 13:34:26.000000000 +0000
-+++ gc/include/private/gcconfig.h
-@@ -55,7 +55,7 @@
- # endif
- 
- /* And one for FreeBSD: */
--# if defined(__FreeBSD__) && !defined(FREEBSD)
-+# if (defined(__FreeBSD__) || defined(__DragonFly__)) && !defined(FREEBSD)
- #    define FREEBSD
- # endif
- 
diff -r 5d396a650e9c -r b38e780e03eb lang/gauche/patches/patch-ac
--- a/lang/gauche/patches/patch-ac      Fri Jan 19 12:00:40 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ac,v 1.6 2005/12/30 14:18:52 joerg Exp $
-
---- gc/include/gc_config_macros.h.orig 2005-12-30 13:35:00.000000000 +0000
-+++ gc/include/gc_config_macros.h
-@@ -87,7 +87,7 @@
- #   define GC_DARWIN_THREADS
- #   define GC_PTHREADS
- # endif
--# if !defined(GC_PTHREADS) && defined(__FreeBSD__)
-+# if !defined(GC_PTHREADS) && (defined(__FreeBSD__) || defined(__DragonFly__))
- #   define GC_FREEBSD_THREADS
- #   define GC_PTHREADS
- # endif
diff -r 5d396a650e9c -r b38e780e03eb lang/gauche/patches/patch-ad
--- a/lang/gauche/patches/patch-ad      Fri Jan 19 12:00:40 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ad,v 1.7 2005/12/30 14:18:52 joerg Exp $
-
---- gc/include/gc.h.orig       2005-12-30 13:35:27.000000000 +0000
-+++ gc/include/gc.h
-@@ -497,7 +497,7 @@ GC_API GC_PTR GC_malloc_atomic_ignore_of
- /* This may also be desirable if it is possible but expensive to      */
- /* retrieve the call chain.                                           */
- #if (defined(__linux__) || defined(__NetBSD__) || defined(__OpenBSD__) \
--     || defined(__FreeBSD__)) & !defined(GC_CAN_SAVE_CALL_STACKS)
-+     || defined(__FreeBSD__) || defined(__DragonFly__)) & !defined(GC_CAN_SAVE_CALL_STACKS)
- # define GC_ADD_CALLER
- # if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95) 
-     /* gcc knows how to retrieve return address, but we don't know */
diff -r 5d396a650e9c -r b38e780e03eb lang/gauche/patches/patch-ae
--- a/lang/gauche/patches/patch-ae      Fri Jan 19 12:00:40 2007 +0000
+++ b/lang/gauche/patches/patch-ae      Fri Jan 19 12:59:00 2007 +0000
@@ -1,17 +1,17 @@
-$NetBSD: patch-ae,v 1.10 2005/12/30 14:18:52 joerg Exp $
+$NetBSD: patch-ae,v 1.11 2007/01/19 12:59:02 uebayasi Exp $
 
---- gc/configure.orig  2005-11-05 01:00:49.000000000 +0000
+--- gc/configure.orig  2007-01-18 04:19:02.000000000 +0900
 +++ gc/configure
-@@ -4030,7 +4030,7 @@ _ACEOF
-       fi
-       THREADDLLIBS="-lpthread -lrt"
+@@ -4040,7 +4040,7 @@ _ACEOF
+       { echo "$as_me:$LINENO: WARNING: \"Only HP-UX 11 POSIX threads are supported.\"" >&5
+ echo "$as_me: WARNING: \"Only HP-UX 11 POSIX threads are supported.\"" >&2;}
        ;;
 -     *-*-freebsd*)
 +     *-*-freebsd* | *-*-dragonfly*)
        { echo "$as_me:$LINENO: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&5
  echo "$as_me: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&2;}
        cat >>confdefs.h <<\_ACEOF
-@@ -4698,13 +4698,13 @@ darwin* | rhapsody*)
+@@ -4822,13 +4822,13 @@ darwin* | rhapsody*)
    esac
    ;;
  
@@ -27,7 +27,7 @@
        lt_cv_file_magic_cmd=/usr/bin/file
        lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
        ;;
-@@ -7200,7 +7200,7 @@ else
+@@ -7324,7 +7324,7 @@ else
      ;;
  
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
@@ -36,7 +36,7 @@
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
      hardcode_libdir_flag_spec='-R$libdir'
      hardcode_direct=yes
-@@ -7659,7 +7659,7 @@ freebsd1*)
+@@ -7783,7 +7783,7 @@ freebsd1*)
    dynamic_linker=no
    ;;
  
diff -r 5d396a650e9c -r b38e780e03eb lang/gauche/patches/patch-af
--- a/lang/gauche/patches/patch-af      Fri Jan 19 12:00:40 2007 +0000



Home | Main Index | Thread Index | Old Index