pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/newlisp Update to 10.7.5

branches:  trunk
changeset: 338381:afe91926ca46
user:      ryoon <>
date:      Fri Aug 23 13:41:31 2019 +0000

Update to 10.7.5

* GUI in Java was removed in 10.7.2 release.
* Fix build error related to readline with devel/readline. PR pkg/54484

   Fixing out-of-sink of file positions when mixing 'search' and 'seek'
   with 'read-line' on IO-streams introduced a new errror making
   the newlisp-10.x.x/examples/upload.cgi script fail.

   Supress loading of startup init.lsp when -h option is present. Before
   only the -n and -x options supressed init.lsp.

   Change in modules/gsl.lsp to make it work on locales using comma separator.

   Ability to use 'open', 'rename-file', 'delete-file', 'make-dir' and
   'remove-dir' with UTF16 filenames in UTF8 versions on Windows when
   using the UTF8 version of newLISP. The functions 'file-info', 'file?',
   'change-dir' and 'dir? already worked on UTF16 filenames when using the UTF8
   version of newLISP on Windows.

   Thanks to Michael Sabin who started the work a few years back writing the
   win-path.c file with functions translating between UTF8 and UTF16.

   When using the UTF8 version of newLISP on Windows in a command shell, that
   command shell program also should be able to handle/display UTF8 (not UTF16).
   On Windows and Linux the Java based frontend newLISP-GS handles UTF8.
   On Mac OS the terminal program handles UTF8.

   Fixed a wrong 'symbol protected message' when a protected symbol is
   part of a nested espression, but not a symbol with its content to be

   New modules/postscript.lsp changes description of ps:drawto.

   Fixed flushing problem on 'print' to stdout on Mac OS and other BSDs.

   '(read-key true)' with the 'true' parameter is now non-blocking.

   (trim str) on some strings containing 0's would overrun memory and 0's
   where not trimmed from the left. All character <= 32 (space) should
   be trimmed from the left and right ends of the string buffer. When the
   entire string is valid ASCII or UTF-8 with no 0s, ?trim? behaves
   like in older versions.

   When starting newlisp in -http-safe server mode HTTP_PUT and HTTP_DELETE
   requests will not be served. This will cause 'write-file' and 'delete-file'
   in url syntax, 'put-url' and 'delete-url' functions issued from a newLISP
   client to return the text message "Server in safe mode".

   New file qa-specific-tests/qa-share.lsp .

   New guiserver.jar v 1.67 compiled with java 1.6
   Still problems on macOS, some unrelated to change to image/icon load change

   Added REQUEST_URI to environment variables in webserver mode.

   Removed code introduced in 10.7.2 to syncronize file poisitons of C FILE stream
   and raw file handle operations. Syncronization still seem s to work on cases
   tested, but may not work in all cases mixing 'read-line' and 'seek'.

   Changes for separately packaged Java Guiserver and elimination of installers.

   (rotate theList -offsetOfRotation) was buggy

   In getPutPostDeleteUrl(....) sock wasn't closed when returning with webError(..)

   compareLists() in nl-math.c did not take list lengths into account. Also update
   of qa-dot for relevant cases.


 lang/newlisp/Makefile                              |  18 +++------
 lang/newlisp/PLIST                                 |  38 +---------------------
 lang/newlisp/distinfo                              |  11 ++---
 lang/newlisp/patches/patch-guiserver_guiserver.lsp |  15 --------
 4 files changed, 12 insertions(+), 70 deletions(-)

diffs (140 lines):

diff -r 9b24ef3c0d59 -r afe91926ca46 lang/newlisp/Makefile
--- a/lang/newlisp/Makefile     Fri Aug 23 13:32:30 2019 +0000
+++ b/lang/newlisp/Makefile     Fri Aug 23 13:41:31 2019 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.12 2019/04/24 13:09:45 hauke Exp $
+# $NetBSD: Makefile,v 1.13 2019/08/23 13:41:31 ryoon Exp $
-DISTNAME=      newlisp-10.7.1
+DISTNAME=      newlisp-10.7.5
 CATEGORIES=    lang
@@ -17,22 +17,16 @@
 CONFIGURE_ARGS+=       --enable-readline
-USE_JAVA=      run
-USE_JAVA2=     yes
-SUBST_CLASSES+=                java      guiserver/guiserver.lsp      pre-configure                -e 's,@JAVA_HOME@,${PKG_JAVA_HOME},g'
 SUBST_CLASSES+=                        interpreter
 SUBST_STAGE.interpreter=       pre-configure
 SUBST_MESSAGE.interpreter=     Fix shebang
-SUBST_FILES.interpreter=       guiserver/*lsp util/syntax.cgi util/newlispdoc
+SUBST_FILES.interpreter=       util/syntax.cgi util/newlispdoc
 SUBST_SED.interpreter=         -e 's,/usr/bin/newlisp,${PREFIX}/bin/newlisp,'
 SUBST_SED.interpreter+=                -e 's,/usr/local/bin/newlisp,${PREFIX}/bin/newlisp,'
 SUBST_SED.interpreter+=                -e 's,/usr/bin/env newlisp,${PREFIX}/bin/newlisp,'
-.include "../../mk/"
+LDFLAGS+=      -lreadline
+.include "../../devel/readline/"
 .include "../../mk/"
 .include "../../mk/"
diff -r 9b24ef3c0d59 -r afe91926ca46 lang/newlisp/PLIST
--- a/lang/newlisp/PLIST        Fri Aug 23 13:32:30 2019 +0000
+++ b/lang/newlisp/PLIST        Fri Aug 23 13:41:31 2019 +0000
@@ -1,51 +1,16 @@
-@comment $NetBSD: PLIST,v 1.8 2019/04/24 13:09:45 hauke Exp $
+@comment $NetBSD: PLIST,v 1.9 2019/08/23 13:41:31 ryoon Exp $
@@ -66,6 +31,5 @@
diff -r 9b24ef3c0d59 -r afe91926ca46 lang/newlisp/distinfo
--- a/lang/newlisp/distinfo     Fri Aug 23 13:32:30 2019 +0000
+++ b/lang/newlisp/distinfo     Fri Aug 23 13:41:31 2019 +0000
@@ -1,9 +1,8 @@
-$NetBSD: distinfo,v 1.13 2019/04/24 13:09:45 hauke Exp $
+$NetBSD: distinfo,v 1.14 2019/08/23 13:41:31 ryoon Exp $
-SHA1 (newlisp-10.7.1.tgz) = 724e7fd1c0512a4236fde022825dfd7ef859ca96
-RMD160 (newlisp-10.7.1.tgz) = e0981aafef32790cc66cdb570b628930a6e45c22
-SHA512 (newlisp-10.7.1.tgz) = dff9ea671581e9421028abec786ec4f4557b150ffff8357c42c03af414d6d78a277b7c13cf08cd9950427eff32570a15b85072009e7596e66592c8a4186c6560
-Size (newlisp-10.7.1.tgz) = 1721645 bytes
+SHA1 (newlisp-10.7.5.tgz) = 706fd8af9eb22e19a6f662a2a18fcbba083721db
+RMD160 (newlisp-10.7.5.tgz) = 62acd6c9fc31438689cc221cf3541de23ef0b4d3
+SHA512 (newlisp-10.7.5.tgz) = 1882c665ee8a7b683038622e0760b62386929a99afb17b197ea9243214070fae6622b83e56113738275587fcbe3cd6b127154a38dc0ff36bae2751f9e13a1209
+Size (newlisp-10.7.5.tgz) = 1168896 bytes
 SHA1 (patch-configure-alt) = 6ac73164de672a048f7cde791e8958633fdae47e
-SHA1 (patch-guiserver_guiserver.lsp) = 47e29e73e9ecb6d96f42287a17398dd13071c572
 SHA1 (patch-newlisp.c) = 2ae925e56be9ed4197876493c077976a1690726b
diff -r 9b24ef3c0d59 -r afe91926ca46 lang/newlisp/patches/patch-guiserver_guiserver.lsp
--- a/lang/newlisp/patches/patch-guiserver_guiserver.lsp        Fri Aug 23 13:32:30 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-guiserver_guiserver.lsp,v 1.2 2015/12/29 23:34:52 dholland Exp $
-Don't hardwire paths.
---- guiserver/guiserver.lsp.orig       2014-04-08 14:02:28.000000000 +0000
-+++ guiserver/guiserver.lsp
-@@ -1879,7 +1879,7 @@ true
-                       (env "JAVA_HOME")
-                       (process (string (env "JAVA_HOME") "/bin/java -jar " server-path " " portIn))
--                      (process (string "/usr/bin/java -jar " server-path " " portIn))
-+                      (process (string "@JAVA_HOME@/bin/java -jar " server-path " " portIn))
-               )
-       )

Home | Main Index | Thread Index | Old Index