Monday, October 07, 2024

Re: [new] games/trackballs

Le Sun, Oct 06, 2024 at 07:06:01PM -0600, Anthony J. Bentley a écrit :
> Landry Breuil writes:
> > here's a new port for a marble madness clone, trackballs 1.3.4, from the
> > previous attempt 10 years ago
> > https://marc.info/?l=openbsd-ports&m=137011105211205&w=2 - upstream
> > moved to github and updated for sdl2/guile3, and it seems to start/run
> > fine here in basic testing.
>
> Nice!
>
> I can no longer reproduce the crash that kept me from importing that
> old version ten years ago.
>
> Two comments:
>
> - It tries and fails to write high scores to /usr/local/share. That's
> annoying, but we definitely don't want to make that writeable.

Heh, good catch.

> Looking at CMakeLists.txt, we might want to try setting
> -DTRACKBALLS_HIGHSCORES_DIR=~ in CONFIGURE_ARGS:
>
> set(TRACKBALLS_HIGHSCORES_DIR "" CACHE STRING "Folder to install
> highscores file to. Empty means to TRACKBALLS_SHARE_DIR/. ~ will
> install per user")

i tried that, but this adds /home/landry/highScores to the PLIST.. super
smart ! i guess patching the code is in order..

> - You can drop the first hunk of the patch by setting TRACKBALLS_MAN_DIR
> in CONFIGURE_ARGS.

i think i tried that and it failed to apply the path we want.. will retry.

No comments:

Post a Comment