1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
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 kconfig-download-http "&kf6-download-http;/kconfig-&kf6-version;.tar.xz">
|
---|
8 | <!ENTITY kconfig-download-ftp " ">
|
---|
9 | <!ENTITY kconfig-md5sum "50c79892fb59a879fa929cc23f377b9c">
|
---|
10 | <!ENTITY kconfig-size "288 KB">
|
---|
11 | <!ENTITY kconfig-buildsize "24 MB">
|
---|
12 | <!ENTITY kconfig-time "0.2 SBU (Using parallelism=4)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="lxqt-kconfig" xreflabel="kconfig-&kf6-version; for lxqt">
|
---|
16 | <?dbhtml filename="lxqt-kconfig.html"?>
|
---|
17 |
|
---|
18 |
|
---|
19 | <title>kconfig-&kf6-version; for lxqt</title>
|
---|
20 |
|
---|
21 | <indexterm zone="lxqt-kconfig">
|
---|
22 | <primary sortas="a-kconfig">kconfig</primary>
|
---|
23 | </indexterm>
|
---|
24 |
|
---|
25 | <sect2 role="package">
|
---|
26 | <title>Introduction to kconfig</title>
|
---|
27 |
|
---|
28 | <para>
|
---|
29 | The <application>kconfig</application> package provides access to
|
---|
30 | configuration files.
|
---|
31 | </para>
|
---|
32 |
|
---|
33 | &lfs121_checked;
|
---|
34 |
|
---|
35 | <important>
|
---|
36 | <para>
|
---|
37 | This package is extracted from the KF6 set of packages.
|
---|
38 | If <xref linkend="kf6-frameworks"/> is built, do <emphasis
|
---|
39 | role="bold">NOT</emphasis> also build this package as presented
|
---|
40 | here.
|
---|
41 | </para>
|
---|
42 | </important>
|
---|
43 |
|
---|
44 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
45 | <itemizedlist spacing="compact">
|
---|
46 | <listitem>
|
---|
47 | <para>
|
---|
48 | Download (HTTP): <ulink url="&kconfig-download-http;"/>
|
---|
49 | </para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>
|
---|
53 | Download (FTP): <ulink url="&kconfig-download-ftp;"/>
|
---|
54 | </para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>
|
---|
58 | Download MD5 sum: &kconfig-md5sum;
|
---|
59 | </para>
|
---|
60 | </listitem>
|
---|
61 | <listitem>
|
---|
62 | <para>
|
---|
63 | Download size: &kconfig-size;
|
---|
64 | </para>
|
---|
65 | </listitem>
|
---|
66 | <listitem>
|
---|
67 | <para>
|
---|
68 | Estimated disk space required: &kconfig-buildsize;
|
---|
69 | </para>
|
---|
70 | </listitem>
|
---|
71 | <listitem>
|
---|
72 | <para>
|
---|
73 | Estimated build time: &kconfig-time;
|
---|
74 | </para>
|
---|
75 | </listitem>
|
---|
76 | </itemizedlist>
|
---|
77 |
|
---|
78 | <bridgehead renderas="sect3">kconfig Dependencies</bridgehead>
|
---|
79 |
|
---|
80 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
81 | <para role="required">
|
---|
82 | <xref linkend="extra-cmake-modules"/> and
|
---|
83 | <xref linkend="qt6"/>
|
---|
84 | </para>
|
---|
85 |
|
---|
86 | </sect2>
|
---|
87 |
|
---|
88 | <sect2 role="installation">
|
---|
89 | <title>Installation of kconfig</title>
|
---|
90 |
|
---|
91 | <para>
|
---|
92 | Install <application>kconfig</application> by running the
|
---|
93 | following commands:
|
---|
94 | </para>
|
---|
95 |
|
---|
96 | <screen><userinput>mkdir build &&
|
---|
97 | cd build &&
|
---|
98 |
|
---|
99 | cmake - DCMAKE_INSTALL_PREFIX=/usr \
|
---|
100 | -D CMAKE_BUILD_TYPE=Release \
|
---|
101 | -D BUILD_TESTING=OFF \
|
---|
102 | -W no-dev .. &&
|
---|
103 | make</userinput></screen>
|
---|
104 |
|
---|
105 | <para>
|
---|
106 | This package does not come with a test suite.
|
---|
107 | </para>
|
---|
108 |
|
---|
109 | <para>
|
---|
110 | Now, as the &root; user:
|
---|
111 | </para>
|
---|
112 |
|
---|
113 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
114 |
|
---|
115 | </sect2>
|
---|
116 | <!--
|
---|
117 | <sect2 role="commands">
|
---|
118 | <title>Command Explanations</title>
|
---|
119 |
|
---|
120 | <para>
|
---|
121 | <parameter>-DCMAKE_INSTALL_LIBEXECDIR=libexec</parameter>: This overrides
|
---|
122 | the default in extra-cmake-modules, which is <filename
|
---|
123 | class="directory">/usr/lib/libexec</filename> and is not FHS compliant.
|
---|
124 | </para>
|
---|
125 |
|
---|
126 | <para>
|
---|
127 | <parameter>-DKDE_INSTALL_USE_QT_SYS_PATHS=ON</parameter>: This forces
|
---|
128 | installation of Qt plugins in the same directory as <xref linkend="qt5"/>
|
---|
129 | itself. Otherwise they get installed into <filename
|
---|
130 | class="directory">/usr/mkspecs</filename>, which is not FHS compliant.
|
---|
131 | </para>
|
---|
132 |
|
---|
133 | </sect2>
|
---|
134 | -->
|
---|
135 | <sect2 role="content">
|
---|
136 | <title>Contents</title>
|
---|
137 |
|
---|
138 | <segmentedlist>
|
---|
139 | <segtitle>Installed Programs</segtitle>
|
---|
140 | <segtitle>Installed Library</segtitle>
|
---|
141 | <segtitle>Installed Directories</segtitle>
|
---|
142 |
|
---|
143 | <seglistitem>
|
---|
144 | <seg>
|
---|
145 | kreadconfig6 and
|
---|
146 | kwriteconfig6
|
---|
147 | </seg>
|
---|
148 | <seg>
|
---|
149 | libKF6ConfigCore.so,
|
---|
150 | libKF6ConfigGui.so, and
|
---|
151 | libKF6ConfigQml.so
|
---|
152 | </seg>
|
---|
153 | <seg>
|
---|
154 | /usr/lib/libexec/kf6,
|
---|
155 | /usr/lib/qml/org/kde/config,
|
---|
156 | /usr/lib/cmake/KF6Config, and
|
---|
157 | /usr/include/KF6/{KConfigCore,KConfig,KConfigQml,KConfigGui}
|
---|
158 | </seg>
|
---|
159 | </seglistitem>
|
---|
160 | </segmentedlist>
|
---|
161 |
|
---|
162 | <variablelist>
|
---|
163 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
164 | <?dbfo list-presentation="list"?>
|
---|
165 | <?dbhtml list-presentation="table"?>
|
---|
166 |
|
---|
167 | <varlistentry id="lxqt-kconfig-kreadconfig6">
|
---|
168 | <term><command>kreadconfig6</command></term>
|
---|
169 | <listitem>
|
---|
170 | <para>
|
---|
171 | reads a configuration file using the KConfig interface
|
---|
172 | </para>
|
---|
173 | <indexterm zone="lxqt-kconfig kreadconfig6">
|
---|
174 | <primary sortas="b-kreadconfig6">kreadconfig6</primary>
|
---|
175 | </indexterm>
|
---|
176 | </listitem>
|
---|
177 | </varlistentry>
|
---|
178 |
|
---|
179 | <varlistentry id="lxqt-kconfig-kwriteconfig6">
|
---|
180 | <term><command>kwriteconfig6</command></term>
|
---|
181 | <listitem>
|
---|
182 | <para>
|
---|
183 | writes to a configuration file using the KConfig interface
|
---|
184 | </para>
|
---|
185 | <indexterm zone="lxqt-kconfig kwriteconfig6">
|
---|
186 | <primary sortas="b-kwriteconfig6">kwriteconfig6</primary>
|
---|
187 | </indexterm>
|
---|
188 | </listitem>
|
---|
189 | </varlistentry>
|
---|
190 |
|
---|
191 | <varlistentry id="lxqt-kconfig-libKF6ConfigCore">
|
---|
192 | <term><filename class="libraryfile">libKF6ConfigCore.so</filename></term>
|
---|
193 | <listitem>
|
---|
194 | <para>
|
---|
195 | contains the core configuration library for KF6
|
---|
196 | </para>
|
---|
197 | <indexterm zone="lxqt-kconfig lxqt-kconfig-libKF6ConfigCore">
|
---|
198 | <primary sortas="c-libKF6ConfigCore">libKF6ConfigCore.so</primary>
|
---|
199 | </indexterm>
|
---|
200 | </listitem>
|
---|
201 | </varlistentry>
|
---|
202 |
|
---|
203 | <varlistentry id="lxqt-kconfig-libKF6ConfigGui">
|
---|
204 | <term><filename class="libraryfile">libKF6ConfigGui.so</filename></term>
|
---|
205 | <listitem>
|
---|
206 | <para>
|
---|
207 | contains functions for a GUI for KConfig
|
---|
208 | </para>
|
---|
209 | <indexterm zone="lxqt-kconfig lxqt-kconfig-libKF6ConfigGui">
|
---|
210 | <primary sortas="c-libKF6ConfigGui">libKF6ConfigGui.so</primary>
|
---|
211 | </indexterm>
|
---|
212 | </listitem>
|
---|
213 | </varlistentry>
|
---|
214 |
|
---|
215 | <varlistentry id="lxqt-kconfig-libKF6ConfigQml">
|
---|
216 | <term><filename class="libraryfile">libKF6ConfigQml.so</filename></term>
|
---|
217 | <listitem>
|
---|
218 | <para>
|
---|
219 | contains a QML interface to KConfig
|
---|
220 | </para>
|
---|
221 | <indexterm zone="lxqt-kconfig lxqt-kconfig-libKF6ConfigQml">
|
---|
222 | <primary sortas="c-libKF6ConfigQml">libKF6ConfigQml.so</primary>
|
---|
223 | </indexterm>
|
---|
224 | </listitem>
|
---|
225 | </varlistentry>
|
---|
226 |
|
---|
227 | </variablelist>
|
---|
228 |
|
---|
229 | </sect2>
|
---|
230 |
|
---|
231 | </sect1>
|
---|