Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 482574 - games-roguelike/FTL-1.03.3 should not require libpng
Summary: games-roguelike/FTL-1.03.3 should not require libpng
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-26 16:28 UTC by Alex Xu (Hello71)
Modified: 2013-09-04 10:57 UTC (History)
1 user (show)

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


Attachments
find amd64 x86 -type f -exec lddtree '{}' '+' (file_482574.txt,11.23 KB, text/plain)
2013-08-26 16:29 UTC, Alex Xu (Hello71)
Details
lddtree amd64/bin/FTL (file_482574.txt,1.54 KB, text/plain)
2013-08-26 16:36 UTC, Alex Xu (Hello71)
Details
LD_LIBRARY_PATH=amd64/lib lddtree amd64/bin/FTL (file_482574.txt,1.19 KB, text/plain)
2013-08-26 16:37 UTC, Alex Xu (Hello71)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Xu (Hello71) 2013-08-26 16:28:33 UTC
FTL does not directly require libpng.

The only libpng dependency is through libIL, provided by media-libs/devil.

If bundled-libs is off, system devil is used, which has its own libpng dependency.

If bundled-libs is on, the package-provided devil and libpng are used.

I bother with this because it is both incorrect and makes it impossible to emerge FTL-1.03.3 on a system with pretty much any other programs installed.

Even a fully ~arch system will not be able to merge FTL if there are any other libpng-using packages on the system, due to the blockers.

Only 3 packages depend on libpng:1.5; approximately 463 depend on libpng:0, almost all of which are incompatible with this incorrect change.
Comment 1 Alex Xu (Hello71) 2013-08-26 16:29:53 UTC
Created attachment 357088 [details]
find amd64 x86 -type f -exec lddtree '{}' '+'
Comment 2 Alex Xu (Hello71) 2013-08-26 16:36:58 UTC
Created attachment 357092 [details]
lddtree amd64/bin/FTL
Comment 3 Alex Xu (Hello71) 2013-08-26 16:37:39 UTC
Created attachment 357094 [details]
LD_LIBRARY_PATH=amd64/lib lddtree amd64/bin/FTL
Comment 4 Alex Xu (Hello71) 2013-08-26 16:46:56 UTC
After iamben trying far too many times to get through to me, I have finally realised that libpng 1.6 is a subslot, not a regular slot.

Nevertheless, the dependency is unnecessary and should be removed.

Unless I'm wrong *again*.
Comment 5 Julian Ospald 2013-09-04 10:57:18 UTC
+ 04 Sep 2013; Julian Ospald <hasufell@gentoo.org> FTL-1.03.1.ebuild,
+ FTL-1.03.3.ebuild:
+ remove unneeded libpng dep wrt #482574