Subject: bug#35183: closed (Re: [bug#35183] [PATCH] gnu: emacs-exwm: Provide absolute file name in '.desktop' file.)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 07 Apr 2019 20:13:02 +0000

Your bug report

#35183: [PATCH] gnu: emacs-exwm: Provide absolute file name in '.desktop' file.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
35183: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=35183
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#35183] [PATCH] gnu: emacs-exwm: Provide absolute file name in '.desktop' file.
From: Ludovic Courtès <[email-masked]>
To: Diego Nicola Barbato <[email-masked]>
Cc: [email-masked]
Date: Sun, 07 Apr 2019 22:12:33 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Diego Nicola Barbato <[email-masked]> skribis:

>>>From 82b6422072fd35385d68d6c5eda4bbce6d63665e Mon Sep 17 00:00:00 2001
> From: Diego Nicola Barbato <[email-masked]>
> Date: Sun, 7 Apr 2019 19:52:52 +0200
> Subject: [PATCH] gnu: emacs-exwm: Provide absolute file name in '.desktop'
>  file.
>
> Previously GDM would crash when selecting MATE.
>
> * gnu/packages/emacs-xyz.scm (emacs-exwm)[arguments]: Rewrite
>   'install-xsession' phase such that .desktop file contains an absolute file
>   name.

Applied, thanks!

Ludo’.

Subject: [PATCH] gnu: emacs-exwm: Provide absolute file name in '.desktop' file.
From: Diego Nicola Barbato <[email-masked]>
To: [email-masked]
Date: Sun, 07 Apr 2019 21:16:02 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Guix,

As mentioned on IRC GDM currently crashes when selecting EXWM.  This
patch should fix it.

Regards,

Diego

>From 82b6422072fd35385d68d6c5eda4bbce6d63665e Mon Sep 17 00:00:00 2001
From: Diego Nicola Barbato <[email-masked]>
Date: Sun, 7 Apr 2019 19:52:52 +0200
Subject: [PATCH] gnu: emacs-exwm: Provide absolute file name in '.desktop'
 file.

Previously GDM would crash when selecting MATE.

* gnu/packages/emacs-xyz.scm (emacs-exwm)[arguments]: Rewrite
  'install-xsession' phase such that .desktop file contains an absolute file
  name.
---
 gnu/packages/emacs-xyz.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index b89b3cf79b..2860bd5a8a 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -7005,7 +7005,7 @@ It should enable you to implement low-level X11 applications.")
                      Name=~a~@
                      Comment=~a~@
                      Exec=~a~@
-                     TryExec=~@*~a~@
+                     TryExec=~:*~a~@
                      Type=Application~%" ,name ,synopsis exwm-executable)))
                ;; Add a shell wrapper to bin
                (with-output-to-file exwm-executable
-- 
2.21.0