GNU bug report logs - #76697
gdk-pixbuf GDK_PIXBUF_MODULE_FILES search path breaks some packages

Previous Next

Package: guix;

Reported by: Morgan Smith <Morgan.J.Smith <at> outlook.com>

Date: Mon, 3 Mar 2025 00:59:02 UTC

Severity: normal

Done: 宋文武 <iyzsong <at> envs.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: 宋文武 <iyzsong <at> envs.net>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#76697: closed (gdk-pixbuf GDK_PIXBUF_MODULE_FILES search path
 breaks some packages)
Date: Mon, 03 Mar 2025 04:56:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 03 Mar 2025 12:59:16 +0800
with message-id <87ikoq3e1n.fsf <at> envs.net>
and subject line Re: bug#76697: gdk-pixbuf GDK_PIXBUF_MODULE_FILES search path breaks some packages
has caused the debbugs.gnu.org bug report #76697,
regarding gdk-pixbuf GDK_PIXBUF_MODULE_FILES search path breaks some packages
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
76697: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=76697
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Morgan Smith <Morgan.J.Smith <at> outlook.com>
To: bug-guix <at> gnu.org
Subject: gdk-pixbuf GDK_PIXBUF_MODULE_FILES search path breaks some packages
Date: Sun, 02 Mar 2025 19:57:47 -0500
I tried to reopen this bug instead of making a new one but I guess it's
archived or something? bug#75795

Changing the search-path-specification of gdk-pixbuf has broken the
build of transmission as this phase now errors out:

=========
(wrap-program (string-append #$output:gui "/bin/transmission-gtk")
  ;; Wrapping GDK_PIXBUF_MODULE_FILE allows Transmission to load
  ;; its own icons in pure environments.
  `("GDK_PIXBUF_MODULE_FILE" =
    (,(getenv "GDK_PIXBUF_MODULE_FILE"))))
=========

Doing a quick search it looks like there at least 10 packages that need
to be adjusted


[Message part 3 (message/rfc822, inline)]
From: 宋文武 <iyzsong <at> envs.net>
To: Morgan Smith <Morgan.J.Smith <at> outlook.com>
Cc: Vivien Kraus <vivien <at> planete-kraus.eu>,
 宋文武 <iyzsong <at> member.fsf.org>, 76697-done <at> debbugs.gnu.org,
 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Subject: Re: bug#76697: gdk-pixbuf GDK_PIXBUF_MODULE_FILES search path
 breaks some packages
Date: Mon, 03 Mar 2025 12:59:16 +0800
Morgan Smith <Morgan.J.Smith <at> outlook.com> writes:

> I tried to reopen this bug instead of making a new one but I guess it's
> archived or something? bug#75795
>
> Changing the search-path-specification of gdk-pixbuf has broken the
> build of transmission as this phase now errors out:
>
> =========
> (wrap-program (string-append #$output:gui "/bin/transmission-gtk")
>   ;; Wrapping GDK_PIXBUF_MODULE_FILE allows Transmission to load
>   ;; its own icons in pure environments.
>   `("GDK_PIXBUF_MODULE_FILE" =
>     (,(getenv "GDK_PIXBUF_MODULE_FILE"))))
> =========
>
> Doing a quick search it looks like there at least 10 packages that need
> to be adjusted

Hello, I had pushed fixes for transmission and xournalpp.  Other using
glib-or-gtk or meson build system still works as GDK_PIXBUF_MODULE_FILE
was set in the generate-gdk-pixbuf-loaders-cache-file phase.

Wrap binaries with GUIX_GDK_PIXBUF_MODULE_FILES is not ideal currently,
since it would contain duplicated loaders from cache files.  After we
remove the generate-gdk-pixbuf-loaders-cache-file phase, we can wrap
with GUIX_GDK_PIXBUF_MODULE_FILES, which should mostly only contains
gdk-pixbuf and librsvg.

Thanks.


This bug report was last modified 132 days ago.

Previous Next


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