After upgrading the XCode Tools to the one delivered with Tiger I was able to compile the dependencies of OpenTTD. It needs at leat media-libs/libsdl (and this one needs media-libs/audiofile). audiofile has "ppc-macos" keyword, but it needed the new XCode Tools. libsdl hasn't got a "ppc-macos" keyword, but it seems to work what OpenTTD concerns. OpenTTD hasn't got a "ppc-macos" keyword too. I was able to compile OpenTTD with its dependencies - I didn't try all USE flags, but the important ones: zlib, png - timidity and dedicated I didn't try so far. Reproducible: Always Steps to Reproduce: 1. echo "media-libs/libsdl ~ppc" >> /etc/portage/package.keywords && echo "games-simulation/openttd x86" >> /etc/portage/package.keywords 2. USE="zlib png" emerge openttd 3. /usr/games/bin/openttd (as root (!)) Actual Results: OpenTTD pops up and it is playable. There is no midi sound due to -timidity (doesn't matter so far, I wasn't able to play the midis ingame on Linux). One problem remains: I have to run it as root. The permissions aren't set properly - there is no gaming group. I don't know how this is dealt under ppc- macos. Expected Results: - What has to be done: - Does timidity work? - Permissions for user I will try to emerge timidity, but I'm not so sure wheter this will work. I will post it immediatly after testing it.
libsdl is ~ppc-macos in portage. The new bumped version 1.2.9 has not been tested however. Version 1.2.8 was mentioned in bug #78925. A games group should be created when it does not exist. It is a general contract that you have to be a member of the group games in order to play them. It's just like that. A small comment, if you are on ppc-macos, you might want to use ~ppc-macos instead of ~ppc.
Created attachment 67839 [details, diff] Fix for Tiger Sorry for bugging you, whilst you seem to be on a break :). Maybe someone is interested in playing OpenTTD with MIDI music. Oh, the patch is only to show how it would work, I guess there should be a better way to tell econf that it should add --enable-sound=darwin than using a new USE flag. After all, OpenTTD seems to be running well on my MiniMac. And timidity++ is able to play MIDI files too, this would probably lead to new keywords for that ebuild too.
how about using "use userland_Darwin" or "use ppc-macos" instead of "use darwin" and making it a USE flag? Then you get the desired functionality for free ;) I guess you didn't know that one :)
(In reply to comment #3) > how about using "use userland_Darwin" or "use ppc-macos" instead of "use darwin" > and making it a USE flag? Then you get the desired functionality for free ;) > > I guess you didn't know that one :) Absolutely correct :). I didn't find (and search too hard for) any information about howto refer to the current platform. But certainly this would be the appropriate solution for this problem. Any chance this will get into the tree?
Before this one can be marked ~ppc-macos in portage, timidity needs to be marked. I admit not having tried both openttd and timidity++, but a quick look at timidity++ shows an impressive RDEPEND, which is related to the USE flags of that package: "oss nas esd motif X gtk gtk2 vorbis tcltk slang alsa arts jack portaudio emacs ao speex flac ncurses" There is not yet a bug on timidity++. I am not very familiar with the sound world, so I can't tell you if one of the USE flags causes trouble beforehand. I have to check it.
I've started openttd-0.4.0.1 on Sparc with Gentoo 2005.1, it was working fine.
let's not do games