Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 425508 - dev-games/caelum - atmospheric effects OGRE plugin
Summary: dev-games/caelum - atmospheric effects OGRE plugin
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Default Assignee for New Packages
Keywords: EBUILD
Depends on:
Reported: 2012-07-09 15:18 UTC by Alan Smithee
Modified: 2012-07-16 00:55 UTC (History)
1 user (show)

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

dev-games/caelum-0.6.1 ebuild (caelum-0.6.1.ebuild,765 bytes, text/plain)
2012-07-09 15:18 UTC, Alan Smithee
Patch for compiling against ogre-1.8.0 (ogre-1.8.0.patch,783 bytes, patch)
2012-07-09 15:19 UTC, Alan Smithee
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Smithee 2012-07-09 15:18:20 UTC
Created attachment 317702 [details]
dev-games/caelum-0.6.1 ebuild

I created a ebuild for caelum-0.6.1 and wrote a patch for compiling it against ogre-1.8.0
If it is usable for someone please take a look on it!
Comment 1 Alan Smithee 2012-07-09 15:19:02 UTC
Created attachment 317704 [details, diff]
Patch for compiling against ogre-1.8.0
Comment 2 Julian Ospald 2012-07-09 19:52:42 UTC
conditional patches are not good, what happens if the user downgrades ogre after compiling this?

Is that patch approved upstream? If it compiles against 1.8.0 does not mean the code works as intended...
Comment 3 Julian Ospald 2012-07-09 19:58:16 UTC
well in this case revdep-rebuild will probably catch it, but I still don't like it
Comment 4 Alan Smithee 2012-07-16 00:55:34 UTC
I reported the issue to upstream, but got no answer yet. for coincidence, I had to downgrade ogre for some other reason and were notified about the conflict via @preserved-rebuild request from portage-2.2.0_alpha118.
Another possibility to perform the compatibility patch would be to use some #ifdef ogre version checking, but then you have the same issue with downgrading without the advantage that portage warns you about it.