source: general/genlib/libgudev.xml

trunk
Last change on this file was c0bc0a9, checked in by Xi Ruoyao <xry111@…>, 6 weeks ago

Update to glib-2.80.0 and gobject-introspection-1.80.0

Merge gobject-introspection into glib page to better handle a circular
dependency between these two packages.

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