source: general/sysutils/udev-extras.xml@ 8b7a4ddd

gnome
Last change on this file since 8b7a4ddd was 201fca3d, checked in by Christopher Gregory <cjg@…>, 10 years ago

Added systemd notes to fcron gpm sysstat and udev-extras pages

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