[c07080d] | 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 |
|
---|
[d1fe212] | 7 | <!ENTITY eudev-download-http "http://dev.gentoo.org/~blueness/eudev/eudev-&eudev-version;.tar.gz">
|
---|
| 8 | <!ENTITY eudev-download-ftp " ">
|
---|
[6dc6bf4] | 9 | <!ENTITY eudev-md5sum "80649a0350ff9620fc2da9562d9f2a6a">
|
---|
[d1fe212] | 10 | <!ENTITY eudev-size "1.7 MB">
|
---|
[6dc6bf4] | 11 | <!ENTITY eudev-buildsize "23 MB">
|
---|
| 12 | <!ENTITY eudev-time "0.3 SBU">
|
---|
[c07080d] | 13 | ]>
|
---|
| 14 |
|
---|
[d1fe212] | 15 | <sect1 id="udev-extras" xreflabel="udev-extras (from eudev)">
|
---|
[c07080d] | 16 | <?dbhtml filename="udev-extras.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
[d1fe212] | 23 | <title>Udev Extras (from eudev)</title>
|
---|
[c07080d] | 24 |
|
---|
| 25 | <indexterm zone="udev-extras">
|
---|
[d1fe212] | 26 | <primary sortas="a-udev-extras">udev extras (from eudev)</primary>
|
---|
[c07080d] | 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Udev Extras</title>
|
---|
| 31 |
|
---|
[d1fe212] | 32 | <para>Udev was installed as a part of eudev in LFS. However, not
|
---|
[410e2ab8] | 33 | all components were installed due to dependencies that were unavailable.
|
---|
| 34 | This procedure adds those missing components.</para>
|
---|
| 35 |
|
---|
| 36 | <!-- &lfs75_checked; -->
|
---|
[c07080d] | 37 |
|
---|
| 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
[6dc6bf4] | 39 | <note>
|
---|
| 40 | <para>
|
---|
| 41 | If you are using the development version of BLFS, the Eudev version
|
---|
| 42 | on this page may be higher than the one you had for building LFS.
|
---|
| 43 | Newer version of Eudev may occasionally be incompatible with former
|
---|
| 44 | ones, either because they require some new options to be enabled
|
---|
| 45 | in the kernel, or because they change the way rules are parsed. You
|
---|
| 46 | may want to consult
|
---|
| 47 | <ulink url="http:wiki.gentoo.org/wiki/Udev/upgrade">the Gentoo
|
---|
| 48 | page</ulink> about upgrading Udev. Another alternative is
|
---|
| 49 | to run the instructions below with the Eudev version that you built
|
---|
| 50 | LFS with.
|
---|
| 51 | </para>
|
---|
| 52 | </note>
|
---|
[c07080d] | 53 | <itemizedlist spacing="compact">
|
---|
| 54 | <listitem>
|
---|
[d1fe212] | 55 | <para>Download (HTTP): <ulink url="&eudev-download-http;"/></para>
|
---|
[c07080d] | 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[d1fe212] | 58 | <para>Download (FTP): <ulink url="&eudev-download-ftp;"/></para>
|
---|
[c07080d] | 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
[d1fe212] | 61 | <para>Download MD5 sum: &eudev-md5sum;</para>
|
---|
[c07080d] | 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
[d1fe212] | 64 | <para>Download size: &eudev-size;</para>
|
---|
[c07080d] | 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
[d1fe212] | 67 | <para>Estimated disk space required: &eudev-buildsize;</para>
|
---|
| 68 | </listitem>
|
---|
| 69 | <listitem>
|
---|
| 70 | <para>Estimated build time: &eudev-time;</para>
|
---|
[c07080d] | 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect3">Udev Extras Dependencies</bridgehead>
|
---|
| 75 |
|
---|
| 76 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 77 | <para role="required">
|
---|
[d1fe212] | 78 | <xref linkend="glib2"/>
|
---|
[410e2ab8] | 79 | </para>
|
---|
| 80 |
|
---|
| 81 | <bridgehead renderas="sect4">Optional Dependencies</bridgehead>
|
---|
| 82 | <para role="optional">
|
---|
[6dc6bf4] | 83 | <xref linkend="gobject-introspection"/> (for gir-data, needed for Gnome),
|
---|
| 84 | <xref linkend="docbook-xsl"/> and <xref linkend="libxslt"/> (to build
|
---|
| 85 | man pages, which are not shipped with the package), and
|
---|
[d1fe212] | 86 | <xref linkend="gtk-doc"/> (to rebuild the documentation)
|
---|
[c07080d] | 87 | </para>
|
---|
| 88 |
|
---|
| 89 | <bridgehead renderas="sect4">Optional Runtime Dependencies</bridgehead>
|
---|
| 90 | <para role="optional">
|
---|
| 91 | <xref linkend="pciutils"/> and
|
---|
| 92 | <xref linkend="usbutils"/>
|
---|
| 93 | </para>
|
---|
| 94 |
|
---|
| 95 | <para condition="html" role="usernotes">User Notes:
|
---|
| 96 | <ulink url="&blfs-wiki;/udev-extras"/></para>
|
---|
| 97 |
|
---|
| 98 | </sect2>
|
---|
| 99 |
|
---|
| 100 | <sect2 role="installation">
|
---|
| 101 | <title>Installation of Udev Extras</title>
|
---|
| 102 |
|
---|
[d1fe212] | 103 | <para>First, re-build eudev:</para>
|
---|
| 104 |
|
---|
| 105 | <screen><userinput>sed -i '/struct ucred/i struct ucred;' src/libudev/util.h &&
|
---|
| 106 | sed -r -i 's|/usr(/bin/test)|\1|' test/udev-test.pl &&
|
---|
| 107 |
|
---|
| 108 | ./configure --prefix=/usr \
|
---|
| 109 | --bindir=/sbin \
|
---|
| 110 | --sbindir=/sbin \
|
---|
| 111 | --libdir=/usr/lib \
|
---|
| 112 | --sysconfdir=/etc \
|
---|
| 113 | --libexecdir=/lib \
|
---|
| 114 | --with-rootprefix= \
|
---|
| 115 | --with-rootlibdir=/lib \
|
---|
| 116 | --enable-split-usr \
|
---|
| 117 | --enable-libkmod \
|
---|
| 118 | --enable-rule_generator \
|
---|
| 119 | --enable-keymap \
|
---|
| 120 | --disable-introspection \
|
---|
| 121 | --disable-gtk-doc-html \
|
---|
| 122 | --with-firmware-path=/lib/firmware &&
|
---|
[c07080d] | 123 |
|
---|
[410e2ab8] | 124 | make</userinput></screen>
|
---|
[c07080d] | 125 |
|
---|
[6dc6bf4] | 126 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
[c07080d] | 127 |
|
---|
[d1fe212] | 128 | <para>Now re-install as the <systemitem class="username">root</systemitem>
|
---|
[410e2ab8] | 129 | user:</para>
|
---|
[c07080d] | 130 |
|
---|
[c612fc3] | 131 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[c07080d] | 132 |
|
---|
[d1fe212] | 133 | </sect2>
|
---|
[c07080d] | 134 |
|
---|
[d1fe212] | 135 | <sect2 role="commands">
|
---|
| 136 | <title>Command Explanations</title>
|
---|
[c07080d] | 137 |
|
---|
[d1fe212] | 138 | <para>
|
---|
| 139 | <parameter>--disable-introspection</parameter>: This prevents the
|
---|
| 140 | gir-data instructions from running. Remove this option if the optional
|
---|
| 141 | <xref linkend="gobject-introspection"/> package is installed.
|
---|
| 142 | </para>
|
---|
[c07080d] | 143 |
|
---|
[d1fe212] | 144 | <para>
|
---|
| 145 | <parameter>--disable-gtk-doc-html</parameter>: This prevents the
|
---|
| 146 | building of the html data. Remove this option if the optional
|
---|
| 147 | <xref linkend="gtk-doc"/> package is installed.
|
---|
| 148 | </para>
|
---|
[c07080d] | 149 |
|
---|
[d1fe212] | 150 | </sect2>
|
---|
[c07080d] | 151 |
|
---|
| 152 | <sect2 role="content">
|
---|
| 153 | <title>Contents</title>
|
---|
| 154 |
|
---|
| 155 | <segmentedlist>
|
---|
| 156 | <segtitle>Installed Programs</segtitle>
|
---|
| 157 | <segtitle>Installed Library</segtitle>
|
---|
| 158 | <segtitle>Installed Directories</segtitle>
|
---|
| 159 |
|
---|
| 160 | <seglistitem>
|
---|
[410e2ab8] | 161 | <seg>None</seg>
|
---|
[0d7900a] | 162 |
|
---|
[c07080d] | 163 | <seg>libgudev-1.0.so</seg>
|
---|
[0d7900a] | 164 |
|
---|
[410e2ab8] | 165 | <seg>/usr/include/gudev-1.0/gudev,
|
---|
[c07080d] | 166 | /usr/lib/girepository-1.0,
|
---|
| 167 | /usr/share/gir-1.0, and
|
---|
[6dc6bf4] | 168 | /usr/share/gtk-doc/html/gudev (optional)</seg>
|
---|
[c07080d] | 169 | </seglistitem>
|
---|
| 170 | </segmentedlist>
|
---|
| 171 |
|
---|
| 172 | <variablelist>
|
---|
| 173 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 174 | <?dbfo list-presentation="list"?>
|
---|
| 175 | <?dbhtml list-presentation="table"?>
|
---|
| 176 |
|
---|
| 177 | <varlistentry id="libgudev-1.0-systemd">
|
---|
| 178 | <term><filename class='libraryfile'>libgudev-1.0.so</filename></term>
|
---|
| 179 | <listitem>
|
---|
| 180 | <para>is a GObject-based wrapper library for libudev.</para>
|
---|
| 181 | <indexterm zone="udev-extras libgudev-1.0-systemd">
|
---|
| 182 | <primary sortas="c-libgudev-1.0-systemd">libgudev-1.0.so</primary>
|
---|
| 183 | </indexterm>
|
---|
| 184 | </listitem>
|
---|
| 185 | </varlistentry>
|
---|
| 186 |
|
---|
| 187 | </variablelist>
|
---|
| 188 |
|
---|
| 189 | </sect2>
|
---|
| 190 |
|
---|
| 191 | </sect1>
|
---|