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

10.0 10.1 11.0 11.1 7.10 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/test-20220226
Last change on this file since e0ac6b0 was e0ac6b0, checked in by Pierre Labastie <pieere@…>, 8 years ago

A few typo corrections, even in archive, in case somebody
wants to put a file back in the book. From misspellings-2.0c.

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

  • Property mode set to 100644
File size: 5.3 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 systemd-download-http "http://www.freedesktop.org/wiki/Software/systemd/">
8 <!ENTITY systemd-download-ftp " ">
9 <!-- <!ENTITY udev-md5sum " "> -->
10 <!ENTITY systemd-size "1.3 MB">
11 <!ENTITY systemd-buildsize "314 MB">
12 <!ENTITY systemd-time "3.5 SBU">
13]>
14
15<sect1 id="udev-extras" xreflabel="udev-extras (from systemd)">
16 <?dbhtml filename="udev-extras.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>Udev Extras (from systemd)</title>
24
25 <indexterm zone="udev-extras">
26 <primary sortas="a-udev-extras">udev extras (from systemd)</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to Udev Extras</title>
31
32 <para>Udev was installed as a part of systemd in LFS. However, not
33 all components were installed due to dependencies that were unavailable.
34 This procedure adds those missing components.</para>
35
36 <!-- &lfs75_checked; -->
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>Download (HTTP): <ulink url="&systemd-download-http;"/></para>
42 </listitem>
43 <listitem>
44 <para>Download (FTP): <ulink url="&systemd-download-ftp;"/></para>
45 </listitem>
46 <!-- <listitem>
47 <para>Download MD5 sum: &systemd-md5sum;</para>
48 </listitem> -->
49 <listitem>
50 <para>Download size: &systemd-size;</para>
51 </listitem>
52 <listitem>
53 <para>Estimated disk space required: &systemd-buildsize;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated build time: &systemd-time;</para>
57 </listitem>
58 </itemizedlist>
59
60 <bridgehead renderas="sect3">Udev Extras Dependencies</bridgehead>
61
62 <bridgehead renderas="sect4">Required</bridgehead>
63 <para role="required">
64 <xref linkend="glib2"/> (for the gudev library)
65 </para>
66
67 <bridgehead renderas="sect4">Optional Dependencies</bridgehead>
68 <para role="optional">
69 <xref linkend="gobject-introspection"/> (for gir-data, needed for Gnome)
70 </para>
71
72 <bridgehead renderas="sect4">Optional Runtime Dependencies</bridgehead>
73 <para role="optional">
74 <xref linkend="pciutils"/> and
75 <xref linkend="usbutils"/>
76 </para>
77
78 <para condition="html" role="usernotes">User Notes:
79 <ulink url="&blfs-wiki;/udev-extras"/></para>
80
81 </sect2>
82
83 <sect2 role="installation">
84 <title>Installation of Udev Extras</title>
85
86 <para>First, build systemd:</para>
87
88<screen><userinput>./configure --disable-tests &amp;&amp;
89make</userinput></screen>
90
91 <caution><para>If you maintained the default System V/systemd
92 installation in LFS, do not run <userinput>make install</userinput>.
93 It will overwrite the symbolic links needed to switch boot
94 systems.</para></caution>
95
96 <para>Now install gudev as the <systemitem class="username">root</systemitem>
97 user:</para>
98
99<screen><userinput>mkdir -pv /usr/include/gudev-1.0/gudev /usr/share/gtk-doc/html/gudev &amp;&amp;
100
101cp -v src/gudev/gudev.h /usr/include/gudev-1.0/gudev &amp;&amp;
102cp -v src/gudev/gudev[a-e,t]*.h /usr/include/gudev-1.0/gudev &amp;&amp;
103cp -v .libs/libgudev-1.0.so.0.2.0 /usr/lib &amp;&amp;
104
105ln -svfn libgudev-1.0.so.0.2.0 /usr/lib/libgudev-1.0.so &amp;&amp;
106ln -svfn libgudev-1.0.so.0.2.0 /usr/lib/libgudev-1.0.so.0 &amp;&amp;
107
108cp -v src/gudev/gudev-1.0.pc /usr/lib/pkgconfig &amp;&amp;
109cp -v docs/gudev/html/* /usr/share/gtk-doc/html/gudev</userinput></screen>
110
111 <para>If the optional gobject-introspection package is available, install
112 the gir-data files as the <systemitem class="username">root</systemitem>
113 user:</para>
114
115<screen><userinput>mkdir -pv /usr/lib/girepository-1.0 /usr/share/gir-1.0 &amp;&amp;
116
117cp -v src/gudev/GUdev-1.0.typelib /usr/lib/girepository-1.0 &amp;&amp;
118cp -v src/gudev/GUdev-1.0.gir /usr/share/gir-1.0</userinput></screen>
119
120 </sect2>
121
122 <sect2 role="content">
123 <title>Contents</title>
124
125 <segmentedlist>
126 <segtitle>Installed Programs</segtitle>
127 <segtitle>Installed Library</segtitle>
128 <segtitle>Installed Directories</segtitle>
129
130 <seglistitem>
131 <seg>None</seg>
132
133 <seg>libgudev-1.0.so</seg>
134
135 <seg>/usr/include/gudev-1.0/gudev,
136 /usr/lib/girepository-1.0,
137 /usr/share/gir-1.0, and
138 /usr/share/gtk-doc/html/gudev</seg>
139 </seglistitem>
140 </segmentedlist>
141
142 <variablelist>
143 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
144 <?dbfo list-presentation="list"?>
145 <?dbhtml list-presentation="table"?>
146
147 <varlistentry id="libgudev-1.0-systemd">
148 <term><filename class='libraryfile'>libgudev-1.0.so</filename></term>
149 <listitem>
150 <para>is a GObject-based wrapper library for libudev.</para>
151 <indexterm zone="udev-extras libgudev-1.0-systemd">
152 <primary sortas="c-libgudev-1.0-systemd">libgudev-1.0.so</primary>
153 </indexterm>
154 </listitem>
155 </varlistentry>
156
157 </variablelist>
158
159 </sect2>
160
161</sect1>
Note: See TracBrowser for help on using the repository browser.