Subject: bug#33346: closed (Re: bug#33346: spice-vdagent.desktop exec failure)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 13 Nov 2018 20:29:03 +0000

Your bug report

#33346: spice-vdagent.desktop exec failure

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

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

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

Subject: Re: bug#33346: spice-vdagent.desktop exec failure
From: Leo Famulari <[email-masked]>
To: Taegil Bae <[email-masked]>
Cc: [email-masked]
Date: Tue, 13 Nov 2018 15:27:45 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

On Mon, Nov 12, 2018 at 02:16:16AM +0900, Taegil Bae wrote:
> Spice-vdagent is not run by Gnome session because
> spice-vdagent.desktop is patched incorrectly.
> spice-vdagent.desktop is shown as:
> [Desktop Entry]
> Name=Spice vdagent
> Comment=Agent for Spice guests
> Exec=/gnu/store/5wk50f4zhhmg0s599z3d6v5zraxp72jp-spice-vdagent-0.17.0/bin/spice-vdagentTerminal=false
> Type=Application
> Categories=
> X-GNOME-Autostart-Phase=Initialization

Thanks for the report!

> So gnu/packages/spice.scm should be modified as below:
> --- gnu/packages/spice.scm.orig    2018-11-12 02:03:57.067760458 +0900
> +++ gnu/packages/spice.scm    2018-11-12 02:04:38.559875648 +0900
> @@ -278,7 +278,7 @@
>              (substitute* "data/spice-vdagent.desktop"
>                (("Exec=/usr/bin/spice-vdagent\n")
>                 (string-append "Exec=" (assoc-ref outputs "out")
> -                              "/bin/spice-vdagent")))
> +                              "/bin/spice-vdagent\n")))

I pushed a slightly simpler fix as commit
3f995aaf2101c1c7b00d473a7a81881dd50973e3.

https://git.savannah.gnu.org/cgit/guix.git/commit/?id=3f995aaf2101c1c7b00d473a7a81881dd50973e3

Subject: spice-vdagent.desktop exec failure
From: Taegil Bae <[email-masked]>
To: [email-masked]
Date: Mon, 12 Nov 2018 02:16:16 +0900
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Spice-vdagent is not run by Gnome session because
spice-vdagent.desktop is patched incorrectly.
spice-vdagent.desktop is shown as:
[Desktop Entry]
Name=Spice vdagent
Comment=Agent for Spice guests
Exec=/gnu/store/5wk50f4zhhmg0s599z3d6v5zraxp72jp-spice-vdagent-0.17.0/bin/spice-vdagentTerminal=false
Type=Application
Categories=
X-GNOME-Autostart-Phase=Initialization

So gnu/packages/spice.scm should be modified as below:
--- gnu/packages/spice.scm.orig    2018-11-12 02:03:57.067760458 +0900
+++ gnu/packages/spice.scm    2018-11-12 02:04:38.559875648 +0900
@@ -278,7 +278,7 @@
             (substitute* "data/spice-vdagent.desktop"
               (("Exec=/usr/bin/spice-vdagent\n")
                (string-append "Exec=" (assoc-ref outputs "out")
-                              "/bin/spice-vdagent")))
+                              "/bin/spice-vdagent\n")))
              #t)))))
     (inputs
       `(("alsa-lib" ,alsa-lib)

Regards,

Taegil