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