public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/lisp:master commit in: dev-lisp/newlisp/files/, dev-lisp/newlisp/
@ 2016-02-06 16:41 José María Alonso
  0 siblings, 0 replies; 2+ messages in thread
From: José María Alonso @ 2016-02-06 16:41 UTC (permalink / raw
  To: gentoo-commits

commit:     70f8c03298b907b83c8e9a483ce8a069250447ff
Author:     Chema Alonso Josa <nimiux <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  6 16:45:39 2016 +0000
Commit:     José María Alonso <nimiux <AT> gentoo <DOT> org>
CommitDate: Sat Feb  6 16:45:39 2016 +0000
URL:        https://gitweb.gentoo.org/proj/lisp.git/commit/?id=70f8c032

dev-lisp/newlisp: Bump to version 10.7.0. Thanks to coseltech

 .../files/newlisp-makefile-install-10.7.0.patch    |  14 +
 dev-lisp/newlisp/files/newlisp-path-10.7.0.patch   | 732 +++++++++++++++++++++
 dev-lisp/newlisp/newlisp-10.7.0.ebuild             |  68 ++
 3 files changed, 814 insertions(+)

diff --git a/dev-lisp/newlisp/files/newlisp-makefile-install-10.7.0.patch b/dev-lisp/newlisp/files/newlisp-makefile-install-10.7.0.patch
new file mode 100644
index 0000000..c3b9215
--- /dev/null
+++ b/dev-lisp/newlisp/files/newlisp-makefile-install-10.7.0.patch
@@ -0,0 +1,14 @@
+diff -Nuar a/makefile_original_install b/makefile_original_install
+--- a/makefile_original_install	2015-01-19 18:10:12.000000000 +0100
++++ b/makefile_original_install	2015-06-22 12:59:33.639980437 +0200
+@@ -31,7 +31,9 @@
+ 	-install -d $(datadir)/newlisp/modules
+ 	-install -d $(datadir)/newlisp/util
+ 	-install -d $(datadir)/doc/newlisp
+-	-rm $(bindir)/newlisp
++	-install -d $(datadir)/man
++	-install -d $(datadir)/man/man1
++	-install -d $(bindir)
+ 	-install -m 755  newlisp $(bindir)/newlisp-$(VERSION)
+ 	-ln -s $(bindir)/newlisp-$(VERSION) $(bindir)/newlisp
+ 	-install -m 755 util/newlispdoc $(bindir)/newlispdoc

diff --git a/dev-lisp/newlisp/files/newlisp-path-10.7.0.patch b/dev-lisp/newlisp/files/newlisp-path-10.7.0.patch
new file mode 100644
index 0000000..c603e53
--- /dev/null
+++ b/dev-lisp/newlisp/files/newlisp-path-10.7.0.patch
@@ -0,0 +1,732 @@
+diff --git a/newlisp-10.7.0/Makefile b/newlisp-10.7.0/Makefile
+index 31dd127..43c85e5 100644
+--- a/newlisp-10.7.0/Makefile
++++ b/newlisp-10.7.0/Makefile
+@@ -9,7 +9,7 @@
+ #
+ # for 'make install' you have to login as 'root' else do 'make install_home'
+ # note that 'make install_home' will not install guiserver files which
+-# must be in /usr/local/share/newlisp in MacOX X and UNIX machines
++# must be in /usr/share/newlisp in MacOX X and UNIX machines
+ #
+ # to make the distribution archive:  'make dist'
+ #
+@@ -39,8 +39,8 @@ help:
+ 	@echo "\nDo one of the following:"
+ 	@echo "  make                 # auto-select one of the predefined makefiles and build newLISP"
+ 	@echo "  make help            # display this help"
+-	@echo "  make install         # install on LINUX/UNIX in /usr/local/bin and /usr/local/share (need to be root)"
+-	@echo "  make uninstall       # uninstall on LINUX/UNIX from /usr/local/bin and /usr/local/share (need to be root)"
++	@echo "  make install         # install on LINUX/UNIX in /usr/bin and /usr/share (need to be root)"
++	@echo "  make uninstall       # uninstall on LINUX/UNIX from /usr/bin and /usr/share (need to be root)"
+ 	@echo "  make install_home    # install on LINUX/UNIX in users home directory "
+ 	@echo "  make uninstall_home  # uninstall on LINUX/UNIX from users home directory "
+ 	@echo
+diff --git a/newlisp-10.7.0/README b/newlisp-10.7.0/README
+index d16f1b3..3a274b3 100644
+--- a/newlisp-10.7.0/README
++++ b/newlisp-10.7.0/README
+@@ -100,7 +100,7 @@ MINIMUM INSTALL
+ Note that for a minumum install only the executable newlisp or newlisp.exe
+ in Win32 is necessary.
+ 
+-On Mac OS X or other UNIX copy  newlisp to /usr/local/bin or /usr/bin or ~/bin 
++On Mac OS X or other UNIX copy  newlisp to /usr/bin or /usr/bin or ~/bin 
+ and give it executable permissions.
+ 
+ 
+diff --git a/newlisp-10.7.0/configure b/newlisp-10.7.0/configure
+index edd06f8..7343ec2 100755
+--- a/newlisp-10.7.0/configure
++++ b/newlisp-10.7.0/configure
+@@ -90,7 +90,7 @@ elif [ ${os_type} = LINUX ] ; then
+ 	fi
+ elif [ ${os_type} = _BSD ] ; then
+ 	if [ ${memory_model} = LP64 ] ; then
+-		if [ -f /usr/local/include/ffi.h ] ; then
++		if [ -f /usr/include/ffi.h ] ; then
+ 			cp makefile_bsdLP64_utf8_ffi makefile_build
+ 		else
+ 			cp makefile_bsdLP64_utf8 makefile_build
+diff --git a/newlisp-10.7.0/configure-alt b/newlisp-10.7.0/configure-alt
+index d1bdd8f..2676701 100755
+--- a/newlisp-10.7.0/configure-alt
++++ b/newlisp-10.7.0/configure-alt
+@@ -328,7 +328,7 @@ EOF
+ esac
+ done
+ 
+-if [ -z "$prefix" ] ; then prefix="/usr/local"; fi
++if [ -z "$prefix" ] ; then prefix="/usr"; fi
+ if [ -z "$exec_prefix" ] ; then exec_prefix="$prefix"; fi
+ if [ -z "$bindir" ] ; then bindir="${exec_prefix}/bin"; fi
+ if [ -z "$datarootdir" ] ; then datarootdir="${prefix}/share"; fi
+diff --git a/newlisp-10.7.0/guiserver/Makefile b/newlisp-10.7.0/guiserver/Makefile
+index 18ccd88..0cda244 100644
+--- a/newlisp-10.7.0/guiserver/Makefile
++++ b/newlisp-10.7.0/guiserver/Makefile
+@@ -9,10 +9,10 @@ all:
+ 	rm *.class
+ 
+ install:
+-	-install -d  /usr/local/share/newlisp/guiserver
+-	-install -d  /usr/local/share/doc/newlisp/guiserver
+-	-install -m 644 guiserver.jar /usr/local/share/newlisp/
+-	-install -m 644 guiserver.lsp /usr/local/share/newlisp/
+-	-install -m 644 index.html /usr/local/share/doc/newlisp/guiserver/
+-	-install -m 644 guiserver.lsp.html /usr/local/share/doc/newlisp/guiserver/
+-	-install -m 755 newlisp-edit.lsp /usr/local/bin/newlisp-edit
++	-install -d  /usr/share/newlisp/guiserver
++	-install -d  /usr/share/doc/newlisp/guiserver
++	-install -m 644 guiserver.jar /usr/share/newlisp/
++	-install -m 644 guiserver.lsp /usr/share/newlisp/
++	-install -m 644 index.html /usr/share/doc/newlisp/guiserver/
++	-install -m 644 guiserver.lsp.html /usr/share/doc/newlisp/guiserver/
++	-install -m 755 newlisp-edit.lsp /usr/bin/newlisp-edit
+diff --git a/newlisp-10.7.0/guiserver/allfonts-demo.lsp b/newlisp-10.7.0/guiserver/allfonts-demo.lsp
+index 0af393b..8e8305a 100644
+--- a/newlisp-10.7.0/guiserver/allfonts-demo.lsp
++++ b/newlisp-10.7.0/guiserver/allfonts-demo.lsp
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;;
+ ;; allfonts-demo.lsp - show all fonts on the system
+ ;; this program also demonstrates that strings can be used instead 
+diff --git a/newlisp-10.7.0/guiserver/animation-demo.lsp b/newlisp-10.7.0/guiserver/animation-demo.lsp
+index ff78562..cc13a80 100644
+--- a/newlisp-10.7.0/guiserver/animation-demo.lsp
++++ b/newlisp-10.7.0/guiserver/animation-demo.lsp
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;;
+ ;; animation-demo.lsp - demonstrate gs:move-tag for making animations
+ ;; and the mouse-wheel moving a text object
+diff --git a/newlisp-10.7.0/guiserver/border-layout-demo.lsp b/newlisp-10.7.0/guiserver/border-layout-demo.lsp
+index f319754..bc06855 100644
+--- a/newlisp-10.7.0/guiserver/border-layout-demo.lsp
++++ b/newlisp-10.7.0/guiserver/border-layout-demo.lsp
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;;
+ ;; border-layout-demo.lsp - demonstrate the border layout
+ 
+diff --git a/newlisp-10.7.0/guiserver/button-demo.lsp b/newlisp-10.7.0/guiserver/button-demo.lsp
+index 55234ad..7244dad 100644
+--- a/newlisp-10.7.0/guiserver/button-demo.lsp
++++ b/newlisp-10.7.0/guiserver/button-demo.lsp
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;;
+ ; button-demo.lsp - demonstrate the button control
+ 
+diff --git a/newlisp-10.7.0/guiserver/clipboard-demo.lsp b/newlisp-10.7.0/guiserver/clipboard-demo.lsp
+index 454db3f..6e3c9f8 100644
+--- a/newlisp-10.7.0/guiserver/clipboard-demo.lsp
++++ b/newlisp-10.7.0/guiserver/clipboard-demo.lsp
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;;
+ ;; clipboard-demo.lsp - demonstrate the gs:paste-text function
+ 
+diff --git a/newlisp-10.7.0/guiserver/cursor-demo.lsp b/newlisp-10.7.0/guiserver/cursor-demo.lsp
+index a4e5cf2..44a3fcb 100644
+--- a/newlisp-10.7.0/guiserver/cursor-demo.lsp
++++ b/newlisp-10.7.0/guiserver/cursor-demo.lsp
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;;
+ ;; cursor-demo - demonstrate cursor shapes with gs:set-cursor
+ 
+diff --git a/newlisp-10.7.0/guiserver/drag-demo.lsp b/newlisp-10.7.0/guiserver/drag-demo.lsp
+index 7d86eda..d366b1e 100644
+--- a/newlisp-10.7.0/guiserver/drag-demo.lsp
++++ b/newlisp-10.7.0/guiserver/drag-demo.lsp
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;;
+ ;; drag-demo.lsp - demonstrate dragging of objects with the mouse
+ ;;
+diff --git a/newlisp-10.7.0/guiserver/font-demo.lsp b/newlisp-10.7.0/guiserver/font-demo.lsp
+index d3a072e..042958c 100644
+--- a/newlisp-10.7.0/guiserver/font-demo.lsp
++++ b/newlisp-10.7.0/guiserver/font-demo.lsp
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;;
+ ;; font-demo.lsp - show all built-in Java fonts (available on all platforms)
+ 
+diff --git a/newlisp-10.7.0/guiserver/frameless-demo.lsp b/newlisp-10.7.0/guiserver/frameless-demo.lsp
+index e792d6b..c28a64a 100644
+--- a/newlisp-10.7.0/guiserver/frameless-demo.lsp
++++ b/newlisp-10.7.0/guiserver/frameless-demo.lsp
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ 
+ ;; frameless-demo.lsp - frameless and transparent (on MacOS X)
+ 
+diff --git a/newlisp-10.7.0/guiserver/guiserver.lsp b/newlisp-10.7.0/guiserver/guiserver.lsp
+index 4879081..1d9d4db 100644
+--- a/newlisp-10.7.0/guiserver/guiserver.lsp
++++ b/newlisp-10.7.0/guiserver/guiserver.lsp
+@@ -40,7 +40,7 @@
+ ;; <h2>Usage</h2>
+ ;; At the beginning of the program file, include a 'load' statement for the module:
+ ;; <pre>
+-;; (load "/usr/local/share/newlisp/guiserver.lsp")
++;; (load "/usr/share/newlisp/guiserver.lsp")
+ ;; </pre>
+ ;; or on MS Windows:
+ ;; <pre>
+diff --git a/newlisp-10.7.0/guiserver/html-demo.lsp b/newlisp-10.7.0/guiserver/html-demo.lsp
+index bf92406..5996ef9 100644
+--- a/newlisp-10.7.0/guiserver/html-demo.lsp
++++ b/newlisp-10.7.0/guiserver/html-demo.lsp
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;;
+ ;; html-demo.lsp - demonstrate  the text pane with HTML
+ 
+@@ -18,7 +18,7 @@
+ 
+ (if (= ostype "Windows")
+ 	(set 'url (string "file:///" (env "NEWLISPDIR") "/guiserver/html-demo.lsp"))
+-	(set 'url "file:///usr/local/share/newlisp/guiserver/html-demo.lsp")
++	(set 'url "file:///usr/share/newlisp/guiserver/html-demo.lsp")
+ )
+ 
+ (set 'page (format [text]
+diff --git a/newlisp-10.7.0/guiserver/image-demo.lsp b/newlisp-10.7.0/guiserver/image-demo.lsp
+index e7deaa5..7090a60 100644
+--- a/newlisp-10.7.0/guiserver/image-demo.lsp
++++ b/newlisp-10.7.0/guiserver/image-demo.lsp
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;;
+ ;; image-demo.lsp - demonstrate images rotating and zooming
+ ;; and the mouse-wheel rotating an object
+diff --git a/newlisp-10.7.0/guiserver/java/guiserver.java b/newlisp-10.7.0/guiserver/java/guiserver.java
+index 834d383..8ab2016 100644
+--- a/newlisp-10.7.0/guiserver/java/guiserver.java
++++ b/newlisp-10.7.0/guiserver/java/guiserver.java
+@@ -83,7 +83,7 @@ public class guiserver extends gsObject
+ 		
+ 		portOut = portIn + 1;
+ 
+-        if(MAC_OS_X) newlispPath = "/usr/local/bin/newlisp ";
++        if(MAC_OS_X) newlispPath = "/usr/bin/newlisp ";
+         else newlispPath = "newlisp ";
+ 			
+ 		if(args.length >= 2)
+diff --git a/newlisp-10.7.0/guiserver/java/guiserver.java.bak b/newlisp-10.7.0/guiserver/java/guiserver.java.bak
+index fa8b399..3eb8a61 100644
+--- a/newlisp-10.7.0/guiserver/java/guiserver.java.bak
++++ b/newlisp-10.7.0/guiserver/java/guiserver.java.bak
+@@ -83,7 +83,7 @@ public class guiserver extends gsObject
+ 		
+ 		portOut = portIn + 1;
+ 
+-        if(MAC_OS_X) newlispPath = "/usr/local/bin/newlisp ";
++        if(MAC_OS_X) newlispPath = "/usr/bin/newlisp ";
+         else newlispPath = "newlisp ";
+ 			
+ 		if(args.length >= 2)
+diff --git a/newlisp-10.7.0/guiserver/midi-demo.lsp b/newlisp-10.7.0/guiserver/midi-demo.lsp
+index be44e1c..0a57b73 100644
+--- a/newlisp-10.7.0/guiserver/midi-demo.lsp
++++ b/newlisp-10.7.0/guiserver/midi-demo.lsp
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ 
+ ;; - midi-demo.lsp -
+ ;;
+diff --git a/newlisp-10.7.0/guiserver/midi2-demo.lsp b/newlisp-10.7.0/guiserver/midi2-demo.lsp
+index 7021909..07d275c 100644
+--- a/newlisp-10.7.0/guiserver/midi2-demo.lsp
++++ b/newlisp-10.7.0/guiserver/midi2-demo.lsp
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ 
+ (load (append (env "NEWLISPDIR") "/guiserver.lsp"))
+ (gs:init)
+diff --git a/newlisp-10.7.0/guiserver/mouse-demo.lsp b/newlisp-10.7.0/guiserver/mouse-demo.lsp
+index fc1bb85..3af8840 100644
+--- a/newlisp-10.7.0/guiserver/mouse-demo.lsp
++++ b/newlisp-10.7.0/guiserver/mouse-demo.lsp
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;;
+ ;; mouse-demo.lsp - demonstrate mouse handlers and gs:delete-tag
+ 
+diff --git a/newlisp-10.7.0/guiserver/move-resize-demo.lsp b/newlisp-10.7.0/guiserver/move-resize-demo.lsp
+index 7053e82..e98eec3 100644
+--- a/newlisp-10.7.0/guiserver/move-resize-demo.lsp
++++ b/newlisp-10.7.0/guiserver/move-resize-demo.lsp
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;;
+ ; move-resize-demo.lsp - demonstrate gs:window-moved and hs:window-resized events
+ 
+diff --git a/newlisp-10.7.0/guiserver/newlisp-edit.lsp b/newlisp-10.7.0/guiserver/newlisp-edit.lsp
+index 8b83296..16a3eb5 100644
+--- a/newlisp-10.7.0/guiserver/newlisp-edit.lsp
++++ b/newlisp-10.7.0/guiserver/newlisp-edit.lsp
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ 
+ ; newlisp-edit.lsp - multiple tab LISP editor and support for running code from the editor
+ ; needs 9.9.2 version minimum to run
+@@ -158,7 +158,7 @@
+ 			(write-file file (base64-dec text)))
+ 		(if (= ostype "Windows")
+ 			(catch (exec (string {newlisp.exe "} currentScriptFile {" } file " > " (string file "out"))) 'result)
+-			(catch (exec (string "/usr/local/bin/newlisp " currentScriptFile " " file)) 'result)
++			(catch (exec (string "/usr/bin/newlisp " currentScriptFile " " file)) 'result)
+ 		)
+ 		(if (list? result)
+ 			(begin
+@@ -226,7 +226,7 @@
+ 		(gs:run-shell 'OutputArea 
+ 			(string newlispDir "/newlisp.exe") (string currentExtension " -C -w \"" $HOME "\""))
+ 		(gs:run-shell 'OutputArea 
+-			(string "/usr/local/bin/newlisp") (string currentExtension " -C -w " $HOME))
++			(string "/usr/bin/newlisp") (string currentExtension " -C -w " $HOME))
+ 	)
+ )
+ 
+diff --git a/newlisp-10.7.0/guiserver/pinballs-demo.lsp b/newlisp-10.7.0/guiserver/pinballs-demo.lsp
+index 238ad21..be97819 100644
+--- a/newlisp-10.7.0/guiserver/pinballs-demo.lsp
++++ b/newlisp-10.7.0/guiserver/pinballs-demo.lsp
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;; pinballs-demo.lsp - demos animations and gs:check-event function
+ 
+ ;; GS 1.05+
+diff --git a/newlisp-10.7.0/guiserver/properties-demo.lsp b/newlisp-10.7.0/guiserver/properties-demo.lsp
+index 8c97bbb..904f206 100644
+--- a/newlisp-10.7.0/guiserver/properties-demo.lsp
++++ b/newlisp-10.7.0/guiserver/properties-demo.lsp
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;;
+ ;; property-demo.lsp - demonstrate gs:get-screen and gs:get-version
+ 
+diff --git a/newlisp-10.7.0/guiserver/rotation-demo.lsp b/newlisp-10.7.0/guiserver/rotation-demo.lsp
+index 7a04945..20ed891 100644
+--- a/newlisp-10.7.0/guiserver/rotation-demo.lsp
++++ b/newlisp-10.7.0/guiserver/rotation-demo.lsp
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;;
+ ;; rotationn-demo.lsp - demonstrate gs:rotate-tag, gs:translate-tag and  gs:scale-tag
+ ;; and the mouse-wheel rotating an object
+diff --git a/newlisp-10.7.0/guiserver/shapes-demo.lsp b/newlisp-10.7.0/guiserver/shapes-demo.lsp
+index 66678e7..c679324 100644
+--- a/newlisp-10.7.0/guiserver/shapes-demo.lsp
++++ b/newlisp-10.7.0/guiserver/shapes-demo.lsp
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;;
+ ;; shapes-demo.lsp - demonstrate different lines, outlines and shapes
+ ;; v.1.0
+diff --git a/newlisp-10.7.0/guiserver/sound-demo.lsp b/newlisp-10.7.0/guiserver/sound-demo.lsp
+index 9e0615c..5ebed02 100644
+--- a/newlisp-10.7.0/guiserver/sound-demo.lsp
++++ b/newlisp-10.7.0/guiserver/sound-demo.lsp
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;;
+ ; button-demo.lsp - demonstrate the button control
+ 
+diff --git a/newlisp-10.7.0/guiserver/stroke-demo.lsp b/newlisp-10.7.0/guiserver/stroke-demo.lsp
+index 8b3d81c..21698e8 100644
+--- a/newlisp-10.7.0/guiserver/stroke-demo.lsp
++++ b/newlisp-10.7.0/guiserver/stroke-demo.lsp
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;;
+ ;; strokes-demo.lsp - demonstrate strokes with round endings in different lines and outlines
+ ;; v. 1.0
+diff --git a/newlisp-10.7.0/guiserver/table-demo.lsp b/newlisp-10.7.0/guiserver/table-demo.lsp
+index e7e0078..7115a74 100644
+--- a/newlisp-10.7.0/guiserver/table-demo.lsp
++++ b/newlisp-10.7.0/guiserver/table-demo.lsp
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ 
+ ; table-demo.lsp - demo of the table UI
+ 
+diff --git a/newlisp-10.7.0/guiserver/tabs-demo.lsp b/newlisp-10.7.0/guiserver/tabs-demo.lsp
+index b6d6b75..e19849d 100644
+--- a/newlisp-10.7.0/guiserver/tabs-demo.lsp
++++ b/newlisp-10.7.0/guiserver/tabs-demo.lsp
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;;
+ ;; tabs-demo.lsp - demonstrate tabs and icons
+ ;; for 10.6.3 ideprecated gs:table-set-row-number was replaced with gs:table-show-row-number
+diff --git a/newlisp-10.7.0/guiserver/textfield-demo.lsp b/newlisp-10.7.0/guiserver/textfield-demo.lsp
+index 0744b17..c5f1e06 100644
+--- a/newlisp-10.7.0/guiserver/textfield-demo.lsp
++++ b/newlisp-10.7.0/guiserver/textfield-demo.lsp
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;;
+ ; textfield-demo.lsp - demonstrate the test-field widget
+ 
+diff --git a/newlisp-10.7.0/guiserver/textrot-demo.lsp b/newlisp-10.7.0/guiserver/textrot-demo.lsp
+index fe54ce6..1d6ad28 100644
+--- a/newlisp-10.7.0/guiserver/textrot-demo.lsp
++++ b/newlisp-10.7.0/guiserver/textrot-demo.lsp
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;;
+ ;; textrot-demo.lsp - demonstrate gs:rotate-tag on text
+ ;; and the mouse-wheel rotating an object
+diff --git a/newlisp-10.7.0/guiserver/widgets-demo-jp.lsp b/newlisp-10.7.0/guiserver/widgets-demo-jp.lsp
+index c8af744..8bc7e0c 100644
+--- a/newlisp-10.7.0/guiserver/widgets-demo-jp.lsp
++++ b/newlisp-10.7.0/guiserver/widgets-demo-jp.lsp
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;;
+ ;; widgets-demo.lsp - demonstrate all widgets
+ 
+diff --git a/newlisp-10.7.0/guiserver/widgets-demo-ru.lsp b/newlisp-10.7.0/guiserver/widgets-demo-ru.lsp
+index 88412a4..81233df 100644
+--- a/newlisp-10.7.0/guiserver/widgets-demo-ru.lsp
++++ b/newlisp-10.7.0/guiserver/widgets-demo-ru.lsp
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;;
+ ;; widgets-demo.lsp - demonstrate all widgets
+ 
+diff --git a/newlisp-10.7.0/guiserver/widgets-demo.lsp b/newlisp-10.7.0/guiserver/widgets-demo.lsp
+index f7a6152..f0c506c 100644
+--- a/newlisp-10.7.0/guiserver/widgets-demo.lsp
++++ b/newlisp-10.7.0/guiserver/widgets-demo.lsp
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;;
+ ;; widgets-demo.lsp - demonstrate all widgets
+ 
+diff --git a/newlisp-10.7.0/makefile_linuxLP64_ffi b/newlisp-10.7.0/makefile_linuxLP64_ffi
+index b3bb23b..0d046c5 100644
+--- a/newlisp-10.7.0/makefile_linuxLP64_ffi
++++ b/newlisp-10.7.0/makefile_linuxLP64_ffi
+@@ -6,7 +6,7 @@
+ OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
+ 	nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o pcre.o
+ 
+-CFLAGS = -fPIC -m64 -Wall -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DNEWLISP64 -DLINUX -DFFI -I/usr/local/lib/libffi-3.0.13/include 
++CFLAGS = -fPIC -m64 -Wall -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DNEWLISP64 -DLINUX -DFFI -I/usr/lib/libffi-3.0.13/include 
+ 
+ CC = gcc
+ 
+diff --git a/newlisp-10.7.0/makefile_linuxLP64_utf8_ffi b/newlisp-10.7.0/makefile_linuxLP64_utf8_ffi
+index d7d6446..fe12478 100644
+--- a/newlisp-10.7.0/makefile_linuxLP64_utf8_ffi
++++ b/newlisp-10.7.0/makefile_linuxLP64_utf8_ffi
+@@ -6,7 +6,7 @@
+ OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
+ 	nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o nl-utf8.o pcre.o
+ 
+-CFLAGS = -fPIC -m64 -Wall -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DSUPPORT_UTF8 -DNEWLISP64 -DLINUX -DFFI -I/usr/local/lib/libffi-3.0.13/include 
++CFLAGS = -fPIC -m64 -Wall -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DSUPPORT_UTF8 -DNEWLISP64 -DLINUX -DFFI -I/usr/lib/libffi-3.0.13/include 
+ 
+ # replace -O2 with -Oz when using clang/llvm
+ #CC = clang 
+diff --git a/newlisp-10.7.0/makefile_linux_ffi b/newlisp-10.7.0/makefile_linux_ffi
+index 9d985aa..a83d48b 100644
+--- a/newlisp-10.7.0/makefile_linux_ffi
++++ b/newlisp-10.7.0/makefile_linux_ffi
+@@ -6,7 +6,7 @@
+ OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
+ 	nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o pcre.o
+ 
+-CFLAGS = -m32 -Wall -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX -DFFI -I/usr/local/lib/libffi-3.0.13/include 
++CFLAGS = -m32 -Wall -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX -DFFI -I/usr/lib/libffi-3.0.13/include 
+ 
+ CC = gcc
+ 
+diff --git a/newlisp-10.7.0/makefile_linux_utf8_ffi b/newlisp-10.7.0/makefile_linux_utf8_ffi
+index 9b020e7..9e6a990 100644
+--- a/newlisp-10.7.0/makefile_linux_utf8_ffi
++++ b/newlisp-10.7.0/makefile_linux_utf8_ffi
+@@ -6,7 +6,7 @@
+ OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
+ 	nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o nl-utf8.o pcre.o
+ 
+-CFLAGS = -fPIC -m32 -Wall -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DSUPPORT_UTF8 -DLINUX -DFFI -I/usr/local/lib/libffi-3.0.13/include
++CFLAGS = -fPIC -m32 -Wall -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DSUPPORT_UTF8 -DLINUX -DFFI -I/usr/lib/libffi-3.0.13/include
+ 
+ CC = gcc
+ 
+diff --git a/newlisp-10.7.0/makefile_original_install b/newlisp-10.7.0/makefile_original_install
+index 1801aa2..53ee27c 100644
+--- a/newlisp-10.7.0/makefile_original_install
++++ b/newlisp-10.7.0/makefile_original_install
+@@ -6,16 +6,16 @@ VERSION=10.7.0
+ # run in an environment, where NEWLISPDIR is predefined,
+ # else NEWLISPDIR will be defined during newlisp startup
+ # as /usr/share/newlisp which is hardcoded in newlisp.c
+-prefix=/usr/local
++prefix=/usr
+ datadir=$(prefix)/share
+ bindir=$(prefix)/bin
+ mandir=$(prefix)/share/man
+ 
+-# if prefix is not /usr/local then several places in the file 
++# if prefix is not /usr then several places in the file 
+ # guiserver/newlisp-edit.lsp must change too
+ GUISERVER = $(prefix)/share/newlisp/guiserver
+ 
+-# this is the standard install in /usr/local/bin and /usr/local/share
++# this is the standard install in /usr/bin and /usr/share
+ # which as to be done as 'root' with supersuser permissions
+ # for an install in your home directory use make install_home
+ #
+diff --git a/newlisp-10.7.0/modules/ftp.lsp b/newlisp-10.7.0/modules/ftp.lsp
+index cc2e05a..fa52b2c 100644
+--- a/newlisp-10.7.0/modules/ftp.lsp
++++ b/newlisp-10.7.0/modules/ftp.lsp
+@@ -10,7 +10,7 @@
+ ;; To use the module put a 'load' statement at beginning of your
+ ;; program file:
+ ;; <pre>
+-;; (load "/usr/local/share/newlisp/modules/ftp.lsp")
++;; (load "/usr/share/newlisp/modules/ftp.lsp")
+ ;; ; or shorter
+ ;; (module "ftp.lsp")
+ ;; </pre>
+diff --git a/newlisp-10.7.0/modules/gsl.lsp b/newlisp-10.7.0/modules/gsl.lsp
+index 3df1601..aac4f32 100644
+--- a/newlisp-10.7.0/modules/gsl.lsp
++++ b/newlisp-10.7.0/modules/gsl.lsp
+@@ -169,7 +169,7 @@
+ 	(if 
+ 		(= ostype "Windows") "libgsl-0.dll" ; 32-bit or 64-bit
+ 		(= ostype "OSX")   "libgsl.dylib" ; 32-bit or 64-bit
+-		(= ostype "Linux") "/usr/local/lib/libgsl.so" ; 32-bit or 64-bit
++		(= ostype "Linux") "/usr/lib/libgsl.so" ; 32-bit or 64-bit
+ 	))
+ 
+ ; load libgslcblas which contans functions referenced by libgsl
+@@ -179,7 +179,7 @@
+ ; On windows the library is automatically loaded by libgsl-0.dll.
+ (if 
+     (= ostype "OSX") (import "libgslcblas.dylib" "cblas_sdsdot")
+-    (= ostype "Linux") (import "/usr/local/lib/libgslcblas.so" "cblas_sdsdot")
++    (= ostype "Linux") (import "/usr/lib/libgslcblas.so" "cblas_sdsdot")
+ )
+     
+ ; structs are defined but only needed for debugging, instead use "void*"
+diff --git a/newlisp-10.7.0/modules/infix.lsp b/newlisp-10.7.0/modules/infix.lsp
+index 91f0478..9a44a72 100644
+--- a/newlisp-10.7.0/modules/infix.lsp
++++ b/newlisp-10.7.0/modules/infix.lsp
+@@ -12,7 +12,7 @@
+ ;; At the beginning od the program using this module include the following
+ ;; statement:
+ ;; <pre>
+-;; (load "/usr/local/share/newlisp/modules/infix.lsp")
++;; (load "/usr/share/newlisp/modules/infix.lsp")
+ ;; ; or shorter
+ ;; (module "infix.lsp")
+ ;; </pre>
+diff --git a/newlisp-10.7.0/modules/mysql.lsp b/newlisp-10.7.0/modules/mysql.lsp
+index d2b8093..30f35c0 100644
+--- a/newlisp-10.7.0/modules/mysql.lsp
++++ b/newlisp-10.7.0/modules/mysql.lsp
+@@ -25,22 +25,22 @@
+ ;; <h3>Requirements</h3>
+ ;; At the beginning of the program file include a 'load' statement for the module:
+ ;; <pre>
+-;; (load "/usr/local/share/newlisp/modules/mysql.lsp")
++;; (load "/usr/share/newlisp/modules/mysql.lsp")
+ ;; ; or shorter
+ ;; (module "mysql.lsp")
+ ;; </pre>
+ ;;
+ ;; A version of 'libmysqlclient' for a specific platform is required:
+ ;;  
+-;; on LINUX/UNIX: '/usr/local/mysql/lib/libmysqlclient.so' <br>
+-;; on Mac OS X:   '/usr/local/mysql/lib/libmysqlclient.dylib'
++;; on LINUX/UNIX: '/usr/mysql/lib/libmysqlclient.so' <br>
++;; on Mac OS X:   '/usr/mysql/lib/libmysqlclient.dylib'
+ ;;
+ ;; This library is installed when using the Mac OS X x86 installer .dmg package
+ ;; from @link http://www.mysql.com http://www.mysql.com
+ ;;
+ ;; To compile MySQL with client libraries use:
+ ;;
+-;; './configure --prefix=/usr/local --enable-shared'
++;; './configure --prefix=/usr --enable-shared'
+ ;;
+ ;; This library might be in a different location on a particular
+ ;; installation of MySQL or have a different name.
+@@ -115,13 +115,13 @@
+ (set 'NEWLISP64 (not (zero? (& (sys-info -1) 256))))
+ 
+ (set 'files '(
+-    "/usr/local/lib/libmysqlclient.so.20.0" ; OpenBSD 4.9
++    "/usr/lib/libmysqlclient.so.20.0" ; OpenBSD 4.9
+     "/usr/lib/libmysqlclient.so" ; Linux, UNIX
+     "/usr/lib/mysql/libmysqlclient.so" ; Linux Fedora
+     "/usr/lib64/mysql/libmysqlclient.so" ; Linux Fedora CentOS 6.x
+     "/usr/lib/x86_64-linux-gnu/libmysqlclient.so" ; Ubuntu 12.04 LTS
+-    "/usr/local/mysql/lib/libmysqlclient.so" ; Linux, UNIX
+-    "/usr/local/mysql/lib/libmysqlclient.dylib" ; MacOS X
++    "/usr/mysql/lib/libmysqlclient.so" ; Linux, UNIX
++    "/usr/mysql/lib/libmysqlclient.dylib" ; MacOS X
+     "/usr/lib/libmysqlclient.dylib" ; MacOS X
+ ))
+ 
+diff --git a/newlisp-10.7.0/modules/pop3.lsp b/newlisp-10.7.0/modules/pop3.lsp
+index e0ad151..75c52ef 100644
+--- a/newlisp-10.7.0/modules/pop3.lsp
++++ b/newlisp-10.7.0/modules/pop3.lsp
+@@ -16,7 +16,7 @@
+ ;;
+ ;; To use the module put a 'load' statement at the top of your file:
+ ;; <pre>
+-;; (load "/usr/local/share/newlisp/modules/pop3.lsp")
++;; (load "/usr/share/newlisp/modules/pop3.lsp")
+ ;; ; or shorter
+ ;; (module "pop3")
+ ;; </pre>
+diff --git a/newlisp-10.7.0/modules/postgres.lsp b/newlisp-10.7.0/modules/postgres.lsp
+index 0fe5ec5..e1a69cb 100644
+--- a/newlisp-10.7.0/modules/postgres.lsp
++++ b/newlisp-10.7.0/modules/postgres.lsp
+@@ -139,11 +139,11 @@
+       (append (first pg_lib_dir) "/libpq.dll")  ; Windows lib
+   ))
+   (set 'files '(
+-    "/usr/local/lib/libpq.so.5.1" ; OpenBSD 4.6
++    "/usr/lib/libpq.so.5.1" ; OpenBSD 4.6
+     "/usr/lib/libpq.so" ; CentOS or other Linux
+     "/usr/lib64/libpq.so" ; Linux 64bit
+     "/usr/lib/libpq.so.5.1" ; Debian
+-    "/usr/local/pgsql/lib/libpq.dylib" ; Mac OS X
++    "/usr/pgsql/lib/libpq.dylib" ; Mac OS X
+     "c:/Program Files/PostgreSQL/8.3/bin/libpq.dll" ; Win32
+   )))
+ 
+diff --git a/newlisp-10.7.0/modules/sqlite3.lsp b/newlisp-10.7.0/modules/sqlite3.lsp
+index 0fa574d..f26b60a 100644
+--- a/newlisp-10.7.0/modules/sqlite3.lsp
++++ b/newlisp-10.7.0/modules/sqlite3.lsp
+@@ -91,9 +91,9 @@
+ ;
+ (set 'files (list
+     "/usr/lib/libsqlite3.so" ; SuSE Linux
+-    "/usr/local/lib/libsqlite3.so" ; Linux, BSD, Solaris
++    "/usr/lib/libsqlite3.so" ; Linux, BSD, Solaris
+     "/usr/pkg/lib/libsqlite3.so" ; NetBSD
+-    "/usr/local/lib/libsqlite3.so.13.3" ; OpenBSD 4.6
++    "/usr/lib/libsqlite3.so.13.3" ; OpenBSD 4.6
+     "/usr/lib/libsqlite3.0.dylib" ; Mac OSX Darwin
+     "/usr/lib64/libsqlite3.so" ; for 64Bit Fedora CentOS 6 Linux
+     "/usr/lib/x86_64-linux-gnu/libsqlite3.so" ; for UBUNTU 64-bit
+diff --git a/newlisp-10.7.0/modules/xmlrpc-client.lsp b/newlisp-10.7.0/modules/xmlrpc-client.lsp
+index 0e8f38e..4a80254 100644
+--- a/newlisp-10.7.0/modules/xmlrpc-client.lsp
++++ b/newlisp-10.7.0/modules/xmlrpc-client.lsp
+@@ -13,7 +13,7 @@
+ ;; <h2>Functions for XML-RPC client</h2>
+ ;; To use this module include a 'load' statement at the beginning of the program:
+ ;; <pre>
+-;; (load "/usr/local/share/newlisp/modules/xmlrpc-client.lsp")
++;; (load "/usr/share/newlisp/modules/xmlrpc-client.lsp")
+ ;; ; or shorter
+ ;; (module "xmlrpc-client.lsp")
+ ;; </pre>
+diff --git a/newlisp-10.7.0/modules/zlib.lsp b/newlisp-10.7.0/modules/zlib.lsp
+index 5ab53d9..f00311d 100644
+--- a/newlisp-10.7.0/modules/zlib.lsp
++++ b/newlisp-10.7.0/modules/zlib.lsp
+@@ -20,7 +20,7 @@
+ ;; 
+ ;; Before using the module it must be loaded:
+ ;; <pre>
+-;; (load "/usr/local/share/newlisp/modules/zlib.lsp")
++;; (load "/usr/share/newlisp/modules/zlib.lsp")
+ ;; ; or shorter
+ ;; (module "zlib.lsp")
+ ;; </pre>
+diff --git a/newlisp-10.7.0/newlisp.c b/newlisp-10.7.0/newlisp.c
+index 10dbeb5..b25d3aa 100644
+--- a/newlisp-10.7.0/newlisp.c
++++ b/newlisp-10.7.0/newlisp.c
+@@ -467,7 +467,7 @@ int i, len, nlen;
+ int found = FALSE;
+ 
+ path_list = getenv("PATH");
+-if (!path_list) path_list = "/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin";
++if (!path_list) path_list = "/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin";
+ 
+ len = strlen(path_list);
+ nlen = strlen(name);
+diff --git a/newlisp-10.7.0/newlisp.h b/newlisp-10.7.0/newlisp.h
+index fa307d0..81015ba 100644
+--- a/newlisp-10.7.0/newlisp.h
++++ b/newlisp-10.7.0/newlisp.h
+@@ -37,7 +37,7 @@
+ #ifdef NEWCONFIG
+ #include "config.h"
+ #else
+-#define NEWLISPDIR "/usr/local/share/newlisp"
++#define NEWLISPDIR "/usr/share/newlisp"
+ #endif
+ 
+ /* force ISO_C90 restrictions */
+diff --git a/newlisp-10.7.0/util/sql.c b/newlisp-10.7.0/util/sql.c
+index 66949c1..33291e5 100644
+--- a/newlisp-10.7.0/util/sql.c
++++ b/newlisp-10.7.0/util/sql.c
+@@ -29,10 +29,10 @@
+ #include <stdlib.h>
+ 
+ #ifdef MACOSX
+-#include "/usr/local/mysql/include/mysql.h"
+-#include "/usr/local/mysql/include/mysql_com.h"
+-#include "/usr/local/mysql/include/mysql_version.h"
+-#include "/usr/local/mysql/include/my_alloc.h"
++#include "/usr/mysql/include/mysql.h"
++#include "/usr/mysql/include/mysql_com.h"
++#include "/usr/mysql/include/mysql_version.h"
++#include "/usr/mysql/include/my_alloc.h"
+ #endif
+ 
+ #ifdef LINUX
+ 

diff --git a/dev-lisp/newlisp/newlisp-10.7.0.ebuild b/dev-lisp/newlisp/newlisp-10.7.0.ebuild
new file mode 100644
index 0000000..e6a631c
--- /dev/null
+++ b/dev-lisp/newlisp/newlisp-10.7.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils multilib toolchain-funcs
+
+DESCRIPTION="newLISP - a new generation of Lisp!"
+HOMEPAGE="http://www.newlisp.org/"
+SRC_URI="http://www.newlisp.org/downloads/${P}.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="libffi unicode"
+
+RDEPEND="sys-libs/readline:0
+	libffi? ( dev-libs/libffi )"
+DEPEND="${RDEPEND}"
+
+getmakefile() {
+	local arch=""
+	local opts=""
+
+	use amd64 && arch="LP64"
+	use libffi && use unicode && opts="_utf8_ffi"
+	use libffi && ! use unicode && opts="_ffi"
+	! use libffi && use unicode && opts="_utf8"
+
+	use unicode && utf8="utf8"
+	echo "makefile_linux${arch}${opts}"
+}
+
+getlibffipath() {
+	local version=$(best_version dev-libs/libffi)
+
+	version=$(echo ${version} | cut -d/ -f 2)
+	echo "/usr/$(get_libdir)/${version}"
+}
+
+src_prepare() {
+	epatch "${FILESDIR}/${PN}-makefile-install-${PV}.patch"
+	epatch "${FILESDIR}/${PN}-path-${PV}.patch"
+}
+
+src_configure() {
+	local makefile=$(getmakefile)
+	if [[ -f ${makefile} ]] ; then
+		cp "${makefile}" makefile_build || die
+		sed -i 's/CFLAGS/MYCFLAGS/g' makefile_build || die
+		sed -i 's/-O2 -g/$(CFLAGS)/g' makefile_build || die
+		sed -i '/strip newlisp/d' makefile_build || die
+	else
+		./configure-alt --prefix="${D}/usr"
+		sed -i '/$(STRIP) $(TARG)/d' makefile_build || die
+	fi
+	if use libffi ; then
+		sed -i "s|/usr/local/lib/libffi-3.0.13|$(getlibffipath)|" makefile_build || die
+	fi
+}
+
+src_compile() {
+	emake CC=$(tc-getCC)
+}
+src_install() {
+	make prefix="${D}/usr" install
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] proj/lisp:master commit in: dev-lisp/newlisp/files/, dev-lisp/newlisp/
@ 2018-03-17 22:47 José María Alonso
  0 siblings, 0 replies; 2+ messages in thread
From: José María Alonso @ 2018-03-17 22:47 UTC (permalink / raw
  To: gentoo-commits

commit:     466af806f603a9c879c4c5881f142c5d7d15cf1f
Author:     Chema Alonso Josa <nimiux <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 17 22:47:54 2018 +0000
Commit:     José María Alonso <nimiux <AT> gentoo <DOT> org>
CommitDate: Sat Mar 17 22:47:54 2018 +0000
URL:        https://gitweb.gentoo.org/proj/lisp.git/commit/?id=466af806

dev-lisp/newlisp: Bumps version to 10.7.1. Cleans old versions

 .../files/newlisp-10.7.1-fix-makefiles.patch       | 126 ++++++++
 ...-10.7.0.patch => newlisp-10.7.1-fix-path.patch} |   0
 .../newlisp/files/newlisp-10.7.1-fix-paths.patch   | 345 +++++++++++++++++++++
 ...patch => newlisp-10.7.1-makefile-install.patch} |   0
 .../files/newlisp-makefile-install-10.5.4.patch    |  15 -
 .../files/newlisp-makefile-install-10.7.0.patch    |  14 -
 dev-lisp/newlisp/newlisp-10.5.4.ebuild             |  63 ----
 dev-lisp/newlisp/newlisp-10.7.0.ebuild             |  67 ----
 ...newlisp-10.6.2.ebuild => newlisp-10.7.1.ebuild} |  11 +-
 9 files changed, 477 insertions(+), 164 deletions(-)

diff --git a/dev-lisp/newlisp/files/newlisp-10.7.1-fix-makefiles.patch b/dev-lisp/newlisp/files/newlisp-10.7.1-fix-makefiles.patch
new file mode 100644
index 00000000..fe40acd7
--- /dev/null
+++ b/dev-lisp/newlisp/files/newlisp-10.7.1-fix-makefiles.patch
@@ -0,0 +1,126 @@
+diff -Nuar a/guiserver/Makefile b/guiserver/Makefile
+--- a/guiserver/Makefile	2017-01-25 17:42:21.000000000 +0100
++++ b/guiserver/Makefile	2018-03-17 23:35:34.393015795 +0100
+@@ -9,10 +9,10 @@
+ 	rm *.class
+ 
+ install:
+-	-install -d  /usr/local/share/newlisp/guiserver
+-	-install -d  /usr/local/share/doc/newlisp/guiserver
+-	-install -m 644 guiserver.jar /usr/local/share/newlisp/
+-	-install -m 644 guiserver.lsp /usr/local/share/newlisp/
+-	-install -m 644 index.html /usr/local/share/doc/newlisp/guiserver/
+-	-install -m 644 guiserver.lsp.html /usr/local/share/doc/newlisp/guiserver/
+-	-install -m 755 newlisp-edit.lsp /usr/local/bin/newlisp-edit
++	-install -d  /usr/share/newlisp/guiserver
++	-install -d  /usr/share/doc/newlisp/guiserver
++	-install -m 644 guiserver.jar /usr/share/newlisp/
++	-install -m 644 guiserver.lsp /usr/share/newlisp/
++	-install -m 644 index.html /usr/share/doc/newlisp/guiserver/
++	-install -m 644 guiserver.lsp.html /usr/share/doc/newlisp/guiserver/
++	-install -m 755 newlisp-edit.lsp /usr/bin/newlisp-edit
+diff -Nuar a/Makefile b/Makefile
+--- a/Makefile	2017-01-25 17:42:21.000000000 +0100
++++ b/Makefile	2018-03-17 23:35:23.273015842 +0100
+@@ -9,7 +9,7 @@
+ #
+ # for 'make install' you have to login as 'root' else do 'make install_home'
+ # note that 'make install_home' will not install guiserver files which
+-# must be in /usr/local/share/newlisp in MacOX X and UNIX machines
++# must be in /usr/share/newlisp in MacOX X and UNIX machines
+ #
+ # to make the distribution archive:  'make dist'
+ #
+@@ -39,8 +39,8 @@
+ 	@echo "\nDo one of the following:"
+ 	@echo "  make                 # auto-select one of the predefined makefiles and build newLISP"
+ 	@echo "  make help            # display this help"
+-	@echo "  make install         # install on LINUX/UNIX in /usr/local/bin and /usr/local/share (need to be root)"
+-	@echo "  make uninstall       # uninstall on LINUX/UNIX from /usr/local/bin and /usr/local/share (need to be root)"
++	@echo "  make install         # install on LINUX/UNIX in /usr/bin and /usr/share (need to be root)"
++	@echo "  make uninstall       # uninstall on LINUX/UNIX from /usr/bin and /usr/share (need to be root)"
+ 	@echo "  make install_home    # install on LINUX/UNIX in users home directory "
+ 	@echo "  make uninstall_home  # uninstall on LINUX/UNIX from users home directory "
+ 	@echo
+diff -Nuar a/makefile_linux_ffi b/makefile_linux_ffi
+--- a/makefile_linux_ffi	2017-01-25 17:42:21.000000000 +0100
++++ b/makefile_linux_ffi	2018-03-17 23:35:48.053015736 +0100
+@@ -6,7 +6,7 @@
+ OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
+ 	nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o pcre.o
+ 
+-CFLAGS = -m32 -Wall -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX -DFFI -I/usr/local/lib/libffi-3.0.13/include 
++CFLAGS = -m32 -Wall -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX -DFFI -I/usr/lib/libffi-3.0.13/include 
+ 
+ CC = gcc
+ 
+diff -Nuar a/makefile_linuxLP64_ffi b/makefile_linuxLP64_ffi
+--- a/makefile_linuxLP64_ffi	2017-01-25 17:42:21.000000000 +0100
++++ b/makefile_linuxLP64_ffi	2018-03-17 23:35:41.953015762 +0100
+@@ -6,7 +6,7 @@
+ OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
+ 	nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o pcre.o
+ 
+-CFLAGS = -fPIC -m64 -Wall -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DNEWLISP64 -DLINUX -DFFI -I/usr/local/lib/libffi-3.0.13/include 
++CFLAGS = -fPIC -m64 -Wall -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DNEWLISP64 -DLINUX -DFFI -I/usr/lib/libffi-3.0.13/include 
+ 
+ CC = gcc
+ 
+diff -Nuar a/makefile_linuxLP64_utf8_ffi b/makefile_linuxLP64_utf8_ffi
+--- a/makefile_linuxLP64_utf8_ffi	2017-01-25 17:42:21.000000000 +0100
++++ b/makefile_linuxLP64_utf8_ffi	2018-03-17 23:35:44.993015749 +0100
+@@ -6,7 +6,7 @@
+ OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
+ 	nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o nl-utf8.o pcre.o
+ 
+-CFLAGS = -fPIC -m64 -Wall -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DSUPPORT_UTF8 -DNEWLISP64 -DLINUX -DFFI -I/usr/local/lib/libffi-3.0.13/include 
++CFLAGS = -fPIC -m64 -Wall -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DSUPPORT_UTF8 -DNEWLISP64 -DLINUX -DFFI -I/usr/lib/libffi-3.0.13/include 
+ 
+ # replace -O2 with -Oz when using clang/llvm
+ #CC = clang 
+diff -Nuar a/makefile_linux_utf8_ffi b/makefile_linux_utf8_ffi
+--- a/makefile_linux_utf8_ffi	2017-01-25 17:42:21.000000000 +0100
++++ b/makefile_linux_utf8_ffi	2018-03-17 23:35:51.193015723 +0100
+@@ -6,7 +6,7 @@
+ OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
+ 	nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o nl-utf8.o pcre.o
+ 
+-CFLAGS = -fPIC -m32 -Wall -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DSUPPORT_UTF8 -DLINUX -DFFI -I/usr/local/lib/libffi-3.0.13/include
++CFLAGS = -fPIC -m32 -Wall -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DSUPPORT_UTF8 -DLINUX -DFFI -I/usr/lib/libffi-3.0.13/include
+ 
+ CC = gcc
+ 
+diff -Nuar a/makefile_original_install b/makefile_original_install
+--- a/makefile_original_install	2017-01-25 17:42:21.000000000 +0100
++++ b/makefile_original_install	2018-03-17 23:36:45.533015490 +0100
+@@ -6,16 +6,16 @@
+ # run in an environment, where NEWLISPDIR is predefined,
+ # else NEWLISPDIR will be defined during newlisp startup
+ # as /usr/share/newlisp which is hardcoded in newlisp.c
+-prefix=/usr/local
++prefix=/usr
+ datadir=$(prefix)/share
+ bindir=$(prefix)/bin
+ mandir=$(prefix)/share/man
+ 
+-# if prefix is not /usr/local then several places in the file 
++# if prefix is not /usr then several places in the file 
+ # guiserver/newlisp-edit.lsp must change too
+ GUISERVER = $(prefix)/share/newlisp/guiserver
+ 
+-# this is the standard install in /usr/local/bin and /usr/local/share
++# this is the standard install in /usr/bin and /usr/share
+ # which as to be done as 'root' with supersuser permissions
+ # for an install in your home directory use make install_home
+ #
+@@ -31,7 +31,9 @@
+ 	-install -d $(datadir)/newlisp/modules
+ 	-install -d $(datadir)/newlisp/util
+ 	-install -d $(datadir)/doc/newlisp
+-	-rm $(bindir)/newlisp
++	-install -d $(datadir)/man
++	-install -d $(datadir)/man/man1
++	-install -d $(bindir)
+ 	-install -m 755  newlisp $(bindir)/newlisp-$(VERSION)
+ 	-ln -s $(bindir)/newlisp-$(VERSION) $(bindir)/newlisp
+ 	-install -m 755 util/newlispdoc $(bindir)/newlispdoc

diff --git a/dev-lisp/newlisp/files/newlisp-path-10.7.0.patch b/dev-lisp/newlisp/files/newlisp-10.7.1-fix-path.patch
similarity index 100%
rename from dev-lisp/newlisp/files/newlisp-path-10.7.0.patch
rename to dev-lisp/newlisp/files/newlisp-10.7.1-fix-path.patch

diff --git a/dev-lisp/newlisp/files/newlisp-10.7.1-fix-paths.patch b/dev-lisp/newlisp/files/newlisp-10.7.1-fix-paths.patch
new file mode 100644
index 00000000..6636c625
--- /dev/null
+++ b/dev-lisp/newlisp/files/newlisp-10.7.1-fix-paths.patch
@@ -0,0 +1,345 @@
+diff -Nuar a/configure b/configure
+--- a/configure	2017-01-25 17:42:21.000000000 +0100
++++ b/configure	2018-03-17 23:38:36.303015016 +0100
+@@ -90,7 +90,7 @@
+ 	fi
+ elif [ ${os_type} = _BSD ] ; then
+ 	if [ ${memory_model} = LP64 ] ; then
+-		if [ -f /usr/local/include/ffi.h ] ; then
++		if [ -f /usr/include/ffi.h ] ; then
+ 			cp makefile_bsdLP64_utf8_ffi makefile_build
+ 		else
+ 			cp makefile_bsdLP64_utf8 makefile_build
+diff -Nuar a/configure-alt b/configure-alt
+--- a/configure-alt	2017-01-25 17:42:21.000000000 +0100
++++ b/configure-alt	2018-03-17 23:38:42.193014991 +0100
+@@ -328,7 +328,7 @@
+ esac
+ done
+ 
+-if [ -z "$prefix" ] ; then prefix="/usr/local"; fi
++if [ -z "$prefix" ] ; then prefix="/usr"; fi
+ if [ -z "$exec_prefix" ] ; then exec_prefix="$prefix"; fi
+ if [ -z "$bindir" ] ; then bindir="${exec_prefix}/bin"; fi
+ if [ -z "$datarootdir" ] ; then datarootdir="${prefix}/share"; fi
+diff -Nuar a/guiserver/allfonts-demo.lsp b/guiserver/allfonts-demo.lsp
+--- a/guiserver/allfonts-demo.lsp	2017-01-25 17:42:21.000000000 +0100
++++ b/guiserver/allfonts-demo.lsp	2018-03-17 23:38:47.253014969 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;;
+ ;; allfonts-demo.lsp - show all fonts on the system
+ ;; this program also demonstrates that strings can be used instead 
+diff -Nuar a/guiserver/animation-demo.lsp b/guiserver/animation-demo.lsp
+--- a/guiserver/animation-demo.lsp	2017-01-25 17:42:21.000000000 +0100
++++ b/guiserver/animation-demo.lsp	2018-03-17 23:38:53.323014943 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;;
+ ;; animation-demo.lsp - demonstrate gs:move-tag for making animations
+ ;; and the mouse-wheel moving a text object
+diff -Nuar a/guiserver/border-layout-demo.lsp b/guiserver/border-layout-demo.lsp
+--- a/guiserver/border-layout-demo.lsp	2017-01-25 17:42:21.000000000 +0100
++++ b/guiserver/border-layout-demo.lsp	2018-03-17 23:38:57.043014927 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;;
+ ;; border-layout-demo.lsp - demonstrate the border layout
+ 
+diff -Nuar a/guiserver/button-demo.lsp b/guiserver/button-demo.lsp
+--- a/guiserver/button-demo.lsp	2017-01-25 17:42:21.000000000 +0100
++++ b/guiserver/button-demo.lsp	2018-03-17 23:39:01.623014908 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;;
+ ; button-demo.lsp - demonstrate the button control
+ 
+diff -Nuar a/guiserver/clipboard-demo.lsp b/guiserver/clipboard-demo.lsp
+--- a/guiserver/clipboard-demo.lsp	2017-01-25 17:42:21.000000000 +0100
++++ b/guiserver/clipboard-demo.lsp	2018-03-17 23:39:15.393014849 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;;
+ ;; clipboard-demo.lsp - demonstrate the gs:paste-text function
+ 
+diff -Nuar a/guiserver/cursor-demo.lsp b/guiserver/cursor-demo.lsp
+--- a/guiserver/cursor-demo.lsp	2017-01-25 17:42:21.000000000 +0100
++++ b/guiserver/cursor-demo.lsp	2018-03-17 23:39:20.653014826 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;;
+ ;; cursor-demo - demonstrate cursor shapes with gs:set-cursor
+ 
+diff -Nuar a/guiserver/drag-demo.lsp b/guiserver/drag-demo.lsp
+--- a/guiserver/drag-demo.lsp	2017-01-25 17:42:21.000000000 +0100
++++ b/guiserver/drag-demo.lsp	2018-03-17 23:39:25.043014808 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;;
+ ;; drag-demo.lsp - demonstrate dragging of objects with the mouse
+ ;;
+diff -Nuar a/guiserver/font-demo.lsp b/guiserver/font-demo.lsp
+--- a/guiserver/font-demo.lsp	2017-01-25 17:42:21.000000000 +0100
++++ b/guiserver/font-demo.lsp	2018-03-17 23:39:27.153014798 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;;
+ ;; font-demo.lsp - show all built-in Java fonts (available on all platforms)
+ 
+diff -Nuar a/guiserver/frameless-demo.lsp b/guiserver/frameless-demo.lsp
+--- a/guiserver/frameless-demo.lsp	2017-01-25 17:42:21.000000000 +0100
++++ b/guiserver/frameless-demo.lsp	2018-03-17 23:39:30.313014785 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ 
+ ;; frameless-demo.lsp - frameless and transparent (on MacOS X)
+ 
+diff -Nuar a/guiserver/guiserver.lsp b/guiserver/guiserver.lsp
+--- a/guiserver/guiserver.lsp	2017-01-25 17:42:21.000000000 +0100
++++ b/guiserver/guiserver.lsp	2018-03-17 23:40:13.003014602 +0100
+@@ -41,7 +41,7 @@
+ ;; <h2>Usage</h2>
+ ;; At the beginning of the program file, include a 'load' statement for the module:
+ ;; <pre>
+-;; (load "/usr/local/share/newlisp/guiserver.lsp")
++;; (load "/usr/share/newlisp/guiserver.lsp")
+ ;; </pre>
+ ;; or on MS Windows:
+ ;; <pre>
+@@ -50,7 +50,7 @@
+ ;; 'guiserver.lsp' expects the server 'guiserver.jar' to be
+ ;; in the directoey specified in the environment variable NEWLISPDIR.
+ ;; When newLISP starts up and this variable is not set yet, it sets it
+-;; to a default value of '/usr/local/share/newlisp' on MacOS X and Unix OSs, and 
++;; to a default value of '/usr/share/newlisp' on MacOS X and Unix OSs, and 
+ ;; to 'C:\Program Files\newlisp' or whatever it finds in the 'PROGRAMFILES'
+ ;; environment variable on MS Windows systems and adding '/newlisp' to it.
+ ;; This can be overwritten by specifying system wide  setting for the environment 
+@@ -132,12 +132,12 @@
+ ;; A second method to start a newLISP-GS application starts the 'guiserver.jar' first, which then
+ ;; starts the newLISP application:
+ ;; <pre>
+-;;     java -jar /usr/local/share/newlisp/guiserver.jar 64001 /usr/home/aUser/MyApplication.lsp
++;;     java -jar /usr/share/newlisp/guiserver.jar 64001 /usr/home/aUser/MyApplication.lsp
+ ;; </pre>
+ ;; A different port number can be used. Port numbers below 1024 need administrator
+ ;; permissions. Optionally a splash screen can be specified as the last parameter:
+ ;; <pre>
+-;;     java -jar /usr/local/share/newlisp/guiserver.jar 64001 /home/apps/myapp.lsp /local/newLISP128.png
++;;     java -jar /usr/share/newlisp/guiserver.jar 64001 /home/apps/myapp.lsp /local/newLISP128.png
+ ;; </pre>
+ ;; The example specifies an image inside 'guiserver.jar'. Any other image path on the local file system
+ ;; can be used.
+@@ -718,7 +718,7 @@
+ ;; instrument for all 128 different keys/notes.
+ ;;
+ ;; Basic capabilities of the sound API are shown in the demo files <tt>midi-demo.lsp</tt>
+-;; and <tt>midi2-demo.lsp</tt> in the <tt>/usr/local/share/newlisp/guiserver/</tt> or 
++;; and <tt>midi2-demo.lsp</tt> in the <tt>/usr/share/newlisp/guiserver/</tt> or 
+ ;; <tt>c:\Program files\newlisp\guiserver\</tt> directory.
+ ;; <pre>
+ ;;    (gs:add-track <int channel><list-notes>)
+diff -Nuar a/guiserver/html-demo.lsp b/guiserver/html-demo.lsp
+--- a/guiserver/html-demo.lsp	2017-01-25 17:42:21.000000000 +0100
++++ b/guiserver/html-demo.lsp	2018-03-17 23:40:20.683014569 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;;
+ ;; html-demo.lsp - demonstrate  the text pane with HTML
+ 
+diff -Nuar a/guiserver/image-demo.lsp b/guiserver/image-demo.lsp
+--- a/guiserver/image-demo.lsp	2017-01-25 17:42:21.000000000 +0100
++++ b/guiserver/image-demo.lsp	2018-03-17 23:40:23.003014559 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;;
+ ;; image-demo.lsp - demonstrate images rotating and zooming
+ ;; and the mouse-wheel rotating an object
+diff -Nuar a/guiserver/midi2-demo.lsp b/guiserver/midi2-demo.lsp
+--- a/guiserver/midi2-demo.lsp	2017-01-25 17:42:21.000000000 +0100
++++ b/guiserver/midi2-demo.lsp	2018-03-17 23:40:36.173014503 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ 
+ (load (append (env "NEWLISPDIR") "/guiserver.lsp"))
+ (gs:init)
+diff -Nuar a/guiserver/mouse-demo.lsp b/guiserver/mouse-demo.lsp
+--- a/guiserver/mouse-demo.lsp	2017-01-25 17:42:21.000000000 +0100
++++ b/guiserver/mouse-demo.lsp	2018-03-17 23:40:40.033014487 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;;
+ ;; mouse-demo.lsp - demonstrate mouse handlers and gs:delete-tag
+ ;; v.1.1
+diff -Nuar a/guiserver/move-resize-demo.lsp b/guiserver/move-resize-demo.lsp
+--- a/guiserver/move-resize-demo.lsp	2017-01-25 17:42:21.000000000 +0100
++++ b/guiserver/move-resize-demo.lsp	2018-03-17 23:40:43.283014473 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;;
+ ; move-resize-demo.lsp - demonstrate gs:window-moved and hs:window-resized events
+ 
+diff -Nuar a/guiserver/newlisp-edit.lsp b/guiserver/newlisp-edit.lsp
+--- a/guiserver/newlisp-edit.lsp	2017-01-25 17:42:21.000000000 +0100
++++ b/guiserver/newlisp-edit.lsp	2018-03-17 23:40:50.823014440 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ 
+ ; newlisp-edit.lsp - multiple tab LISP editor and support for running code from the editor
+ ; needs 9.9.2 version minimum to run
+diff -Nuar a/guiserver/pinballs-demo.lsp b/guiserver/pinballs-demo.lsp
+--- a/guiserver/pinballs-demo.lsp	2017-01-25 17:42:21.000000000 +0100
++++ b/guiserver/pinballs-demo.lsp	2018-03-17 23:40:59.453014403 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;; pinballs-demo.lsp - demos animations and gs:check-event function
+ 
+ ;; GS 1.05+
+diff -Nuar a/guiserver/properties-demo.lsp b/guiserver/properties-demo.lsp
+--- a/guiserver/properties-demo.lsp	2017-01-25 17:42:21.000000000 +0100
++++ b/guiserver/properties-demo.lsp	2018-03-17 23:41:01.723014394 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;;
+ ;; property-demo.lsp - demonstrate gs:get-screen and gs:get-version
+ 
+diff -Nuar a/guiserver/rotation-demo.lsp b/guiserver/rotation-demo.lsp
+--- a/guiserver/rotation-demo.lsp	2017-01-25 17:42:21.000000000 +0100
++++ b/guiserver/rotation-demo.lsp	2018-03-17 23:41:04.653014381 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;;
+ ;; rotationn-demo.lsp - demonstrate gs:rotate-tag, gs:translate-tag and  gs:scale-tag
+ ;; and the mouse-wheel rotating an object
+diff -Nuar a/guiserver/shapes-demo.lsp b/guiserver/shapes-demo.lsp
+--- a/guiserver/shapes-demo.lsp	2017-01-25 17:42:21.000000000 +0100
++++ b/guiserver/shapes-demo.lsp	2018-03-17 23:41:08.783014364 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;;
+ ;; shapes-demo.lsp - demonstrate different lines, outlines and shapes
+ ;; v.1.1
+diff -Nuar a/guiserver/sound-demo.lsp b/guiserver/sound-demo.lsp
+--- a/guiserver/sound-demo.lsp	2017-01-25 17:42:21.000000000 +0100
++++ b/guiserver/sound-demo.lsp	2018-03-17 23:41:15.463014335 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;;
+ ; button-demo.lsp - demonstrate the button control
+ 
+diff -Nuar a/guiserver/stroke-demo.lsp b/guiserver/stroke-demo.lsp
+--- a/guiserver/stroke-demo.lsp	2017-01-25 17:42:21.000000000 +0100
++++ b/guiserver/stroke-demo.lsp	2018-03-17 23:41:17.533014326 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;;
+ ;; strokes-demo.lsp - demonstrate strokes with round endings in different lines and outlines
+ ;; v. 1.1
+diff -Nuar a/guiserver/table-demo.lsp b/guiserver/table-demo.lsp
+--- a/guiserver/table-demo.lsp	2017-01-25 17:42:21.000000000 +0100
++++ b/guiserver/table-demo.lsp	2018-03-17 23:41:19.933014316 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ 
+ ; table-demo.lsp - demo of the table UI
+ 
+diff -Nuar a/guiserver/tabs-demo.lsp b/guiserver/tabs-demo.lsp
+--- a/guiserver/tabs-demo.lsp	2017-01-25 17:42:21.000000000 +0100
++++ b/guiserver/tabs-demo.lsp	2018-03-17 23:41:22.553014305 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;;
+ ;; tabs-demo.lsp - demonstrate tabs and icons
+ ;; for 10.6.3 ideprecated gs:table-set-row-number was replaced with gs:table-show-row-number
+diff -Nuar a/guiserver/textfield-demo.lsp b/guiserver/textfield-demo.lsp
+--- a/guiserver/textfield-demo.lsp	2017-01-25 17:42:21.000000000 +0100
++++ b/guiserver/textfield-demo.lsp	2018-03-17 23:41:24.663014296 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;;
+ ; textfield-demo.lsp - demonstrate the test-field widget
+ 
+diff -Nuar a/guiserver/textrot-demo.lsp b/guiserver/textrot-demo.lsp
+--- a/guiserver/textrot-demo.lsp	2017-01-25 17:42:21.000000000 +0100
++++ b/guiserver/textrot-demo.lsp	2018-03-17 23:41:27.363014284 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;;
+ ;; textrot-demo.lsp - demonstrate gs:rotate-tag on text
+ ;; and the mouse-wheel rotating an object
+diff -Nuar a/guiserver/widgets-demo-jp.lsp b/guiserver/widgets-demo-jp.lsp
+--- a/guiserver/widgets-demo-jp.lsp	2017-01-25 17:42:21.000000000 +0100
++++ b/guiserver/widgets-demo-jp.lsp	2018-03-17 23:41:33.983014256 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;;
+ ;; widgets-demo.lsp - demonstrate all widgets
+ 
+diff -Nuar a/guiserver/widgets-demo.lsp b/guiserver/widgets-demo.lsp
+--- a/guiserver/widgets-demo.lsp	2017-01-25 17:42:21.000000000 +0100
++++ b/guiserver/widgets-demo.lsp	2018-03-17 23:41:37.023014243 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;;
+ ;; widgets-demo.lsp - demonstrate all widgets
+ 
+diff -Nuar a/guiserver/widgets-demo-ru.lsp b/guiserver/widgets-demo-ru.lsp
+--- a/guiserver/widgets-demo-ru.lsp	2017-01-25 17:42:21.000000000 +0100
++++ b/guiserver/widgets-demo-ru.lsp	2018-03-17 23:41:40.463014228 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/newlisp
++#!/usr/bin/newlisp
+ ;;
+ ;; widgets-demo.lsp - demonstrate all widgets
+ 
+diff -Nuar a/newlisp.h b/newlisp.h
+--- a/newlisp.h	2017-01-25 17:42:21.000000000 +0100
++++ b/newlisp.h	2018-03-17 23:43:10.193013844 +0100
+@@ -37,7 +37,7 @@
+ #ifdef NEWCONFIG
+ #include "config.h"
+ #else
+-#define NEWLISPDIR "/usr/local/share/newlisp"
++#define NEWLISPDIR "/usr/share/newlisp"
+ #endif
+ 
+ /* force ISO_C90 restrictions */
+diff -Nuar a/README b/README
+--- a/README	2017-01-25 17:42:21.000000000 +0100
++++ b/README	2018-03-17 23:38:31.183015038 +0100
+@@ -100,7 +100,7 @@
+ Note that for a minumum install only the executable newlisp or newlisp.exe
+ in Win32 is necessary.
+ 
+-On Mac OS X or other UNIX copy  newlisp to /usr/local/bin or /usr/bin or ~/bin 
++On Mac OS X or other UNIX copy  newlisp to /usr/bin or /usr/bin or ~/bin 
+ and give it executable permissions.
+ 
+ 

diff --git a/dev-lisp/newlisp/files/newlisp-makefile-install-10.6.2.patch b/dev-lisp/newlisp/files/newlisp-10.7.1-makefile-install.patch
similarity index 100%
rename from dev-lisp/newlisp/files/newlisp-makefile-install-10.6.2.patch
rename to dev-lisp/newlisp/files/newlisp-10.7.1-makefile-install.patch

diff --git a/dev-lisp/newlisp/files/newlisp-makefile-install-10.5.4.patch b/dev-lisp/newlisp/files/newlisp-makefile-install-10.5.4.patch
deleted file mode 100644
index fafb8b07..00000000
--- a/dev-lisp/newlisp/files/newlisp-makefile-install-10.5.4.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-diff -Nuar a/makefile_original_install b/makefile_original_install
---- a/makefile_original_install	2013-10-01 17:52:03.000000000 +0200
-+++ b/makefile_original_install	2014-01-20 13:04:41.569999708 +0100
-@@ -31,7 +31,10 @@
- 	-install -d $(datadir)/newlisp/modules
- 	-install -d $(datadir)/newlisp/util
- 	-install -d $(datadir)/doc/newlisp
--	-rm $(bindir)/newlisp
-+		-install -d $(datadir)/man
-+	-install -d $(datadir)/man/man1
-+	-install -d $(bindir)
-+
- 	-install -m 755  newlisp $(bindir)/newlisp-$(VERSION)
- 	-ln -s $(bindir)/newlisp-$(VERSION) $(bindir)/newlisp
- 	-install -m 755 util/newlispdoc $(bindir)/newlispdoc

diff --git a/dev-lisp/newlisp/files/newlisp-makefile-install-10.7.0.patch b/dev-lisp/newlisp/files/newlisp-makefile-install-10.7.0.patch
deleted file mode 100644
index c3b92153..00000000
--- a/dev-lisp/newlisp/files/newlisp-makefile-install-10.7.0.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -Nuar a/makefile_original_install b/makefile_original_install
---- a/makefile_original_install	2015-01-19 18:10:12.000000000 +0100
-+++ b/makefile_original_install	2015-06-22 12:59:33.639980437 +0200
-@@ -31,7 +31,9 @@
- 	-install -d $(datadir)/newlisp/modules
- 	-install -d $(datadir)/newlisp/util
- 	-install -d $(datadir)/doc/newlisp
--	-rm $(bindir)/newlisp
-+	-install -d $(datadir)/man
-+	-install -d $(datadir)/man/man1
-+	-install -d $(bindir)
- 	-install -m 755  newlisp $(bindir)/newlisp-$(VERSION)
- 	-ln -s $(bindir)/newlisp-$(VERSION) $(bindir)/newlisp
- 	-install -m 755 util/newlispdoc $(bindir)/newlispdoc

diff --git a/dev-lisp/newlisp/newlisp-10.5.4.ebuild b/dev-lisp/newlisp/newlisp-10.5.4.ebuild
deleted file mode 100644
index 12c85d40..00000000
--- a/dev-lisp/newlisp/newlisp-10.5.4.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils multilib
-
-DESCRIPTION="newLISP - a new generation of Lisp!"
-HOMEPAGE="http://www.newlisp.org/"
-SRC_URI="http://www.newlisp.org/downloads/${P}.tgz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="libffi unicode"
-
-RDEPEND="sys-libs/readline:=
-	libffi? ( dev-libs/libffi )"
-DEPEND="${RDEPEND}"
-
-getmakefile() {
-	local arch=""
-	local opts=""
-
-	use amd64 && arch="LP64"
-	use libffi && use unicode && opts="_utf8_ffi"
-	use libffi && ! use unicode && opts="_ffi"
-	! use libffi && use unicode && opts="_utf8"
-
-	use unicode && utf8="utf8"
-	echo "makefile_linux${arch}${opts}"
-}
-
-getlibffipath() {
-	local version=$(best_version dev-libs/libffi)
-
-	version=$(echo ${version} | cut -d/ -f 2)
-	echo "/usr/$(get_libdir)/${version}"
-}
-
-src_prepare() {
-	epatch "${FILESDIR}/${PN}-makefile-install-${PV}.patch"
-}
-
-src_configure() {
-	local makefile=$(getmakefile)
-	if [[ -f ${makefile} ]] ; then
-		cp "${makefile}" makefile_build || die
-		sed -i 's/CFLAGS/MYCFLAGS/g' makefile_build || die
-		sed -i 's/-O2 -g/$(CFLAGS)/g' makefile_build || die
-		sed -i '/strip newlisp/d' makefile_build || die
-	else
-		./configure-alt --prefix="${D}/usr"
-		sed -i '/$(STRIP) $(TARG)/d' makefile_build || die
-	fi
-	if use libffi ; then
-		sed -i "s|/usr/local/lib/libffi-3.0.13|$(getlibffipath)|" makefile_build || die
-	fi
-}
-
-src_install() {
-	make prefix="${D}/usr" install
-}

diff --git a/dev-lisp/newlisp/newlisp-10.7.0.ebuild b/dev-lisp/newlisp/newlisp-10.7.0.ebuild
deleted file mode 100644
index bf0a5bf1..00000000
--- a/dev-lisp/newlisp/newlisp-10.7.0.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils multilib toolchain-funcs
-
-DESCRIPTION="newLISP - a new generation of Lisp!"
-HOMEPAGE="http://www.newlisp.org/"
-SRC_URI="http://www.newlisp.org/downloads/${P}.tgz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="libffi unicode"
-
-RDEPEND="sys-libs/readline:=
-	libffi? ( dev-libs/libffi )"
-DEPEND="${RDEPEND}"
-
-getmakefile() {
-	local arch=""
-	local opts=""
-
-	use amd64 && arch="LP64"
-	use libffi && use unicode && opts="_utf8_ffi"
-	use libffi && ! use unicode && opts="_ffi"
-	! use libffi && use unicode && opts="_utf8"
-
-	use unicode && utf8="utf8"
-	echo "makefile_linux${arch}${opts}"
-}
-
-getlibffipath() {
-	local version=$(best_version dev-libs/libffi)
-
-	version=$(echo ${version} | cut -d/ -f 2)
-	echo "/usr/$(get_libdir)/${version}"
-}
-
-src_prepare() {
-	epatch "${FILESDIR}/${PN}-makefile-install-${PV}.patch"
-	epatch "${FILESDIR}/${PN}-path-${PV}.patch"
-}
-
-src_configure() {
-	local makefile=$(getmakefile)
-	if [[ -f ${makefile} ]] ; then
-		cp "${makefile}" makefile_build || die
-		sed -i 's/CFLAGS/MYCFLAGS/g' makefile_build || die
-		sed -i 's/-O2 -g/$(CFLAGS)/g' makefile_build || die
-		sed -i '/strip newlisp/d' makefile_build || die
-	else
-		./configure-alt --prefix="${D}/usr"
-		sed -i '/$(STRIP) $(TARG)/d' makefile_build || die
-	fi
-	if use libffi ; then
-		sed -i "s|/usr/local/lib/libffi-3.0.13|$(getlibffipath)|" makefile_build || die
-	fi
-}
-
-src_compile() {
-	emake CC=$(tc-getCC)
-}
-src_install() {
-	make prefix="${D}/usr" install
-}

diff --git a/dev-lisp/newlisp/newlisp-10.6.2.ebuild b/dev-lisp/newlisp/newlisp-10.7.1.ebuild
similarity index 91%
rename from dev-lisp/newlisp/newlisp-10.6.2.ebuild
rename to dev-lisp/newlisp/newlisp-10.7.1.ebuild
index b0a60069..53a115be 100644
--- a/dev-lisp/newlisp/newlisp-10.6.2.ebuild
+++ b/dev-lisp/newlisp/newlisp-10.7.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -18,6 +18,11 @@ RDEPEND="sys-libs/readline:=
 	libffi? ( dev-libs/libffi )"
 DEPEND="${RDEPEND}"
 
+PATCHES=(
+	"${FILESDIR}/${P}-fix-makefiles.patch"
+	"${FILESDIR}/${P}-fix-paths.patch"
+)
+
 getmakefile() {
 	local arch=""
 	local opts=""
@@ -38,10 +43,6 @@ getlibffipath() {
 	echo "/usr/$(get_libdir)/${version}"
 }
 
-src_prepare() {
-	epatch "${FILESDIR}/${PN}-makefile-install-${PV}.patch"
-}
-
 src_configure() {
 	local makefile=$(getmakefile)
 	if [[ -f ${makefile} ]] ; then


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-03-17 22:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-17 22:47 [gentoo-commits] proj/lisp:master commit in: dev-lisp/newlisp/files/, dev-lisp/newlisp/ José María Alonso
  -- strict thread matches above, loose matches on Subject: below --
2016-02-06 16:41 José María Alonso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox