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

10.0 10.1 11.0 11.1 11.2 7.10 7.6 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind krejzi/svn lazarus nosym perl-modules plabs/python-mods qt5new trunk upgradedb xry111/intltool xry111/soup3 xry111/test-20220226
Last change on this file since e248af7 was e248af7, checked in by Pierre Labastie <pieere@…>, 8 years ago

-Remove an useless sed in udev-extras.
-change general.ent reference to packages.ent in template

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

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