[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[8133796] | 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 |
|
---|
[18958f2e] | 7 | <!ENTITY libkscreen-download-http "http://download.kde.org/stable/plasma/&plasma-version;/libkscreen-&plasma-version;.tar.xz">
|
---|
[8133796] | 8 | <!ENTITY libkscreen-download-ftp " ">
|
---|
[18958f2e] | 9 | <!ENTITY libkscreen-md5sum "1f1d12d08bcf9309ab1c49641bb8eaf3">
|
---|
[d02ddc6] | 10 | <!ENTITY libkscreen-size "116 KB">
|
---|
[18958f2e] | 11 | <!ENTITY libkscreen-buildsize "19 MB">
|
---|
| 12 | <!ENTITY libkscreen-time "0.3 SBU (using parallelism=4)">
|
---|
[8133796] | 13 | ]>
|
---|
| 14 |
|
---|
[18958f2e] | 15 | <sect1 id="lxqt-libkscreen" xreflabel="libkscreen-&plasma-version; for lxqt">
|
---|
[8133796] | 16 | <?dbhtml filename="lxqt-libkscreen.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
[18958f2e] | 19 | <title>libkscreen-&plasma-version; for lxqt</title>
|
---|
[8133796] | 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>
|
---|
[e440af5] | 29 | The <application>libkscreen</application> package contains the
|
---|
| 30 | KDE Screen Management library.
|
---|
[8133796] | 31 | </para>
|
---|
| 32 |
|
---|
[6ddeccc] | 33 | &lfs121_checked;
|
---|
[18958f2e] | 34 |
|
---|
[4c5147b] | 35 | <important>
|
---|
[8133796] | 36 | <para>
|
---|
[4c5147b] | 37 | This package is extracted from the plasma set of packages.
|
---|
[6d8eeb9] | 38 | If <xref linkend="plasma-build"/> is built, do <emphasis
|
---|
[4c5147b] | 39 | role="bold">NOT</emphasis> also build this package as presented
|
---|
| 40 | here.
|
---|
[8133796] | 41 | </para>
|
---|
[4c5147b] | 42 | </important>
|
---|
[18958f2e] | 43 |
|
---|
[8133796] | 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 |
|
---|
[99498cb4] | 78 | <bridgehead renderas="sect3">libkscreen Dependencies</bridgehead>
|
---|
[8133796] | 79 |
|
---|
| 80 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 81 | <para role="required">
|
---|
[18958f2e] | 82 | <xref linkend="plasma-wayland-protocols"/> and
|
---|
| 83 | <xref linkend="qt6"/>
|
---|
[8133796] | 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 |
|
---|
[18958f2e] | 96 | <screen><userinput>mkdir build &&
|
---|
| 97 | cd build &&
|
---|
[8133796] | 98 |
|
---|
[18958f2e] | 99 | cmake -D CMAKE_INSTALL_PREFIX=/usr \
|
---|
| 100 | -D CMAKE_BUILD_TYPE=Release \
|
---|
| 101 | -D BUILD_TESTING=OFF \
|
---|
| 102 | -W no-dev .. &&
|
---|
[8133796] | 103 | make</userinput></screen>
|
---|
| 104 |
|
---|
| 105 | <para>
|
---|
| 106 | This package does not come with a test suite.
|
---|
| 107 | </para>
|
---|
| 108 |
|
---|
| 109 | <para>
|
---|
[5ecd157] | 110 | Now, as the &root; user:
|
---|
[8133796] | 111 | </para>
|
---|
| 112 |
|
---|
| 113 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 114 |
|
---|
[7acd427] | 115 | <para revision="sysv">
|
---|
| 116 | Next, remove a systemd unit which serves no purpose on a SysV system as
|
---|
| 117 | the &root; user:
|
---|
| 118 | </para>
|
---|
| 119 |
|
---|
| 120 | <screen role="root" revision="sysv"><userinput>rm -v /usr/lib/systemd/user/plasma-kscreen.service</userinput></screen>
|
---|
| 121 |
|
---|
[a9725cee] | 122 | </sect2>
|
---|
[18958f2e] | 123 | <!--
|
---|
[a9725cee] | 124 | <sect2 role="commands">
|
---|
| 125 | <title>Command Explanations</title>
|
---|
| 126 |
|
---|
[48b40684] | 127 | <para>
|
---|
[a9725cee] | 128 | <parameter>-DCMAKE_INSTALL_LIBEXECDIR=libexec</parameter>: This overrides
|
---|
[fb4719b] | 129 | the default in extra-cmake-modules, which is <filename
|
---|
[a9725cee] | 130 | class="directory">/usr/lib/libexec</filename> and is not FHS compliant.
|
---|
[48b40684] | 131 | </para>
|
---|
| 132 |
|
---|
[a9725cee] | 133 | <para>
|
---|
| 134 | <parameter>-DKDE_INSTALL_USE_QT_SYS_PATHS=ON</parameter>: This forces
|
---|
| 135 | installation of Qt plugins in the same directory as <xref linkend="qt5"/>
|
---|
| 136 | itself. Otherwise they get installed into <filename
|
---|
| 137 | class="directory">/usr/mkspecs</filename>, which is not FHS compliant.
|
---|
| 138 | </para>
|
---|
[48b40684] | 139 |
|
---|
[8133796] | 140 | </sect2>
|
---|
[18958f2e] | 141 | -->
|
---|
[8133796] | 142 | <sect2 role="content">
|
---|
| 143 | <title>Contents</title>
|
---|
| 144 |
|
---|
| 145 | <segmentedlist>
|
---|
| 146 | <segtitle>Installed Programs</segtitle>
|
---|
| 147 | <segtitle>Installed Library</segtitle>
|
---|
| 148 | <segtitle>Installed Directories</segtitle>
|
---|
| 149 |
|
---|
| 150 | <seglistitem>
|
---|
| 151 | <seg>
|
---|
[42382ae] | 152 | kscreen-doctor
|
---|
[8133796] | 153 | </seg>
|
---|
| 154 | <seg>
|
---|
[18958f2e] | 155 | libKF6Screen.so and
|
---|
| 156 | libKF6ScreenDpms.so
|
---|
[8133796] | 157 | </seg>
|
---|
| 158 | <seg>
|
---|
[18958f2e] | 159 | /usr/lib/cmake/KF6Screen,
|
---|
| 160 | /usr/include/KF6/KScreen, and
|
---|
| 161 | /usr/lib/plugins/kf6/kscreen
|
---|
[8133796] | 162 | </seg>
|
---|
| 163 | </seglistitem>
|
---|
| 164 | </segmentedlist>
|
---|
| 165 |
|
---|
| 166 | <variablelist>
|
---|
| 167 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 168 | <?dbfo list-presentation="list"?>
|
---|
| 169 | <?dbhtml list-presentation="table"?>
|
---|
| 170 |
|
---|
[42382ae] | 171 | <varlistentry id="lxqt-libkscreen-kscreen-doctor">
|
---|
| 172 | <term><command>kscreen-doctor</command></term>
|
---|
| 173 | <listitem>
|
---|
| 174 | <para>
|
---|
| 175 | allows modifying the screen setup from the command line
|
---|
| 176 | </para>
|
---|
| 177 | <indexterm zone="lxqt-libkscreen lxqt-libkscreen-kscreen-doctor">
|
---|
| 178 | <primary sortas="b-kscreen-doctor">kscreen-doctor</primary>
|
---|
| 179 | </indexterm>
|
---|
| 180 | </listitem>
|
---|
| 181 | </varlistentry>
|
---|
| 182 |
|
---|
[8133796] | 183 | <varlistentry id="lxqt-libkscreen-lib">
|
---|
[18958f2e] | 184 | <term><filename class="libraryfile">libKF6Screen.so</filename></term>
|
---|
[8133796] | 185 | <listitem>
|
---|
| 186 | <para>
|
---|
[e440af5] | 187 | contains the KDE Screen Management library
|
---|
[8133796] | 188 | </para>
|
---|
| 189 | <indexterm zone="lxqt-libkscreen-lib">
|
---|
[18958f2e] | 190 | <primary sortas="c-libKF6Screen">libKF6Screen.so</primary>
|
---|
[8133796] | 191 | </indexterm>
|
---|
| 192 | </listitem>
|
---|
| 193 | </varlistentry>
|
---|
| 194 |
|
---|
[42382ae] | 195 | <varlistentry id="lxqt-libkscreen-dpms-lib">
|
---|
[18958f2e] | 196 | <term><filename class="libraryfile">libKF6ScreenDpms.so</filename></term>
|
---|
[42382ae] | 197 | <listitem>
|
---|
| 198 | <para>
|
---|
| 199 | contains API functions for handling DPMS
|
---|
| 200 | </para>
|
---|
| 201 | <indexterm zone="lxqt-libkscreen-dpms-lib">
|
---|
[18958f2e] | 202 | <primary sortas="c-libKF6ScreenDpms">libKF6ScreenDpms.so</primary>
|
---|
[42382ae] | 203 | </indexterm>
|
---|
| 204 | </listitem>
|
---|
| 205 | </varlistentry>
|
---|
[8133796] | 206 | </variablelist>
|
---|
| 207 |
|
---|
| 208 | </sect2>
|
---|
| 209 |
|
---|
| 210 | </sect1>
|
---|