[0e25c32] | 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 |
|
---|
[aed3e6ec] | 7 | <!ENTITY kdelibs-download-http "&kde-download-http;applications/&kde-apps-version;/src/kdelibs-&kde-libs-version;.tar.xz">
|
---|
[2bb2521] | 8 | <!ENTITY kdelibs-download-ftp " ">
|
---|
[9f89301] | 9 | <!ENTITY kdelibs-md5sum "fbd349f460a00b91327f470313f4218b">
|
---|
[2bb2521] | 10 | <!ENTITY kdelibs-size "11.1 MB">
|
---|
[9f89301] | 11 | <!ENTITY kdelibs-buildsize "421 MB">
|
---|
| 12 | <!ENTITY kdelibs-time "3.5 SBU (using parallelism=10)">
|
---|
[0e25c32] | 13 | ]>
|
---|
| 14 |
|
---|
[aed3e6ec] | 15 | <sect1 id="kdelibs" xreflabel="kdelibs-&kde-libs-version;">
|
---|
[2a7334e8] | 16 | <?dbhtml filename="kdelibs.html"?>
|
---|
[0e25c32] | 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
[aed3e6ec] | 23 | <title>Kdelibs-&kde-libs-version;</title>
|
---|
[0e25c32] | 24 |
|
---|
[c9df31a] | 25 | <indexterm zone="kdelibs">
|
---|
| 26 | <primary sortas="a-kdelibs">kdelibs</primary>
|
---|
[0e25c32] | 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Kdelibs</title>
|
---|
| 31 |
|
---|
[0d7900a] | 32 | <para>This package includes programs and libraries that
|
---|
[0e25c32] | 33 | are central to development and execution of KDE programs.</para>
|
---|
| 34 |
|
---|
[f7412376] | 35 | &lfs77_checked; &gcc5_checked;
|
---|
[0e25c32] | 36 |
|
---|
| 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
[c9df31a] | 40 | <para>Download (HTTP): <ulink url="&kdelibs-download-http;"/></para>
|
---|
[0e25c32] | 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
[c9df31a] | 43 | <para>Download (FTP): <ulink url="&kdelibs-download-ftp;"/></para>
|
---|
[0e25c32] | 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
[c9df31a] | 46 | <para>Download MD5 sum: &kdelibs-md5sum;</para>
|
---|
[0e25c32] | 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
[c9df31a] | 49 | <para>Download size: &kdelibs-size;</para>
|
---|
[0e25c32] | 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
[c9df31a] | 52 | <para>Estimated disk space required: &kdelibs-buildsize;</para>
|
---|
[0e25c32] | 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
[c9df31a] | 55 | <para>Estimated build time: &kdelibs-time;</para>
|
---|
[0e25c32] | 56 | </listitem>
|
---|
| 57 | </itemizedlist>
|
---|
| 58 |
|
---|
| 59 | <bridgehead renderas="sect3">Kdelibs Dependencies</bridgehead>
|
---|
| 60 |
|
---|
| 61 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 62 | <para role="required">
|
---|
[33e5761] | 63 | <xref linkend="attica"/>,
|
---|
| 64 | <xref linkend="DocBook"/>,
|
---|
[f8535ffa] | 65 | <xref linkend="docbook-xsl"/>,
|
---|
| 66 | <xref linkend="giflib"/>,
|
---|
| 67 | <xref linkend="libdbusmenu-qt"/>,
|
---|
| 68 | <xref linkend="libjpeg"/>,
|
---|
| 69 | <xref linkend="libpng"/>,
|
---|
| 70 | <xref linkend="phonon"/>,
|
---|
| 71 | <xref linkend="strigi"/>, and
|
---|
[33e5761] | 72 | <xref linkend="shared-mime-info"/>
|
---|
[0e25c32] | 73 | </para>
|
---|
| 74 |
|
---|
| 75 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 76 | <para role="recommended">
|
---|
[092e7fb] | 77 | <xref linkend="polkit-qt"/>,
|
---|
[33e5761] | 78 | <xref linkend="openssl"/>,
|
---|
| 79 | <xref linkend="qca"/>,
|
---|
[092e7fb] | 80 | <xref linkend="upower"/>, and
|
---|
| 81 | <xref linkend="udisks"/> or <xref linkend="udisks2"/>
|
---|
[0e25c32] | 82 | </para>
|
---|
| 83 |
|
---|
| 84 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 85 | <para role="optional">
|
---|
[092e7fb] | 86 | <xref linkend="jasper"/>,
|
---|
| 87 | <xref linkend="pcre"/>,
|
---|
| 88 | <xref linkend="avahi"/>,
|
---|
| 89 | <xref linkend="aspell"/>,
|
---|
| 90 | <xref linkend="enchant"/>,
|
---|
| 91 | <xref linkend="grantlee"/>,
|
---|
| 92 | <xref linkend="mitkrb"/>,
|
---|
[33e5761] | 93 | <ulink url="&sourceforge-repo;/soprano">soprano</ulink>,
|
---|
| 94 | <ulink url="&sourceforge-repo;/oscaf/">shared-desktop-ontologies</ulink>,
|
---|
[092e7fb] | 95 | <ulink url="http://hspell.ivrix.org.il/">Hspell</ulink>,
|
---|
| 96 | <ulink url="http://oss.sgi.com/projects/fam/">FAM</ulink>,
|
---|
| 97 | <ulink url="http://www.herqq.org/">HUPnP</ulink>,
|
---|
| 98 | <ulink url="http://www.openexr.com/">OpenEXR</ulink>, and
|
---|
| 99 | <ulink url="http://www.freedesktop.org/wiki/Software/media-player-info">media-player-info</ulink>
|
---|
[0e25c32] | 100 | </para>
|
---|
| 101 |
|
---|
| 102 | <para condition="html" role="usernotes">User Notes:
|
---|
[c9df31a] | 103 | <ulink url="&blfs-wiki;/kdelibs"/>
|
---|
[0e25c32] | 104 | </para>
|
---|
| 105 |
|
---|
| 106 | </sect2>
|
---|
| 107 |
|
---|
| 108 | <sect2 role="installation">
|
---|
| 109 | <title>Installation of Kdelibs</title>
|
---|
| 110 |
|
---|
[69138677] | 111 | <para>Fix file conflicts with <application>GNOME Menus</application> by running
|
---|
| 112 | the following commands:</para>
|
---|
| 113 |
|
---|
[9ca304a] | 114 | <screen><userinput>sed -i "s@{SYSCONF_INSTALL_DIR}/xdg/menus@& RENAME kde-applications.menu@" \
|
---|
| 115 | kded/CMakeLists.txt &&
|
---|
[97c713e] | 116 |
|
---|
[9ca304a] | 117 | sed -i "s@applications.menu@kde-&@" \
|
---|
| 118 | kded/kbuildsycoca.cpp</userinput></screen>
|
---|
[6b86e6f8] | 119 |
|
---|
[97c713e] | 120 | <!--
|
---|
[2a00b77] | 121 | <para>Cmake looks for <application>Xorg</application> libraries in a set of
|
---|
| 122 | hard coded directories instead of using
|
---|
| 123 | <application>pkg-config</application>. If <application>Xorg</application>
|
---|
| 124 | has not been installed in <filename class="directory">/usr</filename>, add
|
---|
| 125 | the location to the list:</para>
|
---|
| 126 |
|
---|
| 127 | <screen><userinput>sed -e "/SET(X11_LIB_SEARCH_PATH/ a $XORG_PREFIX/lib" \
|
---|
| 128 | -e "/SET(X11_INC_SEARCH_PATH/ a $XORG_PREFIX/include" \
|
---|
| 129 | -i cmake/modules/FindX11.cmake</userinput></screen>
|
---|
[97c713e] | 130 | -->
|
---|
[9afdcefe] | 131 |
|
---|
[938ab0b] | 132 | <para>Install <application>Kdelibs</application> by running the following
|
---|
[0e25c32] | 133 | commands:</para>
|
---|
| 134 |
|
---|
[9afdcefe] | 135 | <!-- I wouldn't recommend installing D-Bus configuration files outside of
|
---|
| 136 | /etc if kde-dir is /usr, maybe kde-etc-dir should be introduced? -->
|
---|
[2a00b77] | 137 |
|
---|
[0e25c32] | 138 | <screen><userinput>mkdir build &&
|
---|
[e748a01] | 139 | cd build &&
|
---|
| 140 |
|
---|
[2cfb44a4] | 141 | cmake -DCMAKE_INSTALL_PREFIX=&kde-dir; \
|
---|
[e748a01] | 142 | -DSYSCONF_INSTALL_DIR=/etc \
|
---|
| 143 | -DCMAKE_BUILD_TYPE=Release \
|
---|
[0e25c32] | 144 | -DDOCBOOKXML_CURRENTDTD_DIR=/usr/share/xml/docbook/xml-dtd-&DocBook-version; \
|
---|
[97c713e] | 145 | -Wno-dev .. &&
|
---|
[0e25c32] | 146 | make</userinput></screen>
|
---|
| 147 |
|
---|
[9ca304a] | 148 | <para>The unit regression tests are designed to be run after
|
---|
| 149 | <application>kdelibs</application> is installed.</para>
|
---|
| 150 |
|
---|
[97c713e] | 151 | <para> Now as the <systemitem class="username">root</systemitem>
|
---|
| 152 | user:</para>
|
---|
[0e25c32] | 153 |
|
---|
| 154 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 155 |
|
---|
[9ca304a] | 156 | <para>To run the unit regression tests, you must have a current KDE session
|
---|
| 157 | running and issue <command>make test</command>.</para>
|
---|
| 158 |
|
---|
[0e25c32] | 159 | </sect2>
|
---|
[938ab0b] | 160 |
|
---|
[0e25c32] | 161 | <sect2 role="commands">
|
---|
| 162 | <title>Command Explanations</title>
|
---|
| 163 |
|
---|
[69138677] | 164 | <para><option>-DSYSCONF_INSTALL_DIR=/etc</option>: This switch is used to install
|
---|
| 165 | configuration files in /etc.</para>
|
---|
| 166 |
|
---|
| 167 | <para><option>-DCMAKE_BUILD_TYPE=Release</option>: This switch is used to apply
|
---|
| 168 | higher level of compiler optimizations.</para>
|
---|
| 169 |
|
---|
| 170 | <para><option>-DDOCBOOKXML_CURRENTDTD_DIR=...</option>: This switch is used to
|
---|
[0d7900a] | 171 | tell <command>cmake</command> where to find the XML DTDs.</para>
|
---|
[c7605660] | 172 |
|
---|
| 173 | <para><option>-DWITH_SOLID_UDISKS2=TRUE</option>: Use this switch if you
|
---|
| 174 | have <application>UDisks2</application>.</para>
|
---|
[0e25c32] | 175 |
|
---|
| 176 | </sect2>
|
---|
[938ab0b] | 177 |
|
---|
[0e25c32] | 178 | <sect2 role="content">
|
---|
| 179 | <title>Contents</title>
|
---|
| 180 |
|
---|
| 181 | <segmentedlist>
|
---|
[6f5da92] | 182 | <segtitle>Installed Programs</segtitle>
|
---|
[0e25c32] | 183 | <segtitle>Installed Libraries</segtitle>
|
---|
[6f5da92] | 184 | <segtitle>Installed Directories</segtitle>
|
---|
[0e25c32] | 185 |
|
---|
| 186 | <seglistitem>
|
---|
[2a7334e8] | 187 | <seg>checkXML, kbuildsycoca4, kconfig_compiler, kcookiejar4,
|
---|
| 188 | kde4-config, kded4, kdeinit4, kdeinit4_shutdown, kdeinit4_wrapper,
|
---|
[0d7900a] | 189 | kfilemetadatareader, kjs, kjscmd, kmailservice, kross, kshell4,
|
---|
[cd6d455] | 190 | ktelnetservice, kunittestmodrunner, kwrapper4, makekdewidgets,
|
---|
| 191 | meinproc4, meinproc4_simple, nepomuk-rcgen and preparetips</seg>
|
---|
[4a7f57a] | 192 | <seg>several in &kde-dir;/lib</seg>
|
---|
[2a7334e8] | 193 | <seg>several in &kde-dir;/include, &kde-dir;/lib and &kde-dir;/share
|
---|
| 194 | </seg>
|
---|
[0e25c32] | 195 | </seglistitem>
|
---|
| 196 | </segmentedlist>
|
---|
[69138677] | 197 |
|
---|
[0e25c32] | 198 | <variablelist>
|
---|
| 199 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 200 | <?dbfo list-presentation="list"?>
|
---|
| 201 | <?dbhtml list-presentation="table"?>
|
---|
| 202 |
|
---|
[69138677] | 203 | <varlistentry id="checkXML">
|
---|
| 204 | <term><command>checkXML</command></term>
|
---|
| 205 | <listitem>
|
---|
| 206 | <para>
|
---|
| 207 | is a tool used to check for syntax errors in KDE DocBook
|
---|
| 208 | XML files.
|
---|
| 209 | </para>
|
---|
| 210 | <indexterm zone="kdelibs checkXML">
|
---|
| 211 | <primary sortas="b-checkXML">checkXML</primary>
|
---|
| 212 | </indexterm>
|
---|
| 213 | </listitem>
|
---|
| 214 | </varlistentry>
|
---|
| 215 |
|
---|
| 216 | <varlistentry id="kbuildsycoca4">
|
---|
| 217 | <term><command>kbuildsycoca4</command></term>
|
---|
| 218 | <listitem>
|
---|
| 219 | <para>
|
---|
| 220 | is used to rebuild the system configuration cache.
|
---|
| 221 | </para>
|
---|
| 222 | <indexterm zone="kdelibs kbuildsycoca4">
|
---|
| 223 | <primary sortas="b-kbuildsycoca4">kbuildsycoca4</primary>
|
---|
| 224 | </indexterm>
|
---|
| 225 | </listitem>
|
---|
| 226 | </varlistentry>
|
---|
| 227 |
|
---|
| 228 | <varlistentry id="kconfig_compiler">
|
---|
| 229 | <term><command>kconfig_compiler</command></term>
|
---|
| 230 | <listitem>
|
---|
| 231 | <para>
|
---|
| 232 | is the KDE configuration compiler.
|
---|
| 233 | </para>
|
---|
| 234 | <indexterm zone="kdelibs kconfig_compiler">
|
---|
| 235 | <primary sortas="b-kconfig_compiler">kconfig_compiler</primary>
|
---|
| 236 | </indexterm>
|
---|
| 237 | </listitem>
|
---|
| 238 | </varlistentry>
|
---|
| 239 |
|
---|
| 240 | <varlistentry id="kcookiejar4">
|
---|
| 241 | <term><command>kcookiejar4</command></term>
|
---|
| 242 | <listitem>
|
---|
| 243 | <para>
|
---|
| 244 | is the KDE HTTP cookie daemon.
|
---|
| 245 | </para>
|
---|
| 246 | <indexterm zone="kdelibs kcookiejar4">
|
---|
| 247 | <primary sortas="b-kcookiejar4">kcookiejar4</primary>
|
---|
| 248 | </indexterm>
|
---|
| 249 | </listitem>
|
---|
| 250 | </varlistentry>
|
---|
| 251 |
|
---|
| 252 | <varlistentry id="kde4-config">
|
---|
| 253 | <term><command>kde4-config</command></term>
|
---|
| 254 | <listitem>
|
---|
| 255 | <para>
|
---|
| 256 | is used to print the KDE installation paths.
|
---|
| 257 | </para>
|
---|
| 258 | <indexterm zone="kdelibs kde4-config">
|
---|
| 259 | <primary sortas="b-kde4-config">kde4-config</primary>
|
---|
| 260 | </indexterm>
|
---|
| 261 | </listitem>
|
---|
| 262 | </varlistentry>
|
---|
| 263 |
|
---|
| 264 | <varlistentry id="kded4">
|
---|
| 265 | <term><command>kded4</command></term>
|
---|
| 266 | <listitem>
|
---|
| 267 | <para>
|
---|
| 268 | is the KDE daemon.
|
---|
| 269 | </para>
|
---|
| 270 | <indexterm zone="kdelibs kded4">
|
---|
| 271 | <primary sortas="b-kded4">kded4</primary>
|
---|
| 272 | </indexterm>
|
---|
| 273 | </listitem>
|
---|
| 274 | </varlistentry>
|
---|
| 275 |
|
---|
| 276 | <varlistentry id="kdeinit4">
|
---|
| 277 | <term><command>kdeinit4</command></term>
|
---|
| 278 | <listitem>
|
---|
| 279 | <para>
|
---|
| 280 | is the KDE process launcher.
|
---|
| 281 | </para>
|
---|
| 282 | <indexterm zone="kdelibs kdeinit4">
|
---|
| 283 | <primary sortas="b-kdeinit4">kdeinit4</primary>
|
---|
| 284 | </indexterm>
|
---|
| 285 | </listitem>
|
---|
| 286 | </varlistentry>
|
---|
| 287 |
|
---|
| 288 | <varlistentry id="kjs">
|
---|
| 289 | <term><command>kjs</command></term>
|
---|
| 290 | <listitem>
|
---|
| 291 | <para>
|
---|
| 292 | is the KDE ECMAScript/JavaScript engine.
|
---|
| 293 | </para>
|
---|
| 294 | <indexterm zone="kdelibs kjs">
|
---|
| 295 | <primary sortas="b-kjs">kjs</primary>
|
---|
| 296 | </indexterm>
|
---|
| 297 | </listitem>
|
---|
| 298 | </varlistentry>
|
---|
| 299 |
|
---|
| 300 | <varlistentry id="kjscmd">
|
---|
| 301 | <term><command>kjscmd</command></term>
|
---|
| 302 | <listitem>
|
---|
| 303 | <para>
|
---|
| 304 | is a tool used for launching KJSEmbed scripts from
|
---|
| 305 | the command line.
|
---|
| 306 | </para>
|
---|
| 307 | <indexterm zone="kdelibs kjscmd">
|
---|
| 308 | <primary sortas="b-kjscmd">kjscmd</primary>
|
---|
| 309 | </indexterm>
|
---|
| 310 | </listitem>
|
---|
| 311 | </varlistentry>
|
---|
| 312 |
|
---|
| 313 | <varlistentry id="kross">
|
---|
| 314 | <term><command>kross</command></term>
|
---|
[0e25c32] | 315 | <listitem>
|
---|
[69138677] | 316 | <para>
|
---|
| 317 | is the KDE application used to run kross scripts.
|
---|
| 318 | </para>
|
---|
| 319 | <indexterm zone="kdelibs kross">
|
---|
| 320 | <primary sortas="b-kross">kross</primary>
|
---|
| 321 | </indexterm>
|
---|
| 322 | </listitem>
|
---|
| 323 | </varlistentry>
|
---|
| 324 |
|
---|
| 325 | <varlistentry id="makekdewidgets">
|
---|
| 326 | <term><command>makekdewidgets</command></term>
|
---|
| 327 | <listitem>
|
---|
| 328 | <para>
|
---|
| 329 | is used to build Qt widget plugins from an ini style
|
---|
| 330 | description file.
|
---|
| 331 | </para>
|
---|
| 332 | <indexterm zone="kdelibs makekdewidgets">
|
---|
| 333 | <primary sortas="b-makekdewidgets">makekdewidgets</primary>
|
---|
| 334 | </indexterm>
|
---|
| 335 | </listitem>
|
---|
| 336 | </varlistentry>
|
---|
| 337 |
|
---|
| 338 | <varlistentry id="meinproc4">
|
---|
| 339 | <term><command>meinproc4</command></term>
|
---|
| 340 | <listitem>
|
---|
| 341 | <para>
|
---|
| 342 | is used to convert DocBook files to HTML.
|
---|
| 343 | </para>
|
---|
| 344 | <indexterm zone="kdelibs meinproc4">
|
---|
| 345 | <primary sortas="b-meinproc4">meinproc4</primary>
|
---|
| 346 | </indexterm>
|
---|
| 347 | </listitem>
|
---|
| 348 | </varlistentry>
|
---|
| 349 |
|
---|
| 350 | <varlistentry id="preparetips">
|
---|
| 351 | <term><command>preparetips</command></term>
|
---|
| 352 | <listitem>
|
---|
| 353 | <para>
|
---|
| 354 | is a script used to extract the text from a tips file.
|
---|
| 355 | </para>
|
---|
| 356 | <indexterm zone="kdelibs preparetips">
|
---|
| 357 | <primary sortas="b-preparetips">preparetips</primary>
|
---|
[0e25c32] | 358 | </indexterm>
|
---|
| 359 | </listitem>
|
---|
| 360 | </varlistentry>
|
---|
| 361 |
|
---|
| 362 | </variablelist>
|
---|
[69138677] | 363 |
|
---|
[0e25c32] | 364 | </sect2>
|
---|
| 365 |
|
---|
| 366 | </sect1>
|
---|