pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/surgescript



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun Feb 28 08:06:52 UTC 2021

Added Files:
        pkgsrc/lang/surgescript: DESCR Makefile PLIST distinfo
        pkgsrc/lang/surgescript/patches: patch-src_surgescript_util_utf8.c
            patch-src_surgescript_util_utf8.h

Log Message:
lang: add surgescript.

SurgeScript is a scripting language for games. Use it to unleash your
creativity and build your own amazing interactive content!


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/surgescript/DESCR \
    pkgsrc/lang/surgescript/Makefile pkgsrc/lang/surgescript/PLIST \
    pkgsrc/lang/surgescript/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/lang/surgescript/patches/patch-src_surgescript_util_utf8.c \
    pkgsrc/lang/surgescript/patches/patch-src_surgescript_util_utf8.h

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

Added files:

Index: pkgsrc/lang/surgescript/DESCR
diff -u /dev/null pkgsrc/lang/surgescript/DESCR:1.1
--- /dev/null   Sun Feb 28 08:06:52 2021
+++ pkgsrc/lang/surgescript/DESCR       Sun Feb 28 08:06:52 2021
@@ -0,0 +1,2 @@
+SurgeScript is a scripting language for games. Use it to unleash your
+creativity and build your own amazing interactive content!
Index: pkgsrc/lang/surgescript/Makefile
diff -u /dev/null pkgsrc/lang/surgescript/Makefile:1.1
--- /dev/null   Sun Feb 28 08:06:52 2021
+++ pkgsrc/lang/surgescript/Makefile    Sun Feb 28 08:06:52 2021
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2021/02/28 08:06:52 nia Exp $
+
+DISTNAME=      surgescript-0.5.5
+CATEGORIES=    lang
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=alemart/}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://docs.opensurge2d.org/
+COMMENT=       Scripting language for games
+LICENSE=       apache-2.0
+
+USE_CMAKE=     yes
+
+PKGCONFIG_OVERRIDE+=   src/surgescript/misc/surgescript.pc.in
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/lang/surgescript/PLIST
diff -u /dev/null pkgsrc/lang/surgescript/PLIST:1.1
--- /dev/null   Sun Feb 28 08:06:52 2021
+++ pkgsrc/lang/surgescript/PLIST       Sun Feb 28 08:06:52 2021
@@ -0,0 +1,39 @@
+@comment $NetBSD: PLIST,v 1.1 2021/02/28 08:06:52 nia Exp $
+bin/surgescript
+include/surgescript.h
+include/surgescript/compiler/asm.h
+include/surgescript/compiler/lexer.h
+include/surgescript/compiler/nodecontext.h
+include/surgescript/compiler/parser.h
+include/surgescript/compiler/symtable.h
+include/surgescript/compiler/token.h
+include/surgescript/runtime/heap.h
+include/surgescript/runtime/object.h
+include/surgescript/runtime/object_manager.h
+include/surgescript/runtime/program.h
+include/surgescript/runtime/program_operators.h
+include/surgescript/runtime/program_pool.h
+include/surgescript/runtime/renv.h
+include/surgescript/runtime/sslib/sslib.h
+include/surgescript/runtime/stack.h
+include/surgescript/runtime/tag_system.h
+include/surgescript/runtime/variable.h
+include/surgescript/runtime/vm.h
+include/surgescript/runtime/vm_time.h
+include/surgescript/util/fasthash.h
+include/surgescript/util/ssarray.h
+include/surgescript/util/transform.h
+include/surgescript/util/utf8.h
+include/surgescript/util/uthash.h
+include/surgescript/util/util.h
+include/surgescript/util/version.h
+include/surgescript/util/xxh3.h
+include/surgescript/util/xxhash.h
+lib/libsurgescript-static.a
+lib/libsurgescript.so
+lib/libsurgescript.so.${PKGVERSION}
+lib/pkgconfig/surgescript-static.pc
+lib/pkgconfig/surgescript.pc
+share/metainfo/surgescript.appdata.xml
+share/pixmaps/surgescript.png
+@pkgdir include/surgescript/misc
Index: pkgsrc/lang/surgescript/distinfo
diff -u /dev/null pkgsrc/lang/surgescript/distinfo:1.1
--- /dev/null   Sun Feb 28 08:06:52 2021
+++ pkgsrc/lang/surgescript/distinfo    Sun Feb 28 08:06:52 2021
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2021/02/28 08:06:52 nia Exp $
+
+SHA1 (surgescript-0.5.5.tar.gz) = 7dd9100515a4c0722beb664be35bacf8b3ff3d46
+RMD160 (surgescript-0.5.5.tar.gz) = 7d581559bef12df3e9dced8ef4fa1bcd7fa72c74
+SHA512 (surgescript-0.5.5.tar.gz) = b3b79f36463b9ff91f2f8108d6917961d8aabfbd0693a9e9e275f57faa09022570519c553ceff8db93101058964d76df82448b487ed82c5331598df065fae34a
+Size (surgescript-0.5.5.tar.gz) = 504167 bytes
+SHA1 (patch-src_surgescript_util_utf8.c) = 44775addf7e9430bbf5fe26b0863b5334261417f
+SHA1 (patch-src_surgescript_util_utf8.h) = 030bd7168f902466faa897e2de522a71db8616fa

Index: pkgsrc/lang/surgescript/patches/patch-src_surgescript_util_utf8.c
diff -u /dev/null pkgsrc/lang/surgescript/patches/patch-src_surgescript_util_utf8.c:1.1
--- /dev/null   Sun Feb 28 08:06:52 2021
+++ pkgsrc/lang/surgescript/patches/patch-src_surgescript_util_utf8.c   Sun Feb 28 08:06:52 2021
@@ -0,0 +1,18 @@
+$NetBSD: patch-src_surgescript_util_utf8.c,v 1.1 2021/02/28 08:06:52 nia Exp $
+
+Much more than FreeBSD doesn't have <alloca.h>.
+
+--- src/surgescript/util/utf8.c.orig   2021-01-22 18:42:07.000000000 +0000
++++ src/surgescript/util/utf8.c
+@@ -24,9 +24,9 @@
+ #include <malloc.h>
+ #define snprintf _snprintf
+ #else
+-#ifndef __FreeBSD__
++#if defined(__linux__) || defined(__sun)
+ #include <alloca.h>
+-#endif /* __FreeBSD__ */
++#endif /* defined(__linux__) || defined(__sun) */
+ #endif
+ #include <assert.h>
+ 
Index: pkgsrc/lang/surgescript/patches/patch-src_surgescript_util_utf8.h
diff -u /dev/null pkgsrc/lang/surgescript/patches/patch-src_surgescript_util_utf8.h:1.1
--- /dev/null   Sun Feb 28 08:06:52 2021
+++ pkgsrc/lang/surgescript/patches/patch-src_surgescript_util_utf8.h   Sun Feb 28 08:06:52 2021
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_surgescript_util_utf8.h,v 1.1 2021/02/28 08:06:52 nia Exp $
+
+This header file is included in various places without including the
+<stdarg.h> prerequisite beforehand. Fix it the lazy way.
+
+--- src/surgescript/util/utf8.h.orig   2021-01-22 18:42:07.000000000 +0000
++++ src/surgescript/util/utf8.h
+@@ -6,6 +6,9 @@
+ #ifndef UTF8_H
+ #define UTF8_H
+ 
++#include <stdarg.h>
++#include <stdint.h>
++
+ extern int locale_is_utf8;
+ 
+ /* is c the start of a utf8 sequence? */



Home | Main Index | Thread Index | Old Index