source: general/sysutils/udev-extras.xml@ 369d7767

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.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 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 369d7767 was 369d7767, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

xscreensaver-5.29
goffice-0.10.17
gnumeric-1.12.17
cmake-3.0.0
Remove all explicit eudev version references from Udev Extras.

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

  • Property mode set to 100644
File size: 7.4 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 <!ENTITY eudev-svn-download-http "http://dev.gentoo.org/~blueness/eudev">
15]>
16
17<sect1 id="udev-extras" xreflabel="udev-extras (from eudev)">
18 <?dbhtml filename="udev-extras.html"?>
19
20 <sect1info>
21 <othername>$LastChangedBy$</othername>
22 <date>$Date$</date>
23 </sect1info>
24
25 <title>Udev Extras (from eudev)</title>
26
27 <indexterm zone="udev-extras">
28 <primary sortas="a-udev-extras">udev extras (from eudev)</primary>
29 </indexterm>
30
31 <sect2 role="package">
32 <title>Introduction to Udev Extras</title>
33
34 <para><application>Udev</application> was indeed installed in LFS and there
35 is no reason to reinstall it unless the user is going to install a package
36 such as <application>UPower</application>. This installation of
37 <application>Udev</application> enables extra features which includes gudev,
38 a requirement for <application>UPower</application> and optionally used by
39 other packages.</para>
40
41 <para>Unlike any other package in the development version of BLFS book,
42 there is no set version of <application>Eudev</application> in this pages's
43 title. For consistency, there is no set version specified to download, as
44 well. Version update to <application>Eudev</application> in the development
45 LFS makes probable that the user's system may have an
46 <application>Eudev</application> version different from the one in the
47 development LFS. Therefore, users should download and use the version of
48 <application>Eudev</application> their computer currently uses. With few
49 exceptions, the BLFS team has no experience updating (or reverting to an
50 older version) the <application>Eudev</application> package <quote>on the
51 fly</quote>.</para>
52
53 <!-- &lfs75_checked; -->
54
55 <bridgehead renderas="sect3">Package Information</bridgehead>
56 <caution>
57 <para>
58 If you are using the development version of BLFS, the Eudev version
59 on this page may be higher than the one you used for building LFS.
60 Newer versions of Eudev may occasionally be incompatible with former
61 ones, either because they require some new options to be enabled
62 in the kernel or because they change the way rules are parsed. You
63 may want to consult
64 <ulink url="http:wiki.gentoo.org/wiki/Udev/upgrade">the Gentoo
65 page</ulink> about upgrading Udev. Another alternative is
66 to run the instructions below with the Eudev version on your
67 current system.
68 </para>
69 </caution>
70 <itemizedlist spacing="compact">
71 <listitem>
72 <para>Download (HTTP): <ulink url="&eudev-svn-download-http;"/></para>
73 </listitem>
74<!-- <listitem>
75 <para>Download (HTTP): <ulink url="&eudev-download-http;"/></para>
76 </listitem>
77 <listitem>
78 <para>Download (FTP): <ulink url="&eudev-download-ftp;"/></para>
79 </listitem>
80 <listitem>
81 <para>Download MD5 sum: &eudev-md5sum;</para>
82 </listitem>
83 <listitem>
84 <para>Download size: &eudev-size;</para>
85 </listitem>
86 <listitem>
87 <para>Estimated disk space required: &eudev-buildsize;</para>
88 </listitem>
89 <listitem>
90 <para>Estimated build time: &eudev-time;</para>
91 </listitem>-->
92 </itemizedlist>
93
94 <bridgehead renderas="sect3">Udev Extras Dependencies</bridgehead>
95
96 <bridgehead renderas="sect4">Required</bridgehead>
97 <para role="required">
98 <xref linkend="glib2"/>
99 </para>
100
101 <bridgehead renderas="sect4">Optional Dependencies</bridgehead>
102 <para role="optional">
103 <xref linkend="gobject-introspection"/> (for gir-data, needed for Gnome),
104 <xref linkend="docbook-xsl"/> and <xref linkend="libxslt"/> (to build
105 man pages, which are not shipped with the package), and
106 <xref linkend="gtk-doc"/> (to rebuild the documentation)
107 </para>
108
109 <bridgehead renderas="sect4">Optional Runtime Dependencies</bridgehead>
110 <para role="optional">
111 <xref linkend="pciutils"/> and
112 <xref linkend="usbutils"/>
113 </para>
114
115 <para condition="html" role="usernotes">User Notes:
116 <ulink url="&blfs-wiki;/udev-extras"/></para>
117
118 </sect2>
119
120 <sect2 role="installation">
121 <title>Installation of Udev Extras</title>
122
123 <para>First, re-build eudev:</para>
124
125<screen><userinput>sed -i '/struct ucred/i struct ucred;' src/libudev/util.h &amp;&amp;
126sed -r -i 's|/usr(/bin/test)|\1|' test/udev-test.pl &amp;&amp;
127
128./configure --prefix=/usr \
129 --bindir=/sbin \
130 --sbindir=/sbin \
131 --libdir=/usr/lib \
132 --sysconfdir=/etc \
133 --libexecdir=/lib \
134 --with-rootprefix= \
135 --with-rootlibdir=/lib \
136 --enable-split-usr \
137 --enable-libkmod \
138 --enable-rule_generator \
139 --enable-keymap \
140 --disable-introspection \
141 --disable-gtk-doc-html \
142 --with-firmware-path=/lib/firmware &amp;&amp;
143
144make</userinput></screen>
145
146 <para>To test the results, issue: <command>make check</command>.</para>
147
148 <para>Now re-install as the <systemitem class="username">root</systemitem>
149 user:</para>
150
151<screen role="root"><userinput>make install</userinput></screen>
152
153 </sect2>
154
155 <sect2 role="commands">
156 <title>Command Explanations</title>
157
158 <para>
159 <parameter>--disable-introspection</parameter>: This prevents the
160 gir-data instructions from running. Remove this option if the optional
161 <xref linkend="gobject-introspection"/> package is installed.
162 </para>
163
164 <para>
165 <parameter>--disable-gtk-doc-html</parameter>: This prevents the
166 building of the html data. Remove this option if the optional
167 <xref linkend="gtk-doc"/> package is installed.
168 </para>
169
170 </sect2>
171
172 <sect2 role="content">
173 <title>Contents</title>
174
175 <segmentedlist>
176 <segtitle>Installed Programs</segtitle>
177 <segtitle>Installed Library</segtitle>
178 <segtitle>Installed Directories</segtitle>
179
180 <seglistitem>
181 <seg>None</seg>
182
183 <seg>libgudev-1.0.so</seg>
184
185 <seg>/usr/include/gudev-1.0/gudev,
186 /usr/lib/girepository-1.0,
187 /usr/share/gir-1.0, and
188 /usr/share/gtk-doc/html/gudev (optional)</seg>
189 </seglistitem>
190 </segmentedlist>
191
192 <variablelist>
193 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
194 <?dbfo list-presentation="list"?>
195 <?dbhtml list-presentation="table"?>
196
197 <varlistentry id="libgudev-1.0-systemd">
198 <term><filename class='libraryfile'>libgudev-1.0.so</filename></term>
199 <listitem>
200 <para>is a GObject-based wrapper library for libudev.</para>
201 <indexterm zone="udev-extras libgudev-1.0-systemd">
202 <primary sortas="c-libgudev-1.0-systemd">libgudev-1.0.so</primary>
203 </indexterm>
204 </listitem>
205 </varlistentry>
206
207 </variablelist>
208
209 </sect2>
210
211</sect1>
Note: See TracBrowser for help on using the repository browser.