Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: [maintainer update] Bump graphics/decker 1.39 -> 1.40
To:
Jag Talon <jag@aangat.lahat.computer>
Cc:
ports@openbsd.org
Date:
Wed, 6 Mar 2024 15:24:52 +0000

Download raw body.

Thread
On 2024/03/06 10:19, Jag Talon wrote:
> Notes:
> ======
> 
> * Aside from bumping the version number, I also added a dependency to xdg-utils
> to the Makefile. Apparently it's used within the app to open external links. I
> misunderstood it as only applicable to the web version of Decker which we don't
> build. Now Decker is able to open external links.
> 
> * I also added a new patch called patch-c_dom_h which includes sys/wait.h in the
> c/dom.h file. This allows the build to continue.
> 
> Bug fixes and one new feature:
> ==============================
> 
> * Decker will no longer crash if a prototype is removed from the deck while
> it is being edited. 
> 
> * Keyboard shortcuts can be used in drawing mode while
> the menu is hidden. 
> 
> * Lil now includes a "like" operator for performing "glob
> pattern-matching" against strings, much like conventional dialects of SQL.
> 
> More details here: 
> https://internet-janitor.itch.io/decker/devlog/690682/decker-140
> 
> ok?
> 
> -- 
> Jag Talon (he/him)
> 
> https://jagtalon.net/
> https://weirder.earth/@jag
> 


> Index: patches/patch-Makefile
> ===================================================================
> RCS file: /cvs/ports/graphics/decker/patches/patch-Makefile,v
> retrieving revision 1.1.1.1
> diff -u -p -u -r1.1.1.1 patch-Makefile
> --- patches/patch-Makefile	18 Feb 2024 11:03:40 -0000	1.1.1.1
> +++ patches/patch-Makefile	6 Mar 2024 15:03:48 -0000
> @@ -13,8 +13,8 @@ Index: Makefile
>   	# -Wno-misleading-indentation silences warnings which are entirely spurious.
>   	FLAGS:=$(FLAGS) -Wno-misleading-indentation -Wno-unknown-warning-option
>   	FLAGS:=$(FLAGS) -lm
> -@@ -43,16 +43,16 @@ ifneq ("$(EXTRA_FLAGS)","")
> - endif
> +@@ -46,16 +46,16 @@ endif
> + # FLAGS:=$(FLAGS) -DDANGER_ZONE
>   
>   resources:
>  -	@chmod +x ./scripts/resources.sh
> @@ -36,7 +36,7 @@ Index: Makefile
>   
>   clean:
>   	@rm -rf ./c/build/
> -@@ -60,19 +60,19 @@ clean:
> +@@ -63,19 +63,19 @@ clean:
>   	@rm -f docs/*.html
>   
>   install:
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/graphics/decker/Makefile,v
> retrieving revision 1.2
> diff -u -p -u -r1.2 Makefile
> --- Makefile	18 Feb 2024 21:55:41 -0000	1.2
> +++ Makefile	6 Mar 2024 15:03:48 -0000
> @@ -1,6 +1,6 @@
>  COMMENT =		multimedia platform inspired by HyperCard
>  
> -DIST_TUPLE =		github JohnEarnest Decker v1.39 .
> +DIST_TUPLE =		github JohnEarnest Decker v1.40 .
>  PKGNAME =		${DISTNAME:L}
>  
>  CATEGORIES =		graphics
> @@ -20,7 +20,8 @@ BUILD_DEPENDS =		editors/vim \
>  			shells/bash
>  
>  LIB_DEPENDS =		devel/sdl2 \
> -			devel/sdl2-image
> +			devel/sdl2-image \
> +			devel/xdg-utils

LIB_DEPENDS is only valid if the package contains a shared library and
there's an associated entry in WANTLIB.

In this case you want a RUN_DEPENDS.

>  
>  ALL_TARGET =		decker lilt docs
>  
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/graphics/decker/distinfo,v
> retrieving revision 1.2
> diff -u -p -u -r1.2 distinfo
> --- distinfo	18 Feb 2024 21:55:41 -0000	1.2
> +++ distinfo	6 Mar 2024 15:03:48 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (JohnEarnest-Decker-v1.39.tar.gz) = PTLwp775tqWUAw5/DhAtTcKtOwOvRvcAEmXSDuk4384=
> -SIZE (JohnEarnest-Decker-v1.39.tar.gz) = 1343234
> +SHA256 (JohnEarnest-Decker-v1.40.tar.gz) = VnVUKMFYJ6fK+7faWc+DII+p9bpiH4itHCs4aD1kzug=
> +SIZE (JohnEarnest-Decker-v1.40.tar.gz) = 1348788

> Index: c/dom.h
> --- c/dom.h.orig
> +++ c/dom.h
> @@ -1,4 +1,4 @@
> -
> +#include <sys/wait.h>
>  #include "resources.h"
>  
>  // Decker document object model