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