[f175d6f6] | 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 |
|
---|
| 7 | <!ENTITY libgudev-download-http
|
---|
| 8 | "&gnome-download-http;/libgudev/&libgudev-version;/libgudev-&libgudev-version;.tar.xz">
|
---|
| 9 | <!ENTITY libgudev-download-ftp
|
---|
| 10 | "&gnome-download-ftp;/libgudev/&libgudev-version;/libgudev-&libgudev-version;.tar.xz">
|
---|
[f5631c6] | 11 | <!ENTITY libgudev-md5sum "46da30a1c69101c3a13fa660d9ab7b73">
|
---|
[4f89710] | 12 | <!ENTITY libgudev-size "32 KB">
|
---|
[f5631c6] | 13 | <!ENTITY libgudev-buildsize "2.0 MB">
|
---|
[f175d6f6] | 14 | <!ENTITY libgudev-time "less than 0.1 SBU">
|
---|
| 15 | ]>
|
---|
| 16 |
|
---|
| 17 | <sect1 id="libgudev" xreflabel="libgudev-&libgudev-version;">
|
---|
| 18 | <?dbhtml filename="libgudev.html"?>
|
---|
| 19 |
|
---|
| 20 |
|
---|
| 21 | <title>libgudev-&libgudev-version;</title>
|
---|
| 22 |
|
---|
| 23 | <indexterm zone="libgudev">
|
---|
| 24 | <primary sortas="a-libgudev">libgudev</primary>
|
---|
| 25 | </indexterm>
|
---|
| 26 |
|
---|
| 27 | <sect2 role="package">
|
---|
| 28 | <title>Introduction to libgudev</title>
|
---|
| 29 |
|
---|
| 30 | <para>
|
---|
| 31 | The <application>libgudev</application> package contains
|
---|
| 32 | GObject bindings for libudev.
|
---|
| 33 | </para>
|
---|
| 34 |
|
---|
[03c0def] | 35 | &lfs113_checked;
|
---|
[f175d6f6] | 36 |
|
---|
| 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
| 40 | <para>
|
---|
| 41 | Download (HTTP): <ulink url="&libgudev-download-http;"/>
|
---|
| 42 | </para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>
|
---|
| 46 | Download (FTP): <ulink url="&libgudev-download-ftp;"/>
|
---|
| 47 | </para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>
|
---|
| 51 | Download MD5 sum: &libgudev-md5sum;
|
---|
| 52 | </para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>
|
---|
| 56 | Download size: &libgudev-size;
|
---|
| 57 | </para>
|
---|
| 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para>
|
---|
| 61 | Estimated disk space required: &libgudev-buildsize;
|
---|
| 62 | </para>
|
---|
| 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>
|
---|
| 66 | Estimated build time: &libgudev-time;
|
---|
| 67 | </para>
|
---|
| 68 | </listitem>
|
---|
| 69 | </itemizedlist>
|
---|
| 70 |
|
---|
| 71 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 72 | <para role="required">
|
---|
| 73 | <xref linkend="glib2"/>
|
---|
| 74 | </para>
|
---|
| 75 |
|
---|
| 76 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 77 | <para role="optional">
|
---|
[c3fa6f8] | 78 | <xref linkend="gobject-introspection"/> (for gir-data, needed for GNOME),
|
---|
[45bdabd] | 79 | <xref linkend="gtk-doc"/>, and
|
---|
[3609a85] | 80 | <xref linkend="umockdev"/> (for testing)
|
---|
[f175d6f6] | 81 | </para>
|
---|
| 82 |
|
---|
| 83 | </sect2>
|
---|
| 84 |
|
---|
| 85 | <sect2 role="installation">
|
---|
| 86 | <title>Installation of libgudev</title>
|
---|
| 87 |
|
---|
| 88 | <para>
|
---|
| 89 | Install <application>libgudev</application> by running
|
---|
| 90 | the following commands:
|
---|
| 91 | </para>
|
---|
| 92 |
|
---|
[914a41c] | 93 | <screen><userinput>mkdir build &&
|
---|
| 94 | cd build &&
|
---|
| 95 |
|
---|
[91318eb] | 96 | meson setup --prefix=/usr --buildtype=release .. &&
|
---|
[914a41c] | 97 | ninja</userinput></screen>
|
---|
[f175d6f6] | 98 |
|
---|
| 99 | <para>
|
---|
[914a41c] | 100 | To test the results, issue: <command>ninja test</command>.
|
---|
[f175d6f6] | 101 | </para>
|
---|
| 102 |
|
---|
| 103 | <para>
|
---|
| 104 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 105 | </para>
|
---|
| 106 |
|
---|
[914a41c] | 107 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[f175d6f6] | 108 |
|
---|
| 109 | </sect2>
|
---|
| 110 |
|
---|
| 111 | <sect2 role="commands">
|
---|
| 112 | <title>Command Explanations</title>
|
---|
| 113 |
|
---|
[20f070d8] | 114 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 115 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 116 |
|
---|
[914a41c] | 117 | <para>
|
---|
| 118 | <option>-Dgtk_doc=true</option>: Use this option if GTK-Doc is installed
|
---|
| 119 | and you wish to build and install the API documentation.
|
---|
| 120 | </para>
|
---|
[f175d6f6] | 121 |
|
---|
[914a41c] | 122 | <!--<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 123 | href="../../xincludes/gtk-doc-rebuild.xml"/>-->
|
---|
| 124 |
|
---|
| 125 | <!-- With meson, the tests will be disabled automatically without umockdev present.
|
---|
[3609a85] | 126 | <para>
|
---|
[914a41c] | 127 | <parameter>- -disable-umockdev</parameter>: Disables the usage of
|
---|
[3609a85] | 128 | <xref role="nodep" linkend="umockdev"/>. Omit this switch if you
|
---|
| 129 | wish to run the test suite.
|
---|
| 130 | </para>
|
---|
[914a41c] | 131 | -->
|
---|
[f175d6f6] | 132 | </sect2>
|
---|
| 133 |
|
---|
| 134 | <sect2 role="content">
|
---|
| 135 | <title>Contents</title>
|
---|
| 136 |
|
---|
| 137 | <segmentedlist>
|
---|
| 138 | <segtitle>Installed Program</segtitle>
|
---|
| 139 | <segtitle>Installed Libraries</segtitle>
|
---|
| 140 | <segtitle>Installed Directories</segtitle>
|
---|
| 141 |
|
---|
| 142 | <seglistitem>
|
---|
| 143 | <seg>
|
---|
| 144 | None
|
---|
| 145 | </seg>
|
---|
| 146 | <seg>
|
---|
| 147 | libgudev-1.0.so
|
---|
| 148 | </seg>
|
---|
| 149 | <seg>
|
---|
| 150 | /usr/include/gudev-1.0 and
|
---|
| 151 | /usr/share/gtk-doc/html/gudev
|
---|
| 152 | </seg>
|
---|
| 153 | </seglistitem>
|
---|
| 154 | </segmentedlist>
|
---|
| 155 |
|
---|
| 156 | <variablelist>
|
---|
| 157 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 158 | <?dbfo list-presentation="list"?>
|
---|
| 159 | <?dbhtml list-presentation="table"?>
|
---|
| 160 |
|
---|
| 161 | <varlistentry id="libgudev-1.0">
|
---|
| 162 | <term><filename class="libraryfile">libgudev-1.0.so</filename></term>
|
---|
| 163 | <listitem>
|
---|
| 164 | <para>
|
---|
[4c24eb0a] | 165 | is a GObject-based wrapper library for libudev
|
---|
[f175d6f6] | 166 | </para>
|
---|
| 167 | <indexterm zone="libgudev libgudev-1.0">
|
---|
| 168 | <primary sortas="c-libgudev-1.0">libgudev-1.0.so</primary>
|
---|
| 169 | </indexterm>
|
---|
| 170 | </listitem>
|
---|
| 171 | </varlistentry>
|
---|
| 172 |
|
---|
| 173 | </variablelist>
|
---|
| 174 |
|
---|
| 175 | </sect2>
|
---|
| 176 |
|
---|
| 177 | </sect1>
|
---|