Changeset d1fe212


Ignore:
Timestamp:
05/12/2014 11:11:37 PM (10 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
5a14a19
Parents:
54666831
Message:

Update udev-extras to use eudev

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@13035 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r54666831 rd1fe212  
    342342<!ENTITY cpio-version                 "2.11">
    343343<!ENTITY dbus-version                 "1.8.2">   <!-- Even minors only -->
     344<!ENTITY eudev-version                "1.6">
    344345<!ENTITY fcron-version                "3.1.2">
    345346<!ENTITY gpm-version                  "1.20.7">
  • general/sysutils/udev-extras.xml

    r54666831 rd1fe212  
    55  %general-entities;
    66
    7   <!ENTITY systemd-download-http "http://www.freedesktop.org/wiki/Software/systemd/">
    8   <!ENTITY systemd-download-ftp  " ">
    9   <!-- <!ENTITY udev-md5sum        " "> -->
    10   <!ENTITY systemd-size          "1.3 MB">
    11   <!ENTITY systemd-buildsize     "314 MB">
    12   <!ENTITY systemd-time          "3.5 SBU">
     7  <!ENTITY eudev-download-http "http://dev.gentoo.org/~blueness/eudev/eudev-&eudev-version;.tar.gz">
     8  <!ENTITY eudev-download-ftp  " ">
     9  <!ENTITY eudev-md5sum        "c2fbf420a50d07b80158a0185cbb08f7">
     10  <!ENTITY eudev-size          "1.7 MB">
     11  <!ENTITY eudev-buildsize     "97 MB">
     12  <!ENTITY eudev-time          "0.4 SBU">
    1313]>
    1414
    15 <sect1 id="udev-extras" xreflabel="udev-extras (from systemd)">
     15<sect1 id="udev-extras" xreflabel="udev-extras (from eudev)">
    1616  <?dbhtml filename="udev-extras.html"?>
    1717
     
    2121  </sect1info>
    2222
    23   <title>Udev Extras (from systemd)</title>
     23  <title>Udev Extras (from eudev)</title>
    2424
    2525  <indexterm zone="udev-extras">
    26     <primary sortas="a-udev-extras">udev extras (from systemd)</primary>
     26    <primary sortas="a-udev-extras">udev extras (from eudev)</primary>
    2727  </indexterm>
    2828
     
    3030    <title>Introduction to Udev Extras</title>
    3131
    32     <para>Udev was installed as a part of systemd in LFS. However, not
     32    <para>Udev was installed as a part of eudev in LFS. However, not
    3333    all components were installed due to dependencies that were unavailable.
    3434    This procedure adds those missing components.</para>
     
    3939    <itemizedlist spacing="compact">
    4040      <listitem>
    41         <para>Download (HTTP): <ulink url="&systemd-download-http;"/></para>
     41        <para>Download (HTTP): <ulink url="&eudev-download-http;"/></para>
    4242      </listitem>
    4343      <listitem>
    44         <para>Download (FTP): <ulink url="&systemd-download-ftp;"/></para>
    45       </listitem>
    46       <!-- <listitem>
    47         <para>Download MD5 sum: &systemd-md5sum;</para>
    48       </listitem> -->
    49       <listitem>
    50         <para>Download size: &systemd-size;</para>
     44        <para>Download (FTP): <ulink url="&eudev-download-ftp;"/></para>
    5145      </listitem>
    5246      <listitem>
    53         <para>Estimated disk space required: &systemd-buildsize;</para>
     47        <para>Download MD5 sum: &eudev-md5sum;</para>
    5448      </listitem>
    5549      <listitem>
    56         <para>Estimated build time: &systemd-time;</para>
     50        <para>Download size: &eudev-size;</para>
     51      </listitem>
     52      <listitem>
     53        <para>Estimated disk space required: &eudev-buildsize;</para>
     54      </listitem>
     55      <listitem>
     56        <para>Estimated build time: &eudev-time;</para>
    5757      </listitem>
    5858    </itemizedlist>
     
    6262    <bridgehead renderas="sect4">Required</bridgehead>
    6363    <para role="required">
    64       <xref linkend="glib2"/> (for the gudev library)
     64      <xref linkend="glib2"/>
    6565    </para>
    6666
    6767    <bridgehead renderas="sect4">Optional Dependencies</bridgehead>
    6868    <para role="optional">
    69       <xref linkend="gobject-introspection"/> (for gir-data, needed for Gnome)
     69      <xref linkend="gobject-introspection"/> (for gir-data, needed for Gnome), and
     70      <xref linkend="gtk-doc"/> (to rebuild the documentation)
    7071    </para>
    7172
     
    8485    <title>Installation of Udev Extras</title>
    8586
    86     <para>First, build systemd:</para>
     87    <para>First, re-build eudev:</para>
    8788
    88 <screen><userinput>./configure --disable-tests &amp;&amp;
     89<screen><userinput>sed    -i '/struct ucred/i struct ucred;' src/libudev/util.h &amp;&amp;
     90sed -r -i 's|/usr(/bin/test)|\1|'         test/udev-test.pl  &amp;&amp;
     91
     92./configure --prefix=/usr           \
     93            --bindir=/sbin          \
     94            --sbindir=/sbin         \
     95            --libdir=/usr/lib       \
     96            --sysconfdir=/etc       \
     97            --libexecdir=/lib       \
     98            --with-rootprefix=      \
     99            --with-rootlibdir=/lib  \
     100            --enable-split-usr      \
     101            --enable-libkmod        \
     102            --enable-rule_generator \
     103            --enable-keymap         \
     104            --disable-introspection \
     105            --disable-gtk-doc-html  \
     106            --with-firmware-path=/lib/firmware &amp;&amp;
     107
    89108make</userinput></screen>
    90109
    91    <caution><para>If you maintained the default System V/systemd
    92    installation in LFS, do not run <userinput>make install</userinput>.
    93    It will overwrite the symbolic links needed to switch boot
    94    systems.</para></caution>
     110   <para>To test the results, issue: <userinput>make check</userinput>.</para>
    95111
    96    <para>Now install gudev as the <systemitem class="username">root</systemitem>
     112   <para>Now re-install as the <systemitem class="username">root</systemitem>
    97113   user:</para>
    98114
    99 <screen><userinput>mkdir -pv /usr/include/gudev-1.0/gudev /usr/share/gtk-doc/html/gudev &amp;&amp;
    100 
    101 cp -v src/gudev/gudev.h             /usr/include/gudev-1.0/gudev &amp;&amp;
    102 cp -v src/gudev/gudev[a-e,t]*.h     /usr/include/gudev-1.0/gudev &amp;&amp;
    103 cp -v .libs/libgudev-1.0.so.0.2.0   /usr/lib                     &amp;&amp;
    104 
    105 ln -svfn libgudev-1.0.so.0.2.0      /usr/lib/libgudev-1.0.so     &amp;&amp;
    106 ln -svfn libgudev-1.0.so.0.2.0      /usr/lib/libgudev-1.0.so.0   &amp;&amp;
    107 
    108 cp -v src/gudev/gudev-1.0.pc        /usr/lib/pkgconfig           &amp;&amp;
    109 cp -v docs/gudev/html/*             /usr/share/gtk-doc/html/gudev</userinput></screen>
    110 
    111     <para>If the optional gobject-introspection package is available, install
    112     the gir-data files as the <systemitem class="username">root</systemitem>
    113     user:</para>
    114 
    115 <screen><userinput>mkdir -pv /usr/lib/girepository-1.0 /usr/share/gir-1.0  &amp;&amp;
    116 
    117 cp -v src/gudev/GUdev-1.0.typelib /usr/lib/girepository-1.0 &amp;&amp;
    118 cp -v src/gudev/GUdev-1.0.gir     /usr/share/gir-1.0</userinput></screen>
     115<screen><userinput>make install</userinput></screen>
    119116
    120117  </sect2>
     118
     119  <sect2 role="commands">
     120    <title>Command Explanations</title>
     121
     122    <para>
     123      <parameter>--disable-introspection</parameter>: This prevents the
     124      gir-data instructions from running.  Remove this option if the optional
     125      <xref linkend="gobject-introspection"/> package is installed.
     126    </para>
     127
     128    <para>
     129      <parameter>--disable-gtk-doc-html</parameter>: This prevents the
     130      building of the html data.  Remove this option if the optional
     131      <xref linkend="gtk-doc"/> package is installed.
     132    </para>
     133
     134  </sect2>
    121135
    122136  <sect2 role="content">
  • introduction/welcome/changelog.xml

    r54666831 rd1fe212  
    4949      <itemizedlist>
    5050        <listitem>
     51          <para>[bdubbs] - Update udev-extras to use eudev.</para>
     52        </listitem>
     53        <listitem>
    5154          <para>[bdubbs] - Restore full dbus build to the book.
    5255          Update to dbus-1.8.2.  Fixes
Note: See TracChangeset for help on using the changeset viewer.