source: general/sysutils/udev-extras.xml@ 6dc6bf4

10.0 10.1 11.0 11.1 7.10 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 krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/test-20220226
Last change on this file since 6dc6bf4 was 6dc6bf4, checked in by Pierre Labastie <pieere@…>, 8 years ago

Update to Eudev 1.7, and add a
note about upgrading udev

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

  • Property mode set to 100644
File size: 6.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 eudev-download-http "http://dev.gentoo.org/~blueness/eudev/eudev-&eudev-version;.tar.gz">
8 <!ENTITY eudev-download-ftp " ">
9 <!ENTITY eudev-md5sum "80649a0350ff9620fc2da9562d9f2a6a">
10 <!ENTITY eudev-size "1.7 MB">
11 <!ENTITY eudev-buildsize "23 MB">
12 <!ENTITY eudev-time "0.3 SBU">
13]>
14
15<sect1 id="udev-extras" xreflabel="udev-extras (from eudev)">
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 eudev)</title>
24
25 <indexterm zone="udev-extras">
26 <primary sortas="a-udev-extras">udev extras (from eudev)</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to Udev Extras</title>
31
32 <para>Udev was installed as a part of eudev in LFS. However, not
33 all components were installed due to dependencies that were unavailable.
34 This procedure adds those missing components.</para>
35
36 <!-- &lfs75_checked; -->
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <note>
40 <para>
41 If you are using the development version of BLFS, the Eudev version
42 on this page may be higher than the one you had for building LFS.
43 Newer version of Eudev may occasionally be incompatible with former
44 ones, either because they require some new options to be enabled
45 in the kernel, or because they change the way rules are parsed. You
46 may want to consult
47 <ulink url="http:wiki.gentoo.org/wiki/Udev/upgrade">the Gentoo
48 page</ulink> about upgrading Udev. Another alternative is
49 to run the instructions below with the Eudev version that you built
50 LFS with.
51 </para>
52 </note>
53 <itemizedlist spacing="compact">
54 <listitem>
55 <para>Download (HTTP): <ulink url="&eudev-download-http;"/></para>
56 </listitem>
57 <listitem>
58 <para>Download (FTP): <ulink url="&eudev-download-ftp;"/></para>
59 </listitem>
60 <listitem>
61 <para>Download MD5 sum: &eudev-md5sum;</para>
62 </listitem>
63 <listitem>
64 <para>Download size: &eudev-size;</para>
65 </listitem>
66 <listitem>
67 <para>Estimated disk space required: &eudev-buildsize;</para>
68 </listitem>
69 <listitem>
70 <para>Estimated build time: &eudev-time;</para>
71 </listitem>
72 </itemizedlist>
73
74 <bridgehead renderas="sect3">Udev Extras Dependencies</bridgehead>
75
76 <bridgehead renderas="sect4">Required</bridgehead>
77 <para role="required">
78 <xref linkend="glib2"/>
79 </para>
80
81 <bridgehead renderas="sect4">Optional Dependencies</bridgehead>
82 <para role="optional">
83 <xref linkend="gobject-introspection"/> (for gir-data, needed for Gnome),
84 <xref linkend="docbook-xsl"/> and <xref linkend="libxslt"/> (to build
85 man pages, which are not shipped with the package), and
86 <xref linkend="gtk-doc"/> (to rebuild the documentation)
87 </para>
88
89 <bridgehead renderas="sect4">Optional Runtime Dependencies</bridgehead>
90 <para role="optional">
91 <xref linkend="pciutils"/> and
92 <xref linkend="usbutils"/>
93 </para>
94
95 <para condition="html" role="usernotes">User Notes:
96 <ulink url="&blfs-wiki;/udev-extras"/></para>
97
98 </sect2>
99
100 <sect2 role="installation">
101 <title>Installation of Udev Extras</title>
102
103 <para>First, re-build eudev:</para>
104
105<screen><userinput>sed -i '/struct ucred/i struct ucred;' src/libudev/util.h &amp;&amp;
106sed -r -i 's|/usr(/bin/test)|\1|' test/udev-test.pl &amp;&amp;
107
108./configure --prefix=/usr \
109 --bindir=/sbin \
110 --sbindir=/sbin \
111 --libdir=/usr/lib \
112 --sysconfdir=/etc \
113 --libexecdir=/lib \
114 --with-rootprefix= \
115 --with-rootlibdir=/lib \
116 --enable-split-usr \
117 --enable-libkmod \
118 --enable-rule_generator \
119 --enable-keymap \
120 --disable-introspection \
121 --disable-gtk-doc-html \
122 --with-firmware-path=/lib/firmware &amp;&amp;
123
124make</userinput></screen>
125
126 <para>To test the results, issue: <command>make check</command>.</para>
127
128 <para>Now re-install as the <systemitem class="username">root</systemitem>
129 user:</para>
130
131<screen role="root"><userinput>make install</userinput></screen>
132
133 </sect2>
134
135 <sect2 role="commands">
136 <title>Command Explanations</title>
137
138 <para>
139 <parameter>--disable-introspection</parameter>: This prevents the
140 gir-data instructions from running. Remove this option if the optional
141 <xref linkend="gobject-introspection"/> package is installed.
142 </para>
143
144 <para>
145 <parameter>--disable-gtk-doc-html</parameter>: This prevents the
146 building of the html data. Remove this option if the optional
147 <xref linkend="gtk-doc"/> package is installed.
148 </para>
149
150 </sect2>
151
152 <sect2 role="content">
153 <title>Contents</title>
154
155 <segmentedlist>
156 <segtitle>Installed Programs</segtitle>
157 <segtitle>Installed Library</segtitle>
158 <segtitle>Installed Directories</segtitle>
159
160 <seglistitem>
161 <seg>None</seg>
162
163 <seg>libgudev-1.0.so</seg>
164
165 <seg>/usr/include/gudev-1.0/gudev,
166 /usr/lib/girepository-1.0,
167 /usr/share/gir-1.0, and
168 /usr/share/gtk-doc/html/gudev (optional)</seg>
169 </seglistitem>
170 </segmentedlist>
171
172 <variablelist>
173 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
174 <?dbfo list-presentation="list"?>
175 <?dbhtml list-presentation="table"?>
176
177 <varlistentry id="libgudev-1.0-systemd">
178 <term><filename class='libraryfile'>libgudev-1.0.so</filename></term>
179 <listitem>
180 <para>is a GObject-based wrapper library for libudev.</para>
181 <indexterm zone="udev-extras libgudev-1.0-systemd">
182 <primary sortas="c-libgudev-1.0-systemd">libgudev-1.0.so</primary>
183 </indexterm>
184 </listitem>
185 </varlistentry>
186
187 </variablelist>
188
189 </sect2>
190
191</sect1>
Note: See TracBrowser for help on using the repository browser.