Skip to content
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

Wesnoth MacOS #31701

Merged
merged 2 commits into from Nov 21, 2017
Merged

Wesnoth MacOS #31701

merged 2 commits into from Nov 21, 2017

Conversation

matthewbauer
Copy link
Member

Motivation for this change

These changes get Wesnoth building on MacOS.

However, graphics aren't being displayed correctly! The menu looks like this:

screen shot 2017-11-15 at 8 25 05 am

Does anyone have ideas on how to fix this? Currently I'm out of things to try.

/cc @LnL7 @copumpkin

Console log looks normal:

Battle for Wesnoth v1.12.6
Started on Wed Nov 15 08:25:00 2017

Fontconfig error: Cannot load default config file

Data directory: /nix/store/1w5vz4p6gp08xsk2w7a7h8g5hxkfb1zn-wesnoth-1.12.6/share/wesnoth
User configuration directory: /Users/mbauer/.config/wesnoth
User data directory: /Users/mbauer/.local/share/wesnoth/1.12
Cache directory: /Users/mbauer/.cache/wesnoth
Checking video mode: 800x600x32...
setting mode to 800x600x32

@copumpkin
Copy link
Member

Interesting but not sure what would cause that! Perhaps ask the Wesnoth folks if they've seen this before stemming from some misconfiguration in the build somewhere?

@matthewbauer
Copy link
Member Author

Yeah, I'll see if I can find anything on it. I remember something similar happening where an app would basically just assume that you are in a .app bundle if you were running macOS and want to get images and resources from there. Weird that there's no errors though.

Also: SDL tests need to be disabled to work on Hydra (something about being headless). It's just passing --disable-sdltest and --disable-smpegtest to configureFlags for them to work. Is there a way to do that for everything SDL-based derivation? (so far I've been adding them manually). Most likely Wesnoth will need it to to work correctly.

@c0bw3b c0bw3b added 2.status: work-in-progress 6.topic: darwin Running or building packages on Darwin labels Nov 15, 2017
@matthewbauer matthewbauer changed the title [wip] Wesnoth MacOS Wesnoth MacOS Nov 20, 2017
@matthewbauer
Copy link
Member Author

Okay I think this is ready to merge. Still have the graphics issue but haven't found time to get it working.

@copumpkin copumpkin merged commit 81cc9bb into NixOS:master Nov 21, 2017
@matthewbauer matthewbauer deleted the wesnoth-mac branch February 22, 2019 04:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants