pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/rgbds rgbds: Update to 0.3.9



details:   https://anonhg.NetBSD.org/pkgsrc/rev/630279cfe815
branches:  trunk
changeset: 343226:630279cfe815
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri Nov 01 17:39:34 2019 +0000

description:
rgbds: Update to 0.3.9

rgbasm:

    Enforced non-overwritability of some symbols
    - now allows assembling a file from stdin
    Allowed PUSHS to be used before a section declaration
    Prevented generating symbols with invalid names using macros
    Fixed the precedence of the == operator
    Added different output formats to bracketed symbols
    Fixed a parsing bug with some nested if constructs
    Improved error reporting now reports actual file line numbers as well as string expansions
    Added multiple charmaps (be careful as some feature has been deprecated, a warning has been added about it)
    Fixed bug with line numbers in some IF/ELIF/ELSE blocks
    Added configurable recursion limit to prevent infinite loops
    Fixed unary NOT being a no-op on constant expressions
    Made behavior consistent whether outputting a .o file or not
    Allowed tabs to be used before line continuations
    Allowed sections without content to be placed anywhere
    Made error message more explicit with macro argument 0

rgblink:

    Improved many error messages

rgbgfx:

    Added an option to use the GBC's color profile

other:

    Added more tests
    Did some internal cleanup
    Improved cross-platform compatibility of test suite

diffstat:

 devel/rgbds/Makefile               |  12 ++++++-
 devel/rgbds/distinfo               |  12 +++---
 devel/rgbds/patches/patch-Makefile |  60 ++++---------------------------------
 3 files changed, 23 insertions(+), 61 deletions(-)

diffs (121 lines):

diff -r 9f29dc4a00d6 -r 630279cfe815 devel/rgbds/Makefile
--- a/devel/rgbds/Makefile      Fri Nov 01 17:35:07 2019 +0000
+++ b/devel/rgbds/Makefile      Fri Nov 01 17:39:34 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2019/03/04 13:18:05 nia Exp $
+# $NetBSD: Makefile,v 1.6 2019/11/01 17:39:34 nia Exp $
 
-DISTNAME=      rgbds-0.3.8
+DISTNAME=      rgbds-0.3.9
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=rednex/}
 GITHUB_RELEASE=        v${PKGVERSION_NOREV}
@@ -13,7 +13,15 @@
 EXTRACT_USING= bsdtar
 USE_TOOLS+=    gmake pkg-config lex bison
 
+MAKE_FLAGS+=   Q= # Be noisy.
+MAKE_FLAGS+=   CFLAGS=${CFLAGS:Q}
+MAKE_FLAGS+=   LDFLAGS=${LDFLAGS:Q}
+MAKE_FLAGS+=   PREFIX=${PREFIX}
+MAKE_FLAGS+=   YACC=${YACC}
+MAKE_FLAGS+=   LEX=${LEX}
 MAKE_FLAGS+=   mandir=${PREFIX}/${PKGMANDIR}
 
+CHECK_PORTABILITY_SKIP=        test/pokecrystal/tools/compare2.sh
+
 .include "../../graphics/png/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 9f29dc4a00d6 -r 630279cfe815 devel/rgbds/distinfo
--- a/devel/rgbds/distinfo      Fri Nov 01 17:35:07 2019 +0000
+++ b/devel/rgbds/distinfo      Fri Nov 01 17:39:34 2019 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.2 2019/03/04 13:10:00 nia Exp $
+$NetBSD: distinfo,v 1.3 2019/11/01 17:39:34 nia Exp $
 
-SHA1 (rgbds-0.3.8.tar.gz) = d57ca6b48ff405b2790ec7d3c2790718dd1630f1
-RMD160 (rgbds-0.3.8.tar.gz) = 037e76d67e700305a0c3dfe0972e0e5a87fc173c
-SHA512 (rgbds-0.3.8.tar.gz) = aaaf94e62d6019bf5e19e73585a09195dfad3bd7728dc2d565ea85802e1f9609bdf76ea6620f87c1ef3cdd2b84931a6ebbabb12a785b8b430af251948522f2c0
-Size (rgbds-0.3.8.tar.gz) = 144276 bytes
-SHA1 (patch-Makefile) = 50aa361a3cffb1c0d28bb6b6252e1748ce001f04
+SHA1 (rgbds-0.3.9.tar.gz) = 4ddebdc9857e3d7cd514b017a79fc28f031c2df9
+RMD160 (rgbds-0.3.9.tar.gz) = fa49562e1d3161190c427071b81850b08c5fa490
+SHA512 (rgbds-0.3.9.tar.gz) = 2e5f0b2b2fc7209e51b9ebe1a8c5395ab04267775e61958ea2c8f2112d77625b1eb3ca0120f6f25b6c91997d89eda690d5c348e82857fab4e938d6aee32c2300
+Size (rgbds-0.3.9.tar.gz) = 39946518 bytes
+SHA1 (patch-Makefile) = 2459ff1d685893e886a673ebc306bfa9e8f807ae
diff -r 9f29dc4a00d6 -r 630279cfe815 devel/rgbds/patches/patch-Makefile
--- a/devel/rgbds/patches/patch-Makefile        Fri Nov 01 17:35:07 2019 +0000
+++ b/devel/rgbds/patches/patch-Makefile        Fri Nov 01 17:39:34 2019 +0000
@@ -1,65 +1,19 @@
-$NetBSD: patch-Makefile,v 1.1 2018/08/15 15:25:10 nia Exp $
+$NetBSD: patch-Makefile,v 1.2 2019/11/01 17:39:34 nia Exp $
 
-Don't override settings.
+Do not link statically.
 
---- Makefile.orig      2018-05-02 19:04:00.000000000 +0000
+--- Makefile.orig      2019-11-01 16:25:45.000000000 +0000
 +++ Makefile
-@@ -8,8 +8,6 @@
- 
- # User-defined variables
- 
--Q             := @
--PREFIX                := /usr/local
- bindir                := ${PREFIX}/bin
- mandir                := ${PREFIX}/man
- STRIP         := -s
-@@ -20,25 +18,17 @@ CHECKPATCH := ../linux/scripts/checkpatc
+@@ -23,9 +23,9 @@ CHECKPATCH   := ../linux/scripts/checkpatc
  # Other variables
  
  PKG_CONFIG    := pkg-config
 -PNGCFLAGS     := `${PKG_CONFIG} --static --cflags libpng`
 -PNGLDFLAGS    := `${PKG_CONFIG} --static --libs-only-L libpng`
 -PNGLDLIBS     := `${PKG_CONFIG} --static --libs-only-l libpng`
--
--VERSION_STRING        := `git describe --tags --dirty --always 2>/dev/null`
 +PNGCFLAGS     := `${PKG_CONFIG} --cflags libpng`
-+PNGLDFLAGS    := `${PKG_CONFIG} --libs-only-L libpng`
-+PNGLDLIBS     := `${PKG_CONFIG} --libs-only-l libpng`
- 
- WARNFLAGS     := -Wall
- 
- # Overridable CFLAGS
--CFLAGS                := -g
- # Non-overridable CFLAGS
- REALCFLAGS    := ${CFLAGS} ${WARNFLAGS} -std=c99 -D_POSIX_C_SOURCE=200809L \
-                  -Iinclude -DBUILD_VERSION_STRING=\"${VERSION_STRING}\"
- 
--YFLAGS                :=
--LFLAGS                := --nounistd
--
--YACC          := yacc
--LEX           := flex
- RM            := rm -rf
++PNGLDFLAGS    := `${PKG_CONFIG} --libs libpng`
++PNGLDLIBS     := `${PKG_CONFIG} --libsl libpng`
  
- # Rules to build the RGBDS binaries
-@@ -94,16 +84,16 @@ rgbgfx_obj := \
-       src/version.o
- 
- rgbasm: ${rgbasm_obj}
--      $Q${CC} ${REALCFLAGS} -o $@ ${rgbasm_obj} -lm
-+      $Q${CC} ${REALCFLAGS} ${LDFLAGS} -o $@ ${rgbasm_obj} -lm
+ VERSION_STRING        := `git describe --tags --dirty --always 2>/dev/null`
  
- rgblink: ${rgblink_obj}
--      $Q${CC} ${REALCFLAGS} -o $@ ${rgblink_obj}
-+      $Q${CC} ${REALCFLAGS} ${LDFLAGS} -o $@ ${rgblink_obj}
- 
- rgbfix: ${rgbfix_obj}
--      $Q${CC} ${REALCFLAGS} -o $@ ${rgbfix_obj}
-+      $Q${CC} ${REALCFLAGS} ${LDFLAGS} -o $@ ${rgbfix_obj}
- 
- rgbgfx: ${rgbgfx_obj}
--      $Q${CC} ${REALCFLAGS} ${PNGLDFLAGS} -o $@ ${rgbgfx_obj} ${PNGLDLIBS}
-+      $Q${CC} ${REALCFLAGS} ${LDFLAGS} ${PNGLDFLAGS} -o $@ ${rgbgfx_obj} ${PNGLDLIBS}
- 
- # Rules to process files
- 



Home | Main Index | Thread Index | Old Index