Changeset d1fe212 for general/sysutils
- Timestamp:
- 05/12/2014 11:11:37 PM (10 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/sysutils/udev-extras.xml
r54666831 rd1fe212 5 5 %general-entities; 6 6 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.3MB">11 <!ENTITY systemd-buildsize "314MB">12 <!ENTITY systemd-time "3.5SBU">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"> 13 13 ]> 14 14 15 <sect1 id="udev-extras" xreflabel="udev-extras (from systemd)">15 <sect1 id="udev-extras" xreflabel="udev-extras (from eudev)"> 16 16 <?dbhtml filename="udev-extras.html"?> 17 17 … … 21 21 </sect1info> 22 22 23 <title>Udev Extras (from systemd)</title>23 <title>Udev Extras (from eudev)</title> 24 24 25 25 <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> 27 27 </indexterm> 28 28 … … 30 30 <title>Introduction to Udev Extras</title> 31 31 32 <para>Udev was installed as a part of systemdin LFS. However, not32 <para>Udev was installed as a part of eudev in LFS. However, not 33 33 all components were installed due to dependencies that were unavailable. 34 34 This procedure adds those missing components.</para> … … 39 39 <itemizedlist spacing="compact"> 40 40 <listitem> 41 <para>Download (HTTP): <ulink url="& systemd-download-http;"/></para>41 <para>Download (HTTP): <ulink url="&eudev-download-http;"/></para> 42 42 </listitem> 43 43 <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> 51 45 </listitem> 52 46 <listitem> 53 <para> Estimated disk space required: &systemd-buildsize;</para>47 <para>Download MD5 sum: &eudev-md5sum;</para> 54 48 </listitem> 55 49 <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> 57 57 </listitem> 58 58 </itemizedlist> … … 62 62 <bridgehead renderas="sect4">Required</bridgehead> 63 63 <para role="required"> 64 <xref linkend="glib2"/> (for the gudev library)64 <xref linkend="glib2"/> 65 65 </para> 66 66 67 67 <bridgehead renderas="sect4">Optional Dependencies</bridgehead> 68 68 <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) 70 71 </para> 71 72 … … 84 85 <title>Installation of Udev Extras</title> 85 86 86 <para>First, build systemd:</para>87 <para>First, re-build eudev:</para> 87 88 88 <screen><userinput>./configure --disable-tests && 89 <screen><userinput>sed -i '/struct ucred/i struct ucred;' src/libudev/util.h && 90 sed -r -i 's|/usr(/bin/test)|\1|' test/udev-test.pl && 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 && 107 89 108 make</userinput></screen> 90 109 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> 95 111 96 <para>Now install gudevas the <systemitem class="username">root</systemitem>112 <para>Now re-install as the <systemitem class="username">root</systemitem> 97 113 user:</para> 98 114 99 <screen><userinput>mkdir -pv /usr/include/gudev-1.0/gudev /usr/share/gtk-doc/html/gudev && 100 101 cp -v src/gudev/gudev.h /usr/include/gudev-1.0/gudev && 102 cp -v src/gudev/gudev[a-e,t]*.h /usr/include/gudev-1.0/gudev && 103 cp -v .libs/libgudev-1.0.so.0.2.0 /usr/lib && 104 105 ln -svfn libgudev-1.0.so.0.2.0 /usr/lib/libgudev-1.0.so && 106 ln -svfn libgudev-1.0.so.0.2.0 /usr/lib/libgudev-1.0.so.0 && 107 108 cp -v src/gudev/gudev-1.0.pc /usr/lib/pkgconfig && 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 && 116 117 cp -v src/gudev/GUdev-1.0.typelib /usr/lib/girepository-1.0 && 118 cp -v src/gudev/GUdev-1.0.gir /usr/share/gir-1.0</userinput></screen> 115 <screen><userinput>make install</userinput></screen> 119 116 120 117 </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> 121 135 122 136 <sect2 role="content">
Note:
See TracChangeset
for help on using the changeset viewer.