- Simplify some symlinking
- Don't remove the temporary run directory: umoria allows for dumping
character info, which would be in there and inaccessible after
saving the game otherwise. The system takes care of cleaning up
the temporary directory anyway.
- Allow passing arguments to the wrapped executable, allowing using
different save directories, passing game seeds, checking out
highscores, etc.
It was impossible to continue a saved character before, as the
`cleanup` function would remove the whole temporary RUNDIR, including
the actual save file.
umoria allows passing a custom save file location, which now points to
the already-used data directory ~/.umoria.
Fixes#178136
- Add meta.mainProgram to be able to use nix run
- Run preInstall and postInstall hooks
- Test creation of the save directory in passthru.tests
- Fix some typos and misformatting
- Change prePatch to postPatch (as in the suggestion I got when adding
sil-q)
This makes it possible to compile Angband against SDL2 (and its other
libraries) to have a graphical frontend available, with tiles and
sound. The default remains ASCII-only Angband; enable SDL2 by using
an override.
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Without the change build fails on upstream gcc-10 as:
ld: libgame/libgame.a(system.o):src/libgame/system.c:41: multiple definition of
`setup'; main.o:src/main.c:140: first defined here
Without the change build fails on upstream gcc-10 as:
ld: ball/st_save.o:(.bss+0x0): multiple definition of
`text_input'; share/text.o:(.bss+0x0): first defined here
Workaround build failure on -fno-common toolchains like upstream
gcc-10. Otherwise build fails as:
ld: main.o:src/main.c:58: multiple definition of
`eclass'; eclass.o:src/eclass.c:21: first defined here
Without the change build fails on upstream gcc-10 as:
ld: liblibmegaglest.a(ftpLib.c.o):(.bss+0x28): multiple definition of
`VERBOSE_MODE_ENABLED'; liblibmegaglest.a(miniftpserver.cpp.o):(.bss+0x30): first defined here
Workaround build failure on -fno-common toolchains like upstream
gcc-10. Otherwise build fails as:
ld: dnd.o:src/main.h:136: multiple definition of
`MENU_EXT'; main.o:src/main.h:136: first defined here
Workaround build failure on -fno-common toolchains like upstream
gcc-10. Otherwise build fails as:
ld: build/linux.release/alan3/Location.o:(.bss+0x0): multiple definition of
`logFile'; build/linux.release/alan3/act.o:(.bss+0x0): first defined here
Without the change build fails on upstream gcc-10 as:
ld: evalgraph.o:(.bss+0x20): multiple definition of `ics_type'; backend.o:(.bss+0x1df910): first defined here
ld: nevalgraph.o:(.bss+0x8): multiple definition of `currPvInfo'; backend.o:(.bss+0x1df908): first defined here
Workaround build failure on -fno-common toolchains like upstream
gcc-10. Otherwise build fails as:
ld: CMakeFiles/wswtv_server.dir/__/unix/unix_time.c.o:(.bss+0x8): multiple definition of
`c_pointcontents'; CMakeFiles/wswtv_server.dir/__/null/ascript_null.c.o:(.bss+0x8): first defined here
Workaround build failure on -fno-common toolchains like upstream
gcc-10. Otherwise build fails as:
ld: r_gl.h:52: multiple definition of `qglGenBuffers';
r_gl.h:52: first defined here
Workaround build failure on -fno-common toolchains like upstream
gcc-10. Otherwise build fails as:
ld: typespeed-typespeed.o:/build/typespeed-0.6.5/src/typespeed.h:69: multiple definition of
`opt'; typespeed-file.o:/build/typespeed-0.6.5/src/typespeed.h:69: first defined here
Workaround build failure on -fno-common toolchains like upstream
gcc-10. Otherwise build fails as:
ld: world.o:/build/tf-50b8/src/socket.h:24: multiple definition of
`world_decl'; command.o:/build/tf-50b8/src/socket.h:24: first defined here
Workaround build failure on -fno-common toolchains like upstream
gcc-10. Otherwise build fails as:
ld: CMakeFiles/t4k_common.dir/t4k_throttle.c.o:(.bss+0x0): multiple definition of
`wrapped_lines'; CMakeFiles/t4k_common.dir/t4k_audio.c.o:(.bss+0x0): first defined here
Workaround build failure on -fno-common toolchains like upstream
gcc-10. Otherwise build fails as:
ld: main.o:/build/source/Sil/src/externs.h:57: multiple definition of
`mini_screenshot_char'; variable.o:/build/source/Sil/src/externs.h:57: first defined here
Bumps the revision and fixes https://hydra.nixos.org/build/178082390
Mark the version as "unstable" because the latest official version does
not build and there are no new releases.