source: lxqt/desktop/lxqt-solid.xml@ a9725cee

12.1 12.2 gimp3 ken/TL2024 lazarus plabs/newcss rahul/power-profiles-daemon trunk xry111/for-12.3 xry111/llvm18 xry111/spidermonkey128
Last change on this file since a9725cee was a9725cee, checked in by Pierre Labastie <pierre.labastie@…>, 9 months ago

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...

  • Property mode set to 100644
File size: 5.9 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
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
7 <!ENTITY solid-download-http "&kf5-download-http;/solid-&kf5-version;.tar.xz">
8 <!ENTITY solid-download-ftp " ">
9 <!ENTITY solid-md5sum "9d4b38e3adae1c0da9f207786aacf497">
10 <!ENTITY solid-size "300 KB">
11 <!ENTITY solid-buildsize "29 MB">
12 <!ENTITY solid-time "0.6 SBU">
13]>
14
15<sect1 id="lxqt-solid" xreflabel="solid-&kf5-version; for lxqt">
16 <?dbhtml filename="lxqt-solid.html"?>
17
18
19 <title>solid-&kf5-version; for lxqt</title>
20
21 <indexterm zone="lxqt-solid">
22 <primary sortas="a-solid">solid</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to solid</title>
27
28 <para>
29 <application>Solid</application> is a device integration framework. It
30 provides a way of querying and interacting with hardware independently of
31 the underlying operating system.
32 </para>
33
34 &lfs120_checked;
35
36 <important>
37 <para>
38 This package is extracted from the KF5 set of packages.
39 If <xref linkend="kf5-frameworks"/> is built, do <emphasis
40 role="bold">NOT</emphasis> also build this package as presented
41 here.
42 </para>
43 </important>
44
45 <bridgehead renderas="sect3">Package Information</bridgehead>
46 <itemizedlist spacing="compact">
47 <listitem>
48 <para>
49 Download (HTTP): <ulink url="&solid-download-http;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download (FTP): <ulink url="&solid-download-ftp;"/>
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download MD5 sum: &solid-md5sum;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Download size: &solid-size;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated disk space required: &solid-buildsize;
70 </para>
71 </listitem>
72 <listitem>
73 <para>
74 Estimated build time: &solid-time;
75 </para>
76 </listitem>
77 </itemizedlist>
78
79 <bridgehead renderas="sect3">solid Dependencies</bridgehead>
80
81 <bridgehead renderas="sect4">Required</bridgehead>
82 <para role="required">
83 <xref linkend="extra-cmake-modules"/> and
84 &qt5-deps;
85 </para>
86
87 <bridgehead renderas="sect4">Optional (runtime)</bridgehead>
88 <para role="optional">
89 <xref role="runtime" linkend="udisks2"/>,
90 <xref role="runtime" linkend="upower"/>,
91 <ulink url="https://libimobiledevice.org/">libimobiledevice</ulink>, and
92 <!-- includes both libimobiledevice and libplist, which CMake says are
93 optional.-->
94 <ulink role="runtime"
95 url="http://www.freedesktop.org/wiki/Software/media-player-info">
96 media-player-info</ulink>
97 </para>
98
99 </sect2>
100
101 <sect2 role="installation">
102 <title>Installation of solid</title>
103
104 <para>
105 Install <application>solid</application> by running the
106 following commands:
107 </para>
108
109<screen><userinput>mkdir -v build &amp;&amp;
110cd build &amp;&amp;
111
112cmake -DCMAKE_INSTALL_PREFIX=/usr \
113 -DCMAKE_INSTALL_LIBEXECDIR=libexec \
114 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
115 -DCMAKE_BUILD_TYPE=Release \
116 -DBUILD_TESTING=OFF \
117 -Wno-dev .. &amp;&amp;
118make</userinput></screen>
119
120 <para>
121 This package does not come with a test suite.
122 </para>
123
124 <para>
125 Now, as the &root; user:
126 </para>
127
128<screen role="root"><userinput>make install</userinput></screen>
129
130 </sect2>
131
132 <sect2 role="commands">
133 <title>Command Explanations</title>
134
135 <para>
136 <parameter>-DCMAKE_INSTALL_LIBEXECDIR=libexec</parameter>: This overrides
137 the default in extra-cmake-modules, wich is <filename
138 class="directory">/usr/lib/libexec</filename> and is not FHS compliant.
139 </para>
140
141 <para>
142 <parameter>-DKDE_INSTALL_USE_QT_SYS_PATHS=ON</parameter>: This forces
143 installation of Qt plugins in the same directory as <xref linkend="qt5"/>
144 itself. Otherwise they get installed into <filename
145 class="directory">/usr/mkspecs</filename>, which is not FHS compliant.
146 </para>
147
148 </sect2>
149
150 <sect2 role="content">
151 <title>Contents</title>
152
153 <segmentedlist>
154 <segtitle>Installed Programs</segtitle>
155 <segtitle>Installed Library</segtitle>
156 <segtitle>Installed Directories</segtitle>
157
158 <seglistitem>
159 <seg>
160 solid-hardware5
161 </seg>
162 <seg>
163 libKF5Solid.so
164 </seg>
165 <seg>
166 /usr/include/KF5/Solid,
167 /usr/lib/cmake/KF5Solid, and
168 /usr/lib/qml/org/kde/solid
169 </seg>
170 </seglistitem>
171 </segmentedlist>
172
173 <variablelist>
174 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
175 <?dbfo list-presentation="list"?>
176 <?dbhtml list-presentation="table"?>
177
178 <varlistentry id="lxqt-solid-solid-hardware5">
179 <term><command>solid-hardware5</command></term>
180 <listitem>
181 <para>
182 queries hardware information from the system
183 </para>
184 <indexterm zone="lxqt-solid lxqt-solid-solid-hardware5">
185 <primary sortas="b-solid-hardware5">solid-hardware5</primary>
186 </indexterm>
187 </listitem>
188 </varlistentry>
189
190 <varlistentry id="lxqt-solid-lib">
191 <term><filename class="libraryfile">libKF5Solid.so</filename></term>
192 <listitem>
193 <para>
194 provides a way of querying and interacting with hardware
195 independently of the underlying operating system
196 </para>
197 <indexterm zone="lxqt-solid-lib">
198 <primary sortas="c-libKF5Solid">libKF5solid.so</primary>
199 </indexterm>
200 </listitem>
201 </varlistentry>
202
203 </variablelist>
204
205 </sect2>
206
207</sect1>
Note: See TracBrowser for help on using the repository browser.