pkgsrc-WIP-changes archive

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

abcl: bring to versino 1.9.2



Module Name:	pkgsrc-wip
Committed By:	Kevin Bloom <kevin.bloom%posteo.net@localhost>
Pushed By:	nuclearkev
Date:		Tue Mar 26 15:00:05 2024 -0400
Changeset:	1eec8d79350d50800f519f0ec13584ef7e6eccbd

Added Files:
	abcl/.gt-temp1.txt
	abcl/COMMIT_MSG
	abcl/DESCR
	abcl/Makefile
	abcl/PLIST
	abcl/distinfo
	abcl/patches/patch-build.xml

Log Message:
abcl: bring to versino 1.9.2

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=1eec8d79350d50800f519f0ec13584ef7e6eccbd

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 abcl/.gt-temp1.txt           |  8 ++++++++
 abcl/COMMIT_MSG              | 46 ++++++++++++++++++++++++++++++++++++++++++++
 abcl/DESCR                   |  7 +++++++
 abcl/Makefile                | 35 +++++++++++++++++++++++++++++++++
 abcl/PLIST                   |  4 ++++
 abcl/distinfo                |  6 ++++++
 abcl/patches/patch-build.xml | 31 +++++++++++++++++++++++++++++
 7 files changed, 137 insertions(+)

diffs:
diff --git a/abcl/.gt-temp1.txt b/abcl/.gt-temp1.txt
new file mode 100644
index 0000000000..a26cb74d44
--- /dev/null
+++ b/abcl/.gt-temp1.txt
@@ -0,0 +1,8 @@
+On branch master
+Your branch is up to date with 'origin/master'.
+
+Untracked files:
+  (use "git add <file>..." to include in what will be committed)
+1.	./
+
+nothing added to commit but untracked files present (use "git add" to track)
diff --git a/abcl/COMMIT_MSG b/abcl/COMMIT_MSG
new file mode 100644
index 0000000000..0ebb59c1bd
--- /dev/null
+++ b/abcl/COMMIT_MSG
@@ -0,0 +1,46 @@
+lang/abcl: update to 1.9.2
+
+Prepared by Kevin Bloom in wip.
+
+1.9.1 -> 1.9.2:
+- JNA contrib has been updated to jna-5.13.0
+- Restore most of the speed of the generic function cache
+- The ABCL-STEPPER contrib provides a interpreted implementation of
+  CL:STEP.
+- Re-worked the Gray Stream implementation to fix many issues.
+- Introduced the POSIX-SYSCALLS contrib which allows one to
+  set environment variables in the hosting JVM process.
+- Fix GRAY-STREAMS:STREAM-ELEMENT-TYPE for binary streams.
+- Fix CL:LOG for behavior at zero.
+- Extensive grouting of accumulated bitrot in the ASDF-JAR
+  contrib to enable more complete packaging of non-compilation
+  artifacts as well as systems residing in jar files.
+- EXTENSION:REGISTER-ASDF adds a directory to ASDF by using
+  the configuration API.
+- SYSTEM:ZIP now works with source in jar files.
+
+1.9.0 -> 1.9.1:
+- Avoid NIL in simple LOOP from FORMAT directives.
+- Maven may now be used for building/testing ABCL.
+- The build autoconfigure targets for openjdk17+ now add
+  necessary opens command line switches to enable the successful use
+  of CL+SSL via CFFI on such platforms.
+- ABCL-ASDF:MAKE-LOCAL-MAVEN downloads a version of
+  Maven installed into the local XDG directory location and
+  configures its subsequent use in the current session.  ABCL-ASDF
+  provides a restart to invoke this installation if Maven can't be
+  located at runtime.
+- fix compilation of a few TYPE-ERROR cases
+- Fix SYS:RUN-PROGRAM waiting problems
+- DEFMETHOD now accepts subtypes of MOP:SPECIALIZER as a
+  discriminator.
+- Provide SETF'abl api for inspecting and modifying the underlying
+  JVM context classloader.
+- Implement THREADS:GET-JAVA-THREAD
+
+
+1.8.0 -> 1.9.0:
+
+1.7.1 -> 1.8.0:
+
+https://abcl.org/release-notes.shtml
diff --git a/abcl/DESCR b/abcl/DESCR
new file mode 100644
index 0000000000..0ab2f35d9e
--- /dev/null
+++ b/abcl/DESCR
@@ -0,0 +1,7 @@
+Armed Bear Common Lisp (ABCL) is a full implementation of
+the Common Lisp language featuring both an interpreter and
+a compiler, running in the JVM. Originally started to be
+a scripting language for the J editor, it now supports JSR-223
+(Java scripting API): it can be a scripting engine in any Java
+application. Additionally, it can be used to implement (parts of)
+the application using Java to Lisp integration APIs.
diff --git a/abcl/Makefile b/abcl/Makefile
new file mode 100644
index 0000000000..62e386df91
--- /dev/null
+++ b/abcl/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.18 2023/06/06 12:41:41 riastradh Exp $
+
+DISTNAME=	abcl-src-1.9.2
+PKGNAME=	${DISTNAME:C/-src//}
+CATEGORIES=	lang
+MASTER_SITES=	http://abcl.org/releases/${PKGVERSION_NOREV}/
+
+MAINTAINER=	asau%inbox.ru@localhost
+HOMEPAGE=	https://abcl.org/
+COMMENT=	Armed Bear Common Lisp
+
+PKG_JVMS_ACCEPTED=	openjdk11 openjdk8 oracle-jdk8 sun-jdk7 jdk16 jdk15 kaffe
+
+TOOL_DEPENDS=	apache-ant>=1.7.1:../../devel/apache-ant
+
+INSTALLATION_DIRS=	bin lib/abcl
+
+do-build:
+	${RUN}${_ULIMIT_CMD} cd ${WRKSRC} && \
+	  ${PKGSRC_SETENV} ${MAKE_ENV} \
+	    ant -nouserlib -Dabcl.runtime.jar.path=${PREFIX}/lib/abcl/abcl.jar
+
+do-install:
+	${INSTALL_SCRIPT} ${WRKSRC}/abcl ${DESTDIR}${PREFIX}/bin
+	${INSTALL_DATA} ${WRKSRC}/dist/abcl.jar ${DESTDIR}${PREFIX}/lib/abcl
+	${INSTALL_DATA} ${WRKSRC}/dist/abcl-contrib.jar ${DESTDIR}${PREFIX}/lib/abcl
+
+# TODO: requires network connectivity to fetch dependencies (e.g. JUnit)
+do-test:
+	${RUN}${_ULIMIT_CMD} cd ${WRKSRC} && \
+	  ${PKGSRC_SETENV} ${MAKE_ENV} \
+	    ant -nouserlib -Dabcl.runtime.jar.path=${PREFIX}/lib/abcl/abcl.jar abcl.test
+
+.include "../../mk/java-vm.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/abcl/PLIST b/abcl/PLIST
new file mode 100644
index 0000000000..7103d0da40
--- /dev/null
+++ b/abcl/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2012/08/08 20:24:44 asau Exp $
+bin/abcl
+lib/abcl/abcl-contrib.jar
+lib/abcl/abcl.jar
diff --git a/abcl/distinfo b/abcl/distinfo
new file mode 100644
index 0000000000..b1d8c3e3f5
--- /dev/null
+++ b/abcl/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.13 2021/10/26 10:51:29 nia Exp $
+
+BLAKE2s (abcl-src-1.9.2.tar.gz) = cf646ed25c3b350ef00e15dac7ff273ccc9e23fd141df1ddd1bec382cb3f442f
+SHA512 (abcl-src-1.9.2.tar.gz) = 1b758b26be5dbe00fb75aef0ffca6cdfbbb7982a545c63b6378dbd3d22bed76e15628ee099c5728c3600d67fb74def249195060cc1af1486f6d52fcdb9ce245a
+Size (abcl-src-1.9.2.tar.gz) = 2477992 bytes
+SHA1 (patch-build.xml) = 6def6a61011a94a33a5a1627f8628bd3986e993c
diff --git a/abcl/patches/patch-build.xml b/abcl/patches/patch-build.xml
new file mode 100644
index 0000000000..3bdac545e2
--- /dev/null
+++ b/abcl/patches/patch-build.xml
@@ -0,0 +1,31 @@
+$NetBSD: patch-build.xml,v 1.3 2018/10/10 21:55:20 rjs Exp $
+
+--- build.xml.orig	2017-06-11 10:37:36.000000000 +0000
++++ build.xml
+@@ -1,5 +1,6 @@
+ <?xml version="1.0" encoding="UTF-8"?>
+ <project xmlns="antlib:org.apache.tools.ant"
++	 xmlns:if="ant:if"
+          name="abcl-master" default="abcl.wrapper" basedir=".">
+     <description>Compiling, testing, and packaging Armed Bear Common Lisp</description>
+ 
+@@ -280,6 +281,11 @@ For help on the automatic tests availabl
+       <abcl.compile.lisp/>
+     </target>
+ 
++    <condition property="compressedclassspace">
++      <matches string="${java.version}" 
++               pattern="1\.8\.0"/>
++    </condition>
++
+     <macrodef name="abcl.compile.lisp">
+       <element name="additional.jvmarg" optional="true"/>
+       <sequential>
+@@ -299,6 +305,7 @@ from ${abcl.home.dir}
+             classname="org.armedbear.lisp.Main">
+         <jvmarg value="-Dabcl.home=${abcl.home.dir}${file.separator}"/>
+         <jvmarg value="-Dabcl.autoload.verbose=Y"/>
++	<jvmarg if:set="compressedclassspace" value="-XX:CompressedClassSpaceSize=128m"/>
+         <additional.jvmarg/>
+         <arg value="--noinit"/>
+         <arg value="--nosystem"/>


Home | Main Index | Thread Index | Old Index