source: archive/udev-extras.xml

trunk
Last change on this file was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 17 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

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