GNU bug report logs - #76893
[PATCH 1/2] gnu: senpai: Install desktop file.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Luis Guilherme Coelho <lgcoelho@HIDDEN>; Keywords: patch; Done: "Luis Guilherme Coelho" <lgcoelho@HIDDEN>; Maintainer for guix-patches is guix-patches@HIDDEN.
bug closed, send any further explanations to 76893 <at> debbugs.gnu.org and Luis Guilherme Coelho <lgcoelho@HIDDEN> Request was from "Luis Guilherme Coelho" <lgcoelho@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 9 Mar 2025 16:12:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 09 12:12:15 2025
Received: from localhost ([127.0.0.1]:33939 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1trJGB-0002fs-Jx
	for submit <at> debbugs.gnu.org; Sun, 09 Mar 2025 12:12:15 -0400
Received: from lists.gnu.org ([2001:470:142::17]:36640)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <lgcoelho@HIDDEN>)
 id 1trJG9-0002fQ-Cc
 for submit <at> debbugs.gnu.org; Sun, 09 Mar 2025 12:12:14 -0400
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 <lgcoelho@HIDDEN>)
 id 1trJFx-0005VL-4D
 for guix-patches@HIDDEN; Sun, 09 Mar 2025 12:12:01 -0400
Received: from layka.disroot.org ([178.21.23.139])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <lgcoelho@HIDDEN>)
 id 1trJFu-00066T-G9
 for guix-patches@HIDDEN; Sun, 09 Mar 2025 12:12:00 -0400
Received: from mail01.disroot.lan (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id AA42525C7F;
 Sun,  9 Mar 2025 17:11:55 +0100 (CET)
X-Virus-Scanned: SPAM Filter at disroot.org
Received: from layka.disroot.org ([127.0.0.1])
 by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP
 id yZmOtKTghjuo; Sun,  9 Mar 2025 17:11:55 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1741536715; bh=UsRlEbkqejnINL9lOkv+n5K6J1EsNp11C+nJlpTxw5A=;
 h=From:To:Cc:Subject:Date;
 b=I/ARpgD37UNo/HazGlxY3QY3kQCVvVoVKs3GRTG/uQZaWzSYIQR4SP3Zd6TIr62J7
 5w4kCQuOy91YV+URnHvl8I2oUlPjf+AcwnR3F1mbYdTdlz86IGdhLkARVluwIldzKo
 9dmTAS/xTr194GGCnB/ZX5QpoM0Zy5rex2qY7ln807ZkELZXrIz/epYUKsi9fzYUSI
 zxADlBQMsjmDL9GtptvocqozzSSuunB7DfYNsNgWpeZe4sRijSLG8tAGUlWHj8OJuX
 fQK2VI21vY3DEx+NSbubPSuKweE3WwcSbwhGFckCh5y9pWwaYYoqGXsr1mug3XhKCU
 Cc4KdQwXk1ibg==
From: Luis Guilherme Coelho <lgcoelho@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH 1/2] gnu: senpai: Install desktop file.
Date: Sun,  9 Mar 2025 13:11:45 -0300
Message-ID: <76c483d4e73abe4417ae9021ef7e79180746cb22.1741536706.git.lgcoelho@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=178.21.23.139; envelope-from=lgcoelho@HIDDEN;
 helo=layka.disroot.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,
 RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.9 (/)
X-Debbugs-Envelope-To: submit
Cc: Luis Guilherme Coelho <lgcoelho@HIDDEN>
X-BeenThere: debbugs-submit <at> 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 <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.1 (/)

* gnu/packages/messaging.scm (senpai)[arguments]<#:phases>: Add
'install-desktop-file phase.

Change-Id: Ib2b84639a3bfa5ff211eda794a99370a1c39061c
---
 gnu/packages/messaging.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index d2bc9fcfac..a19673a463 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -3722,7 +3722,12 @@ (define-public senpai
                       man1)
                      (install-file
                       (string-append "src/" unpack-path "/doc/senpai.5")
-                      man5)))))))
+                      man5))))
+               (add-after 'install 'install-desktop-file
+                (lambda* (#:key unpack-path #:allow-other-keys)
+                  (install-file
+                    (string-append "src/" unpack-path "/contrib/senpai.desktop")
+                    (string-append #$output "/share/applications")))))))
     (native-inputs
      (list go-git-sr-ht-emersion-go-scfg
            go-github-com-delthas-go-libnp

base-commit: a5256944a35e91be71b1348e805a341fe06cbb8d
-- 
2.48.1





Acknowledgement sent to Luis Guilherme Coelho <lgcoelho@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#76893; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 9 Mar 2025 16:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.