source: archive/udev.xml@ f863fd7d

11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since f863fd7d was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 3 years ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

  • Property mode set to 100644
File size: 7.2 KB
Line 
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 udev-download-http "http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-&udev-version;.tar.bz2"> -->
8 <!ENTITY udev-download-http "http://www.kernel.org/pub/linux/utils/kernel/hotplug/">
9 <!ENTITY udev-download-ftp " ">
10 <!-- <!ENTITY udev-md5sum "aeae0e6273dcbec246c3c1b9868ebed1"> -->
11 <!ENTITY udev-size "~500 KB">
12 <!ENTITY udev-buildsize "~10 MB">
13 <!ENTITY udev-time "~1.8 SBU">
14]>
15
16<sect1 id="udev" xreflabel="udev-&udev-version;">
17 <?dbhtml filename="udev.html"?>
18
19 <sect1info>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>Udev-&udev-version;</title>
24
25 <indexterm zone="udev">
26 <primary sortas="a-udev">udev</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to Udev</title>
31
32 <note><para>If you installed LFS from SVN-20120719, LFS-7.2, or later,
33 use <xref linkend='udev-extras'/> instead of this page.</para></note>
34
35 <para><application>Udev</application> was indeed installed in LFS and there
36 is no reason to reinstall it unless you are going to install a package such
37 as <application>UPower</application>. This installation of
38 <application>Udev</application> enables extra features which includes
39 <application>gudev</application>, a requirement for
40 <application>UPower</application> and optionally used by other
41 packages.</para>
42
43 <para>Unlike any other package in the BLFS book, there is no set version
44 of <application>Udev</application> specified to download. Several version
45 updates to LFS and none to BLFS means there are probably many different
46 versions of <application>Udev</application> on the platforms that BLFS is
47 being built upon. Therefore, you should download and use the version of
48 <application>Udev</application> your computer currently uses. The BLFS
49 team has no experience updating (or reverting to an older version) the
50 <application>Udev</application> package <quote>on the fly.</quote> To
51 discover the version of <application>Udev</application> your computer
52 currently uses, issue <command>/sbin/udevadm --version</command>.</para>
53
54 <para>You should look at the LFS instructions for the version you used, to
55 check that you are using the correct testfiles (for some versions, this was a
56 separate tarball, extracted in the udev directory with --strip-components=1)
57 and to compare the configure options you are about to use against those which
58 you used to build the version you are running (sometimes, the options change).
59 </para>
60
61 <para>This package is known to build and work properly using an LFS-7.0
62 platform. (Using Udev-173)</para>
63
64 <para>This package is known to build and work properly using an LFS-7.1
65 platform. (Using Udev-182)</para>
66
67 <bridgehead renderas="sect3">Package Information</bridgehead>
68 <itemizedlist spacing="compact">
69 <listitem>
70 <para>Download (HTTP): <ulink url="&udev-download-http;"/></para>
71 </listitem>
72 <listitem>
73 <para>Download (FTP): <ulink url="&udev-download-ftp;"/></para>
74 </listitem>
75 <!-- <listitem>
76 <para>Download MD5 sum: &udev-md5sum;</para>
77 </listitem> -->
78 <listitem>
79 <para>Download size: &udev-size;</para>
80 </listitem>
81 <listitem>
82 <para>Estimated disk space required: &udev-buildsize;</para>
83 </listitem>
84 <listitem>
85 <para>Estimated build time: &udev-time;</para>
86 </listitem>
87 </itemizedlist>
88
89 <bridgehead renderas="sect3">Udev Dependencies</bridgehead>
90
91 <bridgehead renderas="sect4">Required</bridgehead>
92 <para role="required"><xref linkend="acl"/>,
93 <xref linkend="glib2"/>,
94 <xref linkend="gperf"/>,
95 <xref linkend="pciutils"/>, and
96 <xref linkend="usbutils"/></para>
97
98 <bridgehead renderas="sect4">Optional</bridgehead>
99 <para role="optional"><xref linkend="gobject-introspection"/></para>
100
101 <para condition="html" role="usernotes">User Notes:
102 <ulink url="&blfs-wiki;/udev"/></para>
103
104 </sect2>
105
106 <sect2 role="installation">
107 <title>Installation of Udev</title>
108
109 <para>Install <application>Udev</application> by running the following
110 commands:</para>
111
112<screen><userinput>./configure --prefix=/usr \
113 --sysconfdir=/etc \
114 --sbindir=/sbin \
115 --with-rootlibdir=/lib \
116 --libexecdir=/lib \
117 --with-systemdsystemunitdir=no \
118 --disable-introspection \
119 --docdir=/usr/share/doc/&lt;udev-&udev-version;&gt; &amp;&amp;
120make</userinput></screen>
121
122 <para>To test the results, issue: <command>make check</command>.</para>
123
124 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
125
126<screen role="root"><userinput>make install</userinput></screen>
127
128 </sect2>
129
130 <sect2 role="commands">
131 <title>Command Explanations</title>
132
133 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
134 href="../../xincludes/gtk-doc-rebuild.xml"/>
135
136 <para><option>--disable-introspection</option>: Remove this option if
137 the optional dependency gobject-introspection is installed.</para>
138
139 <para><option>--with-systemdsystemunitdir=no</option>: systemd is not used
140 in (B)LFS.</para>
141
142 </sect2>
143
144 <sect2 role="content">
145 <title>Contents</title>
146
147 <para>A list of the installed files, along with their short descriptions
148 can be found at
149 <ulink url="&lfs-root;/chapter06/udev.html#contents-udev"/>.</para>
150
151 <para>The following is some additional content information.</para>
152
153 <segmentedlist>
154 <segtitle>Installed Programs</segtitle>
155 <segtitle>Installed Library</segtitle>
156 <segtitle>Installed Directories</segtitle>
157
158 <seglistitem>
159 <seg>findkeyboards, firmware, input_id,
160 keyboard-force-release.sh, keymap, modem-modeswitch, pci-db, udev-acl,
161 usb-db, and v4l_id</seg>
162 <seg>libgudev-1.0.so</seg>
163 <seg>/lib/udev/keymaps/force-release,
164 /usr/{include/gudev-1.0/gudev,share/{doc/udev-&udev-version;,
165 gtk-doc/html/gudev}}</seg>
166 </seglistitem>
167 </segmentedlist>
168
169 <variablelist>
170 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
171 <?dbfo list-presentation="list"?>
172 <?dbhtml list-presentation="table"?>
173
174 <varlistentry id="keymap">
175 <term><command>keymap</command></term>
176 <listitem>
177 <para>configures computer model specific key mappings.</para>
178 <indexterm zone="udev keymap">
179 <primary sortas="b-keymap">keymap</primary>
180 </indexterm>
181 </listitem>
182 </varlistentry>
183
184 <varlistentry id="libgudev-1.0">
185 <term><filename class='libraryfile'>libgudev-1.0.so</filename></term>
186 <listitem>
187 <para>is a GObject-based wrapper library for libudev.</para>
188 <indexterm zone="udev libgudev-1.0">
189 <primary sortas="c-libgudev-1.0">libgudev-1.0.so</primary>
190 </indexterm>
191 </listitem>
192 </varlistentry>
193
194 </variablelist>
195
196 </sect2>
197
198</sect1>
Note: See TracBrowser for help on using the repository browser.