source: lxqt/desktop/lxqt-libkscreen.xml@ 730d47f2

12.1 ken/TL2024 lazarus plabs/newcss rahul/power-profiles-daemon trunk xry111/llvm18
Last change on this file since 730d47f2 was a9725cee, checked in by Pierre Labastie <pierre.labastie@…>, 6 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: 6.2 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 libkscreen-download-http "http://download.kde.org/stable/plasma/&plasma5-version;/libkscreen-&plasma5-version;.tar.xz">
8 <!ENTITY libkscreen-download-ftp " ">
9 <!ENTITY libkscreen-md5sum "1f491e823bc83df650d04d5d9948da45">
10 <!ENTITY libkscreen-size "116 KB">
11 <!ENTITY libkscreen-buildsize "16 MB">
12 <!ENTITY libkscreen-time "0.2 SBU (using parallelism=4)">
13]>
14
15<sect1 id="lxqt-libkscreen" xreflabel="libkscreen-&plasma5-version; for lxqt">
16 <?dbhtml filename="lxqt-libkscreen.html"?>
17
18
19 <title>libkscreen-&plasma5-version; for lxqt</title>
20
21 <indexterm zone="lxqt-libkscreen">
22 <primary sortas="a-libkscreen">libkscreen</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to libkscreen</title>
27
28 <para>
29 The <application>libkscreen</application> package contains the
30 KDE Screen Management library.
31 </para>
32
33 &lfs120_checked;
34
35 <important>
36 <para>
37 This package is extracted from the plasma set of packages.
38 If <xref linkend="plasma5-build"/> is built, do <emphasis
39 role="bold">NOT</emphasis> also build this package as presented
40 here.
41 </para>
42 </important>
43
44 <bridgehead renderas="sect3">Package Information</bridgehead>
45 <itemizedlist spacing="compact">
46 <listitem>
47 <para>
48 Download (HTTP): <ulink url="&libkscreen-download-http;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download (FTP): <ulink url="&libkscreen-download-ftp;"/>
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download MD5 sum: &libkscreen-md5sum;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Download size: &libkscreen-size;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated disk space required: &libkscreen-buildsize;
69 </para>
70 </listitem>
71 <listitem>
72 <para>
73 Estimated build time: &libkscreen-time;
74 </para>
75 </listitem>
76 </itemizedlist>
77
78 <bridgehead renderas="sect3">libkscreen Dependencies</bridgehead>
79
80 <bridgehead renderas="sect4">Required</bridgehead>
81 <para role="required">
82 <xref linkend="lxqt-kconfig"/> and
83 <xref linkend="lxqt-kwayland"/>
84 </para>
85
86 </sect2>
87
88 <sect2 role="installation">
89 <title>Installation of libkscreen</title>
90
91 <para>
92 Install <application>libkscreen</application> by running the
93 following commands:
94 </para>
95
96<screen><userinput>mkdir -v build &amp;&amp;
97cd build &amp;&amp;
98
99cmake -DCMAKE_INSTALL_PREFIX=/usr \
100 -DCMAKE_BUILD_TYPE=Release \
101 -DCMAKE_INSTALL_LIBEXECDIR=libexec \
102 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
103 -DBUILD_TESTING=OFF \
104 -Wno-dev .. &amp;&amp;
105make</userinput></screen>
106
107 <para>
108 This package does not come with a test suite.
109 </para>
110
111 <para>
112 Now, as the &root; user:
113 </para>
114
115<screen role="root"><userinput>make install</userinput></screen>
116
117 <para revision="sysv">
118 Next, remove a systemd unit which serves no purpose on a SysV system as
119 the &root; user:
120 </para>
121
122<screen role="root" revision="sysv"><userinput>rm -v /usr/lib/systemd/user/plasma-kscreen.service</userinput></screen>
123
124 </sect2>
125
126 <sect2 role="commands">
127 <title>Command Explanations</title>
128
129 <para>
130 <parameter>-DCMAKE_INSTALL_LIBEXECDIR=libexec</parameter>: This overrides
131 the default in extra-cmake-modules, wich is <filename
132 class="directory">/usr/lib/libexec</filename> and is not FHS compliant.
133 </para>
134
135 <para>
136 <parameter>-DKDE_INSTALL_USE_QT_SYS_PATHS=ON</parameter>: This forces
137 installation of Qt plugins in the same directory as <xref linkend="qt5"/>
138 itself. Otherwise they get installed into <filename
139 class="directory">/usr/mkspecs</filename>, which is not FHS compliant.
140 </para>
141
142 </sect2>
143
144 <sect2 role="content">
145 <title>Contents</title>
146
147 <segmentedlist>
148 <segtitle>Installed Programs</segtitle>
149 <segtitle>Installed Library</segtitle>
150 <segtitle>Installed Directories</segtitle>
151
152 <seglistitem>
153 <seg>
154 kscreen-doctor
155 </seg>
156 <seg>
157 libKF5Screen.so and
158 libKF5ScreenDpms.so
159 </seg>
160 <seg>
161 /usr/lib/cmake/KF5Screen,
162 /usr/include/KF5/KScreen, and
163 /usr/lib/plugins/kf5/kscreen
164 </seg>
165 </seglistitem>
166 </segmentedlist>
167
168 <variablelist>
169 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
170 <?dbfo list-presentation="list"?>
171 <?dbhtml list-presentation="table"?>
172
173 <varlistentry id="lxqt-libkscreen-kscreen-doctor">
174 <term><command>kscreen-doctor</command></term>
175 <listitem>
176 <para>
177 allows modifying the screen setup from the command line
178 </para>
179 <indexterm zone="lxqt-libkscreen lxqt-libkscreen-kscreen-doctor">
180 <primary sortas="b-kscreen-doctor">kscreen-doctor</primary>
181 </indexterm>
182 </listitem>
183 </varlistentry>
184
185 <varlistentry id="lxqt-libkscreen-lib">
186 <term><filename class="libraryfile">libKF5Screen.so</filename></term>
187 <listitem>
188 <para>
189 contains the KDE Screen Management library
190 </para>
191 <indexterm zone="lxqt-libkscreen-lib">
192 <primary sortas="c-libKF5Screen">libKF5Screen.so</primary>
193 </indexterm>
194 </listitem>
195 </varlistentry>
196
197 <varlistentry id="lxqt-libkscreen-dpms-lib">
198 <term><filename class="libraryfile">libKF5ScreenDpms.so</filename></term>
199 <listitem>
200 <para>
201 contains API functions for handling DPMS
202 </para>
203 <indexterm zone="lxqt-libkscreen-dpms-lib">
204 <primary sortas="c-libKF5ScreenDpms">libKF5ScreenDpms.so</primary>
205 </indexterm>
206 </listitem>
207 </varlistentry>
208 </variablelist>
209
210 </sect2>
211
212</sect1>
Note: See TracBrowser for help on using the repository browser.