GNU bug report logs

#20255 'search-paths' should respect both user and system profile.

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

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

Received: (at 20255) by debbugs.gnu.org; 18 Jul 2022 11:21:54 +0000
From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 18 07:21:54 2022
Received: from localhost ([127.0.0.1]:49318 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1oDOp0-00085Y-0K
	for submit@debbugs.gnu.org; Mon, 18 Jul 2022 07:21:54 -0400
Received: from mail-qt1-f175.google.com ([209.85.160.175]:43727)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@gmail.com>)
 id 1oDOou-00084y-HW; Mon, 18 Jul 2022 07:21:49 -0400
Received: by mail-qt1-f175.google.com with SMTP id a9so8409974qtw.10;
 Mon, 18 Jul 2022 04:21:48 -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=QnebC4v9Of8Z3sryzCjXmI7hUlxj3D7aIiV4baEPYEg=;
 b=d/qIEgAl6iboPOFeEeXl/Lq8KjdjDD28iQ89s+OHO/yETXEqFeGXPKr6YQIp9mqAoJ
 7tAQIefG8teGuX1hDZpH+WECWtulXRmaNGdK5CiLlbk8MqFBGUVlTVltxnPAYO/NK4mG
 1Xv48dy35XByRgzFErKiwHkQTHd1YSl3ixt4KY3p4aEUNTi8vrkto/DHMbIAgEOMe0l1
 SJWY/6BBlUyX6LSqSM0/sw7zYYea7gLrH68ftjSKvW0cW6OkqOjYMQR9v1tSzSevXhXj
 FC0Ttf3PdWtrcr5OazylVrZQU3hXAV1s+Qq1Ri+LorrZ3SCFLTOIaqxnL29TU9uC+xF0
 ezqg==
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=QnebC4v9Of8Z3sryzCjXmI7hUlxj3D7aIiV4baEPYEg=;
 b=2eZrSYjMQVCBX+y+tWVNtl1jBXX6dRiB+A7FGFXgedqPfiCIJms8cE4dqHo2cbMJv2
 UbnmVvmJBooUN1pWi2sVqnmBkpraqjAuGpG7TcCI1H3CgLLI2j5or+MX/fShfWrKCrEz
 pjOD+oap9tZ14+eLRA0mm4paguGK6AN7vW/EJ8w7b5yyxxGm6pr1ucqlVBxB/DTuOeqY
 a8i5LgqGuAZgRdo8zugw869nAcknUtY4E/XRMVx932sneWakh32yybJKMhCQV0f7OBZZ
 B2PpZ0qpvuEtaIb49CiHo+swmsR5pXRNe1mFzpJYK1OY64K37vtUAZgtACZrIRqBlPl1
 VExw==
X-Gm-Message-State: AJIora/1SOlCWi7MqpMdg8XiA4SfqmgllRbh405B+4iaDcX644bknXeF
 8E1urWOtSE1b/NgpgX+aINYnMPU5py5QdQ==
X-Google-Smtp-Source: AGRyM1uNc5OFOLHhen7XP7oZJWULBsvfHVsMk7MF4nyXqOJQnA/oyrF+6ECCvdc5AKHNLYM3hUWRSA==
X-Received: by 2002:a05:622a:30c:b0:31e:bc56:98e4 with SMTP id
 q12-20020a05622a030c00b0031ebc5698e4mr20909493qtw.679.1658143302732; 
 Mon, 18 Jul 2022 04:21:42 -0700 (PDT)
Received: from hurd (dsl-205-151-56-157.b2b2c.ca. [205.151.56.157])
 by smtp.gmail.com with ESMTPSA id
 z25-20020ac87cb9000000b0031d283f4c4dsm8630169qtv.60.2022.07.18.04.21.41
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 18 Jul 2022 04:21:42 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: Ludovic Courtès <ludo@gnu.org>
Subject: Re: [bug#56382] [PATCH] gnu: gajim: Use hicolor-icon-theme to avoid
 crashing on startup
References: <87sfn6asfz.fsf@gnu.org>
 <DM5PR03MB31633E3B8D7FB6CF9CD13BE5C5BE9@DM5PR03MB3163.namprd03.prod.outlook.com>
 <ff47ca4d7bfe0148f827dac382ca6211@raghavgururajan.name>
 <877d4e8r79.fsf@gnu.org> <87tu7hsupr.fsf@gmail.com>
 <87k08a3h0s.fsf@gnu.org>
Date: Mon, 18 Jul 2022 07:21:40 -0400
In-Reply-To: <87k08a3h0s.fsf@gnu.org> ("Ludovic Courtès"'s message of "Mon, 18 Jul 2022 11:29:55 +0200")
Message-ID: <87edyism2j.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-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 20255
Cc: Raghav Gururajan <rg@raghavgururajan.name>, 56382@debbugs.gnu.org,
 20255@debbugs.gnu.org, Morgan.J.Smith@outlook.com
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: -1.0 (-)
Hello!

Ludovic Courtès <ludo@gnu.org> writes:

[...]

>>> Right, so the proposed patch (adding ‘hicolor-icon-theme’ to ‘inputs’,
>>> not ‘propagated-inputs’) shouldn’t make any difference I guess?
>>
>> I think it works as inputs because of our wrappers (perhaps
>> XDG_DATA_DIRS)?  But it's kind at odds with our policy which is to let
>> users manage icons themselves.
>
> Yeah.
>
>> Probably because of #20255 that wouldn't help currently (system and user
>> profiles are not merged), but if we fixed that bug we could make the
>> situation better by adding 'hicolor-icon-theme' to the default packages
>> of our desktop system templates.
>
> Right.
>
> BTW, the reason the solution at <https://issues.guix.gnu.org/20255#12>
> was rejected could be revisited.  Since that time, search paths made it
> into the manifest itself, which brings a speed up:
>
> $ sudo sh -c 'echo 3 > /proc/sys/vm/drop_caches '
> $ time guix package -p ~/.guix-home/profile -p /run/current-system/profile --search-paths > /dev/null
>
> real    0m0.540s
> user    0m0.131s
> sys     0m0.063s
> $ time guix package -p ~/.guix-home/profile -p /run/current-system/profile --search-paths > /dev/null
>
> real    0m0.135s
> user    0m0.130s
> sys     0m0.024s
>
> Thoughts?

Re-reading the bug report, we had come up with a blueprint of a possible
solution  but failed short of implementing it [0]

[0]  https://issues.guix.gnu.org/20255#35

Even the --search-paths command become 0.2 s, I don't think it'll
satisfy all parties, so the solution above still has merit, I think.
Perhaps we should try to implement it, unless you see a problem with it.

Thanks,

Maxim




Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Sun Sep 7 12:34:06 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.