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
cmake flag to prevent installation of game assets #2392
Comments
I can't assign @Pentarctagon but he's probably best for this having spent so much time on this recently. Don't forget to check SCons while working on the CMake side. |
I can take a look, though I've only made changes to the build flags and variables. I've never done the |
Some config files, maybe some folders. They're both basically standalone. @shikadilord will know more. The campaignd side of things needs some art assets for the web but I don't think it even verifies them on upload. Basically, to start, just install the executable and, if there is one, the man page. We can find out if any directories need to be pre-created during testing. |
I'll wait for him to reply then. Changing the cmake script looks like it'd just be a matter of only copying over any needed sub-directories rather than everything, but I've never done any of this before and I don't want to just start poking at it blindly. |
Neither campaignd and wesnothd require game assets for anything ( The addons.wesnoth.org web index has nothing to do with campaignd. |
Actually, correction, campaignd does require one asset to operate correctly, and it's |
@arunisaac Can you pull the PR and confirm it works as you expect? |
He's using 1.12.6, so it would have to backported to 1.12 if there are no issues with the PR. That doesn't look like it'd be too difficult though. |
He's building from source. I was hoping he would fast-forward to your PR. He'd just have to be sure the match client and server versions for any testing. I was thinking I'd put up a VM to check it but that's a lot of work for such a small change. |
No need to backport. I will directly clone Pentarctagon/wesnoth and build the relevant branch. Give me a while. I'll get back to you when I'm done. |
I have verified the pull request. A large number of translations have been installed to |
Nope. That's an escape. Only the game client (wesnoth) needs translations. |
In that case, please remove the translations as well. |
Patience. I'm sure he'll jump on it once he wakes and has some coffee :P |
You can already use |
damn I need to take my finger off the mouse when I fall asleep at the keyboard. |
Yes, |
I changed that in the last push yesterday as well. |
Thanks! Everything is working exactly as I expected. |
I am building only the wesnoth daemon for installation on a headless server. I am using the cmake-flag "-DENABLE_GAME=OFF" to achieve this. However, during installation with `make install', various game assets such as images, fonts, music, etc. get installed into share/wesnoth. If I understand correctly, the wesnoth daemon does not need these assets. It would be nice to have a cmake flag that can prevent those assets from being installed.
I am using wesnoth 1.12.6 on GNU Guix SD.
The text was updated successfully, but these errors were encountered: