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