[FFe] update libheif dependencies

Bug #2061089 reported by Ravi Kant Sharma
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libheif (Debian)
New
Unknown
libheif (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

This issue depends on Security Review of libyuv[1]

[ Why it is needed ]

libheif needs to pull in minimal set of dependencies for inclusion in main. Downgrade the libheif-plugin-x265 Recommends to a Suggests[2]

[Build]

PPA: ppa:vpa1977/libheif[3]

Testing:
 - piuparts test [4]
 - check dependencies have MIR[5]
 - check that gimp can display heic image[6]
 - check that imagemagic can display heic image[7]

[What can go wrong]

Downgrading dependencies may impact abilities to encode/decode images and video.

[ Original Description ]
libheif needs to pull in minimal set of dependencies for inclusion in main. Downgrade the libheif-plugin-x265 Recommends to a Suggests

https://bugs.launchpad.net/ubuntu/+source/libheif/+bug/1827442/comments/53

libheif is required by libgd2 HEIF files. This will enable viewing of photos from iPhone and other modern smartphones with HEIF format on Ubuntu. See MIR for more details - https://bugs.launchpad.net/ubuntu/+source/libheif/+bug/1827442

[1] https://bugs.launchpad.net/ubuntu/+source/libyuv/+bug/2004516
[2] https://bugs.launchpad.net/ubuntu/+source/libheif/+bug/1827442/comments/53
[3] https://launchpad.net/~vpa1977/+archive/ubuntu/libheif/+packages
[4] https://bugs.launchpad.net/ubuntu/+source/libheif/+bug/2061089/comments/3
[5] https://bugs.launchpad.net/ubuntu/+source/libheif/+bug/2061089/comments/4
[6] https://bugs.launchpad.net/ubuntu/+source/libheif/+bug/2061089/comments/5
[7] https://bugs.launchpad.net/ubuntu/+source/libheif/+bug/2061089/comments/6

Related branches

description: updated
Revision history for this message
Ravi Kant Sharma (ravi-sharma) wrote :
Revision history for this message
Vladimir Petko (vpa1977) wrote :

Also we need to swap ' libheif-plugin-aomdec (= ${binary:Version}) | libheif-plugin-dav1d (= ${binary:Version}),'

Vladimir Petko (vpa1977)
description: updated
description: updated
Revision history for this message
Vladimir Petko (vpa1977) wrote :

piuparts test (install/upgrade/purge) pass

Revision history for this message
Vladimir Petko (vpa1977) wrote :

Check that all universe dependencies have MIR in progress:
---------------
root@enabling-deer:~# apt-add-repository ppa:vpa1977/libheif
root@enabling-deer:~# apt install libheif1
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libaom3 libde265-0 libheif-plugin-aomdec libheif-plugin-aomenc libheif-plugin-libde265 libsharpyuv0
Suggested packages:
  libheif-plugin-x265 libheif-plugin-ffmpegdec libheif-plugin-jpegdec libheif-plugin-jpegenc libheif-plugin-j2kdec libheif-plugin-j2kenc libheif-plugin-rav1e libheif-plugin-svtenc
The following NEW packages will be installed:
  libaom3 libde265-0 libheif-plugin-aomdec libheif-plugin-aomenc libheif-plugin-libde265 libheif1 libsharpyuv0
0 upgraded, 7 newly installed, 0 to remove and 28 not upgraded.
Need to get 2440 kB of archives.
After this operation, 6867 kB of additional disk space will be used.

root@enabling-deer:~# rmadison -s noble libaom3 libde265-0 libheif-plugin-aomdec libheif-plugin-aomenc libheif-plugin-libde265 libheif1 libsharpyuv0
 libaom3 | 3.8.2-2build1 | noble/universe | amd64, arm64, armhf, i386, ppc64el, riscv64, s390x
 libde265-0 | 1.0.15-1build3 | noble/universe | amd64, arm64, armhf, i386, ppc64el, riscv64, s390x
 libheif-plugin-aomdec | 1.17.6-1ubuntu3 | noble/universe | amd64, arm64, armhf, i386, ppc64el, riscv64, s390x
 libheif-plugin-aomenc | 1.17.6-1ubuntu3 | noble/universe | amd64, arm64, armhf, i386, ppc64el, riscv64, s390x
 libheif-plugin-libde265 | 1.17.6-1ubuntu3 | noble/universe | amd64, arm64, armhf, i386, ppc64el, riscv64, s390x
 libheif1 | 1.17.6-1ubuntu3 | noble/universe | amd64, arm64, armhf, i386, ppc64el, riscv64, s390x
 libsharpyuv0 | 1.3.2-0.4build3 | noble | amd64, arm64, armhf, i386, ppc64el, riscv64, s390x

---------------
aom MIR[1]
libde265 MIR [2]
libheif MIR [3]

[1] https://bugs.launchpad.net/ubuntu/+source/aom/+bug/2004442
[2] https://bugs.launchpad.net/ubuntu/+source/libde265/+bug/2004449
[3] https://bugs.launchpad.net/ubuntu/+source/libheif/+bug/1827442

description: updated
Revision history for this message
Vladimir Petko (vpa1977) wrote :

gimp showing heic image

Revision history for this message
Vladimir Petko (vpa1977) wrote :

imagemagick showing sample heic image

description: updated
Revision history for this message
Lukas Märdian (slyon) wrote :

Security ACK for libyuv granted

Revision history for this message
Graham Inggs (ginggs) wrote :

It looks like everything has been covered here. FFe granted, please go ahead.

Changed in libheif (Ubuntu):
status: New → Triaged
Changed in libheif (Debian):
status: Unknown → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libheif - 1.17.6-1ubuntu4

---------------
libheif (1.17.6-1ubuntu4) noble; urgency=medium

  * d/control: update dependencies for the Main Inclusion Request (LP: #2061089):
    - Swap libheif-plugin-aomdec and libheif-plugin-dav1d.
    - Demote libheif-plugin-x265 to Suggests.

 -- Vladimir Petko <email address hidden> Tue, 16 Apr 2024 20:36:05 +1200

Changed in libheif (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.