source: archive/udev-extras.xml@ f175d6f6

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since f175d6f6 was f175d6f6, checked in by Bruce Dubbs <bdubbs@…>, 9 years ago

Substitute libgudev for Udev Extras.
Add KDE Frameworks 5.

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

  • 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 <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 &lfs77_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 --disable-static &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 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
166 href="../../xincludes/static-libraries.xml"/>
167
168 </sect2>
169
170 <sect2 role="content">
171 <title>Contents</title>
172
173 <segmentedlist>
174 <segtitle>Installed Programs</segtitle>
175 <segtitle>Installed Library</segtitle>
176 <segtitle>Installed Directories</segtitle>
177
178 <seglistitem>
179 <seg>None</seg>
180
181 <seg>libgudev-1.0.so</seg>
182
183 <seg>/usr/include/gudev-1.0/gudev,
184 /usr/lib/girepository-1.0,
185 /usr/share/gir-1.0, and
186 /usr/share/gtk-doc/html/gudev (optional)</seg>
187 </seglistitem>
188 </segmentedlist>
189
190 <variablelist>
191 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
192 <?dbfo list-presentation="list"?>
193 <?dbhtml list-presentation="table"?>
194
195 <varlistentry id="libgudev-1.0-systemd">
196 <term><filename class='libraryfile'>libgudev-1.0.so</filename></term>
197 <listitem>
198 <para>is a GObject-based wrapper library for libudev.</para>
199 <indexterm zone="udev-extras libgudev-1.0-systemd">
200 <primary sortas="c-libgudev-1.0-systemd">libgudev-1.0.so</primary>
201 </indexterm>
202 </listitem>
203 </varlistentry>
204
205 </variablelist>
206
207 </sect2>
208
209</sect1>
Note: See TracBrowser for help on using the repository browser.