Changeset d5e4de79


Ignore:
Timestamp:
07/01/2023 08:16:35 PM (12 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.0, 12.1, kea, ken/TL2024, ken/tuningfonts, lazarus, lxqt, plabs/newcss, python3.11, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/xf86-video-removal
Children:
6af6704, 8b1a8b6
Parents:
cedbb469
git-author:
Xi Ruoyao <xry111@…> (07/01/2023 08:15:20 PM)
git-committer:
Xi Ruoyao <xry111@…> (07/01/2023 08:16:35 PM)
Message:

Udisks2 dependency chain clean up

Location:
general
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • general/genlib/libblockdev.xml

    rcedbb469 rd5e4de79  
    7575    <bridgehead renderas="sect4">Required</bridgehead>
    7676    <para role="required">
    77       <xref linkend="gobject-introspection"/>,
    78       <xref linkend="libbytesize"/>,
    79       <xref linkend="libyaml"/>,
    80       <xref linkend="parted"/>, and
    81       <xref linkend="volume_key"/>
     77      <xref linkend="glib2"/>
    8278    </para>
    8379
    8480    <bridgehead renderas="sect4">Recommended</bridgehead>
    8581    <para role="recommended">
    86       <xref linkend="libnvme"/>
     82      <xref linkend="cryptsetup"/>,
     83      <xref linkend="gobject-introspection"/> (required for GNOME),
     84      <xref linkend="keyutils"/>,
     85      <xref linkend="libbytesize"/>,
     86      <xref linkend="libnvme"/>, and
     87      <xref linkend="lvm2"/>
    8788    </para>
    8889
     
    9293      <xref linkend="gtk-doc"/>,
    9394      <xref linkend="mdadm"/>,
     95      <xref linkend="parted"/>,
     96      <xref linkend="volume_key"/>,
    9497      <ulink url="https://people.redhat.com/~heinzm/sw/dmraid/">dmraid</ulink>,
    9598      <ulink url="https://bcachefs.org/">bcachefs</ulink>, and
     
    115118    </para>
    116119
    117 <screen><userinput>./configure --prefix=/usr     \
    118             --sysconfdir=/etc \
    119             --with-python3    \
    120             --without-gtk-doc \
    121             --without-nvdimm  \
    122             --without-dm      &amp;&amp;
     120<screen><userinput>./configure --prefix=/usr      \
     121            --sysconfdir=/etc  \
     122            --with-python3     \
     123            --without-escrow   \
     124            --without-gtk-doc  \
     125            --without-lvm      \
     126            --without-lvm_dbus \
     127            --without-nvdimm   \
     128            --without-tools    &amp;&amp;
    123129make</userinput></screen>
    124130
     
    134140
    135141  </sect2>
    136 <!--
     142
    137143  <sect2 role="commands">
    138144    <title>Command Explanations</title>
    139145
    140 
    141   </sect2>
    142 -->
     146    <para>
     147      <parameter>--without-escrow</parameter>: This switch allows building
     148      <application>libblockdev</application> without
     149      <xref linkend="volume_key"/> installed.  Remove it if you've installed
     150      <xref linkend="volume_key"/>.
     151    </para>
     152
     153    <para>
     154      <parameter>--without-lvm --without-lvm_dbus
     155      --without-tools</parameter>: The combination of these switches allows
     156      building <application>libblockdev</application> without
     157      <xref linkend="parted"/> installed.  Remove it if you've installed
     158      <xref linkend="parted"/> and wish to build the
     159      <command>lvm-cache-stats</command> or <command>vfat-resize</command>
     160      utilities, or wish <application>libblockdev</application> to support
     161      logical volumes.
     162    </para>
     163
     164    <para>
     165      <option>--without-btrfs --without-mdraid --without-tools</option>:
     166      The combination of these switches allows building
     167      <application>libblockdev</application> without
     168      <xref linkend="libbytesize"/> installed.  The
     169      <option>--without-mdraid</option> option will break
     170      <xref linkend="udisks2"/>, so don't use it unless you really know what
     171      you are doing.
     172    </para>
     173
     174    <para>
     175      <option>--without-crypto</option>: This switch allows building
     176      <application>libblockdev</application> without
     177      <xref linkend="cryptsetup"/> or <xref linkend="keyutils"/> installed.
     178      This switch will break <xref linkend="udisks2"/>, so don't use it
     179      unless you really know what you are doing.
     180    </para>
     181
     182    <para>
     183      <option>--without-dm --without-lvm --without-lvm_dbus
     184      --without-mpath</option>: The combination of these switches allows
     185      building <application>libblockdev</application> without
     186      <xref linkend="lvm2"/> installed.  The <option>--without-dm</option>
     187      and <option>--without-mpath</option> options are not in the
     188      instruction in the instruction provided by the book because
     189      <xref linkend="lvm2"/> is required for <xref linkend="cryptsetup"/>
     190      and <xref linkend="cryptsetup"/> is a recommended dependency of
     191      <application>libblockdev</application> anyway.
     192    </para>
     193
     194    <para>
     195      <option>--without-nvme</option>: This switch allows building
     196      <application>libblockdev</application> without
     197      <xref linkend="libnvme"/> installed.  This switch will break
     198      <xref linkend="udisks2"/>, so don't use it unless you really know what
     199      you are doing.
     200    </para>
     201
     202  </sect2>
     203
    143204  <sect2 role="content">
    144205    <title>Contents</title>
     
    151212      <seglistitem>
    152213        <seg>
    153           lvm-cache-stats
     214          lvm-cache-stats and vfat-resize (both optional)
    154215        </seg>
    155216        <seg>
    156217          libbd_btrfs.so,
    157218          libbd_crypto.so,
     219          libbd_dm.so,
    158220          libbd_fs.so,
    159           libbd_kbd.so,
    160221          libbd_loop.so,
    161           libbd_lvm.so,
    162           libbd_lvm-dbus.so,
     222          libbd_lvm.so (optional),
     223          libbd_lvm-dbus.so (optional),
    163224          libbd_mdraid.so,
    164225          libbd_mpath.so,
     226          libbd_nvme.so,
    165227          libbd_part.so,
    166           libbd_part_err.so,
    167228          libbd_swap.so,
    168           libbd_utils.so,
    169           libbd_vdo.so, and
     229          libbd_utils.so, and
    170230          libblockdev.so
    171231        </seg>
     
    173233          /etc/libblockdev,
    174234          /usr/include/blockdev, and
    175           /usr/share/gtk-doc/html/libblockdev
     235          /usr/share/gtk-doc/html/libblockdev (optional)
    176236        </seg>
    177237      </seglistitem>
     
    195255      </varlistentry>
    196256
     257      <varlistentry id="vfat-resize">
     258        <term><command>vfat-resize</command></term>
     259        <listitem>
     260          <para>
     261            resizes <systemitem class="filesystem">vfat</systemitem>
     262            file systems
     263          </para>
     264          <indexterm zone="libblockdev vfat-resize">
     265            <primary sortas="b-vfat-resize">vfat-resize</primary>
     266          </indexterm>
     267        </listitem>
     268      </varlistentry>
    197269    </variablelist>
    198270
  • general/genlib/libnvme.xml

    rcedbb469 rd5e4de79  
    7676    </para>
    7777-->
    78     <bridgehead renderas="sect4">Recommended</bridgehead>
    79 
    80     <para role="recommended">
    81       <xref linkend="keyutils"/>
    82     </para>
    8378
    8479    <bridgehead renderas="sect4">Optional</bridgehead>
    8580    <para role="optional">
    86       <xref linkend="json-c"/> and
     81      <phrase revision="sysv"><xref linkend="dbus"/>,</phrase>
     82      <xref linkend="json-c"/>,
     83      <xref linkend="keyutils"/>, and
    8784      <xref linkend="swig"/>
    8885    </para>
     
    10299cd    build &amp;&amp;
    103100
    104 meson setup --prefix=/usr --buildtype=release .. &amp;&amp;
     101meson setup --prefix=/usr --buildtype=release -Dlibdbus=auto .. &amp;&amp;
    105102ninja</userinput></screen>
    106103
  • general/sysutils/udisks2.xml

    rcedbb469 rd5e4de79  
    134134            --sysconfdir=/etc    \
    135135            --localstatedir=/var \
    136             --disable-static     &amp;&amp;
     136            --disable-static     \
     137            --enable-available-modules &amp;&amp;
    137138make</userinput></screen>
    138139
     
    161162    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    162163      href="../../xincludes/gtk-doc-rebuild.xml"/>
     164
     165    <para>
     166      <parameter>--enable-available-modules</parameter>: This switch enables
     167      additional <application>UDisks2</application> functionalities if
     168      <xref linkend='libblockdev'/> has been built with optional
     169      dependencies.
     170    </para>
    163171
    164172  </sect2>
Note: See TracChangeset for help on using the changeset viewer.