Bug 2015742 - imlib2 is packaged without webp support
Summary: imlib2 is packaged without webp support
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: imlib2
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomas Smetana
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-20 01:37 UTC by Marco Moniz
Modified: 2021-10-26 09:24 UTC (History)
2 users (show)

Fixed In Version: imlib2-1.7.4-1.fc36
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-20 15:14:58 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Image used for testing (146 bytes, image/webp)
2021-10-20 01:37 UTC, Marco Moniz
no flags Details

Description Marco Moniz 2021-10-20 01:37:53 UTC
Created attachment 1834922 [details]
Image used for testing

Description of problem:

`imlib2` is capable of loading WebP images since version 1.6.0, but the packages
currently available on Fedora repositories (built on version 1.6.1) don't make use of that feature because of it being disabled when configuring due to a missing BuildRequires on libwebp-devel.

Version-Release number of selected component (if applicable): 1.6.1-3


How reproducible: Always


Steps to Reproduce:

1. Install an image viewer that uses imlib2 for loading images (such as feh or
   sxiv)
2. Open a WebP image using that image viewer

Actual results:

Image viewer notifies an error loading the image and exits. 

Expected results:

Image viewer loads and displays the WebP image.

Additional info:

Note that the package is also outdated, with 1.6.1 released on December 2019
and the current version being 1.7.4, released on September 2021.

feh outputs:

    $ feh Descargas/WebP-Gradient.webp
    feh WARNING: Descargas/WebP-Gradient.webp - No Imlib2 loader for that file format
    feh: No loadable images specified.
    See 'man feh' for detailed usage information

and sxiv outputs:

    $ sxiv Descargas/WebP-Gradient.webp
    sxiv: Descargas/WebP-Gradient.webp: Error opening image
    sxiv: no more files to display, aborting

Build logs show the option being disabled under "Configuration Options Summary":

https://kojipkgs.fedoraproject.org//packages/imlib2/1.6.1/3.fc34/data/logs/x86_64/build.log

Comment 1 Fedora Update System 2021-10-20 15:14:02 UTC
FEDORA-2021-46382dbc1e has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2021-46382dbc1e

Comment 2 Fedora Update System 2021-10-20 15:14:58 UTC
FEDORA-2021-46382dbc1e has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 3 Marco Moniz 2021-10-20 17:49:42 UTC
Great! Thanks for the quick response, just a question, is this update also coming to other Fedora releases such as 35 and 34?

Comment 4 Tomas Smetana 2021-10-25 08:42:23 UTC
I can rebuild the imlib2 in F34 and F35 with webp support I guess. I don't want to rebase in the stable releases though: there are some ABI changes (albeit compatible) and the security bugs were patched so the need to rebase is small.

Comment 5 Tomas Smetana 2021-10-26 09:24:17 UTC
New 1.6.1 releases with webp support:

imlib2-1.6.1-4.fc34: https://bodhi.fedoraproject.org/updates/FEDORA-2021-a21bbc056e
imlib2-1.6.1-5.fc35: https://bodhi.fedoraproject.org/updates/FEDORA-2021-8e0fef9eaa


Note You need to log in before you can comment on or make changes to this bug.