From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nils Gillmann Subject: bug#23106: rxvt-unicode is missing .desktop file(s) Date: Thu, 24 Mar 2016 13:28:17 +0100 Message-ID: <878u183vry.fsf@grrlz.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48092) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aj4Nu-0001op-SB for bug-guix@gnu.org; Thu, 24 Mar 2016 08:29:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aj4Nq-0000eI-Nu for bug-guix@gnu.org; Thu, 24 Mar 2016 08:29:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:38014) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aj4Nq-0000eD-Jz for bug-guix@gnu.org; Thu, 24 Mar 2016 08:29:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1aj4Nq-00014Z-DI for bug-guix@gnu.org; Thu, 24 Mar 2016 08:29:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48027) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aj4NT-0001bR-2L for bug-guix@gnu.org; Thu, 24 Mar 2016 08:28:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aj4NO-0000bn-V6 for bug-guix@gnu.org; Thu, 24 Mar 2016 08:28:39 -0400 Received: from plane.gmane.org ([80.91.229.3]:44109) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aj4NO-0000bc-Nt for bug-guix@gnu.org; Thu, 24 Mar 2016 08:28:34 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aj4NL-0007mW-Pw for bug-guix@gnu.org; Thu, 24 Mar 2016 13:28:32 +0100 Received: from x5d83ee8c.dyn.telefonica.de ([93.131.238.140]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Mar 2016 13:28:31 +0100 Received: from niasterisk by x5d83ee8c.dyn.telefonica.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Mar 2016 13:28:31 +0100 List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: 23106@debbugs.gnu.org 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