-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
yquake2: migrate from cmake to gnumake #156360
Conversation
Result of 5 packages built:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code changes look good to me, but trying to run the binary I get the following error:
Yamagi Quake II v8.01
=====================
Client build options:
+ cURL HTTP downloads
+ OpenAL audio
+ Systemwide installation
Platform: Linux
Architecture: x86_64
Byte ordering: little endian
No Ogg Vorbis music tracks have been found, so there will be no music.
Using '/home/max/.yq2/baseq2' for writing.
couldn't exec default.cfg
execing yq2.cfg.
couldn't exec config.cfg
couldn't exec autoexec.cfg
Console initialized.
------- sound initialization -------
Loading library: libopenal.so.1
Sys_LoadLibrary failed: libopenal.so.1: cannot open shared object file: No such file or directory
Loading libopenal.so.1 failed! Disabling OpenAL.
ERROR: OpenAL failed to initialize.
Starting SDL audio callback.
SDL audio driver is "alsa".
SDL audio initialized.
Sound sampling rate: 44100
------------------------------------
-------- vid initialization --------
SDL version is: 2.0.14
SDL video driver is "x11".
SDL display modes:
- Mode 0: 2560x1440@144
- Mode 1: 2560x1440@120
- Mode 2: 2560x1440@100
- Mode 3: 2560x1440@60
- Mode 4: 1920x1200@60
- Mode 5: 1920x1080@120
- Mode 6: 1920x1080@60
- Mode 7: 1920x1080@50
- Mode 8: 1680x1050@60
- Mode 9: 1600x1200@60
- Mode 10: 1440x900@60
- Mode 11: 1280x1440@60
- Mode 12: 1280x1024@75
- Mode 13: 1280x1024@60
- Mode 14: 1280x800@60
- Mode 15: 1280x720@60
- Mode 16: 1280x720@50
- Mode 17: 1024x768@120
- Mode 18: 1024x768@100
- Mode 19: 1024x768@75
- Mode 20: 1024x768@70
- Mode 21: 1024x768@60
- Mode 22: 832x624@75
- Mode 23: 800x600@120
- Mode 24: 800x600@100
- Mode 25: 800x600@75
- Mode 26: 800x600@72
- Mode 27: 800x600@60
- Mode 28: 800x600@56
- Mode 29: 720x576@50
- Mode 30: 720x480@60
- Mode 31: 720x400@70
- Mode 32: 640x480@120
- Mode 33: 640x480@100
- Mode 34: 640x480@75
- Mode 35: 640x480@73
- Mode 36: 640x480@67
- Mode 37: 640x480@60
------------------------------------
----- refresher initialization -----
Loading library: ref_gl1.so
Byte ordering: little endian
Refresh: Yamagi Quake II OpenGL Refresher
Client: 8.01
Closing SDL audio device...
SDL audio device shut down.
Cmd_RemoveCommand: force_centerview not added
Cmd_RemoveCommand: +mlook not added
Cmd_RemoveCommand: -mlook not added
Shutting down input.
Cmd_RemoveCommand: modellist not added
Cmd_RemoveCommand: screenshot not added
Cmd_RemoveCommand: imagelist not added
Cmd_RemoveCommand: gl_strings not added
recursive shutdown
Error: Couldn't load pics/colormap.pcx
This may not be related to the package though.
@max-niederman By error, do you mean the following?
Does the old cmake-based version exhibit the same problem?
Maybe it's the fault of |
The current version in nixpkgs also has the same problem, I'm guessing you have to download the level data somewhere... But the current version doesn't have the libopenal.so.1 error |
@legendofmiracles I've added a remedy for the libopenal.so.1 path. Could you please obtain a copy of the game data (perhaps you have uploaded a backup to archive.org before disposing of your original disc), place |
Motivation for this change
See: yquake2/yquake2@fb1a2b0
Fixes finding libcurl.so. Moves yq2.cfg into baseq2/ so that it can be found.
Also includes the update to 8.01 just like #156280.
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notescloses #156895