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