On 02/19/2014 12:06 AM, Petter Reinholdtsen wrote:
Good catch. Could you by any chance provide a tested patch fixing the
issue? I guess it should include a dependency on the virt-viewer
package? I lack the setup to test this myself.
Thanks for the quick reply!
I've updated the spice-xpi-client path and added the dependency, as you
requested. Please find the patch attached.
It's a bare patch, not in Git format, and has no description, as I'm not sure
if this is entirely correct and if it is the right thing to do. However,
it works for me (with the /usr/libexec/spice-xpi-client symlink removed).
The Iceweasel output becomes this:
---:<---
(plugin-container:27073): SpiceXPI-WARNING **: main client cmdline:
/usr/bin/spice-xpi-client
(plugin-container:27073): SpiceXPI-CRITICAL **: controller connect: No such
file or directory
(plugin-container:27073): SpiceXPI-WARNING **: failed to create pipe
SpiceXPI-Message: Client with pid 0x69c4 exited
(plugin-container:27073): SpiceXPI-CRITICAL **: could not get browser window,
when trying to call OnDisconnected
--->:---
Sincerely,
Nick
diff -ur a/debian/control b/debian/control
--- a/debian/control 2014-01-03 01:27:40.000000000 +0200
+++ b/debian/control 2014-02-19 10:12:29.607451062 +0200
@@ -10,7 +10,7 @@
Package: browser-plugin-spice
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, spice-client
+Depends: ${shlibs:Depends}, ${misc:Depends}, spice-client, virt-viewer
Conflicts: spice-xpi
Description: XPI client for interacting with SPICE servers
This package contains a mozilla browser client for interacting with SPICE
diff -ur a/SpiceXPI/src/plugin/controller-unix.cpp b/SpiceXPI/src/plugin/controller-unix.cpp
--- a/SpiceXPI/src/plugin/controller-unix.cpp 2013-04-17 13:01:09.000000000 +0300
+++ b/SpiceXPI/src/plugin/controller-unix.cpp 2014-02-19 10:11:10.559185179 +0200
@@ -119,7 +119,7 @@
GStrv SpiceControllerUnix::GetClientPath()
{
- const char *client_argv[] = { "/usr/libexec/spice-xpi-client", NULL };
+ const char *client_argv[] = { "/usr/bin/spice-xpi-client", NULL };
return g_strdupv((GStrv)client_argv);
}