From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 18 07:21:54 2022 Received: (at 56382) by debbugs.gnu.org; 18 Jul 2022 11:21:54 +0000 Received: from localhost ([127.0.0.1]:49320 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDOp0-00085a-Eo 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 ) 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 To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#56382] [PATCH] gnu: gajim: Use hicolor-icon-theme to avoid crashing on startup References: <87sfn6asfz.fsf@gnu.org> <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 =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?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: 56382 Cc: Raghav Gururajan , 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello! Ludovic Court=C3=A8s writes: [...] >>> Right, so the proposed patch (adding =E2=80=98hicolor-icon-theme=E2=80= =99 to =E2=80=98inputs=E2=80=99, >>> not =E2=80=98propagated-inputs=E2=80=99) shouldn=E2=80=99t make any dif= ference 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 > 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/profil= e --search-paths > /dev/null > > real 0m0.540s > user 0m0.131s > sys 0m0.063s > $ time guix package -p ~/.guix-home/profile -p /run/current-system/profil= e --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