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

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 c612fc3 was c612fc3, checked in by Pierre Labastie <pieere@…>, 8 years ago

Typo and format corrections

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

  • Property mode set to 100644
File size: 5.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 "c2fbf420a50d07b80158a0185cbb08f7">
10 <!ENTITY eudev-size "1.7 MB">
11 <!ENTITY eudev-buildsize "97 MB">
12 <!ENTITY eudev-time "0.4 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 <itemizedlist spacing="compact">
40 <listitem>
41 <para>Download (HTTP): <ulink url="&eudev-download-http;"/></para>
42 </listitem>
43 <listitem>
44 <para>Download (FTP): <ulink url="&eudev-download-ftp;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download MD5 sum: &eudev-md5sum;</para>
48 </listitem>
49 <listitem>
50 <para>Download size: &eudev-size;</para>
51 </listitem>
52 <listitem>
53 <para>Estimated disk space required: &eudev-buildsize;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated build time: &eudev-time;</para>
57 </listitem>
58 </itemizedlist>
59
60 <bridgehead renderas="sect3">Udev Extras Dependencies</bridgehead>
61
62 <bridgehead renderas="sect4">Required</bridgehead>
63 <para role="required">
64 <xref linkend="glib2"/>
65 </para>
66
67 <bridgehead renderas="sect4">Optional Dependencies</bridgehead>
68 <para role="optional">
69 <xref linkend="gobject-introspection"/> (for gir-data, needed for Gnome), and
70 <xref linkend="gtk-doc"/> (to rebuild the documentation)
71 </para>
72
73 <bridgehead renderas="sect4">Optional Runtime Dependencies</bridgehead>
74 <para role="optional">
75 <xref linkend="pciutils"/> and
76 <xref linkend="usbutils"/>
77 </para>
78
79 <para condition="html" role="usernotes">User Notes:
80 <ulink url="&blfs-wiki;/udev-extras"/></para>
81
82 </sect2>
83
84 <sect2 role="installation">
85 <title>Installation of Udev Extras</title>
86
87 <para>First, re-build eudev:</para>
88
89<screen><userinput>sed -i '/struct ucred/i struct ucred;' src/libudev/util.h &amp;&amp;
90sed -r -i 's|/usr(/bin/test)|\1|' test/udev-test.pl &amp;&amp;
91
92./configure --prefix=/usr \
93 --bindir=/sbin \
94 --sbindir=/sbin \
95 --libdir=/usr/lib \
96 --sysconfdir=/etc \
97 --libexecdir=/lib \
98 --with-rootprefix= \
99 --with-rootlibdir=/lib \
100 --enable-split-usr \
101 --enable-libkmod \
102 --enable-rule_generator \
103 --enable-keymap \
104 --disable-introspection \
105 --disable-gtk-doc-html \
106 --with-firmware-path=/lib/firmware &amp;&amp;
107
108make</userinput></screen>
109
110 <para>To test the results, issue: <userinput>make check</userinput>.</para>
111
112 <para>Now re-install as the <systemitem class="username">root</systemitem>
113 user:</para>
114
115<screen role="root"><userinput>make install</userinput></screen>
116
117 </sect2>
118
119 <sect2 role="commands">
120 <title>Command Explanations</title>
121
122 <para>
123 <parameter>--disable-introspection</parameter>: This prevents the
124 gir-data instructions from running. Remove this option if the optional
125 <xref linkend="gobject-introspection"/> package is installed.
126 </para>
127
128 <para>
129 <parameter>--disable-gtk-doc-html</parameter>: This prevents the
130 building of the html data. Remove this option if the optional
131 <xref linkend="gtk-doc"/> package is installed.
132 </para>
133
134 </sect2>
135
136 <sect2 role="content">
137 <title>Contents</title>
138
139 <segmentedlist>
140 <segtitle>Installed Programs</segtitle>
141 <segtitle>Installed Library</segtitle>
142 <segtitle>Installed Directories</segtitle>
143
144 <seglistitem>
145 <seg>None</seg>
146
147 <seg>libgudev-1.0.so</seg>
148
149 <seg>/usr/include/gudev-1.0/gudev,
150 /usr/lib/girepository-1.0,
151 /usr/share/gir-1.0, and
152 /usr/share/gtk-doc/html/gudev</seg>
153 </seglistitem>
154 </segmentedlist>
155
156 <variablelist>
157 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
158 <?dbfo list-presentation="list"?>
159 <?dbhtml list-presentation="table"?>
160
161 <varlistentry id="libgudev-1.0-systemd">
162 <term><filename class='libraryfile'>libgudev-1.0.so</filename></term>
163 <listitem>
164 <para>is a GObject-based wrapper library for libudev.</para>
165 <indexterm zone="udev-extras libgudev-1.0-systemd">
166 <primary sortas="c-libgudev-1.0-systemd">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.