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