From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2Br/NYbMzWICCAEAbAwnHQ (envelope-from ) for ; Tue, 12 Jul 2022 21:33:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 2PseNYbMzWKWQAEAG6o9tA (envelope-from ) for ; Tue, 12 Jul 2022 21:33:26 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8E36E16A32 for ; Tue, 12 Jul 2022 21:33:26 +0200 (CEST) Received: from localhost ([::1]:33564 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oBLdN-0003Gg-OS for larch@yhetil.org; Tue, 12 Jul 2022 15:33:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41552) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBLd0-0003EX-Q7 for bug-guix@gnu.org; Tue, 12 Jul 2022 15:33:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49779) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oBLd0-0003MD-HV for bug-guix@gnu.org; Tue, 12 Jul 2022 15:33:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oBLd0-0004U8-CU for bug-guix@gnu.org; Tue, 12 Jul 2022 15:33:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#55634: inkscape does not find icons, needs wrapping or such for GDK_PIXBUF_MODULE_FILE Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 12 Jul 2022 19:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55634 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxime Devos Cc: 55634@debbugs.gnu.org Received: via spool by 55634-submit@debbugs.gnu.org id=B55634.165765437817229 (code B ref 55634); Tue, 12 Jul 2022 19:33:02 +0000 Received: (at 55634) by debbugs.gnu.org; 12 Jul 2022 19:32:58 +0000 Received: from localhost ([127.0.0.1]:43676 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBLcv-0004Tp-QM for submit@debbugs.gnu.org; Tue, 12 Jul 2022 15:32:58 -0400 Received: from mail-qk1-f176.google.com ([209.85.222.176]:34696) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBLcu-0004Tb-89 for 55634@debbugs.gnu.org; Tue, 12 Jul 2022 15:32:56 -0400 Received: by mail-qk1-f176.google.com with SMTP id b25so6606920qkl.1 for <55634@debbugs.gnu.org>; Tue, 12 Jul 2022 12:32:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=AW7IHqJlgspC0SA5t1NCqBp1hy4axY3aBM5Sk7n9np0=; b=fYlqoVDiSR68qzyKQr+vgNUdkLzHiMmMTjtGuH22Tez294tvStGTAjt/6at/8xhJGI xfsP4okGFOdCCLLQd+R547nUnDvwV8ysJ5GM2DsE7+sYJV6l/TIDpfagZhaOBwbdqFVX mO1CaVPl6b2IckpsYrGyf3xMT68ME83bvaIbWbX+6E7z+jl4Hs+QBAH2ZwjZJYeQIQwI x5fUAJ0utQW25DYQs4Htk/ehfjj5idgCxBdMpavNF0uswTms3RiF8H4irwixwqXCD78Z VLrJpseWfTlV8lhrdm0DiVq0K9FLYkxNuaaQVaSHnzCfVDAsG1k8CY+zpxhiWFXkPGS4 2aMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=AW7IHqJlgspC0SA5t1NCqBp1hy4axY3aBM5Sk7n9np0=; b=I/0GL9jeMkgpdzMN8y78M4GeeBBrbwLEocEWd1YaBZOzUOFx8kJtogUA0GmvvkWS6m 6bnN4JPGWefcSCKwfooUkNeJOV/sWk6Ll/HwB0sA3gnm5MICjVS3hEtYqbxUbXlMvlWf uQBFTFl9g37sZmdpoZv5yUEhDKQcmxNu88BTKuzMlMzjVpj5AAcNeWDBA/ccQJGpdyga +3SeQ6Spk3edNCMFZ3mqYrefghdAKtm7OgIwtjBDbV5gNVsTLUkpHQp+QuosAfahha98 fZq/AS3o08yDYCU9dyWtcLXHAdT4rH3Q3CS/qlIsjekOwgdrz5limDj693gtS1xRSBO4 Nckw== X-Gm-Message-State: AJIora+MxBdyIGGZHyHop22958n89gnC0r1SUevGszU/r5yaNa7vLMCj aXiTBBbBejyNwsuZikOB/FHQkt0t/BFWYh5o X-Google-Smtp-Source: AGRyM1tjl6DWarB5b0mXlgGlL10oftZ5wc1ri7IudyOBtatXL2j6rbdwze7rypqRjAR/xbUQeydq6w== X-Received: by 2002:ae9:edd7:0:b0:6b5:8195:a4a5 with SMTP id c206-20020ae9edd7000000b006b58195a4a5mr8891252qkg.286.1657654370390; Tue, 12 Jul 2022 12:32:50 -0700 (PDT) Received: from hurd (dsl-155-226.b2b2c.ca. [66.158.155.226]) by smtp.gmail.com with ESMTPSA id k10-20020ac8604a000000b0031eb51dd72csm4828620qtm.85.2022.07.12.12.32.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Jul 2022 12:32:49 -0700 (PDT) From: Maxim Cournoyer References: <0db9db95c05d2785d0b2e6b7b32a2b6a3770df1c.camel@telenet.be> Date: Tue, 12 Jul 2022 15:32:48 -0400 In-Reply-To: <0db9db95c05d2785d0b2e6b7b32a2b6a3770df1c.camel@telenet.be> (Maxime Devos's message of "Wed, 25 May 2022 16:08:25 +0200") Message-ID: <874jzm6s9r.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1657654406; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=AW7IHqJlgspC0SA5t1NCqBp1hy4axY3aBM5Sk7n9np0=; b=JTg6r4z46Z2P9qkAXF/9Ad6TbPFntOJHQuUSjqwZgWYa6fWWrGRC6wcyFzgs7fnsvipxYT tSbyNe36BoKFKrMgqQ7DVujGyq2mJHBF8o35B6knD59EdKXSdgmOX1oIqmS6oewuzPNrae rRm1J68psdZF3q7iIcyoM9skOsT/1fsgLj51cNPRM029fePBCan4taDiKIoc08Cow+DAtm 8wC54D2kEaLlZG4Fbcvt1xWJX2NIxfFspRBCokTpbFFeYofHfSL9LaJKX+P4oWLytwb9/5 J0uOsoLIpT0wz9ufol7lWyWBpd28r8ZJjkIjFZSQ2BctRH9c4UFPAlEIq/lxUg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657654406; a=rsa-sha256; cv=none; b=iDKecjIsZYRwgQk1efRn/V+6iNTXiigdDq2tJ9AWu2cXajzxgzf+6IyBKj/eK2uGeH0tJt gvIpxwJVaia1G6xQbcLCiaEe+lefKf1ZxVXEQrRGE26gE1/ejkdSqelhEhc9nMJ1Pes5yK pVZej4d6HAFwRtH7K5EbLnj+8sjZQBn719vZF0QVbZwCjh5jPtCeRvBcDA4YFUqPup2EHX wQ6zy4ASZIW8zLfrSMhuQmzKNW0JKGGFGucfhR/YtDX5zF7lMjes8yjcEglphnidKW9Pof zlFIyoP3DRFLzodb5hwVvqdMMmrVWw5dICAPGwMhLT/1v3zpyxd4nIkWYbzVcA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=fYlqoVDi; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 4.45 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=fYlqoVDi; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 8E36E16A32 X-Spam-Score: 4.45 X-Migadu-Scanner: scn0.migadu.com X-TUID: k09NrbpJrKrp Hi, Maxime Devos writes: > Broken: > > $ guix shell --pure inkscape -- inkscape > > (crashes on start with =E2=80=98Inkscape encountered an internal error an= d will > close now=E2=80=99.) > > Work-around: > > $ guix shell --pure inkscape gdk-pixbuf -- inkscape > > also works: > > $ guix shell --pure inkscape gdk-pixbuf -- /usr/bin/env > GDK_PIXBUF_MODULE_FILE=3D/gnu/store/[...]-profile/lib/gdk-pixbuf-2.0/2.10= .0/loaders.cache > inkscape I'm surprised gdk-pixbuf is enough; I would have expected you need to add adwaita-icon-theme and librsvg (for the SVG pixbuf loader). I guess it has all the icons already but doesn't have even a non-svg loader. The annoying part with GDK_PIXBUF_MODULE_FILE is that if we wrap it, it can't be extended by the user given the variable takes a single value; so suppose we wrap it without librsvg, then Inkscape will loose the ability to load the SVG version of its icon, which probably look better on high resolution displays. Currently, I think we also cannot add librsvg to inkscape inputs, as it would introduce a cycle; we'd have to come up with a new minimal variant used by dblatex. I guess we could have a minimal and a full-blown version of Inkscape, the later which would include librsvg and wrap GDK_PIXBUF_MODULE_FILE. Thanks, Maxim