source: general/sysutils/udev-extras.xml@ ba291e0

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since ba291e0 was 601a838, checked in by Randy McMurchy <randy@…>, 12 years ago

Fixed typos and added missing XML tags

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10541 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 8.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 systemd-download-http "http://www.freedesktop.org/wiki/Software/systemd/">
8 <!ENTITY systemd-download-ftp " ">
9 <!-- <!ENTITY udev-md5sum " "> -->
10 <!ENTITY systemd-size "~1.3 MB">
11 <!ENTITY systemd-buildsize "~16 MB">
12 <!ENTITY systemd-time "~0.1 SBU">
13]>
14
15<sect1 id="udev-extras" xreflabel="udev-extras (from systemd)">
16 <?dbhtml filename="udev-extras.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>Udev Extras (from systemd)</title>
24
25 <indexterm zone="udev-extras">
26 <primary sortas="a-udev-extras">udev extras (from systemd)</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to Udev Extras</title>
31
32 <para>In 2012, the <application>Udev</application> code distribution was
33 merged with <application>systemd</application>.
34 <application>Systemd</application> is a set of programs that replace the
35 <application>SysVInit</application> package used by LFS and is much more
36 complex. It is not compatible with the LFS bootscripts and has many
37 problems and few advantages for most LFS users.</para>
38
39 <para>The procedures below extract libraries and programs from the systemd
40 sources that could not be built in LFS due to library dependency
41 issues.</para>
42
43 <para>Unlike any other package in the BLFS book, there is no set version
44 of <application>systemd</application> specified to download. Several version
45 updates to LFS and 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>systemd</application> your computer currently uses. The BLFS
49 team has no experience updating (or reverting to an older version) the
50 <application>Udev</application> programs <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>This package is known to build and work properly using an LFS-development
55 platform. (Using systemd-186.)</para>
56
57 <bridgehead renderas="sect3">Package Information</bridgehead>
58 <itemizedlist spacing="compact">
59 <listitem>
60 <para>Download (HTTP): <ulink url="&systemd-download-http;"/></para>
61 </listitem>
62 <listitem>
63 <para>Download (FTP): <ulink url="&systemd-download-ftp;"/></para>
64 </listitem>
65 <!-- <listitem>
66 <para>Download MD5 sum: &systemd-md5sum;</para>
67 </listitem> -->
68 <listitem>
69 <para>Download size: &systemd-size;</para>
70 </listitem>
71 <listitem>
72 <para>Estimated disk space required: &systemd-buildsize;</para>
73 </listitem>
74 <listitem>
75 <para>Estimated build time: &systemd-time;</para>
76 </listitem>
77 </itemizedlist>
78
79 <bridgehead renderas="sect3">Udev Extras Dependencies</bridgehead>
80
81 <bridgehead renderas="sect4">Required</bridgehead>
82 <para role="required">
83 <ulink url="http://anduin.linuxfromscratch.org/sources/other/"/>
84 (match the udev-lfs-???.tar.bz2 tarball version to the systemd version used in LFS).
85 <xref linkend="glib2"/> (for the gudev library),
86 <xref linkend="gperf"/> (for keymap), and
87 <xref linkend="gobject-introspection"/> (for gir-data, needed for Gnome)
88 </para>
89
90 <bridgehead renderas="sect4">Optional</bridgehead>
91 <para role="optional">
92 <xref linkend="acl"/>
93 </para>
94
95 <bridgehead renderas="sect4">Optional Runtime Dependencies</bridgehead>
96 <para role="optional">
97 <xref linkend="pciutils"/> and
98 <xref linkend="usbutils"/>
99 </para>
100
101 <para condition="html" role="usernotes">User Notes:
102 <ulink url="&blfs-wiki;/udev-extras"/></para>
103
104 </sect2>
105
106 <sect2 role="installation">
107 <title>Installation of Udev Extras</title>
108
109 <para>First, put the custom LFS files in place:</para>
110
111<screen><userinput>tar -xf ../udev-lfs-186.tar.bz2</userinput></screen>
112
113 <sect3>
114 <title>keymap</title>
115 <para>Support for special keys for many laptops is provided by the
116 <command>keymap</command> program and supporting files. If the
117 <command>keymap</command> capability is desired, use:</para>
118
119<screen><userinput>make -f udev-lfs-186/Makefile.lfs keymap</userinput></screen>
120
121 <para>To install <command>keymap</command> and its associated files,
122 issue the following command as the
123 <systemitem class="username">root</systemitem> user:</para>
124
125<screen><userinput>make -f udev-lfs-186/Makefile.lfs install-keymap</userinput></screen>
126
127 </sect3>
128
129 <sect3>
130 <title>gudev</title>
131
132 <para>To build the <application>libgudev-1.0</application> library and
133 interface files, run:</para>
134
135<screen><userinput>make -f udev-lfs-186/Makefile.lfs gudev</userinput></screen>
136
137 <para>Install the <filename class='libraryfile'>gudev</filename> library,
138 run, as the <systemitem class="username">root</systemitem> user:</para>
139
140<screen><userinput>make -f udev-lfs-186/Makefile.lfs install-gudev</userinput></screen>
141
142 </sect3>
143
144 <sect3>
145 <title>GObject Files</title>
146
147 <para>To build the <application>gobject-introspection</application>
148 interface (gir) files for the <filename
149 class='libraryfile'>libgudev-1.0</filename> library, run:</para>
150
151<screen><userinput>make -f udev-lfs-186/Makefile.lfs gir-data</userinput></screen>
152
153 <para>Install the gir data, as the <systemitem
154 class="username">root</systemitem> user:</para>
155
156<screen><userinput>make -f udev-lfs-186/Makefile.lfs install-gir-data</userinput></screen>
157
158 <caution><para>There is a shortcut to build and install all of the
159 <application>udev</application> components at once using the
160 <emphasis>all</emphasis> and <emphasis>install-all</emphasis>
161 <filename>Makefile.lfs</filename> targets. The installation of this target
162 will overwrite the base LFS udev files and has not been thoroughly tested
163 at the time of this writing. If using this procedure, the udev daemon
164 should be stopped before overwriting the existing <filename>udevd</filename>
165 and udev libraries.</para></caution>
166
167 </sect3>
168 </sect2>
169
170 <sect2 role="content">
171 <title>Contents</title>
172
173 <para>A list of the installed files, along with their short descriptions
174 can be found at
175 <ulink url="&lfs-root;/chapter06/udev.html#contents-udev"/>.</para>
176
177 <para>The following is some additional content information.</para>
178
179 <segmentedlist>
180 <segtitle>Installed Programs</segtitle>
181 <segtitle>Installed Library</segtitle>
182 <segtitle>Installed Directories</segtitle>
183
184 <seglistitem>
185 <seg>findkeyboards, keyboard-force-release.sh, and keymap</seg>
186
187 <seg>libgudev-1.0.so</seg>
188
189 <seg>/lib/udev/keymaps/force-release,
190 /usr/include/gudev-1.0/gudev,
191 /usr/lib/girepository-1.0,
192 /usr/share/gir-1.0, and
193 /usr/share/gtk-doc/html/gudev</seg>
194 </seglistitem>
195 </segmentedlist>
196
197 <variablelist>
198 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
199 <?dbfo list-presentation="list"?>
200 <?dbhtml list-presentation="table"?>
201
202 <varlistentry id="keymap-systemd">
203 <term><command>keymap</command></term>
204 <listitem>
205 <para>configures computer model specific key mappings.</para>
206 <indexterm zone="udev-extras keymap-systemd">
207 <primary sortas="b-keymap">keymap (from systemd)</primary>
208 </indexterm>
209 </listitem>
210 </varlistentry>
211
212 <varlistentry id="libgudev-1.0-systemd">
213 <term><filename class='libraryfile'>libgudev-1.0.so</filename></term>
214 <listitem>
215 <para>is a GObject-based wrapper library for libudev.</para>
216 <indexterm zone="udev-extras libgudev-1.0-systemd">
217 <primary sortas="c-libgudev-1.0-systemd">libgudev-1.0.so</primary>
218 </indexterm>
219 </listitem>
220 </varlistentry>
221
222 </variablelist>
223
224 </sect2>
225
226</sect1>
Note: See TracBrowser for help on using the repository browser.