Received: by mail.netbsd.org (Postfix, from userid 605) id 2DFAD84D22; Sun, 28 Feb 2021 08:06:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 65F7784D0E for ; Sun, 28 Feb 2021 08:06:53 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id e7Jc8i4kFMkO for ; Sun, 28 Feb 2021 08:06:52 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 80C9584CFC for ; Sun, 28 Feb 2021 08:06:52 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 7970AFA95; Sun, 28 Feb 2021 08:06:52 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_161449961229800" MIME-Version: 1.0 Date: Sun, 28 Feb 2021 08:06:52 +0000 From: "Nia Alarie" Subject: CVS commit: pkgsrc/lang/surgescript To: pkgsrc-changes@NetBSD.org Reply-To: nia@netbsd.org X-Mailer: log_accum Message-Id: <20210228080652.7970AFA95@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_161449961229800 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" 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. --_----------=_161449961229800 Content-Disposition: inline Content-Length: 5090 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii 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 +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 . + +--- src/surgescript/util/utf8.c.orig 2021-01-22 18:42:07.000000000 +0000 ++++ src/surgescript/util/utf8.c +@@ -24,9 +24,9 @@ + #include + #define snprintf _snprintf + #else +-#ifndef __FreeBSD__ ++#if defined(__linux__) || defined(__sun) + #include +-#endif /* __FreeBSD__ */ ++#endif /* defined(__linux__) || defined(__sun) */ + #endif + #include + 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 + 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 ++#include ++ + extern int locale_is_utf8; + + /* is c the start of a utf8 sequence? */ --_----------=_161449961229800--