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