Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 475468 - Add RDEPEND on dev-games/ode to games-fps/xonotic-0.7.0
Summary: Add RDEPEND on dev-games/ode to games-fps/xonotic-0.7.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-02 04:42 UTC by Patrick McMunn
Modified: 2015-04-06 18:59 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick McMunn 2013-07-02 04:42:46 UTC
One of the new features in Xonotic 0.7 is an optional runtime dependency on dev-games/ode which provides in-games physics. ODE must be compiled in double precision.

The following line added to RDEPEND should be sufficient:

ode? ( dev-games/ode[double-precision] )

Reproducible: Always
Comment 1 Nikoli 2013-07-19 16:50:46 UTC
Asked upstream about it, from #xonotic:
    <divVerent> ODE is btw not a new runtime dep
    <divVerent> it was even in nexuiz already
    <divVerent> but even xonotic 0.7 does not actually use it
    <divVerent> the engine detects it, but we have no code or maps using it
    <divVerent> except augenkrebs, which does not ship with xonotic :P
    <Nikoli> what is it, map?
    <divVerent> yes
    <divVerent> maps could use ODE objects for ages, but they suck gameplay-wise
    <divVerent> so no serious map has them
    <Nikoli> so should i add ode dep to xonotic packages?
    <MrBougo> execpt augenkrebs, which is 100% serious
    <divVerent> Nikoli: not needed
    <divVerent> use your own judgement there
    <divVerent> at 1.0 we maybe will use it if anyone does ragdolls
    <divVerent> it doesn't hurt adding it now
    <divVerent> and be it just helping mappers/devs play with it
    <MrBougo> ODE is still only used serverside, is it not?
    <divVerent> yes
    <Nikoli> and what about 'must be compiled in double precision'?
    <divVerent> that is a requirement, yes
    <Nikoli> ok, will add ode as optional dep
    <divVerent> DP simply cannot work with single precision ODE... even if you force it by compiling against the ODE headers
    <divVerent> which you can do BTW
    <divVerent> in world.c there is a #define to that, you can add its -D to the compile flags

Added USE ode to xonotic ebuilds in gamerlay, please check if they work fine for you.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2015-04-06 18:59:51 UTC
added an ode use flag for people who want this.  thanks for the bug report.