glfs/lxqt/desktop/lxqt-kwindowsystem.xml
Pierre Labastie a9725cee18 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...
2024-01-13 16:33:12 +01:00

190 lines
5.3 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!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 kwindowsystem-download-http "&kf5-download-http;/kwindowsystem-&kf5-version;.tar.xz">
<!ENTITY kwindowsystem-download-ftp " ">
<!ENTITY kwindowsystem-md5sum "b9ec086925b43ae1563c353246a17929">
<!ENTITY kwindowsystem-size "2.3 MB">
<!ENTITY kwindowsystem-buildsize "69 MB">
<!ENTITY kwindowsystem-time "0.2 SBU">
]>
<sect1 id="lxqt-kwindowsystem" xreflabel="kwindowsystem-&kf5-version; for lxqt">
<?dbhtml filename="lxqt-kwindowsystem.html"?>
<title>kwindowsystem-&kf5-version; for lxqt</title>
<indexterm zone="lxqt-kwindowsystem">
<primary sortas="a-kwindowsystem">kwindowsystem</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to kwindowsystem</title>
<para>
The <application>kwindowsystem</application> provides information about,
and allows interaction with, the windowing system. It provides a high
level API that is windowing system independent and has platform specific
implementations.
</para>
&lfs120_checked;
<important>
<para>
This package is extracted from the KF5 set of packages.
If <xref linkend="kf5-frameworks"/> 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="&kwindowsystem-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&kwindowsystem-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &kwindowsystem-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &kwindowsystem-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &kwindowsystem-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &kwindowsystem-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">kwindowsystem Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="extra-cmake-modules"/>,
<xref linkend="xorg7-lib"/>, and
&qt5-deps;
</para>
<!--
<para condition="html" role="usernotes">
User Notes: <ulink url="&blfs-wiki;/kwindowsystem"/>
</para>
-->
</sect2>
<sect2 role="installation">
<title>Installation of kwindowsystem</title>
<para>
Install <application>kwindowsystem</application> by running the
following commands:
</para>
<screen><userinput>mkdir -v build &amp;&amp;
cd build &amp;&amp;
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBEXECDIR=libexec \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DCMAKE_BUILD_TYPE=Release \
-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>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para>
<parameter>-DCMAKE_INSTALL_LIBEXECDIR=libexec</parameter>: This overrides
the default in extra-cmake-modules, wich 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>
None
</seg>
<seg>
libKF5WindowSystem.so
</seg>
<seg>
/usr/lib/cmake/KF5WindowSystem,
/usr/include/KF5, and
/usr/lib/plugins/kf5
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="lxqt-kwindowsystem-lib">
<term><filename class="libraryfile">libKF5WindowSystem.so</filename></term>
<listitem>
<para>
contains the <application>KF5 Windowing</application> API functions
</para>
<indexterm zone="lxqt-kwindowsystem-lib">
<primary sortas="c-libKF5WindowSystem">libKF5WindowSystem.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>