Legends 0.4.0 is released, I modified the 0.3.6 ebuild to work with it, but there are some other things that had to be changed too to make it work properly. It now uses libSDL-1.3.so.O, and I can't find it elsewhere, so the original from the package is used. It would be possible to place libSDL-1.3.so.0 in /lib but I chanded the startup script so it includes "export LD_LIBRARY_PATH=./". I'm not sure wich way is best. Here is the ebuild, the modified peices are commented.
Created attachment 25189 [details] new ebuild
Created attachment 25190 [details] startup script for legends
*** Bug 40862 has been marked as a duplicate of this bug. ***
Heh, there wasn't one when I searched yesterday. =P
My version is better because it uses LD_PRELOAD of the specific library instead of LD_LIBRARY_PATH, which gives all the libraries in /opt/legends precedence.
The way Donnie Berkholz handles the problem with libSDL-1.3.so.0 looks better, and solves both problems I had with my proposed solutions. (all libs local <-> just drop libSDL-1.3.so.0 in /usr/lib) I would just add the info about the config-files problem in the ebuild, it could help a lot of people, it comes from the legends forums.
Version bumped in CVS. Thanks for the patches and the bug report.