[blfs-book] r10424 - in trunk/BOOK: . general/sysutils introduction/welcome xfce/core

bdubbs at linuxfromscratch.org bdubbs at linuxfromscratch.org
Wed Jul 18 11:12:19 PDT 2012


Author: bdubbs
Date: 2012-07-18 12:12:14 -0600 (Wed, 18 Jul 2012)
New Revision: 10424

Added:
   trunk/BOOK/general/sysutils/udev-extras.xml
Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/general/sysutils/sysutils.xml
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/xfce/core/thunar-volman.xml
Log:
Added section of Udev Extras (from systemd)


Modified: trunk/BOOK/general/sysutils/sysutils.xml
===================================================================
--- trunk/BOOK/general/sysutils/sysutils.xml	2012-07-17 20:57:53 UTC (rev 10423)
+++ trunk/BOOK/general/sysutils/sysutils.xml	2012-07-18 18:12:14 UTC (rev 10424)
@@ -47,6 +47,7 @@
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="strigi.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sysstat.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="udev.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="udev-extras.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="udisks.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="udisks2.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="unrar.xml"/>

Copied: trunk/BOOK/general/sysutils/udev-extras.xml (from rev 10420, trunk/BOOK/general/sysutils/udev.xml)
===================================================================
--- trunk/BOOK/general/sysutils/udev-extras.xml	                        (rev 0)
+++ trunk/BOOK/general/sysutils/udev-extras.xml	2012-07-18 18:12:14 UTC (rev 10424)
@@ -0,0 +1,225 @@
+<?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;
+
+  <!ENTITY systemd-download-http "http://www.freedesktop.org/wiki/Software/systemd/"> 
+  <!ENTITY systemd-download-ftp  " ">
+  <!-- <!ENTITY udev-md5sum        " "> -->
+  <!ENTITY systemd-size          "~1.3 MB">
+  <!ENTITY systemd-buildsize     "~16 MB">
+  <!ENTITY systemd-time          "~0.1 SBU">
+]>
+
+<sect1 id="udev-extras" xreflabel="udev-extras (from systemd)">
+  <?dbhtml filename="udev-extras.html"?>
+
+  <sect1info>
+    <othername>$LastChangedBy$</othername>
+    <date>$Date$</date>
+  </sect1info>
+
+  <title>Udev Extras (from systemd)</title>
+
+  <indexterm zone="udev-extras">
+    <primary sortas="a-udev-extras">udev extras (from systemd)</primary>
+  </indexterm>
+
+  <sect2 role="package">
+    <title>Introduction to Udev Extras</title>
+
+    <para>In 2012, the <application>Udev</application> code distribution was
+    merged with <application>systemd</application>.
+    <application>Systemd</application> is a set of programs that replace the
+    <application>SysVInit</application> package used by LFS and is much more
+    complex.  It is not compatible with the LFS bootscripts and has many
+    problems and few advantages for most LFS users.</para>
+   
+    <para>The procedures below extract libraries and programs from the systemd
+    sources that could not be built in LFS due to library dependency
+    issues.</para>
+
+    <para>Unlike any other package in the BLFS book, there is no set version
+    of <application>systemd</application> specified to download. Several version
+    updates to LFS and BLFS means there are probably many different
+    versions of <application>Udev</application> on the platforms that BLFS is
+    being built upon. Therefore, you should download and use the version of
+    <application>systemd</application> your computer currently uses. The BLFS
+    team has no experience updating (or reverting to an older version) the
+    <application>Udev</application> programs <quote>on the fly.</quote> To
+    discover the version of <application>Udev</application> your computer
+    currently uses, issue <command>/sbin/udevadm --version</command>.</para>
+
+    <para>This package is known to build and work properly using an LFS-development
+    platform. (Using systemd-186.)</para>
+
+    <bridgehead renderas="sect3">Package Information</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>Download (HTTP): <ulink url="&systemd-download-http;"/></para>
+      </listitem>
+      <listitem>
+        <para>Download (FTP): <ulink url="&systemd-download-ftp;"/></para>
+      </listitem>
+      <!-- <listitem>
+        <para>Download MD5 sum: &systemd-md5sum;</para>
+      </listitem> -->
+      <listitem>
+        <para>Download size: &systemd-size;</para>
+      </listitem>
+      <listitem>
+        <para>Estimated disk space required: &systemd-buildsize;</para>
+      </listitem>
+      <listitem>
+        <para>Estimated build time: &systemd-time;</para>
+      </listitem>
+    </itemizedlist>
+
+    <bridgehead renderas="sect3">Udev Extras Dependencies</bridgehead>
+
+    <bridgehead renderas="sect4">Required</bridgehead>
+    <para role="required">
+      <ulink url="http://anduin.linuxfromscratch.org/sources/other/"/>
+      (match the udev-lfs-???.tar.bz2 tarball version to the systemd version used in LFS).
+      <xref linkend="glib2"/> (for the gudev library),
+      <xref linkend="gperf"/> (for keymap), and
+      <xref linkend="gobject-introspection"/> (for gir-data) 
+    </para>
+
+    <bridgehead renderas="sect4">Optional</bridgehead>
+    <para role="optional">
+      <xref linkend="acl"/>
+    </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>
+
+    <para>First, put the custom LFS files in place:</para>
+
+<screen><userinput>tar -xf ../udev-lfs-186.tar.bz2</userinput></screen>
+
+    <sect3>
+    <title>keymap</title>
+    <para>Support for special keys for many laptops is provided by the
+    <command>keymap</command> program and supporting files.  If the
+    <command>keymap</command> capability is desired, use:</para>
+
+<screen><userinput>make -f udev-lfs-186/Makefile.lfs keymap</userinput></screen>
+
+    <para>To install <command>keymap</command> and it's assiciated files, 
+    run, as the <systemitem class="username">root</systemitem> user:</para>
+
+<screen><userinput>make -f udev-lfs-186/Makefile.lfs install-keymap</userinput></screen>
+
+    </sect3>
+
+    <sect3>
+    <title>gudev</title>
+
+    <para>To build the <application>libgudev-1.0</application> library and
+    interface files, run:</para>
+   
+<screen><userinput>make -f udev-lfs-186/Makefile.lfs gudev</userinput></screen>
+
+    <para>Install the <filename class='libraryfile'>gudev</filename> library,
+    run, as the <systemitem class="username">root</systemitem> user:</para>
+
+<screen><userinput>make -f udev-lfs-186/Makefile.lfs install-gudev</userinput></screen>
+
+    </sect3>
+
+    <sect3>
+    <title>GObject Files</title>
+
+    <para>To build the <application>gobject-introspection</application>
+    interface (gir) files for the <filename
+    class='libraryfile'>libgudev-1.0</filename> library, run:</para>
+   
+<screen><userinput>make -f udev-lfs-186/Makefile.lfs gir-data</userinput></screen>
+
+    <para>Install the gir data, as the <systemitem
+    class="username">root</systemitem> user:</para>
+
+<screen><userinput>make -f udev-lfs-186/Makefile.lfs install-gir-data</userinput></screen>
+
+    <caution><para>There is a shortcut to build and install all of the
+    <application>udev</application> components at once using the
+    <emphasis>all</emphasis> and <emphasis>install-all</emphasis>
+    <filename>Makefile.lfs</filename> targets.  The installation of this target
+    will overwrite the base LFS udev files and has not been thoroughly tested
+    at the time of this writing.  If using this procedure, the udev daemon
+    should be stopped before overwriting the existing <filename>udevd</filename>
+    and udev libraries.</para></caution>
+
+    </sect3>
+  </sect2>
+
+  <sect2 role="content">
+    <title>Contents</title>
+
+    <para>A list of the installed files, along with their short descriptions
+    can be found at
+    <ulink url="&lfs-root;/chapter06/udev.html#contents-udev"/>.</para>
+
+    <para>The following is some additional content information.</para>
+
+    <segmentedlist>
+      <segtitle>Installed Programs</segtitle>
+      <segtitle>Installed Library</segtitle>
+      <segtitle>Installed Directories</segtitle>
+
+      <seglistitem>
+        <seg>findkeyboards, keyboard-force-release.sh, and keymap</seg>
+  
+        <seg>libgudev-1.0.so</seg>
+        
+        <seg>/lib/udev/keymaps/force-release,
+             /usr/include/gudev-1.0/gudev,
+             /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="keymap-systemd">
+        <term><command>keymap</command></term>
+        <listitem>
+          <para>configures computer model specific key mappings.</para>
+          <indexterm zone="udev-extras keymap-systemd">
+            <primary sortas="b-keymap">keymap (from systemd)</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <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>

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2012-07-17 20:57:53 UTC (rev 10423)
+++ trunk/BOOK/general.ent	2012-07-18 18:12:14 UTC (rev 10424)
@@ -3,13 +3,13 @@
 $Date$
 -->
 
-<!ENTITY day          "17">                   <!-- Always 2 digits -->
+<!ENTITY day          "18">                   <!-- Always 2 digits -->
 <!ENTITY month        "07">                   <!-- Always 2 digits -->
 <!ENTITY year         "2012">
 <!ENTITY copyrightdate "2001-&year;">
 <!ENTITY copyholder   "The BLFS Development Team">
 <!ENTITY version      "&year;-&month;-&day;">
-<!ENTITY releasedate  "July 17th, &year;">
+<!ENTITY releasedate  "July 18th, &year;">
 <!-- <!ENTITY releasedate  "November &day;st, &year;"> -->
 <!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
 <!ENTITY blfs-version "svn">                  <!-- svn|[release #] -->

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2012-07-17 20:57:53 UTC (rev 10423)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2012-07-18 18:12:14 UTC (rev 10424)
@@ -42,11 +42,21 @@
 
 -->
     <listitem>
+      <para>July 18th, 2012</para>
+      <itemizedlist>
+        <listitem>
+          <para>[bdubbs] - Added section of Udev Extras (from systemd)
+          </para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>July 17th, 2012</para>
       <itemizedlist>
         <listitem>
-          <para>[rthomsen] - Libpng 1.5.12.
-	  Fixes <ulink url="&blfs-ticket-root;3464">#3464</ulink>.</para>
+          <para>[rthomsen] - Libpng 1.5.12. Fixes 
+          <ulink url="&blfs-ticket-root;3464">#3464</ulink>.</para>
         </listitem>
         <listitem>
           <para>[krejzi] - Split some of the Xorg Drivers into separate

Modified: trunk/BOOK/xfce/core/thunar-volman.xml
===================================================================
--- trunk/BOOK/xfce/core/thunar-volman.xml	2012-07-17 20:57:53 UTC (rev 10423)
+++ trunk/BOOK/xfce/core/thunar-volman.xml	2012-07-18 18:12:14 UTC (rev 10424)
@@ -77,7 +77,7 @@
     <para role="required">
       <xref linkend="exo"/>,
       <xref linkend="libxfce4ui"/> and
-      <xref linkend="udev"/>.
+      <xref linkend="udev"/> or <xref linkend="udev-extras"/> (for gudev).
     </para>
 
     <bridgehead renderas="sect4">Optional</bridgehead>




More information about the blfs-book mailing list