[f894c6ab] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[0d7900a] | 7 | <!ENTITY libosinfo-download-http
|
---|
[f894c6ab] | 8 | "https://fedorahosted.org/releases/l/i/libosinfo/libosinfo-&libosinfo-version;.tar.gz">
|
---|
| 9 | <!ENTITY libosinfo-download-ftp " ">
|
---|
| 10 | <!ENTITY libosinfo-md5sum "2af9ba79b3f202032be45d2e6ed7b6e1">
|
---|
| 11 | <!ENTITY libosinfo-size "964 KB">
|
---|
| 12 | <!ENTITY libosinfo-buildsize "15 MB">
|
---|
| 13 | <!ENTITY libosinfo-time "0.2 SBU">
|
---|
| 14 | ]>
|
---|
| 15 |
|
---|
| 16 | <sect1 id="libosinfo" xreflabel="libosinfo-&libosinfo-version;">
|
---|
| 17 | <?dbhtml filename="libosinfo.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
| 24 | <title>libosinfo-&libosinfo-version;</title>
|
---|
| 25 |
|
---|
| 26 | <indexterm zone="libosinfo">
|
---|
| 27 | <primary sortas="a-libosinfo">libosinfo</primary>
|
---|
| 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
| 31 | <title>Introduction to libosinfo</title>
|
---|
| 32 |
|
---|
| 33 | <para>
|
---|
[0d7900a] | 34 | The <application>libosinfo</application> package is a GObject
|
---|
| 35 | based library for managing information about operating systems,
|
---|
[f894c6ab] | 36 | hypervisors and the (virtual) hardware devices they can support.
|
---|
| 37 | </para>
|
---|
| 38 |
|
---|
| 39 | &lfs70_checked;
|
---|
| 40 |
|
---|
| 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>
|
---|
| 45 | Download (HTTP): <ulink url="&libosinfo-download-http;"/>
|
---|
| 46 | </para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>
|
---|
| 50 | Download (FTP): <ulink url="&libosinfo-download-ftp;"/>
|
---|
| 51 | </para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>
|
---|
| 55 | Download MD5 sum: &libosinfo-md5sum;
|
---|
| 56 | </para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>
|
---|
| 60 | Download size: &libosinfo-size;
|
---|
| 61 | </para>
|
---|
| 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>
|
---|
| 65 | Estimated disk space required: &libosinfo-buildsize;
|
---|
| 66 | </para>
|
---|
| 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
| 69 | <para>
|
---|
| 70 | Estimated build time: &libosinfo-time;
|
---|
| 71 | </para>
|
---|
| 72 | </listitem>
|
---|
| 73 | </itemizedlist>
|
---|
| 74 |
|
---|
| 75 | <bridgehead renderas="sect3">libosinfo Dependencies</bridgehead>
|
---|
| 76 |
|
---|
| 77 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 78 | <para role="required">
|
---|
| 79 | <xref linkend="libsoup"/> (built with GNOME components).
|
---|
| 80 | </para>
|
---|
| 81 |
|
---|
| 82 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 83 | <para role="recommended">
|
---|
| 84 | <xref linkend="gobject-introspection"/> and
|
---|
| 85 | <xref linkend="vala"/>
|
---|
| 86 | </para>
|
---|
| 87 |
|
---|
| 88 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 89 | <para role="optional">
|
---|
| 90 | <xref linkend="check"/> (required for the test suite) and
|
---|
| 91 | <xref linkend="gtk-doc"/>
|
---|
| 92 | </para>
|
---|
| 93 |
|
---|
| 94 | <para condition="html" role="usernotes">
|
---|
| 95 | User Notes: <ulink url="&blfs-wiki;/libosinfo"/>
|
---|
| 96 | </para>
|
---|
| 97 | </sect2>
|
---|
| 98 |
|
---|
| 99 | <sect2 role="installation">
|
---|
| 100 | <title>Installation of libosinfo</title>
|
---|
| 101 |
|
---|
| 102 | <para>
|
---|
| 103 | Install <application>libosinfo</application> by running the following
|
---|
| 104 | commands:
|
---|
| 105 | </para>
|
---|
| 106 |
|
---|
| 107 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 108 | --enable-vala \
|
---|
| 109 | --disable-static &&
|
---|
| 110 | make</userinput></screen>
|
---|
| 111 |
|
---|
| 112 | <para>
|
---|
| 113 | To test the results, issue: <command>make check</command>.
|
---|
| 114 | </para>
|
---|
| 115 |
|
---|
| 116 | <para>
|
---|
| 117 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 118 | </para>
|
---|
| 119 |
|
---|
| 120 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 121 | </sect2>
|
---|
| 122 |
|
---|
| 123 | <sect2 role="commands">
|
---|
| 124 | <title>Command Explanations</title>
|
---|
| 125 |
|
---|
| 126 | <para>
|
---|
| 127 | <option>--enable-vala</option>: This option enables
|
---|
| 128 | building of the Vala bindings. Remove if you don't have
|
---|
| 129 | <xref linkend="vala"/> installed.
|
---|
| 130 | </para>
|
---|
| 131 |
|
---|
| 132 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 133 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 134 |
|
---|
| 135 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 136 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
| 137 |
|
---|
| 138 | </sect2>
|
---|
| 139 |
|
---|
| 140 | <sect2 role="content">
|
---|
| 141 | <title>Contents</title>
|
---|
| 142 |
|
---|
| 143 | <segmentedlist>
|
---|
| 144 | <segtitle>Installed Programs</segtitle>
|
---|
| 145 | <segtitle>Installed Library</segtitle>
|
---|
| 146 | <segtitle>Installed Directories</segtitle>
|
---|
| 147 |
|
---|
| 148 | <seglistitem>
|
---|
| 149 | <seg>
|
---|
| 150 | osinfo-db-validate, osinfo-detect and osinfo-query
|
---|
| 151 | </seg>
|
---|
| 152 | <seg>
|
---|
| 153 | libosinfo-1.0.so
|
---|
| 154 | </seg>
|
---|
| 155 | <seg>
|
---|
| 156 | /usr/include/libosinfo-1.0,
|
---|
| 157 | /usr/share/gtk-doc/html/Libosinfo and
|
---|
| 158 | /usr/share/libosinfo
|
---|
| 159 | </seg>
|
---|
| 160 | </seglistitem>
|
---|
| 161 | </segmentedlist>
|
---|
| 162 |
|
---|
| 163 | <variablelist>
|
---|
| 164 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 165 | <?dbfo list-presentation="list"?>
|
---|
| 166 | <?dbhtml list-presentation="table"?>
|
---|
| 167 |
|
---|
| 168 | <varlistentry id="osinfo-db-validate">
|
---|
| 169 | <term><command>osinfo-db-validate</command></term>
|
---|
| 170 | <listitem>
|
---|
| 171 | <para>
|
---|
[0d7900a] | 172 | is used to check if all XML files comply with
|
---|
[f894c6ab] | 173 | the libosinfo schema.
|
---|
| 174 | </para>
|
---|
| 175 | <indexterm zone="libosinfo osinfo-db-validate">
|
---|
| 176 | <primary sortas="b-osinfo-db-validate">osinfo-db-validate</primary>
|
---|
| 177 | </indexterm>
|
---|
| 178 | </listitem>
|
---|
| 179 | </varlistentry>
|
---|
| 180 |
|
---|
| 181 | <varlistentry id="osinfo-detect">
|
---|
| 182 | <term><command>osinfo-detect</command></term>
|
---|
| 183 | <listitem>
|
---|
| 184 | <para>
|
---|
[0d7900a] | 185 | is used to examine the "PATH" or "URI" to
|
---|
| 186 | determine what (if any) operating system it
|
---|
| 187 | is for, and whether it is installable or is
|
---|
[f894c6ab] | 188 | a Live image.
|
---|
| 189 | </para>
|
---|
| 190 | <indexterm zone="libosinfo osinfo-detect">
|
---|
| 191 | <primary sortas="b-osinfo-detect">osinfo-detect</primary>
|
---|
| 192 | </indexterm>
|
---|
| 193 | </listitem>
|
---|
| 194 | </varlistentry>
|
---|
| 195 |
|
---|
| 196 | <varlistentry id="osinfo-query">
|
---|
| 197 | <term><command>osinfo-query</command></term>
|
---|
| 198 | <listitem>
|
---|
| 199 | <para>
|
---|
| 200 | is used to extract information from the database.
|
---|
| 201 | </para>
|
---|
| 202 | <indexterm zone="libosinfo osinfo-query">
|
---|
| 203 | <primary sortas="b-osinfo-query">osinfo-query</primary>
|
---|
| 204 | </indexterm>
|
---|
| 205 | </listitem>
|
---|
| 206 | </varlistentry>
|
---|
| 207 |
|
---|
| 208 | <varlistentry id="libosinfo-1.0">
|
---|
| 209 | <term><filename class="libraryfile">libosinfo-1.0.so</filename></term>
|
---|
| 210 | <listitem>
|
---|
| 211 | <para>
|
---|
| 212 | contains the libosinfo API functions.
|
---|
| 213 | </para>
|
---|
| 214 | <indexterm zone="libosinfo libosinfo-1.0">
|
---|
| 215 | <primary sortas="c-libosinfo-1.0">libosinfo-1.0.so</primary>
|
---|
| 216 | </indexterm>
|
---|
| 217 | </listitem>
|
---|
| 218 | </varlistentry>
|
---|
| 219 |
|
---|
| 220 | </variablelist>
|
---|
| 221 |
|
---|
| 222 | </sect2>
|
---|
| 223 |
|
---|
| 224 | </sect1>
|
---|