GNU bug report logs - #63427
gdk-pixbuf unable to recognize image formats (JPG, PNG, etc.)

Previous Next

Package: guix;

Reported by: Nathan Dehnel <ncdehnel <at> gmail.com>

Date: Wed, 10 May 2023 18:52:01 UTC

Severity: normal

Done: "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de>

Bug is archived. No further changes may be made.

Full log


Message #47 received at 63427 <at> debbugs.gnu.org (full text, mbox):

From: "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: Nathan Dehnel <ncdehnel <at> gmail.com>, Josselin Poiret <dev <at> jpoiret.xyz>,
 Liliana Marie Prikler <liliana.prikler <at> gmail.com>, 63427 <at> debbugs.gnu.org
Subject: Re: bug#63427: gdk-pixbuf unable to recognize image formats (JPG,
 PNG, etc.)
Date: Wed, 15 Jan 2025 15:28:17 +0100
[Message part 1 (text/plain, inline)]
Thank you Maxim for waking up the bug and giving an essential hint,
because I did not understand the bug anymore.

Indeed, without wrapping GDK_PIXBUF_MODULE_FILE as in my patch

guix shell --pure viewnior gdk-pixbuf webp-pixbuf-loader

does open webp files fine.

Wrapping it with the attached patch,

guix shell --pure viewnior

also opens webp files fine, but only after I have added
webp-pixbuf-loader to viewnior’s inputs.

But wrapping inhibits webp-pixbuf-loader when I don’t add it to inputs
even with

guix shell --pure viewnior gdk-pixbuf webp-pixbuf-loader

So wrapping apparently hard-codes which input formats there are.

Notably librsvg exceptionally does not need to be added explicitly.

Is it better to wrap viewnior and hard-code the supported image formats,
as I wanted, so installing only viewnior is enough?

Or better drop the attached patch and users need to install gdk-pixbuf
webp-pixbuf-loader as well?

I tend to prefer to wrap viewnior.

Regards,
Florian
[viewnior-Support-image-formats-out-of-the-box.patch (text/x-patch, attachment)]

This bug report was last modified 130 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.