Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 870346 - www-client/chromium should no longer block libpng[apng]
Summary: www-client/chromium should no longer block libpng[apng]
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-16 10:33 UTC by Michael
Modified: 2024-02-10 01:52 UTC (History)
2 users (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 Michael 2022-09-16 10:33:56 UTC
See https://bugs.gentoo.org/824018#c53 comments 53 and 54.

Reproducible: Always
Comment 1 Arusekk 2023-12-20 16:51:32 UTC
Is there some will towards this? I changed the dependency libpng:=[-apng(-)] to libpng:= in latest chromium-120.0.6099.109.ebuild and it works fine (media-libs/libpng-1.6.40-r1), no flickering, only some warnings printed repeatedly when visiting pages with APNGs on them (they render fine, though):

libpng warning: Number of actual frames fewer than expected
libpng warning: size in first frame's fcTL must match the size in IHDR
libpng warning: Skipped (ignored) a chunk between APNG chunks
libpng warning: Number of actual frames fewer than expected

There was a suggestion to resolve the warnings in the original thread: https://bugs.gentoo.org/824018#c55
The chromium bugtracker suggests that the warnings are now gone on Debian: https://bugs.chromium.org/p/chromium/issues/detail?id=1142228
Comment 2 Matt Jolly gentoo-dev 2024-02-10 01:52:10 UTC
On balance, I don't think it's worth it when we have USE=-system-libpng to enable the use of the bundled libpng:

- Chromium doesn't use this apng impl anyway
- It's still not in the spec (though v3 looks promising)
- It adds maintenance overhead
- We'd still need to test and resolve the warnings

Toggling the USE will enable users to build libpng[apng] if that's what they want to do for other purposes.