source: archive/udev-extras.xml

trunk
Last change on this file was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 4 months ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

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