Index | Thread | Search

From:
Thomas Frohwein <tfrohwein@fastmail.com>
Subject:
Re: games/godot{,4}: reorganize for new versions
To:
Stuart Henderson <stu@spacehopper.org>
Cc:
ports@openbsd.org, op@omarpolo.com
Date:
Wed, 18 Feb 2026 23:24:27 -0800

Download raw body.

Thread
On Wed, 18 Feb 2026 15:19:46 +0000
Stuart Henderson <stu@spacehopper.org> wrote:

> On 2026/02/16 21:53, Thomas Frohwein wrote:
> > > Proposed structure:
> > > 
> > > 	Pack Version	PkgPath:		Bin Name
> > > 	------------	-------
> > > -------- pack1 (3.x)	games/godot/pack1	godot3
> > > 	pack2 (4.4x)	games/godot/pack2	godot44
> > > 	pack3 (4.5+)	games/godot/pack3
> > > godot{,-editor}  
> 
> seems sane
> 
> maybe worth a pkg-readme for whatever you get from "pkg_add godot"
> (i.e. currently pack3) explaining about the pack formats and multiple
> version layout?

When I test it locally, I get this:

$ TRUSTED_PKG_PATH=/usr/ports/packages/amd64/all doas pkg_add -n godot
doas (thfr@babcom6.home.arpa) password:
Ambiguous: choose package for godot
a       0: <None>
        1: godot-3.6.2p0
        2: godot-4.4.1
        3: godot-4.6.1
Your choice:

I added the same README explaining this for all versions; it's in the
new tarball.

> > > - Warning: @option no-default-conflict without @conflict (I
> > > followed examples of games/love/* and games/libgdx/*). I 
> > > - Do I need to add REVISION=0 to godot-3.6.2 in pack1/ now (to
> > >   distinguish it from 3.6.2 in games/godot)?  
> 
> yes, because plist changes:
> 
> 1. the binaries are renamed, and
> 2. there is an additional pkgpath (i.e. the implicit
> games/godot/pack1) compared to previous

done
 
> > > - Installing the editor (now in pack3/) fails now with a
> > > collision of the desktop-file-utils stuff which would be
> > > intentionally named the same. Would set quirks to update from
> > > games/godot,-tools and games/godot4,-editor to
> > > games/godot/pack3,-editor. The editor works though (have tested
> > > it with a separate way to build/run).  
> 
> pack3/pkg/PLIST-main needs to conflict with the old godot-3, I think
> this should do the trick
> 
> @conflict godot-<3.6.2p0

done

New tarball attached.

Also to clarify, after import/update, I'm planning on the following
quirks:

	godot-tools => godot-editor
	godot4 => godot