source: archive/udev-extras-old.xml

trunk
Last change on this file was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 3 months ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

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