[Bug 1951278] Re: kimageformat-plugins should be built with HEIC / HEIF support

EdwardO 1951278 at bugs.launchpad.net
Mon Mar 28 09:51:13 UTC 2022


Here is the required change to debian package control/rule information:

--- i/debian/control
+++ w/debian/control
@@ -9,4 +9,5 @@ Build-Depends: cmake (>= 3.16~),
                extra-cmake-modules (>= 5.90.0~),
                libavif-dev (>= 0.8.2~),
+               libheif-dev (>= 1.10.0~),
                libkf5archive-dev,
                libopenexr-dev,
--- i/debian/rules
+++ w/debian/rules
@@ -15,4 +15,7 @@ endif
        dh $@ --with kf5,pkgkde_symbolshelper --buildsystem kf5 --without build_stamp
 
+override_dh_auto_configure:
+       dh_auto_configure --buildsystem=kf5 -O--buildsystem=kf5 -- -DKIMAGEFORMATS_HEIF=ON
+
 override_dh_auto_test:
        xvfb-run -a dh_auto_test $(fail_param)

I tested it on Ubuntu 22.04 alpha, libheif1 1.12.0-2build1, kimageformat-plugins 5.92.0-0ubuntu1.
The following additional files are installed:

dpkg -L kimageformat-plugins | grep heif
/usr/lib/x86_64-linux-gnu/qt5/plugins/imageformats/kimg_heif.so
/usr/share/kservices5/qimageioplugins/heif.desktop

I can contribute it but I don't see the ubuntu package git repo.

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kimageformats in Ubuntu.
https://bugs.launchpad.net/bugs/1951278

Title:
  kimageformat-plugins should be built with HEIC / HEIF support

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kimageformats/+bug/1951278/+subscriptions





More information about the kubuntu-bugs mailing list