Bug 2332519

Summary: Update libheif
Product: [Fedora] Fedora Reporter: Hisanobu Okuda <hokuda>
Component: libheifAssignee: Dominik 'Rathann' Mierzejewski <dominik>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 40CC: alexandre.courtiol, awilliam, dominik, multimedia-sig, ngompa13, other666, sergio
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: libheif-1.19.5-3.fc40 libheif-1.19.5-3.fc41 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-15 02:22:50 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 Hisanobu Okuda 2024-12-16 04:35:38 UTC
There is an issue that libheif cannot convert photos taken by iphone15 as reported in https://github.com/strukturag/libheif/issues/1190 and fixed in the latest version. Please update libheif

The packages are:
libheif-1.17.6-1.fc40.x86_64
libheif-tools-1.17.6-1.fc40.x86_64


Reproducible: Always

Comment 1 alex 2025-01-18 14:29:53 UTC
I think the issue has a larger scope than defined.
It is my understanding that all pictures taken with Apple devices running iOS 18 (the current version) and exported as originals (*.HEIC) cannot be viewed, edited, or converted on Fedora <= 41.
So a lot of users may be delighted by such an update.
Thanks a lot for looking into it.

Comment 2 Adam Williamson 2025-02-07 16:50:40 UTC
Yeah, this has been reported on mastodon too: https://fosstodon.org/@razze@osna.social/113962353983994440
Upstream changelog for 1.18.0 says "now reads images generated by iOS 18". 1.19.0 says "The major new feature in this release is the decoding of separate image tiles and also encoding an image tile by tile" and that it supports three tiling methods; not sure the real world impact of that, but it seems useful. 1.18.x and 1.19.x updates were maintenance/bugfix.

It doesn't look like there are any ABI changes, at least the soname wasn't bumped. (I was a bit concerned about "decoding progress is signaled to the client application and decoding can be cancelled", but looking at the code for that change, it appears to only change private functions, and the 'signalling' is done via stdout). So it should be safe to update this. Technically it might be good to request an update policy exception for this - the update policy says, for stable releases, "Updates should aim to fix bugs, and not introduce features, particularly when those features would materially affect the user or developer experience" - though in this case I'd say it's a bit debatable; from one perspective the update would be "introduc[ing] features", but from another it'd be "fix[ing] bugs".

I'll poke Neal and Dominik (who seems to have been most active in updating the package lately) about this elsewhere if I can.

Comment 3 Dominik 'Rathann' Mierzejewski 2025-02-07 19:57:09 UTC
I think we can go ahead and just do the update. We went through compatibility checks when updating in rawhide some time ago.

FWIW, here are some sample images that don't work with 1.17.6, but start working after updating to 1.19.x: https://github.com/mastodon/mastodon/issues/31570 -> https://github.com/user-attachments/files/16734152/HEIF-images.zip . I'll mention those in the update notes for testers.

Comment 4 Fedora Update System 2025-02-07 20:14:08 UTC
FEDORA-2025-666aaa6a0d (libheif-1.19.5-3.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-666aaa6a0d

Comment 5 Fedora Update System 2025-02-07 20:14:11 UTC
FEDORA-2025-8fdb7be3cb (libheif-1.19.5-3.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-8fdb7be3cb

Comment 6 Fedora Update System 2025-02-08 01:47:03 UTC
FEDORA-2025-8fdb7be3cb has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-8fdb7be3cb`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-8fdb7be3cb

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2025-02-08 02:41:24 UTC
FEDORA-2025-666aaa6a0d has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-666aaa6a0d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-666aaa6a0d

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Miloš Komarčević 2025-02-11 09:52:43 UTC
@dominik Please fast-forward the F42 branch as well?

Comment 9 Dominik 'Rathann' Mierzejewski 2025-02-11 12:09:15 UTC
(In reply to Miloš Komarčević from comment #8)
> Please fast-forward the F42 branch as well?

Done.

Comment 10 Fedora Update System 2025-02-15 02:22:50 UTC
FEDORA-2025-666aaa6a0d (libheif-1.19.5-3.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2025-02-15 02:36:18 UTC
FEDORA-2025-8fdb7be3cb (libheif-1.19.5-3.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.