unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#33346: spice-vdagent.desktop exec failure
@ 2018-11-11 17:16 Taegil Bae
  2018-11-13 20:27 ` Leo Famulari
  0 siblings, 1 reply; 2+ messages in thread
From: Taegil Bae @ 2018-11-11 17:16 UTC (permalink / raw)
  To: 33346

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#33346: spice-vdagent.desktop exec failure
  2018-11-11 17:16 bug#33346: spice-vdagent.desktop exec failure Taegil Bae
@ 2018-11-13 20:27 ` Leo Famulari
  0 siblings, 0 replies; 2+ messages in thread
From: Leo Famulari @ 2018-11-13 20:27 UTC (permalink / raw)
  To: Taegil Bae; +Cc: 33346-done

[-- Attachment #1: Type: text/plain, Size: 1165 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-11-13 20:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-11 17:16 bug#33346: spice-vdagent.desktop exec failure Taegil Bae
2018-11-13 20:27 ` Leo Famulari

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).