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

Bug 510190

Summary: games-rpg/grimrock-20130515 incorrect deps
Product: Gentoo Linux Reporter: David Flogeras <dflogeras2>
Component: [OLD] GamesAssignee: Julian Ospald <hasufell>
Status: RESOLVED FIXED    
Severity: normal CC: games
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch for proposed grimrock-20130515-r1.ebuild

Description David Flogeras 2014-05-12 19:58:08 UTC
grimrock has an RDEPEND on media-libs/libpng:1.5, while /opt/grimrock/Grimrock.bin.x86_64 links to libpng16.so (which is provided currently by media-libs/libpng:0)

Also, there is an RDEPEND on media-libs/openjpeg:0, and it looks like this version of grimrock doesn't use openjpeg at all, it uses libjpeg.so.62 which is provided by virtual/jpeg.

I created an ebuild in a local overlay which changed "media-libs/libpng:1.5" to simply "media-libs/libpng", and dropped openjpeg entirely, with no adverse effects running the game or dungeon editor.

Reproducible: Always
Comment 1 Julian Ospald 2014-05-15 11:46:35 UTC
I am lazy, can you provide a patch?
Comment 2 David Flogeras 2014-05-15 13:36:13 UTC
Created attachment 377002 [details, diff]
Patch for proposed grimrock-20130515-r1.ebuild

Surely, attached.
Comment 3 Julian Ospald 2014-05-22 17:18:21 UTC
if I remove openjpeg:0 from my system, grimrock fails to start
Comment 4 Julian Ospald 2014-05-22 17:19:14 UTC
removing the slot from libpng will break starting grimrock if the user does not have slot :0 installed
Comment 5 Julian Ospald 2014-05-22 17:25:20 UTC
I adjusted these two:
=media-libs/libpng-1.6*
virtual/jpeg:62