]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
docs: reworded and reordered the bindings page, plus minor tweaks
authorJustin Clift <jclift@redhat.com>
Wed, 27 Oct 2010 03:17:38 +0000 (14:17 +1100)
committerJustin Clift <jclift@redhat.com>
Wed, 27 Oct 2010 22:26:11 +0000 (09:26 +1100)
Reordered the bindings into alphabetical order, added a link to
the php-libvirt source on Github, plus gave the direct package
names needed for Python usage on RHEL/Fedora, and Ubuntu.

docs/bindings.html.in

index 0bc997e9dcdc0564a87e5c9a8238a4311024fe76..b190a382adb79ba19a6343c5fd5914144d2cf76a 100644 (file)
@@ -4,42 +4,64 @@
     <h1 >Bindings for other languages</h1>
 
     <p>
-      Libvirt comes with bindings to support other languages than
-      pure <strong>C</strong>. First the headers embeds the necessary
-      declarations to allow direct access from <strong>C++</strong>
-      code, but also we have bindings for higher level kind of languages:
+      Libvirt supports C and C++ directly, and has bindings available
+      for other languages:
     </p>
 
     <ul>
       <li>
-        <strong>Python</strong>: Libvirt comes with direct support for
-        the Python language (just make sure you installed the libvirt-python
-        package if not compiling from sources). See below for more
-        information about using libvirt with python
+        <strong>C#</strong>: Arnaud Champion develops
+        <a href="csharp.html">C# bindings</a>.
       </li>
       <li>
-        <strong>Perl</strong>: Daniel Berrange provides
-        <a href="http://search.cpan.org/dist/Sys-Virt/">bindings for Perl</a>.
+        <strong>Java</strong>: Daniel Veillard develops
+        <a href="java.html">Java bindings</a>.
       </li>
       <li>
-        <strong>OCaml</strong>: Richard Jones supplies
-        <a href="http://libvirt.org/ocaml/">bindings for OCaml</a>.
+        <strong>OCaml</strong>: Richard Jones develops
+        <a href="http://libvirt.org/ocaml/">OCaml bindings</a>.
       </li>
       <li>
-        <strong>Ruby</strong>: David Lutterkort provides
-        <a href="http://libvirt.org/ruby/">bindings for Ruby</a>.
+        <strong>Perl</strong>: Daniel Berrange develops
+        <a href="http://search.cpan.org/dist/Sys-Virt/">Perl bindings</a>.
       </li>
       <li>
-        <strong>Java</strong>: Daniel Veillard maintains
-        <a href="java.html">Java bindings</a>.
+        <p>
+          <strong>PHP</strong>: Radek Hladik develops
+          <a href="http://phplibvirt.cybersales.cz/">PHP bindings</a>.
+        </p>
+        <p>
+          The php-libvirt bindings also have their source online
+          <a href="http://github.com/Kedarius/php-libvirt">here in Github</a>.
+        </p>
+        <p>
+          This allows you to easily see the code, make comments on it,
+          create your own forks, and contribute the changes back.
+        </p>
       </li>
       <li>
-        <strong>C#</strong>: Arnaud Champion maintains
-        <a href="csharp.html">C# bindings</a>.
+        <p>
+          <strong>Python</strong>: Libvirt comes with direct support for
+          the Python language.
+        </p>
+        <p>
+          If your libvirt is installed as packages, rather than compiled
+          by you from source code, ensure you have the appropriate
+          package installed.
+        </p>
+        <p>
+          This is named <b>libvirt-python</b> on RHEL/Fedora,
+          <a href="http://packages.ubuntu.com/search?keywords=python-libvirt"><b>python-libvirt</b></a>
+          on Ubuntu, and may be named differently on others.
+        </p>
+        <p>
+          For usage information, see the
+          <a href="python.html">Python API bindings</a> page.
+        </p>
       </li>
       <li>
-        <strong>PHP</strong>: Radek Hladik is developing
-        <a href="http://phplibvirt.cybersales.cz/">PHP bindings</a>.
+        <strong>Ruby</strong>: David Lutterkort develops
+        <a href="http://libvirt.org/ruby/">Ruby bindings</a>.
       </li>
     </ul>