2012-07-19 02:12:14 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2014-05-13 07:11:37 +08:00
|
|
|
<!ENTITY eudev-download-http "http://dev.gentoo.org/~blueness/eudev/eudev-&eudev-version;.tar.gz">
|
|
|
|
<!ENTITY eudev-download-ftp " ">
|
|
|
|
<!ENTITY eudev-md5sum "c2fbf420a50d07b80158a0185cbb08f7">
|
|
|
|
<!ENTITY eudev-size "1.7 MB">
|
|
|
|
<!ENTITY eudev-buildsize "97 MB">
|
|
|
|
<!ENTITY eudev-time "0.4 SBU">
|
2012-07-19 02:12:14 +08:00
|
|
|
]>
|
|
|
|
|
2014-05-13 07:11:37 +08:00
|
|
|
<sect1 id="udev-extras" xreflabel="udev-extras (from eudev)">
|
2012-07-19 02:12:14 +08:00
|
|
|
<?dbhtml filename="udev-extras.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
2014-05-13 07:11:37 +08:00
|
|
|
<title>Udev Extras (from eudev)</title>
|
2012-07-19 02:12:14 +08:00
|
|
|
|
|
|
|
<indexterm zone="udev-extras">
|
2014-05-13 07:11:37 +08:00
|
|
|
<primary sortas="a-udev-extras">udev extras (from eudev)</primary>
|
2012-07-19 02:12:14 +08:00
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to Udev Extras</title>
|
|
|
|
|
2014-05-13 07:11:37 +08:00
|
|
|
<para>Udev was installed as a part of eudev in LFS. However, not
|
2014-04-29 08:25:34 +08:00
|
|
|
all components were installed due to dependencies that were unavailable.
|
|
|
|
This procedure adds those missing components.</para>
|
|
|
|
|
|
|
|
<!-- &lfs75_checked; -->
|
2012-07-19 02:12:14 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
2014-05-13 07:11:37 +08:00
|
|
|
<para>Download (HTTP): <ulink url="&eudev-download-http;"/></para>
|
2012-07-19 02:12:14 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2014-05-13 07:11:37 +08:00
|
|
|
<para>Download (FTP): <ulink url="&eudev-download-ftp;"/></para>
|
2012-07-19 02:12:14 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2014-05-13 07:11:37 +08:00
|
|
|
<para>Download MD5 sum: &eudev-md5sum;</para>
|
2012-07-19 02:12:14 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2014-05-13 07:11:37 +08:00
|
|
|
<para>Download size: &eudev-size;</para>
|
2012-07-19 02:12:14 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2014-05-13 07:11:37 +08:00
|
|
|
<para>Estimated disk space required: &eudev-buildsize;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated build time: &eudev-time;</para>
|
2012-07-19 02:12:14 +08:00
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Udev Extras Dependencies</bridgehead>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
|
|
<para role="required">
|
2014-05-13 07:11:37 +08:00
|
|
|
<xref linkend="glib2"/>
|
2014-04-29 08:25:34 +08:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional Dependencies</bridgehead>
|
|
|
|
<para role="optional">
|
2014-05-13 07:11:37 +08:00
|
|
|
<xref linkend="gobject-introspection"/> (for gir-data, needed for Gnome), and
|
|
|
|
<xref linkend="gtk-doc"/> (to rebuild the documentation)
|
2012-07-19 02:12:14 +08:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional Runtime Dependencies</bridgehead>
|
|
|
|
<para role="optional">
|
|
|
|
<xref linkend="pciutils"/> and
|
|
|
|
<xref linkend="usbutils"/>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
|
|
<ulink url="&blfs-wiki;/udev-extras"/></para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of Udev Extras</title>
|
|
|
|
|
2014-05-13 07:11:37 +08:00
|
|
|
<para>First, re-build eudev:</para>
|
|
|
|
|
|
|
|
<screen><userinput>sed -i '/struct ucred/i struct ucred;' src/libudev/util.h &&
|
|
|
|
sed -r -i 's|/usr(/bin/test)|\1|' test/udev-test.pl &&
|
|
|
|
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--bindir=/sbin \
|
|
|
|
--sbindir=/sbin \
|
|
|
|
--libdir=/usr/lib \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--libexecdir=/lib \
|
|
|
|
--with-rootprefix= \
|
|
|
|
--with-rootlibdir=/lib \
|
|
|
|
--enable-split-usr \
|
|
|
|
--enable-libkmod \
|
|
|
|
--enable-rule_generator \
|
|
|
|
--enable-keymap \
|
|
|
|
--disable-introspection \
|
|
|
|
--disable-gtk-doc-html \
|
|
|
|
--with-firmware-path=/lib/firmware &&
|
2012-07-19 02:12:14 +08:00
|
|
|
|
2014-04-29 08:25:34 +08:00
|
|
|
make</userinput></screen>
|
2012-07-19 02:12:14 +08:00
|
|
|
|
2014-05-13 07:11:37 +08:00
|
|
|
<para>To test the results, issue: <userinput>make check</userinput>.</para>
|
2012-07-19 02:12:14 +08:00
|
|
|
|
2014-05-13 07:11:37 +08:00
|
|
|
<para>Now re-install as the <systemitem class="username">root</systemitem>
|
2014-04-29 08:25:34 +08:00
|
|
|
user:</para>
|
2012-07-19 02:12:14 +08:00
|
|
|
|
2014-05-13 07:11:37 +08:00
|
|
|
<screen><userinput>make install</userinput></screen>
|
2012-07-19 02:12:14 +08:00
|
|
|
|
2014-05-13 07:11:37 +08:00
|
|
|
</sect2>
|
2012-07-19 02:12:14 +08:00
|
|
|
|
2014-05-13 07:11:37 +08:00
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
2012-07-19 02:12:14 +08:00
|
|
|
|
2014-05-13 07:11:37 +08:00
|
|
|
<para>
|
|
|
|
<parameter>--disable-introspection</parameter>: This prevents the
|
|
|
|
gir-data instructions from running. Remove this option if the optional
|
|
|
|
<xref linkend="gobject-introspection"/> package is installed.
|
|
|
|
</para>
|
2012-07-19 02:12:14 +08:00
|
|
|
|
2014-05-13 07:11:37 +08:00
|
|
|
<para>
|
|
|
|
<parameter>--disable-gtk-doc-html</parameter>: This prevents the
|
|
|
|
building of the html data. Remove this option if the optional
|
|
|
|
<xref linkend="gtk-doc"/> package is installed.
|
|
|
|
</para>
|
2012-07-19 02:12:14 +08:00
|
|
|
|
2014-05-13 07:11:37 +08:00
|
|
|
</sect2>
|
2012-07-19 02:12:14 +08:00
|
|
|
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Library</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
2014-04-29 08:25:34 +08:00
|
|
|
<seg>None</seg>
|
2013-02-12 02:51:17 +08:00
|
|
|
|
2012-07-19 02:12:14 +08:00
|
|
|
<seg>libgudev-1.0.so</seg>
|
2013-02-12 02:51:17 +08:00
|
|
|
|
2014-04-29 08:25:34 +08:00
|
|
|
<seg>/usr/include/gudev-1.0/gudev,
|
2012-07-19 02:12:14 +08:00
|
|
|
/usr/lib/girepository-1.0,
|
|
|
|
/usr/share/gir-1.0, and
|
|
|
|
/usr/share/gtk-doc/html/gudev</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
<varlistentry id="libgudev-1.0-systemd">
|
|
|
|
<term><filename class='libraryfile'>libgudev-1.0.so</filename></term>
|
|
|
|
<listitem>
|
|
|
|
<para>is a GObject-based wrapper library for libudev.</para>
|
|
|
|
<indexterm zone="udev-extras libgudev-1.0-systemd">
|
|
|
|
<primary sortas="c-libgudev-1.0-systemd">libgudev-1.0.so</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
</sect1>
|