Ignore:
Timestamp:
07/13/2023 06:17:52 AM (11 months ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
12.0, 12.1, ken/TL2024, ken/tuningfonts, lazarus, lxqt, plabs/newcss, python3.11, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18
Children:
b3867c5
Parents:
5ecd157
Message:

lxqt and qt5-alternate cleanups

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lxqt/desktop/pre-install.xml

    r5ecd157 r32936bc  
    1818
    1919    <para>
    20       <application>LXQt</application> obviously needs <xref linkend="qt5"/>,
    21       but not all Qt5 modules and dependencies are necessary. Since the aim
    22       of <application>LXQt</application> is to be light weight, it is possible
    23       to cut down the Qt5 overhead, and to build only parts of it.
    24      
     20      To build LXQt, the following steps are recommended:
    2521    </para>
    2622
     
    2824      <step>
    2925        <para>
    30           Build <xref linkend="linux-pam"/>, <xref linkend="shadow"/>,
    31           <xref linkend="libpwquality"/>, and <xref linkend="sudo"/>, with
    32           their dependencies.
     26
     27          First, build the whole <xref linkend="xorg"/>, including
     28          Wayland support with required and recommended dependencies.  Test
     29          that the environment works with twm as the window manager.  With
     30          experience, some of the packages can be omitted, but that is not
     31          recommended for first time users.
     32       
    3333        </para>
    3434      </step>
     
    3636      <step>
    3737        <para>
    38           Build the whole <xref linkend="x-window-system"/> chapter, including
    39           Wayland support and xcb-utils-xxx packages, with required and
    40           recommended dependencies, and replacing twm vith
    41           <xref linkend="openbox"/> (and its required dependencies). Some Xorg
    42           applications and fonts may be omitted, but with a negligible impact
    43           on build time and size.
     38          Second, build the required parts of Qt. The full package, <xref
     39          linkend="qt5"/> is quite long and has a lot of dependencies.  As an
     40          alternative, the required components needed for LXQt can be built
     41          using the procedures in <xref linkend="qt5-alternate"/>.
    4442        </para>
    4543      </step>
     
    4745      <step>
    4846        <para>
    49           Build some of the recommended Qt dependencies, namely:
    50           <xref linkend="double-conversion"/>,
    51           <xref linkend="libjpeg"/>,
    52           <xref linkend="libxkbcommon"/>, and
    53           <xref linkend="sqlite"/>.
    54         </para>
    55       </step>
    56 
    57       <step>
    58         <para>
    59           Build the required parts of <xref linkend="qt5"/>. To skip all
    60           modules but the those needed for LXQt, do:
    61         </para>
    62 <screen role="nodump"><userinput>ls -Fd qt* | grep / | sed 's/^/-skip /;s@/@@' > tempconf
    63 sed -ir '/base|tools|x11extras|svg|declarative|wayland/d' tempconf
    64 ./configure &lt;book flags&gt; $(cat tempconf)</userinput></screen>
    65         <para>
    66           The time needed to complete the Qt installation is thus reduced to
    67           around 11 SBU.
    68         </para>
    69       </step>
    70 
    71       <step>
    72         <para>
    73           Build miscellaneous dependencies (with their required ones):
    74           <xref linkend="json-glib"/>,
    75           <xref linkend="libexif"/>,
    76           <xref linkend="libstatgrab"/>,
    77           <xref linkend="lm_sensors"/>,
    78           <xref linkend="menu-cache"/>,
    79 
    80           <phrase revision="sysv">
    81             <xref linkend="pm-utils"/>,
    82           </phrase>
    83 
    84           <xref linkend="alsa-lib"/>,<!--recommended for pulseaudio, so has to
    85           be here since we tell to build only required dependencies.-->
    86           <xref linkend="polkit"/>,
    87           <xref linkend="pulseaudio"/>, and
    88           <xref linkend="upower"/>.
    89         </para>
    90       </step>
    91 
    92       <step>
    93         <para>
    94           Build KDE frameworks dependencies:
    95           <xref linkend="extra-cmake-modules"/>,
    96           <xref linkend="libdbusmenu-qt"/>,
    97           <xref linkend="plasma-wayland-protocols"/>, and
    98           <xref linkend="polkit-qt"/>.
    99         </para>
    100       </step>
    101 
    102       <step>
    103         <para>
    104           Finally, build some desktop utilities:
    105           <xref linkend="breeze-icons"/> or other sets of icons,
    106           <xref linkend="hicolor-icon-theme"/>,
    107           <xref linkend="desktop-file-utils"/> (needed to update the
    108           desktop database),
    109           <xref linkend="shared-mime-info"/> (needed to update the mime
    110           database),
    111           <xref linkend="xdg-utils"/> (needs only xmlto), and
    112           <xref linkend="xdg-user-dirs"/>.
     47          Finally build the LXQt desktop using the pages below in order.
     48          The packages in the applications section are optional, but as
     49          a minimum, <xref linkend="qterminal"/> is recommended.
    11350        </para>
    11451      </step>
Note: See TracChangeset for help on using the changeset viewer.