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">
|
---|
11 | <!ENTITY libgudev-md5sum "a7783083cd74957d3a727ddc4737ee84">
|
---|
12 | <!ENTITY libgudev-size "32 KB">
|
---|
13 | <!ENTITY libgudev-buildsize "1.8 MB">
|
---|
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 |
|
---|
35 | &lfs112_checked;
|
---|
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">
|
---|
78 | <xref linkend="gobject-introspection"/> (for gir-data, needed for GNOME),
|
---|
79 | <xref linkend="gtk-doc"/>, and
|
---|
80 | <xref linkend="umockdev"/> (for testing)
|
---|
81 | </para>
|
---|
82 |
|
---|
83 | <para condition="html" role="usernotes">User Notes:
|
---|
84 | <ulink url="&blfs-wiki;/libgudev"/>
|
---|
85 | </para>
|
---|
86 | </sect2>
|
---|
87 |
|
---|
88 | <sect2 role="installation">
|
---|
89 | <title>Installation of libgudev</title>
|
---|
90 |
|
---|
91 | <para>
|
---|
92 | Install <application>libgudev</application> by running
|
---|
93 | the following commands:
|
---|
94 | </para>
|
---|
95 |
|
---|
96 | <screen><userinput>mkdir build &&
|
---|
97 | cd build &&
|
---|
98 |
|
---|
99 | meson --prefix=/usr --buildtype=release .. &&
|
---|
100 | ninja</userinput></screen>
|
---|
101 |
|
---|
102 | <para>
|
---|
103 | To test the results, issue: <command>ninja test</command>.
|
---|
104 | </para>
|
---|
105 |
|
---|
106 | <para>
|
---|
107 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
108 | </para>
|
---|
109 |
|
---|
110 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
111 |
|
---|
112 | </sect2>
|
---|
113 |
|
---|
114 | <sect2 role="commands">
|
---|
115 | <title>Command Explanations</title>
|
---|
116 |
|
---|
117 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
118 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
119 |
|
---|
120 | <para>
|
---|
121 | <option>-Dgtk_doc=true</option>: Use this option if GTK-Doc is installed
|
---|
122 | and you wish to build and install the API documentation.
|
---|
123 | </para>
|
---|
124 |
|
---|
125 | <!--<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
126 | href="../../xincludes/gtk-doc-rebuild.xml"/>-->
|
---|
127 |
|
---|
128 | <!-- With meson, the tests will be disabled automatically without umockdev present.
|
---|
129 | <para>
|
---|
130 | <parameter>- -disable-umockdev</parameter>: Disables the usage of
|
---|
131 | <xref role="nodep" linkend="umockdev"/>. Omit this switch if you
|
---|
132 | wish to run the test suite.
|
---|
133 | </para>
|
---|
134 | -->
|
---|
135 | </sect2>
|
---|
136 |
|
---|
137 | <sect2 role="content">
|
---|
138 | <title>Contents</title>
|
---|
139 |
|
---|
140 | <segmentedlist>
|
---|
141 | <segtitle>Installed Program</segtitle>
|
---|
142 | <segtitle>Installed Libraries</segtitle>
|
---|
143 | <segtitle>Installed Directories</segtitle>
|
---|
144 |
|
---|
145 | <seglistitem>
|
---|
146 | <seg>
|
---|
147 | None
|
---|
148 | </seg>
|
---|
149 | <seg>
|
---|
150 | libgudev-1.0.so
|
---|
151 | </seg>
|
---|
152 | <seg>
|
---|
153 | /usr/include/gudev-1.0 and
|
---|
154 | /usr/share/gtk-doc/html/gudev
|
---|
155 | </seg>
|
---|
156 | </seglistitem>
|
---|
157 | </segmentedlist>
|
---|
158 |
|
---|
159 | <variablelist>
|
---|
160 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
161 | <?dbfo list-presentation="list"?>
|
---|
162 | <?dbhtml list-presentation="table"?>
|
---|
163 |
|
---|
164 | <varlistentry id="libgudev-1.0">
|
---|
165 | <term><filename class="libraryfile">libgudev-1.0.so</filename></term>
|
---|
166 | <listitem>
|
---|
167 | <para>
|
---|
168 | is a GObject-based wrapper library for libudev
|
---|
169 | </para>
|
---|
170 | <indexterm zone="libgudev libgudev-1.0">
|
---|
171 | <primary sortas="c-libgudev-1.0">libgudev-1.0.so</primary>
|
---|
172 | </indexterm>
|
---|
173 | </listitem>
|
---|
174 | </varlistentry>
|
---|
175 |
|
---|
176 | </variablelist>
|
---|
177 |
|
---|
178 | </sect2>
|
---|
179 |
|
---|
180 | </sect1>
|
---|