GNU bug report logs - #23106
rxvt-unicode is missing .desktop file(s)

Previous Next

Package: guix;

Reported by: Nils Gillmann <niasterisk <at> grrlz.net>

Date: Thu, 24 Mar 2016 12:29:02 UTC

Severity: minor

Done: Leo Famulari <leo <at> famulari.name>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 23106 in the body.
You can then email your comments to 23106 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#23106; Package guix. (Thu, 24 Mar 2016 12:29:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nils Gillmann <niasterisk <at> grrlz.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 24 Mar 2016 12:29:02 GMT) Full text and rfc822 format available.

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

From: Nils Gillmann <niasterisk <at> grrlz.net>
To: bug-guix <at> gnu.org
Subject: rxvt-unicode is missing .desktop file(s)
Date: Thu, 24 Mar 2016 13:28:17 +0100
urxvt / rxvt-unicode has no .desktop files in Guix and therefore
does not show up in application menus like GNOME provides.


Whoever wants to fix it faster than I do (currently occupied with
psyced related packages), here is my work in progress part of the
rxvt-unicode package.

.desktop files can be found in the source dir of gentoo and
archlinux
(https://projects.archlinux.org/svntogit/community.git/tree/trunk?h=packages/rxvt-unicode)

Code below has not been tested, it may need some fixes, and we
need at least 3 like in archlinux.

    (arguments
     ;; This sets the destination when installing the necessary terminal
     ;; capability data, which are not provided by 'ncurses'.  See
     ;; https://lists.gnu.org/archive/html/bug-ncurses/2009-10/msg00031.html
     '(#:make-flags
       (list (string-append "TERMINFO="
                            (assoc-ref %outputs "out")
                            "/share/terminfo"))
       #:phases
       (modify-phases %standard-phases
         (add-after
             'install 'install-desktop
           (lambda _
             (let ((desktop (string-append %output "/share/applications")))
               (mkdir-p desktop)
               (call-with-output-file
                   (string-append desktop "/urxvt.desktop")
                 (lambda (port)
                   (format port "~
                     [Desktop Entry]~@
                     Name=~a~@
                     Comment=~a~@
                     TryExec=~a/bin/urxvt~@
                     Exec=~a/bin/urxvt~@
                     Icon=terminal~@
                     Type=Application~@
                     Categories=GNOME;GTK;Utility;TerminalEmulator;System;~@
                     StartupNotify=true~%" ,name ,synopsis %output)))))))))
    
-- 
ng
personal contact: http://krosos.sdf.org
EDN: https://wiki.c3d2.de/EDN





Severity set to 'minor' from 'normal' Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Wed, 11 Jan 2017 22:32:02 GMT) Full text and rfc822 format available.

Reply sent to Leo Famulari <leo <at> famulari.name>:
You have taken responsibility. (Sun, 05 Mar 2017 21:27:01 GMT) Full text and rfc822 format available.

Notification sent to Nils Gillmann <niasterisk <at> grrlz.net>:
bug acknowledged by developer. (Sun, 05 Mar 2017 21:27:02 GMT) Full text and rfc822 format available.

Message #12 received at 23106-done <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: contact.ng0 <at> cryptolab.net
Cc: guix-devel <at> gnu.org, 23106-done <at> debbugs.gnu.org
Subject: Re: [PATCH] gnu: rxvt-unicode: Add '.desktop' files.
Date: Sun, 5 Mar 2017 16:26:29 -0500
On Sat, Feb 11, 2017 at 07:26:45PM +0000, contact.ng0 <at> cryptolab.net wrote:
> From: ng0 <contact.ng0 <at> cryptolab.net>
> 
> This fixes <https://bugs.gnu.org/23106>.
> 
> * gnu/packages/xdisorg.scm (rxvt-unicode)[arguments]: Use
> 'modify-phases'.
> Add 'install-desktop-urxvt' and 'install-desktop-urxvtc' phase.

Pushed, thanks!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 03 Apr 2017 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 14 days ago.

Previous Next


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