Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 173097
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Grzegorz {NineX} Krzystek <ninex@o2.pl>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
ufo-ai-2.1.ebuild first steps into a ufo-ai-2.1 ebuild text/plain Stéphane Gimenez 2007-04-17 17:48 0000 1.13 KB Details
ufo-ai-2.1.ebuild ufo-ai-2.1.ebuild text/plain Paul Bredbury 2007-04-17 18:20 0000 3.69 KB Details
ufo-ai-2.1.1.ebuild ufo-ai-2.1.1.ebuild text/plain Paul Bredbury 2007-05-01 22:06 0000 3.74 KB Details
ufo-ai-2.1.1.ebuild ufo-ai-2.1.1.ebuild text/plain Paul Bredbury 2007-07-26 00:54 0000 3.72 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 173097 depends on: Show dependency tree
Bug 173097 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-04-02 08:35 0000
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 From Mr. Bones. 2007-04-02 16:04:17 0000 -------
http://www.gentoo.org/proj/en/desktop/games/#doc_chap5_sect5

------- Comment #2 From Paul Bredbury 2007-04-03 06:20:44 0000 -------
This is (yet another) duplicate of bug #141298.

------- Comment #3 From Mr. Bones. 2007-04-03 07:39:07 0000 -------
nah, I'm ignoring that one.  We'll do the 2.1 bump from here.

------- Comment #4 From Paul Bredbury 2007-04-04 05:49:19 0000 -------
(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 From Stéphane Gimenez 2007-04-17 17:47:20 0000 -------
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 From Stéphane Gimenez 2007-04-17 17:48:37 0000 -------
Created an attachment (id=116533) [details]
first steps into a ufo-ai-2.1 ebuild

------- Comment #7 From Paul Bredbury 2007-04-17 18:20:14 0000 -------
Created an attachment (id=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 From Paul Bredbury 2007-05-01 22:06:42 0000 -------
Created an attachment (id=117894) [details]
ufo-ai-2.1.1.ebuild

Uses $(games_get_libdir)

------- Comment #9 From Alex Waite 2007-05-20 04:27:04 0000 -------
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 From James C. Georgas 2007-05-28 01:44:32 0000 -------
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 From Ralph Holz 2007-06-08 22:55:18 0000 -------
I would like to second the ebuild request. Please consider adding it to the
tree.

------- Comment #12 From Chris Gianelloni (RETIRED) 2007-06-20 01:08:28 0000 -------
http://www.gentoo.org/proj/en/desktop/games/#doc_chap5_sect10

------- Comment #13 From Alexandre Lima 2007-07-13 18:03:45 0000 -------
It needs media-libs/sdl-ttf > 2.0.5
I upgraded to 2.0.8 and it's working.

------- Comment #14 From Renato Caldas 2007-07-25 23:45:19 0000 -------
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 From Paul Bredbury 2007-07-26 00:05:36 0000 -------
(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 From Renato Caldas 2007-07-26 00:28:35 0000 -------
(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 From Paul Bredbury 2007-07-26 00:54:10 0000 -------
Created an attachment (id=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 From Renato Caldas 2007-07-26 01:04:51 0000 -------
(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 From Morgun Leonid 2007-07-28 10:06:53 0000 -------
The last ebuild works great.
+1 to adding it to portage

------- Comment #20 From Marcel Schmedes 2007-07-28 21:10:37 0000 -------
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 From Henrique Rodrigues 2007-08-12 00:26:23 0000 -------
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 From Chris Gianelloni (RETIRED) 2007-08-17 23:32:43 0000 -------
Added to the tree... thanks for the bug and ebuild!

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug