Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 425508

Summary: dev-games/caelum - atmospheric effects OGRE plugin
Product: Gentoo Linux Reporter: Alan Smithee <s.rohmen>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: UNCONFIRMED ---    
Severity: enhancement CC: games
Priority: Normal Keywords: EBUILD
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: dev-games/caelum-0.6.1 ebuild
Patch for compiling against ogre-1.8.0

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.