GNU bug report logs

#78537 GIMP startup crash on minimal xorg/wm unless gtk+ in profile

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Full log

Message #31 received at 78537@debbugs.gnu.org (full text, mbox, reply):

Received: (at 78537) by debbugs.gnu.org; 23 Jun 2025 04:55:58 +0000
From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 23 00:55:58 2025
Received: from localhost ([127.0.0.1]:52291 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1uTZDq-0003YF-3v
	for submit@debbugs.gnu.org; Mon, 23 Jun 2025 00:55:58 -0400
Received: from mail-4317.protonmail.ch ([185.70.43.17]:15347)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <runciter@whispers-vpn.org>)
 id 1uTZDk-0003XV-Vs
 for 78537@debbugs.gnu.org; Mon, 23 Jun 2025 00:55:55 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whispers-vpn.org;
 s=protonmail2; t=1750654545; x=1750913745;
 bh=Pegt2Z6QP90/mWLmUNME0QIeKFNvmFt3awPdlb5TzaY=;
 h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date:
 Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector;
 b=b/uUM5X2N+yhJSyXbd0J21K91Eis7bnOGWnj3m/BJ1Br8YMeWGJThNkyQ/yM1Pd6C
 8ICy+3Wdr6Kx1JKuQ/ePfHArG8NGlaQiXoVCcyNtBg7ffttQ9oNlTMvVfiik+57D21
 OAifJOOCy9tWzcb15eeNNbVFtyN4vo8Ble1ZeC4SRDqdevCxtF31AybjezBeBH7CmG
 lxbKxhJzy/CeUPqRFGY0JJ0vCDLCCGkebtUbjbkh1e13HcieVyPqK3Dzj4l7UbI18+
 vY4524bRq8INptwH4rTJzBzthBPrFiieNC9docNj8hUDdy8YfjeYU7nOitJ4TMiMU8
 NkbJvWyLEhT9g==
Date: Mon, 23 Jun 2025 04:55:42 +0000
To: 78537@debbugs.gnu.org
From: Runciter <runciter@whispers-vpn.org>
Subject: [PATCH v3] gnu: gimp-3: fix missing wrapping for gtk+ data files.
Message-ID: <5b278096b87b550de8ef6d597351110e09d66c76.1750654399.git.runciter@whispers-vpn.org>
Feedback-ID: 119317227:user:proton
X-Pm-Message-ID: 9db18f56bd539d6c4b519ab29ef53aa954bc1900
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -1.0 (-)
X-Debbugs-Envelope-To: 78537
Cc: maxim.cournoyer@gmail.com, Runciter <runciter@whispers-vpn.org>
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit@debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request@debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-Spam-Score: -2.0 (--)
* gnu/packages/gimp.scm (gimp-3)[arguments]<phases>:
  Add wrapping for gtk+ data files in prefix to XDG_DATA_DIRS.
  Change wrapping of GI_TYPELIB_PATH and GUIX_PYTHONPATH to prefix.

Change-Id: Ib6290bf5fbbf6268a03f75c89e0bb29c907fdf33
Signed-off-by: Runciter <runciter@whispers-vpn.org>
---
 gnu/packages/gimp.scm | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/gimp.scm b/gnu/packages/gimp.scm
index c602d3083a..65acc70a28 100644
--- a/gnu/packages/gimp.scm
+++ b/gnu/packages/gimp.scm
@@ -460,13 +460,15 @@ (define-public gimp-3
                    (for-each
                     (lambda (prog)
                       (wrap-program prog
-                        ;; Ensure GI_TYPELIB_PATH is not extended from the
+                        ;; Ensure GI_TYPELIB_PATH is not suffixed to the
                         ;; environment, as it could cause Gimp to crash (see
                         ;; bug#77921).
-                        `("GI_TYPELIB_PATH" =
+                        `("GI_TYPELIB_PATH" prefix
                           (,(getenv "GI_TYPELIB_PATH")))
-                        `("GUIX_PYTHONPATH" suffix
-                          (,(getenv "GUIX_PYTHONPATH")))))
+                        `("GUIX_PYTHONPATH" prefix
+                          (,(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






Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Tue Sep 9 00:39:43 2025; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.