From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MH9hNS651WFsXQAAgWs5BA (envelope-from ) for ; Wed, 05 Jan 2022 16:28:46 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id sOm/Mi651WFm9QAA9RJhRA (envelope-from ) for ; Wed, 05 Jan 2022 16:28:46 +0100 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 75DA537CBF for ; Wed, 5 Jan 2022 16:28:46 +0100 (CET) Received: from localhost ([::1]:47138 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n58DU-0007MZ-WD for larch@yhetil.org; Wed, 05 Jan 2022 10:28:45 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36258) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n57c4-0001Z2-De for guix-patches@gnu.org; Wed, 05 Jan 2022 09:50:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:56510) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n57c2-0004mD-FX for guix-patches@gnu.org; Wed, 05 Jan 2022 09:50:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n57c2-0005dd-Ei for guix-patches@gnu.org; Wed, 05 Jan 2022 09:50:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53020] [PATCH] gnu: racket: Backport fix for .desktop files. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 05 Jan 2022 14:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53020 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Malte Gerdes , 53020@debbugs.gnu.org Cc: zimoun Received: via spool by 53020-submit@debbugs.gnu.org id=B53020.164139417921614 (code B ref 53020); Wed, 05 Jan 2022 14:50:02 +0000 Received: (at 53020) by debbugs.gnu.org; 5 Jan 2022 14:49:39 +0000 Received: from localhost ([127.0.0.1]:39818 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n57bf-0005cY-5y for submit@debbugs.gnu.org; Wed, 05 Jan 2022 09:49:39 -0500 Received: from mail-qt1-f169.google.com ([209.85.160.169]:39797) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n57bd-0005cK-0f for 53020@debbugs.gnu.org; Wed, 05 Jan 2022 09:49:37 -0500 Received: by mail-qt1-f169.google.com with SMTP id bp39so37462620qtb.6 for <53020@debbugs.gnu.org>; Wed, 05 Jan 2022 06:49:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=philipmcgrath.com; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=ljgHkz2iw+fKua2rrq8J1ibcm67lN3uuqWg99RK/oE0=; b=awhijxBaZxsXUAq1Q+XjULtZxicdRSgDq1d+Zh3JxsocE6P10aHjUOOAPCN5C/hrr7 tmlQU/QMvct1X1wRdsCkitYQxEvPBdEmCIl5ryRE9dFlskFIjxxDWIpOut97Wh25Z9YB Cg0qk3Noe5BRUS+szR/Sisb40rQ7+fY8LOYs5J4Dtx3gHvztctmRdV0BZkw/R3Vw2b56 1g9F51Mn6/uFPN5eGszRHtp4acrbbnIXhyPh5Mg1luPuaXaw/vx4sUPhzCWIRZbz+PVp MKqUMCngqeSWEq/fTmnP6kIOOuIWu7xs5cc6y1ddHX3f9wPmvkDmMKR7HEHd6bsdgJqJ FOgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=ljgHkz2iw+fKua2rrq8J1ibcm67lN3uuqWg99RK/oE0=; b=zizZljfe+5/cSLJ5dWfDgj74rqJJmy8LghmLEvioZzP9iPqe2zpdk7veTrUXjdHSXL gbXrgMe1Wvee80qS2StrZghgWhQzliGLUs1mmGVO5Cb9aaxqK/00Ty7uwkF3N25VBfdh U8/o6D7mmNrTQe4fe5TxfBkEZE0o9jHUcbYWXi2ImUkJXll86ISG0odrVFWmETd9G48x pOjW9KnYfxnMj7UUOkoePpKaP6h+WmfecSQGVJ6C1C7+QM/Rt61sxqvkO0FY4laNhe4+ 1uxuZu1yU3jgX+k4X6JxcfAeXqPuiYZPfngoABoxDRiYQ28LjIkV71oSc0bVf/UR12I0 efZA== X-Gm-Message-State: AOAM5303/AymNrlaaVb1V52kU4y9uYk6u0d17NCEHfQ7wB+AcqCgWzHm FyJv+ETVjAMX2MfZK+T3Ij4T7g== X-Google-Smtp-Source: ABdhPJyihwmqoM+VOI65zIPdQSf4M2XqV5dPRaLo62WqKs6uxHQnuZJLP/d7xRmi2UGt4qGkV6NAZA== X-Received: by 2002:ac8:5f89:: with SMTP id j9mr49282585qta.391.1641394171332; Wed, 05 Jan 2022 06:49:31 -0800 (PST) Received: from [192.168.45.37] (c-73-125-89-242.hsd1.fl.comcast.net. [73.125.89.242]) by smtp.gmail.com with ESMTPSA id bs16sm34908490qkb.45.2022.01.05.06.49.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 05 Jan 2022 06:49:31 -0800 (PST) Message-ID: Date: Wed, 5 Jan 2022 09:49:30 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.1 Content-Language: en-US References: <20220105060630.218938-1-philip@philipmcgrath.com> <86v8yy8smo.fsf@gmail.com> From: Philip McGrath In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641396526; 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=ljgHkz2iw+fKua2rrq8J1ibcm67lN3uuqWg99RK/oE0=; b=HvR4DR7/nhY2OfpnzsHyZrjQeAZu92J7Ghm/ZirKHMcoMLPXZpAiM4CnDM0rPGd3hvJHMY +BcUwagZH7s8sx4coTHm73odG09vZKHnQVJqh1WoF1QoJeZFYdXVYN+ZoeFaEy+9ui88DC lshl2wobDhdUgSL/b41QoPwL430nwQ6TApCRAT2iKJY986fRmOmAKOKe63yXfYzJJBPZiy 42Sd7l9KRJjgLQCgThzpfJ1RL5tdFHwGUcs/23x6QJKRfGKCIwwRJQiXbtWIiJV5PQ/QLB pizO0rcY+yk88OgBoVJivE3x3WiVKq0G05dogaGBYsdNPexZG0sWI5q0+NWfaA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641396526; a=rsa-sha256; cv=none; b=ltQ3zlVTNsvgXJwhDBC1AY6JhDL40JF7f3YuHA7WY4oUyakCgrsw5seum9ihR7s5UcFRFl wHzL22YxE7zAQty4zrdDXkPgWwSQ8MG3HY4Nvtft2jHpZKrPRBic/EDsSEUw8sWuwseRmH eR059Mry9951TyR2J0v45eVAYa+Tsa+z0N4CM0wcKmLMdbg5l0fB85Ysz9zxytkdDi31Ch FdAUzU+Ibsnk3xr0Qtwx5oRwoADDgLlgxzU8Yv6RvtzoC7dN11l7q6ygi2Z/mMbNiZL9yB jSqWCq3rdRzr+lnns5vtf+5I8cbyIJKmBCeILB69ZXRFh3qmkYoSqwudp4pT9A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=awhijxBa; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.20 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=awhijxBa; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 75DA537CBF X-Spam-Score: -4.20 X-Migadu-Scanner: scn0.migadu.com X-TUID: Vra2jF3+G0s6 Hi, On 1/5/22 06:26, Malte Gerdes wrote: > It builds with > > ``` > guix build --with-git-url=racket=https://github.com/racket/racket > --with-branch=racket-minimal=master > --with-git-url=racket-minimal=https://github.com/racket/racket > --with-branch=racket=master package > ``` > Where package is racket and racket-minimal respectively. > > > Neither `/gnu/store/11y27mj1z7mhljw2w3ni7lp2w0a1zhfr-racket-git.master` > nor > /gnu/store/gfbyzj9b13kzi438cjfv43hij4zhh2sh-racket-minimal-git.master > have .desktop files in their directory hierarchy. (I might be doing it > wrong though) > That transformation isn't quite enough: it misses the change to 'extend-layer' in gnu/packages/racket.scm to set the new config-tethered-apps-dir key in the built etc/racket/config.rktd (for the 'racket' package). (Just in case this is confusing, the fix is to 'racket-minimal' and 'extend-layer', but the .desktop files show up in the fixed version of 'racket'.) I don't think there's a convenient way to express the change to 'extend-layer' as a command-line option, which is one reason I sent this patch. -Philip