Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 703866 - media-libs/libwebp without gui-libs/gdk-pixbuf-loader-webp no longer provides GNOME applications with WEBP support
Summary: media-libs/libwebp without gui-libs/gdk-pixbuf-loader-webp no longer provides...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: PullRequest
: 865717 (view as bug list)
Depends on:
Blocks: 849380 889808
  Show dependency tree
 
Reported: 2019-12-26 18:22 UTC by David Heidelberg (okias)
Modified: 2024-01-13 14:56 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Adding webp support to gdk-pixbuf using gdk-pixbuf-loader-webp (gdk-pixbuf-2.42.6.ebuild.patch,943 bytes, patch)
2021-10-15 04:37 UTC, Dmitry Suloev
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Heidelberg (okias) 2019-12-26 18:22:28 UTC
All GNOME application are unable to handle webp format.

This is outgoing of libwebp not providing gdk-pixbuf support.

Solution is to install gdk-pixbuf-loader-webp, which supply this functionality, instead of poor Google approach to ignore support inside libwebp.

Reproducible: Always

Steps to Reproduce:
a) Run any GNOME based application, image viewer or client (I tested on Fractal and Images)

or 

b) run gdk-pixbuf-pixdata ~/nexus7_gnome_maps.webp ~/test

Actual Results:  
a) fails to open webp image

b)
failed to load "/home/okias/nexus7_gnome_maps.webp": Couldn?t recognize the image file format for file ?/home/okias/nexus7_gnome_maps.webp?


Expected Results:  
a) webp file should be shown.

b) file ~/test is created
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2019-12-27 15:51:56 UTC

*** This bug has been marked as a duplicate of bug 703864 ***
Comment 2 David Heidelberg (okias) 2019-12-30 00:29:30 UTC
Please, do not rename bug, while losing it's original name meaning.

This issue exist, since user is not able to work with (widespread) webp format as with other formats is and bumping version for x11-libs/gdk-pixbuf-loader-webp itself won't solve it.

This issue must be solved by providing users information or possibility how to enable WEBP support without searching trough packages for "gdk-pixbuf-loader-webp", which isn't typical package which came to your mind when webp support is missing.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2019-12-30 07:48:50 UTC
(In reply to David Heidelberg (okias) from comment #2)
> Please, do not rename bug, while losing it's original name meaning.

It originally had little to no meaning. It could barely have been called English.
Comment 4 David Heidelberg (okias) 2019-12-30 15:18:17 UTC
sorry about english. thank you for correction.
Comment 5 David Heidelberg (okias) 2020-03-11 18:23:20 UTC
0.0.1 version officially released.
Comment 6 Pacho Ramos gentoo-dev 2021-09-02 13:36:13 UTC
It would be nice to have a way to pull in gui-libs/gdk-pixbuf-loader-webp automatically when people have USE webp enabled system wide... but I am unsure where to put that dep... one of the big gnome metapackages? x11-libs/gdk-pixbuf?
Comment 7 Dmitry Suloev 2021-10-15 04:37:19 UTC
Created attachment 744993 [details, diff]
Adding webp support to gdk-pixbuf using gdk-pixbuf-loader-webp
Comment 8 Dmitry Suloev 2021-10-15 04:39:20 UTC
Seems like adding webp USE-flag to gdk-pixbuf is right place because it do all work.
Comment 9 Nikos Chantziaras 2022-02-20 13:42:39 UTC
I use media-gfx/eog as an image viewer and it can't handle webp images. I had to manually emerge gui-libs/gdk-pixbuf-loader-webp to fix it.
Comment 10 Pacho Ramos gentoo-dev 2022-08-08 07:58:26 UTC
It seems it was added to core-deps for Gnome 43 by upstream due to it being needed by future gnome-backgrounds-43:
https://gitlab.gnome.org/GNOME/eog/-/commit/1eb9734e25d33d8d7f378651054df3ec1228c5d4
Comment 11 Pacho Ramos gentoo-dev 2022-09-03 10:35:08 UTC
*** Bug 865717 has been marked as a duplicate of this bug. ***
Comment 12 Pacho Ramos gentoo-dev 2023-10-08 13:09:30 UTC
(In reply to Pacho Ramos from comment #10)
> It seems it was added to core-deps for Gnome 43 by upstream due to it being
> needed by future gnome-backgrounds-43:
> https://gitlab.gnome.org/GNOME/eog/-/commit/
> 1eb9734e25d33d8d7f378651054df3ec1228c5d4

But this will reappear as latest gnome-backgrounds-45 stopped using webp again :/

After reading:
https://bugs.gentoo.org/889808#c1

I would opt for adding a dependency to webp loader in x11-libs/gdk-pixbuf under "webp" USE flag. Otherwise, we will rely on other meta packages from different desktop environments to ensure the loader is pulled in the dependencies :/