1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 | ]>
|
---|
7 |
|
---|
8 | <sect1 id="lxqt-pre-install" xreflabel="LXQt Pre-Install">
|
---|
9 | <?dbhtml filename="pre-install.html"?>
|
---|
10 |
|
---|
11 | <title>LXQt Desktop Pre-Install Instructions</title>
|
---|
12 |
|
---|
13 | <indexterm zone="lxqt-pre-install">
|
---|
14 | <primary sortas="g-lxqt-pre-install">LXQt Pre-Install</primary>
|
---|
15 | </indexterm>
|
---|
16 | <sect2>
|
---|
17 | <title>Notes about building LXQt dependencies</title>
|
---|
18 |
|
---|
19 | <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 |
|
---|
25 | </para>
|
---|
26 |
|
---|
27 | <procedure>
|
---|
28 | <step>
|
---|
29 | <para>
|
---|
30 | Build <xref linkend="linux-pam"/>, <xref linkend="shadow"/>,
|
---|
31 | <xref linkend="libpwquality"/>, and <xref linkend="sudo"/>, with
|
---|
32 | their dependencies.
|
---|
33 | </para>
|
---|
34 | </step>
|
---|
35 |
|
---|
36 | <step>
|
---|
37 | <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.
|
---|
44 | </para>
|
---|
45 | </step>
|
---|
46 |
|
---|
47 | <step>
|
---|
48 | <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 <book flags> $(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"/>.
|
---|
113 | </para>
|
---|
114 | </step>
|
---|
115 | </procedure>
|
---|
116 |
|
---|
117 | </sect2>
|
---|
118 |
|
---|
119 | </sect1>
|
---|