Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107792 - New ebuild for the latest stable bzflag 2.0.4 version
Summary: New ebuild for the latest stable bzflag 2.0.4 version
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: 103539
Blocks:
  Show dependency tree
 
Reported: 2005-10-01 07:26 UTC by Steven Mertens
Modified: 2005-11-21 23:00 UTC (History)
3 users (show)

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


Attachments
New ebuild for bzflag 2.0.4 bzflag-2.0.4.20050930.ebuild (bzflag-2.0.4.20050930.ebuild,1.46 KB, text/plain)
2005-10-01 07:28 UTC, Steven Mertens
Details
bzflag-2.0.4.20050930.ebuild corrected ebuild (bzflag-2.0.4.20050930.ebuild,1.47 KB, text/plain)
2005-10-02 15:29 UTC, Steven Mertens
Details
bzflag-2.0.4.20050930.ebuild made curl mandatory (bzflag-2.0.4.20050930.ebuild,1.44 KB, text/plain)
2005-10-15 04:36 UTC, Steven Mertens
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steven Mertens 2005-10-01 07:26:16 UTC
Hi,

Please find attached a new ebuild for the latest stable bzflag release (2.0.4).
The ebuild is a copy of the 2.0.2 version with some minor changes.
This is tested on amd64 only and works.

Bzflag is an OpenGL accelerated 3d tank combat simulator game and sits in
portage under games-action/bzflag

Rgds. 

Steven
Comment 1 Steven Mertens 2005-10-01 07:28:27 UTC
Created attachment 69637 [details]
New ebuild for bzflag 2.0.4  bzflag-2.0.4.20050930.ebuild
Comment 2 Tupone Alfredo gentoo-dev 2005-10-02 14:21:58 UTC
adns is not more used in bzflag.
Bzflag uses c-ares instead. If c-ares is not available from the system, it uses
is internal version.
bzflag uses curl too, and it is hardly recommended to enable the ares use flag
while building curl. Unfortunately curl is not build with c-ares on amd64. See
Bug 103539
Comment 3 Steven Mertens 2005-10-02 15:26:54 UTC
(In reply to comment #2)
> adns is not more used in bzflag.
> Bzflag uses c-ares instead. If c-ares is not available from the system, it uses
> is internal version.
> bzflag uses curl too, and it is hardly recommended to enable the ares use flag
> while building curl. Unfortunately curl is not build with c-ares on amd64. See
> Bug 103539

Thanks for the info.

I adjusted the ebuild so it uses c-ares instead of adns. De curl version needed
must be >=net-misc/curl-7.14.0. 
Ofcourse your patch in Bug 103539 should be applied first.
Alfredo, can you check the new ebuild and correct possible mistakes in it ?
Thanks in advance.

Steven
Comment 4 Steven Mertens 2005-10-02 15:29:23 UTC
Created attachment 69756 [details]
bzflag-2.0.4.20050930.ebuild corrected ebuild
Comment 5 Tupone Alfredo gentoo-dev 2005-10-03 05:22:37 UTC
I wonder why you put that:

GAMES_USE_SDL="nojoystick"

When I introduced SDL in bzflag, I firstly did for supporting my joystick :)

So, if that is asking for build SDL without joystick support, that is bad. But
surely I could have misunderstood that statement.
Comment 6 Steven Mertens 2005-10-03 10:14:26 UTC
(In reply to comment #5)
> I wonder why you put that:
> 
> GAMES_USE_SDL="nojoystick"
> 
> When I introduced SDL in bzflag, I firstly did for supporting my joystick :)
> 
> So, if that is asking for build SDL without joystick support, that is bad. But
> surely I could have misunderstood that statement.

This was already set in the 2.0.2 ebuild. I think it got something to do with
Bug 103377.
Luckly i am a mouse player. ;)

Thanks for the feedback!

Rgds. 

Steven.

Comment 7 Steven Mertens 2005-10-03 10:57:23 UTC
I also looked in the games eclass. The statement ensures that bzflag is 
build against a libsdl with joystick support. If the nojoystick use flag is
set bzflag wont compile . If i read that correctly ofcourse ... 

<snip games.eclass>

# Make sure SDL was built in a certain way
    if [[ -n ${GAMES_USE_SDL} ]] ; then
        if built_with_use -o media-libs/libsdl ${GAMES_USE_SDL} ; then
            eerror "You built libsdl with wrong USE flags."
            eerror "Make sure you rebuild it like this:"
            eerror "USE='-${GAMES_USE_SDL// / -}'"
            die "your libsdl sucks"
        fi
    fi

<snip ..>

Rgds.

Steven
Comment 8 Tupone Alfredo gentoo-dev 2005-10-11 15:45:21 UTC
I forget one things: curl is mandatory, so it should not be an option, it should
be required
Comment 9 Steven Mertens 2005-10-15 04:35:22 UTC
(In reply to comment #8)
> I forget one things: curl is mandatory, so it should not be an option, it should
> be required

Ok. I changed the ebuild so curl is mandatory and must be greater or equal 
then curl-7.15.0. I tested it with curl-7.14.0 (and patch in 103539 applied) and
it works fine.

thanks for info.
rgds.
Comment 10 Steven Mertens 2005-10-15 04:36:30 UTC
Created attachment 70720 [details]
bzflag-2.0.4.20050930.ebuild made curl mandatory
Comment 11 Benno Schulenberg 2005-10-24 13:28:15 UTC
The ebuild works for me.  Thanks.
Comment 12 Barry Grussling 2005-11-20 16:15:09 UTC
This ebuild (bzflag-2.0.4.20040930) doesn't work properly when you are trying to
build a dedicated server (via the dedicated USE flag) on a X-less box.  The
emerge dies with the warning about libsdl and the -nojoystick flag.  

The system I was installing this on was my server and did not have libsdl or X
installed.  Removing the GAMES_USE_SDL="nojoystick" and regenerating the digest
"fixed" it for me.  

Basically we should verify that SDL is ok only if we aren't building a dedicated
server.

Thanks,

BG
Comment 13 Mr. Bones. (RETIRED) gentoo-dev 2005-11-21 23:00:59 UTC
Should be working for everyone now.  Open new bugs for any problems.