Bug 2223848

Summary: Enable support for libheif now that it's in Fedora's main repos
Product: [Fedora] Fedora Reporter: Andrew Gunnerson <accounts+fedora>
Component: kf5-kimageformatsAssignee: KDE SIG <kde-sig>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 38CC: jgrulich, kde-sig, rdieter, than
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-07-19 06:28:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andrew Gunnerson 2023-07-19 06:25:18 UTC
Historically, I believe libheif was only in the RPMFusion repos because it originally only supported HEIF (patent-encumbered) images. However, now that it supports AVIF (free format), libheif exists in the main Fedora repos.

Would it be possible to enable kimageformats' support for that library? In my local testing, adding libheif-devel as a build dependency and passing in the -DKIMAGEFORMATS_HEIF=ON CMake option seems to do the trick.

Thanks!

Reproducible: Always

Comment 1 Andrew Gunnerson 2023-07-19 06:28:29 UTC
I just did a dnf upgrade and saw that 5.108.0-2 did exactly this. Sorry about the noise!