<div dir="ltr">pod2man -c "spice-gtk documentation" ?<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 4, 2014 at 3:10 PM, Marc-André Lureau <span dir="ltr"><<a href="mailto:marcandre.lureau@gmail.com" target="_blank">marcandre.lureau@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">ack<br></div><div class="gmail_extra"><div><div class="h5"><br><br><div class="gmail_quote">On Fri, Apr 4, 2014 at 2:46 PM, Christophe Fergeau <span dir="ltr"><<a href="mailto:cfergeau@redhat.com" target="_blank">cfergeau@redhat.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Spice-GTK provides SPICE-specific command line options. This man page<br>
describes these options as well as the format of SPICE URIs.<br>
---<br>
</div>Changes since v1:<br>
  - forgot to add man/Makefile.am + corresponding <a href="http://configure.ac" target="_blank">configure.ac</a> change :)<br>
<br>
<br>
 Makefile.am          |   2 +-<br>
 <a href="http://configure.ac" target="_blank">configure.ac</a>         |   1 +<br>
 man/Makefile.am      |  16 +++++<br>
 man/spice-client.pod | 180 +++++++++++++++++++++++++++++++++++++++++++++++++++<br>
 4 files changed, 198 insertions(+), 1 deletion(-)<br>
 create mode 100644 man/Makefile.am<br>
<div> create mode 100644 man/spice-client.pod<br>
<br>
diff --git a/Makefile.am b/Makefile.am<br>
index 8add19f..5029497 100644<br>
--- a/Makefile.am<br>
+++ b/Makefile.am<br>
@@ -1,7 +1,7 @@<br>
 ACLOCAL_AMFLAGS = -I m4<br>
 NULL =<br>
<br>
-SUBDIRS = spice-common gtk po doc data<br>
+SUBDIRS = spice-common gtk man po doc data<br>
<br>
 if BUILD_TESTS<br>
 SUBDIRS += tests<br>
</div>diff --git a/<a href="http://configure.ac" target="_blank">configure.ac</a> b/<a href="http://configure.ac" target="_blank">configure.ac</a><br>
index 45417d2..d89bd6f 100644<br>
--- a/<a href="http://configure.ac" target="_blank">configure.ac</a><br>
+++ b/<a href="http://configure.ac" target="_blank">configure.ac</a><br>
@@ -732,6 +732,7 @@ gtk/spice-version.h<br>
 gtk/controller/Makefile<br>
 doc/Makefile<br>
 doc/reference/Makefile<br>
+man/Makefile<br>
 vapi/Makefile<br>
 tests/Makefile<br>
 ])<br>
diff --git a/man/Makefile.am b/man/Makefile.am<br>
new file mode 100644<br>
index 0000000..cf288c7<br>
--- /dev/null<br>
+++ b/man/Makefile.am<br>
@@ -0,0 +1,16 @@<br>
+NULL =<br>
+<br>
+dist_man_MANS =                                        \<br>
+       spice-client.1                          \<br>
+       $(NULL)<br>
+<br>
+EXTRA_DIST =                                   \<br>
+       spice-client.pod                        \<br>
+       $(NULL)<br>
+<br>
+MAINTAINERCLEANFILES = $(dist_man_MANS)<br>
+<br>
+%.1: %.pod<br>
+       $(AM_V_GEN)pod2man $< > $@<br>
+<br>
+-include $(top_srcdir)/<a href="http://git.mk" target="_blank">git.mk</a><br>
<div><div>diff --git a/man/spice-client.pod b/man/spice-client.pod<br>
new file mode 100644<br>
index 0000000..1ad11e7<br>
--- /dev/null<br>
+++ b/man/spice-client.pod<br>
@@ -0,0 +1,180 @@<br>
+=head1 NAME<br>
+<br>
+Spice-GTK - a client-side library to access remote SPICE displays<br>
+<br>
+=head1 DESCRIPTION<br>
+<br>
+Spice-GTK is a library allowing to accesss remote displays. At the<br>
+moment It's mainly used to access remote virtual machines over the<br>
+SPICE protocol.<br>
+<br>
+The Spice-GTK library provides a set of command line options which<br>
+can be used to tweak how some SPICE-specific option.<br>
+<br>
+=head1 URI<br>
+<br>
+The most basic SPICE URI which can be used is in the form<br>
+  spice://<a href="http://hostname.example.com:5900" target="_blank">hostname.example.com:5900</a><br>
+<br>
+This will try to initiate a SPICE connection to <a href="http://hostname.example.com" target="_blank">hostname.example.com</a><br>
+to port 5900. This connection will be unencrypted. This URI is<br>
+equivalent to<br>
+  spice://<a href="http://hostname.example.com?port=5900" target="_blank">hostname.example.com?port=5900</a><br>
+<br>
+In order to start a TLS connection, one would use<br>
+  spice://<a href="http://hostname.example.com?tls-port=5900" target="_blank">hostname.example.com?tls-port=5900</a><br>
+<br>
+Other valid URI parameters are 'username' and 'password'. Be careful that<br>
+passing a password through a SPICE URI might cause the password to be<br>
+visible by any local user through 'ps'.<br>
+<br>
+Several parameters can be specified at once if they are separated<br>
+by & or ;<br>
+  spice://<a href="http://hostname.example.com?port=5900;tls-port=5901" target="_blank">hostname.example.com?port=5900;tls-port=5901</a><br>
+<br>
+When using 'tls-port', it's recommended to not specify any non-TLS port.<br>
+If you give both 'port' and 'tls-port', make sure you use the<br>
+--spice-secure-channels options to indicate which channels must be secure.<br>
+Otherwise, Spice-GTK first attempts a connection to the non-TLS port, and<br>
+then try to use the TLS port. This means a man-in-the-middle could force<br>
+the whole SPICE session to go in clear text regardless of the TLS settings<br>
+of the SPICE server.<br>
+<br>
+=head1 OPTIONS<br>
+<br>
+The following options are accepted when running a SPICE client which<br>
+makes use of the default Spice-GTK options:<br>
+<br>
+=over 4<br>
+<br>
+=item --spice-secure-channels=<main,display,inputs,...,all><br>
+<br>
+Force the specified channels to be secured<br>
+<br>
+This instructs the SPICE client that it must use a TLS connection for these<br>
+channels. If the server only offers non-TLS connections for these channels,<br>
+the client will not use these. If the special value "all" is used, this<br>
+indicates that all SPICE channels must be encrypted.<br>
+<br>
+=item --spice-disable-effects=<wallpaper,font-smooth,animation,all><br>
+<br>
+Disable guest display effects<br>
+<br>
+This tells the SPICE client that it should attempt to disable some guest<br>
+features in order to lower bandwidth usage. This requires guest support,<br>
+usually through a SPICE agent. This is currently only supported on Windows<br>
+guests.<br>
+<br>
+"wallpaper" will disable the guest wallpaper, "font-smooth" will disable<br>
+font antialiasing, "animation" will try to disable some of the desktop<br>
+environment animations. "all" will attempt to disable everything which<br>
+can be disabled.<br>
+<br>
+=item --spice-color-depth=<16,32><br>
+<br>
+Guest display color depth<br>
+<br>
+This tells the SPICE client that it should attempt to force the guest OS<br>
+color depth. A lower color depth should lower bandwith usage. This requires<br>
+guest support, usually through a SPICE agent. This is currently only<br>
+supported on Windows guests.<br>
+<br>
+=item --spice-ca-file=<file><br>
+<br>
+Truststore file for secure connections<br>
+<br>
+This option is used to specify a .crt file containing the CA certificate with which<br>
+the SPICE server TLS certificates are signed. This is useful when using self-signed<br>
+TLS certificates rather than certificates signed by an official CA.<br>
+<br>
+<br>
+=item --spice-host-subject=<host-subject><br>
+<br>
+Subject of the host certificate (field=value pairs separated by commas)<br>
+<br>
+When using self-signed certificates, or when the guest is migrated between<br>
+different hosts, the subject/altSubject of the TLS certificate the SPICE<br>
+server will provide will not necessarily match the hostname we are connecting to.<br>
+This option makes it possible to override the expected subject of the TLS certificate.<br>
+<br>
+The subject must correspond to the "Subject:" line returned by:<br>
+  openssl x509 -noout -text -in server-cert.pem<br>
+<br>
+=item --spice-debug<br>
+<br>
+Enable Spice-GTK debugging. This can also be toggled on with the<br>
+SPICE_DEBUG environment variable, or using G_MESSAGES_DEBUG=all<br>
+<br>
+=item --spice-disable-audio<br>
+<br>
+Disable audio support<br>
+<br>
+=item --spice-disable-usbredir<br>
+<br>
+Disable USB redirection support<br>
+<br>
+=item --spice-usbredir-auto-redirect-filter=<filter-string><br>
+<br>
+Filter selecting USB devices to be auto-redirected when plugged in<br>
+<br>
+=item --spice-usbredir-redirect-on-connect=<filter-string><br>
+<br>
+Filter selecting USB devices to redirect on connect<br>
+<br>
+=item --spice-gtk-version<br>
+<br>
+Display Spice-GTK version information<br>
+<br>
+=item --spice-smartcard<br>
+<br>
+Enable smartcard support<br>
+<br>
+=item --spice-smartcard-db=<certificate-db><br>
+<br>
+Path to the local certificate database to use for software smartcard certificates<br>
+<br>
+This option is only useful for testing purpose. Instead of having a hardware<br>
+smartcard reader, and a physical smartcard, you can specify a file containing 3<br>
+certificates which will be used to emulate a smartcard in software. See<br>
+C<<a href="http://www.spice-space.org/page/SmartcardUsage#Using_a_software_smartcard" target="_blank">http://www.spice-space.org/page/SmartcardUsage#Using_a_software_smartcard</a>><br>
+for more details about how to generate these certificates.<br>
+<br>
+=item --spice-smartcard-certificates=<certificates><br>
+<br>
+Certificates to use for software smartcards (field=values separated by commas)<br>
+<br>
+This option is only useful for testing purpose. This allows to specify which<br>
+certificates from the certificate database specified with --spice-smartcard-db<br>
+should be used for smartcard emulation.<br>
+<br>
+=item --spice-cache-size=<bytes><br>
+<br>
+Image cache size<br>
+<br>
+This option should only be used for testing/debugging.<br>
+<br>
+=item --spice-glz-window-size=<bytes><br>
+<br>
+Glz compression history size<br>
+<br>
+This option should only be used for testing/debugging.<br>
+<br>
+=back<br>
+<br>
+=head1 BUGS<br>
+<br>
+Report bugs to the mailing list C<<a href="http://lists.freedesktop.org/mailman/listinfo/spice-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/spice-devel</a>><br>
+<br>
+=head1 COPYRIGHT<br>
+<br>
+Copyright (C) 2011, 2014 Red Hat, Inc., and various contributors.<br>
+This is free software. You may redistribute copies of it under the terms of<br>
+the GNU Lesser General Public License<br>
+C<<a href="https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html" target="_blank">https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html</a>>.<br>
+There is NO WARRANTY, to the extent permitted by law.<br>
+<br>
+=head1 SEE ALSO<br>
+<br>
+C<virt-viewer(1)>, the project website C<<a href="http://spice-space.org" target="_blank">http://spice-space.org</a>><br>
+<br>
+=cut<br>
--<br>
1.9.0<br>
<br>
_______________________________________________<br>
Spice-devel mailing list<br>
<a href="mailto:Spice-devel@lists.freedesktop.org" target="_blank">Spice-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/spice-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/spice-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><br></div></div><span class="HOEnZb"><font color="#888888">-- <br>Marc-André Lureau
</font></span></div>
</blockquote></div><br><br clear="all"><br>-- <br>Marc-André Lureau
</div>