glfs/lxqt/desktop/lxqt-solid.xml
2024-03-06 10:12:21 -06:00

208 lines
5.9 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 solid-download-http "&kf5-download-http;/solid-&kf5-version;.tar.xz">
<!ENTITY solid-download-ftp " ">
<!ENTITY solid-md5sum "4bc3f8554b526f0e39d8c2a6f228a988">
<!ENTITY solid-size "300 KB">
<!ENTITY solid-buildsize "29 MB">
<!ENTITY solid-time "0.6 SBU">
]>
<sect1 id="lxqt-solid" xreflabel="solid-&kf5-version; for lxqt">
<?dbhtml filename="lxqt-solid.html"?>
<title>solid-&kf5-version; for lxqt</title>
<indexterm zone="lxqt-solid">
<primary sortas="a-solid">solid</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to solid</title>
<para>
<application>Solid</application> is a device integration framework. It
provides a way of querying and interacting with hardware independently of
the underlying operating system.
</para>
&lfs121_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="&solid-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&solid-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &solid-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &solid-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &solid-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &solid-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">solid Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="extra-cmake-modules"/> and
&qt5-deps;
</para>
<bridgehead renderas="sect4">Optional (runtime)</bridgehead>
<para role="optional">
<xref role="runtime" linkend="udisks2"/>,
<xref role="runtime" linkend="upower"/>,
<ulink url="https://libimobiledevice.org/">libimobiledevice</ulink>, and
<!-- includes both libimobiledevice and libplist, which CMake says are
optional.-->
<ulink role="runtime"
url="http://www.freedesktop.org/wiki/Software/media-player-info">
media-player-info</ulink>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of solid</title>
<para>
Install <application>solid</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, 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>
solid-hardware5
</seg>
<seg>
libKF5Solid.so
</seg>
<seg>
/usr/include/KF5/Solid,
/usr/lib/cmake/KF5Solid, and
/usr/lib/qml/org/kde/solid
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="lxqt-solid-solid-hardware5">
<term><command>solid-hardware5</command></term>
<listitem>
<para>
queries hardware information from the system
</para>
<indexterm zone="lxqt-solid lxqt-solid-solid-hardware5">
<primary sortas="b-solid-hardware5">solid-hardware5</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="lxqt-solid-lib">
<term><filename class="libraryfile">libKF5Solid.so</filename></term>
<listitem>
<para>
provides a way of querying and interacting with hardware
independently of the underlying operating system
</para>
<indexterm zone="lxqt-solid-lib">
<primary sortas="c-libKF5Solid">libKF5solid.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>