GNU bug report logs

#76893 [PATCH 1/2] gnu: senpai: Install desktop file.

PackageSource(s)Maintainer(s)
guix-patches PTS Buildd Popcon
Reply or subscribe to this bug. View this bug as an mbox, status mbox, or maintainer mbox

Report forwarded to guix-patches@gnu.org:
bug#76893; Package guix-patches. (Sun, 09 Mar 2025 16:13:02 GMT) (full text, mbox, link).


Acknowledgement sent to Luis Guilherme Coelho <lgcoelho@disroot.org>:
New bug report received and forwarded. Copy sent to guix-patches@gnu.org. (Sun, 09 Mar 2025 16:13:02 GMT) (full text, mbox, link).


Message #5 received at submit@debbugs.gnu.org (full text, mbox, reply):

From: Luis Guilherme Coelho <lgcoelho@disroot.org>
To: guix-patches@gnu.org
Cc: Luis Guilherme Coelho <lgcoelho@disroot.org>
Subject: [PATCH 1/2] gnu: senpai: Install desktop file.
Date: Sun, 9 Mar 2025 13:11:45 -0300
* 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





bug closed, send any further explanations to 76893@debbugs.gnu.org and Luis Guilherme Coelho <lgcoelho@disroot.org> Request was from "Luis Guilherme Coelho" <lgcoelho@disroot.org> to control@debbugs.gnu.org. (Sun, 09 Mar 2025 16:23:02 GMT) (full text, mbox, link).


bug archived. Request was from Debbugs Internal Request <help-debbugs@gnu.org> to internal_control@debbugs.gnu.org. (Mon, 07 Apr 2025 11:24:06 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Wed Apr 16 02:57:18 2025; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.