Tiny Core Linux

Tiny Core Extensions => TCE Talk => Extension requests => Topic started by: nomer on April 30, 2012, 07:28:32 PM

Title: Battle for Wesnoth 1.10
Post by: nomer on April 30, 2012, 07:28:32 PM
Hi There! Is anyone up for a linking challenge? If so your packaging of Battle for Wesnoth 1.10 would be greatly appreciated.
The problem lies with the fact that Battle for Wesnoth 1.10 (and the previous version I believe) requires SDL version greater than 1.2.7, but less 1.2.14.
Since the SDL package in the repository is version 1.2.14 Battle for Wesnoth doesn't work with it.
I got around this problem by removing SDL.tcz, compiling SDL 1.2.13 from source, compiling SDL-mixer, compiling SDL-net, compiling SDL-ttf, compiling SDL-image, and finally compiling Battle for Wesnoth.

This works for Battle for Wesnoth, but now I can't run some SDL-dependent programs because I failed to compile SDL-mixer with support for .MOD

All the other Wesnoth deps are in the repo.

It seems like one should be able to compile SDL and the other SDL components (mixer, etc.) into a non-standard location (in /opt ?)
and tell Wesnoth to look in that location for the SDL-* deps and look in the standard locations (/usr and /user/local) for the other deps.
I gave it a try, but my knowledge of C, linking, and Linux simply didn't make the cut.

Thanks,
Nomer
Title: Re: Battle for Wesnoth 1.10
Post by: solorin on May 01, 2012, 02:51:01 AM
sounds like a perfect candidate for an .scm

am not volunteering. ;)

cheerio,
solorin
Title: Re: Battle for Wesnoth 1.10
Post by: curaga on May 01, 2012, 12:29:07 PM
Surely there's a newer version of Wesnoth compatible with the stable SDL?
Title: Re: Battle for Wesnoth 1.10
Post by: vinnie on May 01, 2012, 12:40:20 PM
A few days ago I heard that people have problems with that version of sdl.
It seems that the mouse does not work well (left click absent).
Title: Re: Battle for Wesnoth 1.10
Post by: nomer on May 01, 2012, 09:26:20 PM
@curaga: Actually, now that I've done some more digging, it appears that Wesnoth works with SDL 1.2.15 (see: here (http://forums.wesnoth.org/viewtopic.php?f=4&t=36043&p=523658&hilit=+sdl+1.1.14+#p523658)) So I suppose if you bumped SDL.tcz up to the latest version I would be willing to take another swing at creating a package worth of being in the repository.

Thanks,
Nomer
Title: Re: Battle for Wesnoth 1.10
Post by: vinnie on May 02, 2012, 06:35:49 PM
+1
Yes please, I am an aficionado of wesnoth, but the creation of that package is too expensive for me (for different reasons), it would be possible to insert a newer version of SDL on the repository to allow the packaging I would like.

@nomer: if you can create a script, perhaps it is better, because wesnoth changes often!