Monday, March 02, 2026

Re: games/godot{,4}: reorganize for new versions

On Wed, 18 Feb 2026 23:24:27 -0800
Thomas Frohwein <tfrohwein@fastmail.com> wrote:

> 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.

I made a new tarball that also changes the PKGNAMEs to godot3, godot44,
and godot, assuming that that's maybe what you had in mind...? This
way, I removed the READMEs from godot3 and godot44; left it only in
pack3/ which is package godot-*.

Still looking for a "looks good" of some sort for this restructuring.
Maybe this new version finds support? (op@ is currently without
bandwidth to weigh in...)

>
> > > > - 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
>

No comments:

Post a Comment