From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6NSeDeOwql+mJgAA0tVLHw (envelope-from ) for ; Tue, 10 Nov 2020 15:25:23 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id wHiBCeOwql8TLgAAbx9fmQ (envelope-from ) for ; Tue, 10 Nov 2020 15:25:23 +0000 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 A5A48940363 for ; Tue, 10 Nov 2020 15:25:22 +0000 (UTC) Received: from localhost ([::1]:58262 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kcVWK-00048C-8b for larch@yhetil.org; Tue, 10 Nov 2020 10:25:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49990) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcVW2-00046W-EP for bug-guix@gnu.org; Tue, 10 Nov 2020 10:25:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:55342) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kcVW2-0007D1-49 for bug-guix@gnu.org; Tue, 10 Nov 2020 10:25:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kcVW2-0005n7-0x for bug-guix@gnu.org; Tue, 10 Nov 2020 10:25:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#36376: Application menu of desktop environment not automatically updated Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 10 Nov 2020 15:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36376 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Received: via spool by 36376-submit@debbugs.gnu.org id=B36376.160502185022171 (code B ref 36376); Tue, 10 Nov 2020 15:25:01 +0000 Received: (at 36376) by debbugs.gnu.org; 10 Nov 2020 15:24:10 +0000 Received: from localhost ([127.0.0.1]:38648 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kcVVB-0005lW-Nn for submit@debbugs.gnu.org; Tue, 10 Nov 2020 10:24:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49652) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kcVVA-0005lG-8A; Tue, 10 Nov 2020 10:24:08 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34304) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kcVV3-0006sa-Fk; Tue, 10 Nov 2020 10:24:01 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=44716 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kcVV0-0006xD-2l; Tue, 10 Nov 2020 10:23:59 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <871rzhn483.fsf@gnu.org> <87o8keawju.fsf@gnu.org> <87d00swboe.fsf@gmail.com> <878sbexylp.fsf@gnu.org> <87r1p6tiut.fsf@gmail.com> Date: Tue, 10 Nov 2020 16:23:55 +0100 In-Reply-To: <87r1p6tiut.fsf@gmail.com> (Maxim Cournoyer's message of "Fri, 06 Nov 2020 13:56:10 -0500") Message-ID: <87lff9nsl0.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Leo Prikler , 35594@debbugs.gnu.org, 36376@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -0.01 X-TUID: 56iuG+Nnio6x Hi Maxim, So I went further to test the initial GLib patch I posted in =E2=80=9Creal conditions=E2=80=9D. =E2=80=98guix system vm-image=E2=80=99 takes an awful lot of time for big i= mages; I patiently waited for completion for an image of =E2=80=98desktop.tmpl=E2=80= =99, but then its root file system turned out to be too small for me to run =E2=80=98guix install=E2=80=99. So instead I tried this: 1. =E2=80=98guix system vm desktop.tmpl=E2=80=99; 2. =E2=80=98guix install inkscape -p /tmp/test=E2=80=99 on my actual mach= ine; 3. Start the GNOME VM created above; 4. Inside the VM, search for Inkscape, notice it=E2=80=99s not there; 5. Inside the VM, have ~/.guix-profile point to the profile created on the host above, and notice that Inkscape becomes available. Video! mpv http://web.fdn.fr/~lcourtes/tmp/gnome-desktop-app-detection.webm So I think we should include this fix in 1.2. What do people think? The main downside is extra grafting, which means extra disk and CPU usage for our users. However, libx11 (11K dependents) is also grafted, so it shouldn=E2=80=99t make things worse (GLib has 6K dependents). Maxim, did you have a variant of the GLib patch that also checks /run/current-system? Thanks, Ludo=E2=80=99.