source: general/sysutils/udev-extras.xml@ 5d95ba7

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn 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 5d95ba7 was 5d95ba7, checked in by Chris Staub <chris@…>, 10 years ago

Lib name correction

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@13844 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 <!-- &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 -i '/struct ucred/i struct ucred;' src/libudev/util.h &amp;&amp;
122sed -r -i 's|/usr(/bin/test)|\1|' test/udev-test.pl &amp;&amp;
123
124./configure --prefix=/usr \
125 --bindir=/sbin \
126 --sbindir=/sbin \
127 --libdir=/usr/lib \
128 --sysconfdir=/etc \
129 --libexecdir=/lib \
130 --with-rootprefix= \
131 --with-rootlibdir=/lib \
132 --enable-split-usr \
133 --enable-libkmod \
134 --enable-rule_generator \
135 --enable-keymap \
136 --disable-introspection \
137 --disable-gtk-doc-html \
138 --with-firmware-path=/lib/firmware &amp;&amp;
139
140make</userinput></screen>
141
142 <para>To test the results, issue: <command>make check</command>.</para>
143
144 <para>Now re-install as the <systemitem class="username">root</systemitem>
145 user:</para>
146
147<screen role="root"><userinput>make install</userinput></screen>
148
149 </sect2>
150
151 <sect2 role="commands">
152 <title>Command Explanations</title>
153
154 <para>
155 <parameter>--disable-introspection</parameter>: This prevents the
156 gir-data instructions from running. Remove this option if the optional
157 <xref linkend="gobject-introspection"/> package is installed.
158 </para>
159
160 <para>
161 <parameter>--disable-gtk-doc-html</parameter>: This prevents the
162 building of the html data. Remove this option if the optional
163 <xref linkend="gtk-doc"/> package is installed.
164 </para>
165
166 </sect2>
167
168 <sect2 role="content">
169 <title>Contents</title>
170
171 <segmentedlist>
172 <segtitle>Installed Programs</segtitle>
173 <segtitle>Installed Library</segtitle>
174 <segtitle>Installed Directories</segtitle>
175
176 <seglistitem>
177 <seg>None</seg>
178
179 <seg>libgudev-1.0.so</seg>
180
181 <seg>/usr/include/gudev-1.0/gudev,
182 /usr/lib/girepository-1.0,
183 /usr/share/gir-1.0, and
184 /usr/share/gtk-doc/html/gudev (optional)</seg>
185 </seglistitem>
186 </segmentedlist>
187
188 <variablelist>
189 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
190 <?dbfo list-presentation="list"?>
191 <?dbhtml list-presentation="table"?>
192
193 <varlistentry id="libgudev-1.0-systemd">
194 <term><filename class='libraryfile'>libgudev-1.0.so</filename></term>
195 <listitem>
196 <para>is a GObject-based wrapper library for libudev.</para>
197 <indexterm zone="udev-extras libgudev-1.0-systemd">
198 <primary sortas="c-libgudev-1.0-systemd">libgudev-1.0.so</primary>
199 </indexterm>
200 </listitem>
201 </varlistentry>
202
203 </variablelist>
204
205 </sect2>
206
207</sect1>
Note: See TracBrowser for help on using the repository browser.