mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 06:27:16 +08:00
a9725cee18
- 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...
199 lines
5.7 KiB
XML
199 lines
5.7 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 kwayland-download-http "&kf5-download-http;/kwayland-&kf5-version;.tar.xz">
|
|
<!ENTITY kwayland-download-ftp " ">
|
|
<!ENTITY kwayland-md5sum "924b688b1a9626506db888f7121c5ace">
|
|
<!ENTITY kwayland-size "332 KB">
|
|
<!ENTITY kwayland-buildsize "31 MB">
|
|
<!ENTITY kwayland-time "0.3 SBU (Using parallelism=4)">
|
|
]>
|
|
|
|
<sect1 id="lxqt-kwayland" xreflabel="kwayland-&kf5-version; for lxqt">
|
|
<?dbhtml filename="lxqt-kwayland.html"?>
|
|
|
|
|
|
<title>kwayland-&kf5-version; for lxqt</title>
|
|
|
|
<indexterm zone="lxqt-kwayland">
|
|
<primary sortas="a-kwayland">kwayland</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to kwayland</title>
|
|
|
|
<para>
|
|
<application>kwayland</application> is a Qt-style API to interact with
|
|
the <application>wayland-client</application> and
|
|
<application>wayland-server</application> API.
|
|
</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="&kwayland-download-http;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download (FTP): <ulink url="&kwayland-download-ftp;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download MD5 sum: &kwayland-md5sum;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download size: &kwayland-size;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated disk space required: &kwayland-buildsize;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated build time: &kwayland-time;
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect3">kwayland Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
<para role="required">
|
|
<xref linkend="extra-cmake-modules"/>,
|
|
<xref linkend="mesa"/> (built with <xref linkend="wayland"/> support),
|
|
<xref linkend="plasma-wayland-protocols"/>, and
|
|
&qt5-deps;
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of kwayland</title>
|
|
|
|
<para>
|
|
Install <application>kwayland</application> by running the
|
|
following commands:
|
|
</para>
|
|
|
|
<screen><userinput>mkdir -v build &&
|
|
cd build &&
|
|
|
|
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 .. &&
|
|
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>
|
|
libKF5WaylandClient.so and libKF5WaylandServer.so
|
|
</seg>
|
|
<seg>
|
|
/usr/lib/cmake/KF5Wayland,
|
|
/usr/include/KF5/KWayland, and
|
|
/usr/share/qlogging-categories5
|
|
</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="lxqt-kwayland-client">
|
|
<term><filename class="libraryfile">libKF5WaylandClient.so</filename></term>
|
|
<listitem>
|
|
<para>
|
|
contains the <application>wayland-client</application> Qt-style
|
|
wrapper library
|
|
</para>
|
|
<indexterm zone="lxqt-kwayland-client">
|
|
<primary sortas="c-libKF5WaylandClient">libKF5WaylandClient.so</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="lxqt-kwayland-server">
|
|
<term><filename class="libraryfile">libKF5WaylandServer.so</filename></term>
|
|
<listitem>
|
|
<para>
|
|
contains the <application>wayland-server</application> Qt-style
|
|
wrapper library
|
|
</para>
|
|
<indexterm zone="lxqt-kwayland-server">
|
|
<primary sortas="c-libKF5WaylandServer">libKF5WaylandServer.so</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|