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