Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29419 - Vegastrike 0.4.1 is now available
Summary: Vegastrike 0.4.1 is now available
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: http://vegastrike.sourceforge.net
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-23 06:27 UTC by Charles Goodwin
Modified: 2003-11-20 18:45 UTC (History)
5 users (show)

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


Attachments
vegastrike-0.4.1.ebuild (vegastrike-0.4.1.ebuild,2.67 KB, text/plain)
2003-11-04 01:07 UTC, SpanKY
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Charles Goodwin 2003-09-23 06:27:38 UTC
Release notes:
http://sourceforge.net/project/shownotes.php?release_id=185581

This needs to get into portage ASAP.

Reproducible: Always
Steps to Reproduce:
Comment 1 Charles Goodwin 2003-09-24 02:03:22 UTC
I can't make an ebuild for the next few weeks as a rabbit chewed through my adsl modem's USB cable.

(How is that for an excuse!)
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-09-27 01:37:41 UTC
how about an ebuild ?
Comment 3 Charles Goodwin 2003-09-29 05:41:03 UTC
Ebuild here:
http://forums.gentoo.org/viewtopic.php?p=555653#555653

I would post it as an attachment, but it's not mine.  Also, I'm not sure
how correct it is - a few people are having issues.
Comment 4 Charles Goodwin 2003-10-06 01:54:24 UTC
A tweaked ebuild can be found here:
http://giblets.org/ebuilds/vegastrike-0.4.1.tar.gz 

It was posted by giblets (and was his first post!):
http://forums.gentoo.org/viewtopic.php?p=568319#568319

It should be a candidate ebuild for going into portage.  It installs the
game data into /usr/share/games and has a couple of patches.
Comment 5 Giblets 2003-10-06 13:36:30 UTC
I've just discovered eclasses, and my ebuild does not honour (customised)
games.eclass settings.  A fix is in the works.
The patches are nothing special - they just deal with getting the thing to
build and sorting out the data path.

Comment 6 Giblets 2003-10-08 00:25:13 UTC
ebuild that honours games eclass settings is here:

http://giblets.org/ebuilds/vegastrike-0.4.1-ebuild.tar.gz
Comment 7 Tisephone Skouros 2003-10-14 19:28:46 UTC
These lines are required in src_compile() on some systems:

echo "#define glXGetProcAddress glXGetProcAddressARB" >> ${S}/vegastrike/src/gldrv/gl_globals.h
echo "#define glXGetProcAddress glXGetProcAddressARB" >> ${S}/vegastrike/src/gldrv/gl_init.h
Comment 8 Tisephone Skouros 2003-10-14 23:43:29 UTC
Addendum: Apparently some systems have only glXGetProcAddressARB and some
have only glXGetProcAddress. How do we deal with this?

Also, they tell me at the forums the GTK frontend is optional (I didn't see
a disabler in configure when investigating /var/tmp/portage, myself). If
so, it would be nice for the ebuild to have that option.
Comment 9 Stephane Loeuillet 2003-10-18 06:11:45 UTC
wouldn't this be better ?

#ifndef glXGetProcAddress
#ifdef glXGetProcAddressARB
#define glXGetProcAddress glXGetProcAddressARB
#else
/* Why not putting a warning here ? */
#endif /* glXGetProcAddressARB  */
#endif /* glXGetProcAddress  */
Comment 10 David Holm (RETIRED) gentoo-dev 2003-10-27 07:11:51 UTC
The vegastrike 0.4.1-r1 ebuild fails for me with the following error:

endianness.cpp: In function `double VSSwapHostDoubleToLittle(double)':
endianness.cpp:17: `DONTUSE__NXSwapBigDoubleToLittle' undeclared (first use

   this function)
endianness.cpp:17: (Each undeclared identifier is reported only once for
each 
   function it appears in.)
make[3]: *** [endianness.o] Error 1
make[3]: Leaving directory
`/var/tmp/portage/vegastrike-0.4.1-r1/work/vegastrike-0.4.1/vegastrike/src'
Comment 11 SpanKY gentoo-dev 2003-11-04 01:07:40 UTC
Created attachment 20239 [details]
vegastrike-0.4.1.ebuild

i tweaked out your 0.4.1 ebuild ... basically everything except for
src_install() ... i cant get vegastrike to compile for me, it fails on boost
related stuff ...

not sure if it's a gcc-3.3.x issue or a python-2.3.x issue ...
Comment 12 SpanKY gentoo-dev 2003-11-04 01:33:14 UTC
it seems to be a python-2.3 bug and i can see mention of fixes in cvs for
it but i'm little worn out to dig throuh and make a patch to support python-2.3
... any takers ? :)
Comment 13 James Gibson 2003-11-13 04:07:39 UTC
The glXGetProcAddressARB issue is at least partly with the GL/glx.h shipped with Xfree86 4.3.0 (not sure about earlier, but this is what I have currently) it has a number of functions that are only defined if GLX_GLXEXT_LEGACY is set (check around lines 115-131).. adding "-DGLX_GLXEXT_LEGACY" to CPPFLAGS in the environment allowed it to compile successfully on my machine. specifically I added the line:

export CPPFLAGS="$CPPFLAGS -DGLX_GLXEXT_LEGACY"

to src_compile() on the line above "egamesconf".
Comment 14 Charles Goodwin 2003-11-20 07:37:16 UTC
Please can this go in portage, even if it's masked or in ~x86?
Comment 15 Martin Holzer (RETIRED) gentoo-dev 2003-11-20 08:05:31 UTC
ebuilds should never go in portage direct as stable
Comment 16 Charles Goodwin 2003-11-20 08:39:49 UTC
You lost me... why can't it be in as a masked ebuild?
Comment 17 SpanKY gentoo-dev 2003-11-20 09:10:13 UTC
i'll add it later today
Comment 18 SpanKY gentoo-dev 2003-11-20 18:45:06 UTC
0.4.1 is in cvs with all it's fun issues