Wesnoth 1.8 on -Current

For those who wanted to install or upgrade to Wesnoth 1.8, you can go to SlackBuilds project to get the SlackBuilds script for Wesnoth. The SlackBuilds script is using 1.7.11, but you can change the version to 1.8 and it should work just fine.

For those who runs on -Current, the SlackBuilds will fail due to changes in -Current related to libpng. I have made a simple patch for that:

--- src/tools/exploder_utils.cpp.orig 2010-04-09 17:22:42.441389479 +0700
+++ src/tools/exploder_utils.cpp 2010-04-09 17:29:49.820391476 +0700
@@ -174,8 +174,8 @@
//TODO: review whether providing NULL error handlers is something
png_struct* png_ptr = png_create_write_struct
- (PNG_LIBPNG_VER_STRING, reinterpret_cast(png_voidp_NULL),
- png_error_ptr_NULL, png_error_ptr_NULL);
throw exploder_failure("Unable to initialize the png write structure");

This patch is based on the discussion here.

If you want to use above patch, save it to some name (let's say exploder_utils.patch) and add this line in your SlackBuilds script just before ./autogen.sh line so it becomes like this:

patch -p0 < $CWD/exploder_utils.patch
# generate configure. While wesnoth now supports scons (yuck) and cmake. Neither
# really works. Until the point that upstreams decide what they want to use, we're
# going to stick with autotools.

You can start compiling Wesnoth and it should work. I have tested it on my box and it's running well Yahoo

Popular posts from this blog

Python 3.6.0 in SBo 14.2 repository

NVidia Legacy Unix Driver Update

Security Update: Thunderbird, Seamonkey, libpng, python, samba