Sorry for the delay since I sent svgalib ebuild. I checked if there was any new version before commitiing, and there was. Thus, I got to install it and saw that quiet a few things had changed in the installation's configure. Needed changes were made, with the additional benefit that now you can build a binary for _both_ SDL and svgalib, which was my initial purpose. I can certify that running with svgalib on a Matrox G400 definitely rocks. You can have each console at an abolutely custom resolution, suited for each game, and best of all, _faaaast_. However, ... yes, there is something negative. Currently there is a problem in this version I didn't fix and which stops the compilation in the middle. I'll take a look at it ASAP, but if you find & fix it, please tell. I'm just tired right now. It's been a long day installing too many new things.
Created attachment 5544 [details] new advancemame ebuild
Second time this hits me, please call it advancemame-0.61.4.ebuild
Javier, might want to look at bug #9911 i merged some of your changes to a ebuild i had modified for that bug
You did see that we already have a ebuild that is a combination of advancemame and advancemenu ?
Martin, could you tell me where to find it? The advancemame in the current portage tree doesn't have any advancemenu, as far as I saw. Anyhow the most interesting thing was support for SVGALib in its 'so-called' development version. I attach an bumped version ebuild to today's advancemame 0.62 release.
It does .. I should know as I created that ebuild ;) Anyhow, would be nice if you could rather work on getting that ebuild to work with latest versions. If not, I'll do it when I get the chance. ----- workshop gentoo-src # epm -ql advancemame /usr/bin/advmame /usr/bin/advmenu /usr/share/doc/advancemame-0.61.1/advj.txt.gz /usr/share/doc/advancemame-0.61.1/advline.txt.gz /usr/share/doc/advancemame-0.61.1/advm.txt.gz /usr/share/doc/advancemame-0.61.1/advmame.txt.gz /usr/share/doc/advancemame-0.61.1/advs.txt.gz /usr/share/doc/advancemame-0.61.1/advv.txt.gz /usr/share/doc/advancemame-0.61.1/authors.txt.gz /usr/share/doc/advancemame-0.61.1/build.txt.gz /usr/share/doc/advancemame-0.61.1/card.txt.gz /usr/share/doc/advancemame-0.61.1/faq.txt.gz /usr/share/doc/advancemame-0.61.1/histemu.txt.gz /usr/share/doc/advancemame-0.61.1/histmenu.txt.gz /usr/share/doc/advancemame-0.61.1/install.txt.gz /usr/share/doc/advancemame-0.61.1/license.txt.gz /usr/share/doc/advancemame-0.61.1/off.txt.gz /usr/share/doc/advancemame-0.61.1/readcab.txt.gz /usr/share/doc/advancemame-0.61.1/reademu.txt.gz /usr/share/doc/advancemame-0.61.1/readmenu.txt.gz /usr/share/doc/advancemame-0.61.1/relecab.txt.gz /usr/share/doc/advancemame-0.61.1/releemu.txt.gz /usr/share/doc/advancemame-0.61.1/script.txt.gz /usr/share/doc/advancemame-0.61.1/tips.txt.gz /usr/share/doc/advancemame-0.61.1/vbe.txt.gz /usr/share/doc/advancemame-0.61.1/vga.txt.gz /usr/share/doc/advancemame-0.61.1/video.txt.gz /usr/share/doc/advancemame-0.61.1/html/advcfg.html /usr/share/doc/advancemame-0.61.1/html/advj.html /usr/share/doc/advancemame-0.61.1/html/advk.html /usr/share/doc/advancemame-0.61.1/html/advline.html /usr/share/doc/advancemame-0.61.1/html/advm.html /usr/share/doc/advancemame-0.61.1/html/advmame.html /usr/share/doc/advancemame-0.61.1/html/advmenu.html /usr/share/doc/advancemame-0.61.1/html/advs.html /usr/share/doc/advancemame-0.61.1/html/advv.html /usr/share/doc/advancemame-0.61.1/html/authors.html /usr/share/doc/advancemame-0.61.1/html/build.html /usr/share/doc/advancemame-0.61.1/html/card.html /usr/share/doc/advancemame-0.61.1/html/faq.html /usr/share/doc/advancemame-0.61.1/html/histcab.html /usr/share/doc/advancemame-0.61.1/html/histemu.html /usr/share/doc/advancemame-0.61.1/html/histmenu.html /usr/share/doc/advancemame-0.61.1/html/install.html /usr/share/doc/advancemame-0.61.1/html/license.html /usr/share/doc/advancemame-0.61.1/html/off.html /usr/share/doc/advancemame-0.61.1/html/portio.html /usr/share/doc/advancemame-0.61.1/html/readcab.html /usr/share/doc/advancemame-0.61.1/html/reademu.html /usr/share/doc/advancemame-0.61.1/html/readmenu.html /usr/share/doc/advancemame-0.61.1/html/relecab.html /usr/share/doc/advancemame-0.61.1/html/releemu.html /usr/share/doc/advancemame-0.61.1/html/relemenu.html /usr/share/doc/advancemame-0.61.1/html/script.html /usr/share/doc/advancemame-0.61.1/html/tips.html /usr/share/doc/advancemame-0.61.1/html/vbe.html /usr/share/doc/advancemame-0.61.1/html/vga.html /usr/share/doc/advancemame-0.61.1/html/video.html /usr/share/doc/advancemame-0.61.1/COPYING.gz /usr/share/doc/advancemame-0.61.1/mame.txt.gz /usr/share/doc/advancemame-0.61.1/whatsnew.txt.gz /usr/share/doc/advancemame-0.61.1/ctrlr.txt.gz /usr/share/doc/advancemame-0.61.1/listinfo.txt.gz /usr/share/doc/advancemame-0.61.1/advcfg.txt.gz /usr/share/doc/advancemame-0.61.1/advk.txt.gz /usr/share/doc/advancemame-0.61.1/advmenu.txt.gz /usr/share/doc/advancemame-0.61.1/histcab.txt.gz /usr/share/doc/advancemame-0.61.1/portio.txt.gz /usr/share/doc/advancemame-0.61.1/relemenu.txt.gz /usr/share/man/man1/advmenu.1.gz /usr/share/man/man1/advmame.1.gz /usr/share/advance/rom /usr/share/advance/sample /usr/share/advance/artwork /usr/share/advance/safequit.dat workshop gentoo-src #
Ouch, OK. I might be somewhat aslept right now, but how's that it contains advancemenu yet advancemenu is not listed in SRC_URI? Anyway, I've checked that certainly there is some problem with 0.61.4 and 0.62.0 which breaks compilation. I'll see if I find the cause.
Created attachment 5809 [details] advancemame-0.62.0.ebuild Checked it works fine, no sandbox violations, everything installed in the correct path, fully optimized, and with a fix in the build for the compilation error.
Ok I found the problem, pretty silly. It failed when it tried to generate some doc files in ${S}/obj/doc which did not exist. I just put a mkdir in the ebuild. I'll send a mail to the author :) It's working pretty well, indeed if I didn't post it earlier was because I was playing Ghost'n'Goblins, one of my favorite games of all time. I used to play it when I was ~10 years old :) Damnit my 8 button does have some problem with more than 2 of them in this development kernel. It might be SDL aswell, I can't check SVGA with this kernel either. Anyway, the speed difference between SVGALib and SDL mode, even both at full screen is amazing.Just try the SVGALib ebuild I posted and check it. You can play any emulated game at full screen and at decent speed :) It is nice to play in a small window too, though. BTW, I'll see if I find where does advmenu comes from in your original ebuild so I add it to this updated version. Besides the new advmenu version released today also supports SDL and SVGALib at the same time :)
Its because advmenu was too broken at the time, so I used a cvs snapshot that contained both advancemame and the menu.
All right then, this new version comes with a much improved 'configure', in par with advancemame's. It works fine under X, and I'm pretty sure it still works well with SVGALib. Previous version worked at least. I'll try it as soon as possible.
Commited advancemame-0.62.0. If you want to add improvements, give me a shout if you sure its working fine ...
Ditto...
It seems to be working with svgalib, but keyboard do not really function. Can be my setup, as I do not really use svgalib much these days :/
That's strange, I had no problems with neither the keyboard or the joystick. Check in your $HOME/.advance/advmame.rc how 'device_keyboard' is set. The default is auto, which should do the job. Mouse and joystick on the other hand default to none, so you have to enable them.