glfs/lxqt/desktop/pre-install.xml

120 lines
3.9 KiB
XML
Raw Normal View History

2023-06-18 00:37:23 +08:00
<?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;
]>
<sect1 id="lxqt-pre-install" xreflabel="LXQt Pre-Install">
<?dbhtml filename="pre-install.html"?>
<title>LXQt Desktop Pre-Install Instructions</title>
<indexterm zone="lxqt-pre-install">
<primary sortas="g-lxqt-pre-install">LXQt Pre-Install</primary>
</indexterm>
<sect2>
<title>Notes about building LXQt dependencies</title>
<para>
<application>LXQt</application> obviously needs <xref linkend="qt5"/>,
but not all Qt5 modules and dependencies are necessary. Since the aim
2023-07-11 07:39:23 +08:00
of <application>LXQt</application> is to be light weight, it is possible
to cut down the Qt5 overhead, and to build only parts of it.
2023-06-18 00:37:23 +08:00
</para>
<procedure>
<step>
<para>
Build <xref linkend="linux-pam"/>, <xref linkend="shadow"/>,
2023-07-05 22:24:16 +08:00
<xref linkend="libpwquality"/>, and <xref linkend="sudo"/>, with
their dependencies.
2023-06-18 00:37:23 +08:00
</para>
</step>
<step>
<para>
2023-07-05 22:24:16 +08:00
Build the whole <xref linkend="x-window-system"/> chapter, including
Wayland support and xcb-utils-xxx packages, with required and
recommended dependencies, and replacing twm vith
<xref linkend="openbox"/> (and its required dependencies). Some Xorg
applications and fonts may be omitted, but with a negligible impact
on build time and size.
2023-06-18 00:37:23 +08:00
</para>
</step>
2023-06-18 00:37:23 +08:00
<step>
<para>
2023-07-05 22:24:16 +08:00
Build some of the recommended Qt dependencies, namely:
2023-06-20 12:26:59 +08:00
<xref linkend="double-conversion"/>,
<xref linkend="libjpeg"/>,
<xref linkend="libxkbcommon"/>, and
2023-07-05 22:24:16 +08:00
<xref linkend="sqlite"/>.
2023-06-18 00:37:23 +08:00
</para>
</step>
<step>
<para>
Build the required parts of <xref linkend="qt5"/>. To skip all
2023-06-21 11:04:28 +08:00
modules but the those needed for LXQt, do:
2023-06-18 00:37:23 +08:00
</para>
2023-07-05 22:24:16 +08:00
<screen role="nodump"><userinput>ls -Fd qt* | grep / | sed 's/^/-skip /;s@/@@' > tempconf
2023-07-06 11:16:13 +08:00
sed -ir '/base|tools|x11extras|svg|declarative|wayland/d' tempconf
2023-06-18 00:37:23 +08:00
./configure &lt;book flags&gt; $(cat tempconf)</userinput></screen>
<para>
The time needed to complete the Qt installation is thus reduced to
2023-07-05 22:24:16 +08:00
around 11 SBU.
2023-06-18 00:37:23 +08:00
</para>
</step>
<step>
<para>
Build miscellaneous dependencies (with their required ones):
<xref linkend="json-glib"/>,
2023-06-18 00:37:23 +08:00
<xref linkend="libexif"/>,
<xref linkend="libstatgrab"/>,
2023-06-22 12:42:18 +08:00
<xref linkend="lm_sensors"/>,
<xref linkend="menu-cache"/>,
2023-06-22 12:42:18 +08:00
2023-06-18 00:37:23 +08:00
<phrase revision="sysv">
<xref linkend="pm-utils"/>,
</phrase>
2023-07-05 22:24:16 +08:00
<xref linkend="alsa-lib"/>,<!--recommended for pulseaudio, so has to
be here since we tell to build only required dependencies.-->
2023-06-22 12:42:18 +08:00
<xref linkend="polkit"/>,
<xref linkend="pulseaudio"/>, and
<xref linkend="upower"/>.
2023-06-18 00:37:23 +08:00
</para>
</step>
<step>
<para>
Build KDE frameworks dependencies:
<xref linkend="extra-cmake-modules"/>,
2023-06-21 11:04:28 +08:00
<xref linkend="libdbusmenu-qt"/>,
<xref linkend="plasma-wayland-protocols"/>, and
2023-06-22 12:42:18 +08:00
<xref linkend="polkit-qt"/>.
2023-06-18 00:37:23 +08:00
</para>
</step>
<step>
<para>
Finally, build some desktop utilities:
2023-07-05 22:24:16 +08:00
<xref linkend="breeze-icons"/> or other sets of icons,
<xref linkend="hicolor-icon-theme"/>,
<xref linkend="desktop-file-utils"/> (needed to update the
desktop database),
<xref linkend="shared-mime-info"/> (needed to update the mime
database),
<xref linkend="xdg-utils"/> (needs only xmlto), and
<xref linkend="xdg-user-dirs"/>.
2023-06-18 00:37:23 +08:00
</para>
</step>
</procedure>
</sect2>
</sect1>