source: lxqt/desktop/lxqt-kwayland.xml@ a9725cee

12.1 12.2 gimp3 ken/TL2024 lazarus plabs/newcss rahul/power-profiles-daemon trunk xry111/for-12.3 xry111/llvm18 xry111/spidermonkey128
Last change on this file since a9725cee was a9725cee, checked in by Pierre Labastie <pierre.labastie@…>, 9 months ago

Fix install dirs in kde packages for lxqt

  • add -DKDE_INSTALL_USE_QT_SYS_PATHS=ON, which allows installing qtplugins in the /opt/qt5 hierarchy instead of /usr/mkspecs
  • add -DCMAKE_INSTALL_LIBEXECDIR=libexec, which allows installing private apps in /usr/libexec instead of /usr/lib/libexec
  • remove -DCMAKE_INSTALL_LIBDIR=lib, which is useless since extra-cmake-modules use GNUInstallDir

Note that those modifications have been done for all the kde packages
used in LXQt, althoough the modification for libexec is only needed for
three of them. But it does not hurt for the others, and who knows how
things may evolve...

  • Property mode set to 100644
File size: 5.7 KB
Line 
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 <!ENTITY kwayland-download-http "&kf5-download-http;/kwayland-&kf5-version;.tar.xz">
8 <!ENTITY kwayland-download-ftp " ">
9 <!ENTITY kwayland-md5sum "924b688b1a9626506db888f7121c5ace">
10 <!ENTITY kwayland-size "332 KB">
11 <!ENTITY kwayland-buildsize "31 MB">
12 <!ENTITY kwayland-time "0.3 SBU (Using parallelism=4)">
13]>
14
15<sect1 id="lxqt-kwayland" xreflabel="kwayland-&kf5-version; for lxqt">
16 <?dbhtml filename="lxqt-kwayland.html"?>
17
18
19 <title>kwayland-&kf5-version; for lxqt</title>
20
21 <indexterm zone="lxqt-kwayland">
22 <primary sortas="a-kwayland">kwayland</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to kwayland</title>
27
28 <para>
29 <application>kwayland</application> is a Qt-style API to interact with
30 the <application>wayland-client</application> and
31 <application>wayland-server</application> API.
32 </para>
33
34 &lfs120_checked;
35
36 <important>
37 <para>
38 This package is extracted from the KF5 set of packages.
39 If <xref linkend="kf5-frameworks"/> is built, do <emphasis
40 role="bold">NOT</emphasis> also build this package as presented
41 here.
42 </para>
43 </important>
44
45 <bridgehead renderas="sect3">Package Information</bridgehead>
46 <itemizedlist spacing="compact">
47 <listitem>
48 <para>
49 Download (HTTP): <ulink url="&kwayland-download-http;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download (FTP): <ulink url="&kwayland-download-ftp;"/>
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download MD5 sum: &kwayland-md5sum;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Download size: &kwayland-size;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated disk space required: &kwayland-buildsize;
70 </para>
71 </listitem>
72 <listitem>
73 <para>
74 Estimated build time: &kwayland-time;
75 </para>
76 </listitem>
77 </itemizedlist>
78
79 <bridgehead renderas="sect3">kwayland Dependencies</bridgehead>
80
81 <bridgehead renderas="sect4">Required</bridgehead>
82 <para role="required">
83 <xref linkend="extra-cmake-modules"/>,
84 <xref linkend="mesa"/> (built with <xref linkend="wayland"/> support),
85 <xref linkend="plasma-wayland-protocols"/>, and
86 &qt5-deps;
87 </para>
88
89 </sect2>
90
91 <sect2 role="installation">
92 <title>Installation of kwayland</title>
93
94 <para>
95 Install <application>kwayland</application> by running the
96 following commands:
97 </para>
98
99<screen><userinput>mkdir -v build &amp;&amp;
100cd build &amp;&amp;
101
102cmake -DCMAKE_INSTALL_PREFIX=/usr \
103 -DCMAKE_INSTALL_LIBEXECDIR=libexec \
104 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
105 -DCMAKE_BUILD_TYPE=Release \
106 -DBUILD_TESTING=OFF \
107 -Wno-dev .. &amp;&amp;
108make</userinput></screen>
109
110 <para>
111 This package does not come with a test suite.
112 </para>
113
114 <para>
115 Now, as the &root; user:
116 </para>
117
118<screen role="root"><userinput>make install</userinput></screen>
119
120 </sect2>
121
122 <sect2 role="commands">
123 <title>Command Explanations</title>
124
125 <para>
126 <parameter>-DCMAKE_INSTALL_LIBEXECDIR=libexec</parameter>: This overrides
127 the default in extra-cmake-modules, wich is <filename
128 class="directory">/usr/lib/libexec</filename> and is not FHS compliant.
129 </para>
130
131 <para>
132 <parameter>-DKDE_INSTALL_USE_QT_SYS_PATHS=ON</parameter>: This forces
133 installation of Qt plugins in the same directory as <xref linkend="qt5"/>
134 itself. Otherwise they get installed into <filename
135 class="directory">/usr/mkspecs</filename>, which is not FHS compliant.
136 </para>
137
138 </sect2>
139
140 <sect2 role="content">
141 <title>Contents</title>
142
143 <segmentedlist>
144 <segtitle>Installed Programs</segtitle>
145 <segtitle>Installed Library</segtitle>
146 <segtitle>Installed Directories</segtitle>
147
148 <seglistitem>
149 <seg>
150 None
151 </seg>
152 <seg>
153 libKF5WaylandClient.so and libKF5WaylandServer.so
154 </seg>
155 <seg>
156 /usr/lib/cmake/KF5Wayland,
157 /usr/include/KF5/KWayland, and
158 /usr/share/qlogging-categories5
159 </seg>
160 </seglistitem>
161 </segmentedlist>
162
163 <variablelist>
164 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
165 <?dbfo list-presentation="list"?>
166 <?dbhtml list-presentation="table"?>
167
168 <varlistentry id="lxqt-kwayland-client">
169 <term><filename class="libraryfile">libKF5WaylandClient.so</filename></term>
170 <listitem>
171 <para>
172 contains the <application>wayland-client</application> Qt-style
173 wrapper library
174 </para>
175 <indexterm zone="lxqt-kwayland-client">
176 <primary sortas="c-libKF5WaylandClient">libKF5WaylandClient.so</primary>
177 </indexterm>
178 </listitem>
179 </varlistentry>
180
181 <varlistentry id="lxqt-kwayland-server">
182 <term><filename class="libraryfile">libKF5WaylandServer.so</filename></term>
183 <listitem>
184 <para>
185 contains the <application>wayland-server</application> Qt-style
186 wrapper library
187 </para>
188 <indexterm zone="lxqt-kwayland-server">
189 <primary sortas="c-libKF5WaylandServer">libKF5WaylandServer.so</primary>
190 </indexterm>
191 </listitem>
192 </varlistentry>
193
194 </variablelist>
195
196 </sect2>
197
198</sect1>
Note: See TracBrowser for help on using the repository browser.