glfs/lxqt/desktop/lxqt-libkscreen.xml
Bruce Dubbs 6d8eeb9662 Intermediate commit for kde6.
This is a large, but still intermediate commit for KDE6 (kf6 and plasma6).
These are the key changes:

Update kf6 dependencies.

Remove kuserfeedback (it is now a part of kf6).

Move libdbusmenu-qt to General Libraries.  It is still needed for LXQt, but
will be remmoved when LXQt moves to Qt6 and LF6/Plasma6.

Made some changes to bluez to use &root;.

Commented out kmix, libkcddb, and k3b.  These are still kf5 apps and would
require adding back most of kf5 to the book.  It's easier to just wait for
these to be updated to qt6/kf6.

Removed references to the full qt5 package in LXQt packages.  It mkes no sense
now that Qt6 is in the book to also build the full (deprecated) Qt5 package.
It may makes sense to just remove the full Qt5 package from th ebook now.

Renamed an internal referece from plasma5-build to just plasma-build in polkit
and mesa.
2024-03-16 22:10:52 -05:00

213 lines
6.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!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;
<!ENTITY libkscreen-download-http "http://download.kde.org/stable/plasma/&plasma5-version;/libkscreen-&plasma5-version;.tar.xz">
<!ENTITY libkscreen-download-ftp " ">
<!ENTITY libkscreen-md5sum "1f491e823bc83df650d04d5d9948da45">
<!ENTITY libkscreen-size "116 KB">
<!ENTITY libkscreen-buildsize "16 MB">
<!ENTITY libkscreen-time "0.2 SBU (using parallelism=4)">
]>
<sect1 id="lxqt-libkscreen" xreflabel="libkscreen-&plasma5-version; for lxqt">
<?dbhtml filename="lxqt-libkscreen.html"?>
<title>libkscreen-&plasma5-version; for lxqt</title>
<indexterm zone="lxqt-libkscreen">
<primary sortas="a-libkscreen">libkscreen</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to libkscreen</title>
<para>
The <application>libkscreen</application> package contains the
KDE Screen Management library.
</para>
&lfs121_checked;
<!--
<important>
<para>
This package is extracted from the plasma set of packages.
If <xref linkend="plasma-build"/> is built, do <emphasis
role="bold">NOT</emphasis> also build this package as presented
here.
</para>
</important>
-->
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&libkscreen-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&libkscreen-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &libkscreen-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &libkscreen-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &libkscreen-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &libkscreen-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">libkscreen Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="lxqt-kconfig"/> and
<xref linkend="lxqt-kwayland"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of libkscreen</title>
<para>
Install <application>libkscreen</application> by running the
following commands:
</para>
<screen><userinput>mkdir -v build &amp;&amp;
cd build &amp;&amp;
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_LIBEXECDIR=libexec \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DBUILD_TESTING=OFF \
-Wno-dev .. &amp;&amp;
make</userinput></screen>
<para>
This package does not come with a test suite.
</para>
<para>
Now, as the &root; user:
</para>
<screen role="root"><userinput>make install</userinput></screen>
<para revision="sysv">
Next, remove a systemd unit which serves no purpose on a SysV system as
the &root; user:
</para>
<screen role="root" revision="sysv"><userinput>rm -v /usr/lib/systemd/user/plasma-kscreen.service</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para>
<parameter>-DCMAKE_INSTALL_LIBEXECDIR=libexec</parameter>: This overrides
the default in extra-cmake-modules, which is <filename
class="directory">/usr/lib/libexec</filename> and is not FHS compliant.
</para>
<para>
<parameter>-DKDE_INSTALL_USE_QT_SYS_PATHS=ON</parameter>: This forces
installation of Qt plugins in the same directory as <xref linkend="qt5"/>
itself. Otherwise they get installed into <filename
class="directory">/usr/mkspecs</filename>, which is not FHS compliant.
</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Library</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
kscreen-doctor
</seg>
<seg>
libKF5Screen.so and
libKF5ScreenDpms.so
</seg>
<seg>
/usr/lib/cmake/KF5Screen,
/usr/include/KF5/KScreen, and
/usr/lib/plugins/kf5/kscreen
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="lxqt-libkscreen-kscreen-doctor">
<term><command>kscreen-doctor</command></term>
<listitem>
<para>
allows modifying the screen setup from the command line
</para>
<indexterm zone="lxqt-libkscreen lxqt-libkscreen-kscreen-doctor">
<primary sortas="b-kscreen-doctor">kscreen-doctor</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="lxqt-libkscreen-lib">
<term><filename class="libraryfile">libKF5Screen.so</filename></term>
<listitem>
<para>
contains the KDE Screen Management library
</para>
<indexterm zone="lxqt-libkscreen-lib">
<primary sortas="c-libKF5Screen">libKF5Screen.so</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="lxqt-libkscreen-dpms-lib">
<term><filename class="libraryfile">libKF5ScreenDpms.so</filename></term>
<listitem>
<para>
contains API functions for handling DPMS
</para>
<indexterm zone="lxqt-libkscreen-dpms-lib">
<primary sortas="c-libKF5ScreenDpms">libKF5ScreenDpms.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>