GNU bug report logs - #78537
GIMP startup crash on minimal xorg/wm unless gtk+ in profile

Previous Next

Package: guix;

Reported by: Runciter <runciter <at> whispers-vpn.org>

Date: Wed, 21 May 2025 15:36:03 UTC

Severity: normal

Merged with 78667

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Runciter <runciter <at> whispers-vpn.org>
To: 78537 <at> debbugs.gnu.org
Cc: maxim.cournoyer <at> gmail.com, Runciter <runciter <at> whispers-vpn.org>
Subject: [PATCH v2] gnu: gimp-3: fix missing wrapping for gtk+ data files.
Date: Fri, 20 Jun 2025 23:27:42 +0000
* gnu/packages/gimp.scm (gimp-3)[arguments]<phases>:
  Add wrapping for gtk+ data files in prefix to XDG_DATA_DIRS.

Signed-off-by: Runciter <runciter <at> whispers-vpn.org>
---
 gnu/packages/gimp.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gimp.scm b/gnu/packages/gimp.scm
index c602d3083a..e885e89784 100644
--- a/gnu/packages/gimp.scm
+++ b/gnu/packages/gimp.scm
@@ -466,7 +466,9 @@ (define-public gimp-3
                         `("GI_TYPELIB_PATH" =
                           (,(getenv "GI_TYPELIB_PATH")))
                         `("GUIX_PYTHONPATH" suffix
-                          (,(getenv "GUIX_PYTHONPATH")))))
+                          (,(getenv "GUIX_PYTHONPATH")))
+                        `("XDG_DATA_DIRS" prefix
+                          (,(string-append #$gtk+ "/share")))))
                     (find-files (string-append #$output "/bin")
                                 (lambda (_ stat)
                                   (eq? 'regular (stat:type stat))))))))))

base-commit: a5768ec09332a625c709a20f76f0227aab2a9e5f
-- 
2.49.0






This bug report was last modified 11 days ago.

Previous Next


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