Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 173097 - games-strategy/ufo-ai-2.1 Ebuild request
Summary: games-strategy/ufo-ai-2.1 Ebuild request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-02 08:35 UTC by Grzegorz {NineX} Krzystek
Modified: 2007-08-17 23:32 UTC (History)
13 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
first steps into a ufo-ai-2.1 ebuild (ufo-ai-2.1.ebuild,1.13 KB, text/plain)
2007-04-17 17:48 UTC, Stéphane Gimenez
Details
ufo-ai-2.1.ebuild (ufo-ai-2.1.ebuild,3.69 KB, text/plain)
2007-04-17 18:20 UTC, Paul Bredbury
Details
ufo-ai-2.1.1.ebuild (ufo-ai-2.1.1.ebuild,3.74 KB, text/plain)
2007-05-01 22:06 UTC, Paul Bredbury
Details
ufo-ai-2.1.1.ebuild (ufo-ai-2.1.1.ebuild,3.72 KB, text/plain)
2007-07-26 00:54 UTC, Paul Bredbury
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Grzegorz {NineX} Krzystek 2007-04-02 08:35:42 UTC
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
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2007-04-02 16:04:17 UTC
http://www.gentoo.org/proj/en/desktop/games/#doc_chap5_sect5
Comment 2 Paul Bredbury 2007-04-03 06:20:44 UTC
This is (yet another) duplicate of bug #141298.
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2007-04-03 07:39:07 UTC
nah, I'm ignoring that one.  We'll do the 2.1 bump from here.
Comment 4 Paul Bredbury 2007-04-04 05:49:19 UTC
(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".

Comment 5 Stéphane Gimenez 2007-04-17 17:47:20 UTC
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.
Comment 6 Stéphane Gimenez 2007-04-17 17:48:37 UTC
Created attachment 116533 [details]
first steps into a ufo-ai-2.1 ebuild
Comment 7 Paul Bredbury 2007-04-17 18:20:14 UTC
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.
Comment 8 Paul Bredbury 2007-05-01 22:06:42 UTC
Created attachment 117894 [details]
ufo-ai-2.1.1.ebuild

Uses $(games_get_libdir)
Comment 9 Alex Waite 2007-05-20 04:27:04 UTC
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.
Comment 10 James C. Georgas 2007-05-28 01:44:32 UTC
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?
Comment 11 ralph-bugzillagentoo 2007-06-08 22:55:18 UTC
I would like to second the ebuild request. Please consider adding it to the tree.
Comment 12 Chris Gianelloni (RETIRED) gentoo-dev 2007-06-20 01:08:28 UTC
http://www.gentoo.org/proj/en/desktop/games/#doc_chap5_sect10
Comment 13 Alexandre Lima 2007-07-13 18:03:45 UTC
It needs media-libs/sdl-ttf > 2.0.5
I upgraded to 2.0.8 and it's working.
Comment 14 Renato Caldas 2007-07-25 23:45:19 UTC
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?
Comment 15 Paul Bredbury 2007-07-26 00:05:36 UTC
(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.
Comment 16 Renato Caldas 2007-07-26 00:28:35 UTC
(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).
Comment 17 Paul Bredbury 2007-07-26 00:54:10 UTC
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.
Comment 18 Renato Caldas 2007-07-26 01:04:51 UTC
(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.
Comment 19 Morgun Leonid 2007-07-28 10:06:53 UTC
The last ebuild works great.
+1 to adding it to portage
Comment 20 Marcel Schmedes 2007-07-28 21:10:37 UTC
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.
Comment 21 Henrique Rodrigues 2007-08-12 00:26:23 UTC
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.
Comment 22 Chris Gianelloni (RETIRED) gentoo-dev 2007-08-17 23:32:43 UTC
Added to the tree... thanks for the bug and ebuild!