ebuild in protage is very old. yesterday ufo:ai team released 2.1 i successfully compiled this game by hand, but i don't have skils to make ebuild. sources can be downloaded from http://sourceforge.net/project/showfiles.php?group_id=157793&package_id=194208&release_id=498085 project web page: http://ufoai.ninex.info Reproducible: Always
http://www.gentoo.org/proj/en/desktop/games/#doc_chap5_sect5
This is (yet another) duplicate of bug #141298.
nah, I'm ignoring that one. We'll do the 2.1 bump from here.
(In reply to comment #3) > nah, I'm ignoring that one. We'll do the 2.1 bump from here. Then close it. It's marked "later".
Hi, I made an ebuild which seems to install ufo-ai-2.1 (see attachment), but I've but not checked if the DEPEND/RDEPEND are sane, and there are missing IUSEs. Maybe someone can continue the work from here. I could not test the game cause my opengl definitely crash my X server :/ (it's not ufo-ai specific). Hope this helps.
Created attachment 116533 [details] first steps into a ufo-ai-2.1 ebuild
Created attachment 116538 [details] ufo-ai-2.1.ebuild Yeah, I thought bug #141298 would confuse people, and it is :( Here's a copy of my ebuild from bug #141298.
Created attachment 117894 [details] ufo-ai-2.1.1.ebuild Uses $(games_get_libdir)
What's the status on this? I've never written an ebuild before, but I'd be willing to learn if you guys need help. Let me know.
I just built the 2.1.1 ebuild on amd64, and it appears to work just fine, so far. Can we add it to the tree now?
I would like to second the ebuild request. Please consider adding it to the tree.
http://www.gentoo.org/proj/en/desktop/games/#doc_chap5_sect10
It needs media-libs/sdl-ttf > 2.0.5 I upgraded to 2.0.8 and it's working.
I've reviewed it along with some other guys, and it seems good apart from some minor things. However I have the following questions: I would suggest changing the paranoid use flag. As far as I understand it, it's only useful for debug. So it could be merged with the debug flag or just be kept off all of the time. Is there any reason for not being so? There seems to be a fixed dependency on x11-proto/xf86vidmodeproto, while the actual vidmode support is optional. Is there any reason behind this?
(In reply to comment #14) > I would suggest changing the paranoid use flag. That would just deviate from the "configure" script for no good reason. > There seems to be a fixed dependency on x11-proto/xf86vidmodeproto Try removing it, and see what happens. I can't remember.
(In reply to comment #15) > (In reply to comment #14) > > I would suggest changing the paranoid use flag. > > That would just deviate from the "configure" script for no good reason. Standard use flags should be preferred as as much as possible to avoid "use flag havoc". The "paranoid" option seems like a debug option to me, (and thus usually not used when people actually want to play). > > There seems to be a fixed dependency on x11-proto/xf86vidmodeproto > > Try removing it, and see what happens. I can't remember. > I actually can't :) it's a dependency for xorg-server-1.3.0. So I guess there's no need for it to be in the ebuild. Also, I can't get to fullscreen without the vidmode support turned on. So I believe the vidmode use flag should be turned on by default, or better, hardcoded as on (that is, no use flag).
Created attachment 126032 [details] ufo-ai-2.1.1.ebuild There is *already* a "debug" USE flag being used in this ebuild. Look at the "configure" script. Removed "vidmode" because it prevents fullscreen.
(In reply to comment #17) > > There is *already* a "debug" USE flag being used in this ebuild. Look at the > "configure" script. Yes, I know. But you can associate two options to just one use flag.. It makes no sense to use the paranoid mode when not debugging. The same applies to profiling support (--enable-profiling). I guess when someone wants to do real debug work they do it on the actual source tree, so IMHO debug modes in the ebuilds are usually useless. > > Removed "vidmode" because it prevents fullscreen. Thanks.
The last ebuild works great. +1 to adding it to portage
Just want to let u now, latest ebuild works great! After creating digest, everything works out-of-the-box with: games-strategy/ufo-ai-2.1.1 USE="alsa arts doc ipv6 -debug -dedicated -dga -jack -master -oss -paranoid" with Portage 2.1.2.9 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.21-gentoo-r4 i686) ================================================================= System uname: 2.6.21-gentoo-r4 i686 Intel(R) Pentium(R) M processor 1.73GHz Gentoo Base System release 1.12.9 Timestamp of tree: Fri, 27 Jul 2007 17:50:01 +0000 ... and btw: OpenGL from nvidia-100.14.11 Love this one.
Can someone please add ~ppc to the ebuild's keywords? I've tested it and it runs fine. This should definitely be in Portage, instead of that old version.
Added to the tree... thanks for the bug and ebuild!