This PR supercedes PR ports/25283. - Update to the version 0.37b12.1 of xmame/xmess - Make emulators/xmess a slave port of emulators/xmame - Add SDL support (enabled by default) - Add DGA support for non-SDL builds - Define spool directory to /var/games/x{mame,mess}, and install binary setgid games to avoid creating a world writable directory - Add hiscore.dat, history.dat, and cheat.dat support for xmame - Convert patch-ab into ${SED} in ports Makefile - Add CPS-2 patches for xmame; this enables more games - Enable optimization for xmame/xmess by default - Add support for new xwpcmame port (included) as a slave port of emulators/xmame NOTE: current maintainers for xmame/xmess CC'd How-To-Repeat: See attached shar file; I didn't use diffs because those would be bigger than this shar file.
Responsible Changed From-To: freebsd-ports->olgeni I'll handle this.
Hi, On Tue, Mar 20, 2001 at 10:46:16PM +0100, Jimmy Olgeni wrote: > I just finished compiling the xmame port: looks good! Good! > I had some problems with xmess: it calls xmess.SDL -showconfig | grep > -v loadconfig, and it fails in console mode (xmess.SDL will work on > X11 only)... is there any way to make it compile in console mode? Hmm, I couldn't reproduce this in a screen session with DISPLAY unset. But I did see SDL using aalib; are you sure SDL doesn't use aalib by default in a console window? > Patches welcome :) I'll try to patch it so that -showconfig et al. don't initialize SDL. That should solve the problem. What's also bugging me is that xmame does work; that seems kind of strange to me... I'll let you know when I've sorted these issues out. BTW, I hope you tested PR 25921? The subject still said 25283, which was the old one (which you already closed). Thanks for looking at this PR! --Stijn -- The right half of the brain controls the left half of the body. This means that only left handed people are in their right mind.
Hi, On Tue, Mar 20, 2001 at 10:46:16PM +0100, Jimmy Olgeni wrote: > I had some problems with xmess: it calls xmess.SDL -showconfig | grep > -v loadconfig, and it fails in console mode (xmess.SDL will work on > X11 only)... is there any way to make it compile in console mode? Well, I can't reproduce this. On a fresh machine, when I make in xmess, it builds as a dependency devel/sdl-devel, which in turn builds AAlib. And that gets used as the SDL display target if X11 is not found. See this extract from my build logs (without $DISPLAY): ./xmess.SDL -noloadconfig -showconfig | \ grep -v loadconfig > doc/xmessrc.dist Warning: Unable to initialize AAlib mouseUsing AAlib driver: Curses driver 1.0 ( curses) SDL: Info: SDL initialized Are you sure you have sdl-devel installed, and not 'plain' sdl? Otherwise, can you send me the errorlogs? --Stijn -- "I'm not under the alkafluence of inkahol that some thinkle peep I am. It's just the drunker I sit here the longer I get."
Hi, On Mon, Mar 26, 2001 at 12:04:14PM +0200, Jimmy Olgeni wrote: > I did some tests with xmess: it does compile correctly if I run "make" > as an ordinary user (SDL works in console too, using aalib), but fails > when I compile it as root. Looks like an issue with SDL/aalib and the > root user. Could it be? I have the latest sdl-devel. Ok, I checked this out, and you're right. It seems that the SDL/svgalib target is problematic with xmess. I really wouldn't know why though, but I'll check with the xmess developers. In the meantime, I think I fixed the xmess build as root on the console by the patch attached; can you test & commit using this? --Stijn -- Nostalgia ain't what it used to be.
Oops, last followup got lost. So here it is: "I committed xmame and xmess, I still have to import xwpcmame. Thanks!"
On Tue, Mar 27, 2001 at 12:40:01PM +0200, Jimmy Olgeni wrote: > I committed xmame and xmess, I still have to import xwpcmame. Hmm, this can wait - it seems they renamed to pinmame, and put out a new version. I'm busy updating it right now, so xwpcmame will never be, but hopefully xpinmame will :) Anyway, this PR can then be closed I guess. --Stijn -- The right half of the brain controls the left half of the body. This means that only left handed people are in their right mind.
State Changed From-To: open->closed xwpcmame (pinmame) will be imported later (originator's request)