From owner-svn-ports-all@freebsd.org Wed Mar 10 06:26:24 2021 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8D06657EE79; Wed, 10 Mar 2021 06:26:24 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DwMXw3Zs8z4b81; Wed, 10 Mar 2021 06:26:24 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6982A289C; Wed, 10 Mar 2021 06:26:24 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 12A6QO6i017007; Wed, 10 Mar 2021 06:26:24 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 12A6QNZX017000; Wed, 10 Mar 2021 06:26:23 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <202103100626.12A6QNZX017000@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Wed, 10 Mar 2021 06:26:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r567985 - in head/devel: . rgbds rgbds/files X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: in head/devel: . rgbds rgbds/files X-SVN-Commit-Revision: 567985 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Mar 2021 06:26:24 -0000 Author: tobik Date: Wed Mar 10 06:26:22 2021 New Revision: 567985 URL: https://svnweb.freebsd.org/changeset/ports/567985 Log: Add devel/rgbds RGBDS is a free GBZ80 assembler/linker package for the Game Boy and Game Boy Color. RGBDS additionally contains 2 extra tools to fix ROM headers, and convert PNG files to the Game Boy's planar tile format. The binaries it provides are: rgbasm(1) (assembler) rgblink(1) (linker) rgbfix(1) (checksum/header fixer) rgbgfx(1) (PNG-to-Game Boy graphics converter) WWW: https://rgbds.gbdev.io/ PR: 243645 Submitted by: trigex@waifu.club (old version 0.3.9) Added: head/devel/rgbds/ head/devel/rgbds/Makefile (contents, props changed) head/devel/rgbds/distinfo (contents, props changed) head/devel/rgbds/files/ head/devel/rgbds/files/patch-Makefile (contents, props changed) head/devel/rgbds/pkg-descr (contents, props changed) head/devel/rgbds/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Wed Mar 10 06:08:24 2021 (r567984) +++ head/devel/Makefile Wed Mar 10 06:26:22 2021 (r567985) @@ -5420,6 +5420,7 @@ SUBDIR += reproc SUBDIR += resolv_wrapper SUBDIR += revive + SUBDIR += rgbds SUBDIR += rhtvision SUBDIR += rinutils SUBDIR += riscv32-unknown-elf-gcc Added: head/devel/rgbds/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rgbds/Makefile Wed Mar 10 06:26:22 2021 (r567985) @@ -0,0 +1,19 @@ +# $FreeBSD$ + +PORTNAME= rgbds +DISTVERSION= 0.5.0-rc1 +CATEGORIES= devel games +MASTER_SITES= https://github.com/gbdev/rgbds/releases/download/v${DISTVERSION}/ + +MAINTAINER= tobik@FreeBSD.org +COMMENT= Free assembler/linker for the Game Boy & Game Boy Color + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libpng.so:graphics/png + +USES= bison dos2unix pkgconfig +WRKSRC= ${WRKDIR}/rgbds + +.include Added: head/devel/rgbds/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rgbds/distinfo Wed Mar 10 06:26:22 2021 (r567985) @@ -0,0 +1,3 @@ +TIMESTAMP = 1615356903 +SHA256 (rgbds-0.5.0-rc1.tar.gz) = fcb894573a606880e2799b98962b4aba40757a9ddeb8f3163bf0db0a455f8e01 +SIZE (rgbds-0.5.0-rc1.tar.gz) = 7920373 Added: head/devel/rgbds/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rgbds/files/patch-Makefile Wed Mar 10 06:26:22 2021 (r567985) @@ -0,0 +1,30 @@ +In file included from src/asm/charmap.c:22: +include/hashmap.h:18:15: error: expected parameter declarator +static_assert(HALF_HASH_NB_BITS * 2 == HASH_NB_BITS, ""); + ^ +include/hashmap.h:17:27: note: expanded from macro 'HALF_HASH_NB_BITS' +#define HALF_HASH_NB_BITS 16 + ^ +include/hashmap.h:18:15: error: expected ')' +include/hashmap.h:17:27: note: expanded from macro 'HALF_HASH_NB_BITS' +#define HALF_HASH_NB_BITS 16 + ^ +include/hashmap.h:18:14: note: to match this '(' +static_assert(HALF_HASH_NB_BITS * 2 == HASH_NB_BITS, ""); + ^ +include/hashmap.h:18:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] +static_assert(HALF_HASH_NB_BITS * 2 == HASH_NB_BITS, ""); +^ +1 warning and 2 errors generated. + +--- Makefile.orig 2021-03-10 06:20:18 UTC ++++ Makefile +@@ -35,7 +35,7 @@ WARNFLAGS := -Wall + # Overridable CFLAGS + CFLAGS ?= -O3 -flto -DNDEBUG + # Non-overridable CFLAGS +-REALCFLAGS := ${CFLAGS} ${WARNFLAGS} -std=gnu11 -D_POSIX_C_SOURCE=200809L \ ++REALCFLAGS := ${CFLAGS} ${WARNFLAGS} -std=gnu11 \ + -Iinclude + # Overridable LDFLAGS + LDFLAGS ?= Added: head/devel/rgbds/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rgbds/pkg-descr Wed Mar 10 06:26:22 2021 (r567985) @@ -0,0 +1,12 @@ +RGBDS is a free GBZ80 assembler/linker package for the Game Boy and +Game Boy Color. RGBDS additionally contains 2 extra tools to fix +ROM headers, and convert PNG files to the Game Boy's planar tile +format. + +The binaries it provides are: +rgbasm(1) (assembler) +rgblink(1) (linker) +rgbfix(1) (checksum/header fixer) +rgbgfx(1) (PNG-to-Game Boy graphics converter) + +WWW: https://rgbds.gbdev.io/ Added: head/devel/rgbds/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rgbds/pkg-plist Wed Mar 10 06:26:22 2021 (r567985) @@ -0,0 +1,13 @@ +bin/rgbasm +bin/rgbfix +bin/rgbgfx +bin/rgblink +share/man/man1/rgbasm.1.gz +share/man/man1/rgbfix.1.gz +share/man/man1/rgbgfx.1.gz +share/man/man1/rgblink.1.gz +share/man/man5/rgbasm.5.gz +share/man/man5/rgbds.5.gz +share/man/man5/rgblink.5.gz +share/man/man7/gbz80.7.gz +share/man/man7/rgbds.7.gz