[MacPorts] #26303: Alien Arena port request
MacPorts
noreply at macports.org
Thu Sep 2 09:46:52 PDT 2010
#26303: Alien Arena port request
-------------------------------------+--------------------------------------
Reporter: xingmaster90@… | Owner: macports-tickets@…
Type: request | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 1.9.1
Resolution: fixed | Keywords:
Port: alienarena |
-------------------------------------+--------------------------------------
Changes (by ryandesign@…):
* status: new => closed
* resolution: => fixed
Comment:
The crash in Com_Printf was because QGL_Init couldn't find the OpenGL
library. It was looking for libGL.so.1, which is not the library naming
convention on Mac OS X so it couldn't find it. It then tried to call
dlerror() and pass the result to Com_Printf, which apparently doesn't work
and caused the crash. Rather than fix the crash in the error reporting, I
fixed it so it could find libGL.
Changing libopenal.so.1 to the correct path to Mac OS X's OpenAL library
was all that was needed to get sound working.
My round_page implementation seems to work, though it could probably be
optimized, which might speed up the game a bit (though I have not been
successful yet in running a profiler to see what's really slowing it
down). Commenting out the calls to round_page, as I did in the first
patch, definitely doesn't work (causes the game to exit immediately).
'''Long story short, I think we have a working alienarena port in MacPorts
now. Please try it out! '''
{{{
sudo port selfupdate
sudo port install alienarena
crx
}}}
Here are the revisions I committed:
* r71147: added alienarena-data
* r71149: added alienarena and patches
* r71150: fixed game.dylib's install_name, for completeness
* r71151: add notes telling how to start the game
Other changes since attempt 3 above:
* I got tired of waiting for hundreds of megabytes of game data to
unpack, stage, install and activate every time I wanted to rebuild, so I
moved the data into a separate port alienarena-data, which is listed as a
dependency of alienarena so it will be installed automatically
* added homepage
* added 2nd download location
* added pkgconfig build dependency
--
Ticket URL: <http://trac.macports.org/ticket/26303#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list