From patchwork Tue Feb 28 17:31:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: EuAndreh X-Patchwork-Id: 47491 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id CDB6A16C4F; Tue, 28 Feb 2023 17:32:19 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id C25F816BBF for ; Tue, 28 Feb 2023 17:32:17 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pX3pf-0007rt-0D; Tue, 28 Feb 2023 12:32:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pX3pb-0007nB-J5 for guix-patches@gnu.org; Tue, 28 Feb 2023 12:32:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pX3pb-0008Iw-7M for guix-patches@gnu.org; Tue, 28 Feb 2023 12:32:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pX3pa-0006hO-GD for guix-patches@gnu.org; Tue, 28 Feb 2023 12:32:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61872] [PATCH] gnu: xmonad: Re-add xmonad.desktop file. Resent-From: EuAndreh Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 28 Feb 2023 17:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61872 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61872@debbugs.gnu.org Cc: EuAndreh , lars@6xq.net X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167760550025715 (code B ref -1); Tue, 28 Feb 2023 17:32:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 Feb 2023 17:31:40 +0000 Received: from localhost ([127.0.0.1]:51907 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pX3pE-0006gf-4K for submit@debbugs.gnu.org; Tue, 28 Feb 2023 12:31:40 -0500 Received: from lists.gnu.org ([209.51.188.17]:32964) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pX3pC-0006gY-Nq for submit@debbugs.gnu.org; Tue, 28 Feb 2023 12:31:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pX3pC-00073U-HB for guix-patches@gnu.org; Tue, 28 Feb 2023 12:31:38 -0500 Received: from euandre.org ([216.238.68.100]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pX3p9-0008Gn-NR for guix-patches@gnu.org; Tue, 28 Feb 2023 12:31:37 -0500 Received: from euandre.org (localhost [127.0.0.1]) by euandre.org (Postfix) with ESMTP id 84C6F68746F; Tue, 28 Feb 2023 14:31:30 -0300 (-03) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=euandre.org; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=dkimproxyout; bh=3qb7UHTuY8REveAEi ILpS9mEQO4=; b=nZtouXVsyxtY9krC/KE8ilj5OhlWUtbycsDNxe0hwyrmzsJFT jrCey/Uv76GtOUwiIIG7Txm/+h2TVgHGxk5KHDAeDWvAiS+WVvPFtFXlOYE5saJa 6Sq1MybIqjdiTA2pyA1kL30W5xuXxhkOpWClGVgUN9RzpodJ7YnIZJ546ycv+sRJ fUOZwwX2Xm/hClcnRpAmyAxd3a2i3a4p0BHIzm6LLqWX8LKzooxWzivncxnpY/7u XwKjAFEJMT3bB9LoVnD36UTxPo/p3oyMyCM6Qm2/jyXeo5aam89ie11r+ENbPAEL Gq8+foaaEtb8ZhpHcP7r1teyTti7O/K4EuHkg== Date: Tue, 28 Feb 2023 14:31:27 -0300 Message-Id: <20230228173127.3033-1-eu@euandre.org> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Received-SPF: pass client-ip=216.238.68.100; envelope-from=eu@euandre.org; helo=euandre.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Reply-to: EuAndreh X-ACL-Warn: , EuAndreh via Guix-patches X-Patchwork-Original-From: EuAndreh via Guix-patches via From: EuAndreh Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/wm.scm (xmonad)[arguments]: Add 'install-xsession phase that was removed in previous automated update[0]. [0]: https://git.savannah.gnu.org/cgit/guix.git/commit/?id=49a320aaa6fb4c20d6b30c56c35a8c7ffceed822 --- gnu/packages/wm.scm | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 9ba2841817..e6b7df544e 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -817,8 +817,24 @@ (define-public xmonad (inputs (list ghc-x11 ghc-data-default-class ghc-setlocale)) (native-inputs (list ghc-quickcheck ghc-quickcheck-classes)) (arguments - `(#:cabal-revision ("2" - "1rgwrnyb7kijzl2mqm8ks2nydh37q5vkbg4400rg9n6x13w2r9b3"))) + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'install 'install-xsession + (lambda _ + (let ((xsessions (string-append #$output "/share/xsessions"))) + (mkdir-p xsessions) + (call-with-output-file (string-append xsessions + "/xmonad.desktop") + (lambda (port) + (format port "~ + [Desktop Entry]~@ + Name=~a~@ + Comment=xmonad window manager~@ + Exec=~a/bin/xmonad~@ + Type=Application~%" #$name #$output))))))) + #:cabal-revision '("2" + "1rgwrnyb7kijzl2mqm8ks2nydh37q5vkbg4400rg9n6x13w2r9b3"))) (home-page "http://xmonad.org") (synopsis "Tiling window manager") (description