[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">
|
---|
| 8 | <!ENTITY kdelibs-download-ftp "&kde-download-ftp;&kde-version;/src/kdelibs-&kde-version;.tar.xz">
|
---|
[7125a66] | 9 | <!ENTITY kdelibs-md5sum "f58d9277127aad95b3032e2546f3006d">
|
---|
[d7c3ac85] | 10 | <!ENTITY kdelibs-size "11.0 MB">
|
---|
[7125a66] | 11 | <!ENTITY kdelibs-buildsize "374 MB">
|
---|
| 12 | <!ENTITY kdelibs-time "21 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 |
|
---|
[2a00b77] | 35 | &lfs75_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="phonon"/>,
|
---|
| 73 | <xref linkend="attica"/>,
|
---|
| 74 | <xref linkend="strigi"/>,
|
---|
| 75 | <xref linkend="libdbusmenu-qt"/>,
|
---|
| 76 | <xref linkend="DocBook"/>,
|
---|
| 77 | <xref linkend="docbook-xsl"/>, and
|
---|
| 78 | <xref linkend="shared-mime-info"/>
|
---|
[0e25c32] | 79 | </para>
|
---|
| 80 |
|
---|
| 81 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 82 | <para role="recommended">
|
---|
[092e7fb] | 83 | <xref linkend="polkit-qt"/>,
|
---|
| 84 | <xref linkend="libpng"/>,
|
---|
| 85 | <xref linkend="libjpeg"/>,
|
---|
| 86 | <xref linkend="giflib"/>,
|
---|
[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 |
|
---|
| 129 | <para>
|
---|
| 130 | Fix building with <xref linkend="giflib"/>:
|
---|
| 131 | </para>
|
---|
| 132 |
|
---|
| 133 | <screen><userinput>sed -i "/DGifCloseFile/s:file:&, NULL:g" \
|
---|
| 134 | khtml/imload/decoders/gifloader.cpp</userinput></screen>
|
---|
| 135 |
|
---|
[97c713e] | 136 | <!--
|
---|
[2a00b77] | 137 | <para>Cmake looks for <application>Xorg</application> libraries in a set of
|
---|
| 138 | hard coded directories instead of using
|
---|
| 139 | <application>pkg-config</application>. If <application>Xorg</application>
|
---|
| 140 | has not been installed in <filename class="directory">/usr</filename>, add
|
---|
| 141 | the location to the list:</para>
|
---|
| 142 |
|
---|
| 143 | <screen><userinput>sed -e "/SET(X11_LIB_SEARCH_PATH/ a $XORG_PREFIX/lib" \
|
---|
| 144 | -e "/SET(X11_INC_SEARCH_PATH/ a $XORG_PREFIX/include" \
|
---|
| 145 | -i cmake/modules/FindX11.cmake</userinput></screen>
|
---|
[97c713e] | 146 | -->
|
---|
[938ab0b] | 147 | <para>Install <application>Kdelibs</application> by running the following
|
---|
[0e25c32] | 148 | commands:</para>
|
---|
| 149 |
|
---|
[69138677] | 150 | <!-- I wouldn't recommend installing D-Bus configuration files outside of /etc if kde-dir is /usr,
|
---|
| 151 | maybe kde-etc-dir should be introduced? -->
|
---|
[2a00b77] | 152 |
|
---|
[0e25c32] | 153 | <screen><userinput>mkdir build &&
|
---|
[e748a01] | 154 | cd build &&
|
---|
| 155 |
|
---|
[2cfb44a4] | 156 | cmake -DCMAKE_INSTALL_PREFIX=&kde-dir; \
|
---|
[e748a01] | 157 | -DSYSCONF_INSTALL_DIR=/etc \
|
---|
| 158 | -DCMAKE_BUILD_TYPE=Release \
|
---|
[0e25c32] | 159 | -DDOCBOOKXML_CURRENTDTD_DIR=/usr/share/xml/docbook/xml-dtd-&DocBook-version; \
|
---|
[97c713e] | 160 | -Wno-dev .. &&
|
---|
[0e25c32] | 161 | make</userinput></screen>
|
---|
| 162 |
|
---|
[9ca304a] | 163 | <para>The unit regression tests are designed to be run after
|
---|
| 164 | <application>kdelibs</application> is installed.</para>
|
---|
| 165 |
|
---|
[97c713e] | 166 | <para> Now as the <systemitem class="username">root</systemitem>
|
---|
| 167 | user:</para>
|
---|
[0e25c32] | 168 |
|
---|
| 169 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 170 |
|
---|
[9ca304a] | 171 | <para>To run the unit regression tests, you must have a current KDE session
|
---|
| 172 | running and issue <command>make test</command>.</para>
|
---|
| 173 |
|
---|
[0e25c32] | 174 | </sect2>
|
---|
[938ab0b] | 175 |
|
---|
[0e25c32] | 176 | <sect2 role="commands">
|
---|
| 177 | <title>Command Explanations</title>
|
---|
| 178 |
|
---|
[69138677] | 179 | <para><option>-DSYSCONF_INSTALL_DIR=/etc</option>: This switch is used to install
|
---|
| 180 | configuration files in /etc.</para>
|
---|
| 181 |
|
---|
| 182 | <para><option>-DCMAKE_BUILD_TYPE=Release</option>: This switch is used to apply
|
---|
| 183 | higher level of compiler optimizations.</para>
|
---|
| 184 |
|
---|
| 185 | <para><option>-DDOCBOOKXML_CURRENTDTD_DIR=...</option>: This switch is used to
|
---|
[0d7900a] | 186 | tell <command>cmake</command> where to find the XML DTDs.</para>
|
---|
[c7605660] | 187 |
|
---|
| 188 | <para><option>-DWITH_SOLID_UDISKS2=TRUE</option>: Use this switch if you
|
---|
| 189 | have <application>UDisks2</application>.</para>
|
---|
[0e25c32] | 190 |
|
---|
| 191 | </sect2>
|
---|
[938ab0b] | 192 |
|
---|
[0e25c32] | 193 | <sect2 role="content">
|
---|
| 194 | <title>Contents</title>
|
---|
| 195 |
|
---|
| 196 | <segmentedlist>
|
---|
[6f5da92] | 197 | <segtitle>Installed Programs</segtitle>
|
---|
[0e25c32] | 198 | <segtitle>Installed Libraries</segtitle>
|
---|
[6f5da92] | 199 | <segtitle>Installed Directories</segtitle>
|
---|
[0e25c32] | 200 |
|
---|
| 201 | <seglistitem>
|
---|
[2a7334e8] | 202 | <seg>checkXML, kbuildsycoca4, kconfig_compiler, kcookiejar4,
|
---|
| 203 | kde4-config, kded4, kdeinit4, kdeinit4_shutdown, kdeinit4_wrapper,
|
---|
[0d7900a] | 204 | kfilemetadatareader, kjs, kjscmd, kmailservice, kross, kshell4,
|
---|
[cd6d455] | 205 | ktelnetservice, kunittestmodrunner, kwrapper4, makekdewidgets,
|
---|
| 206 | meinproc4, meinproc4_simple, nepomuk-rcgen and preparetips</seg>
|
---|
[4a7f57a] | 207 | <seg>several in &kde-dir;/lib</seg>
|
---|
[2a7334e8] | 208 | <seg>several in &kde-dir;/include, &kde-dir;/lib and &kde-dir;/share
|
---|
| 209 | </seg>
|
---|
[0e25c32] | 210 | </seglistitem>
|
---|
| 211 | </segmentedlist>
|
---|
[69138677] | 212 |
|
---|
[0e25c32] | 213 | <variablelist>
|
---|
| 214 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 215 | <?dbfo list-presentation="list"?>
|
---|
| 216 | <?dbhtml list-presentation="table"?>
|
---|
| 217 |
|
---|
[69138677] | 218 | <varlistentry id="checkXML">
|
---|
| 219 | <term><command>checkXML</command></term>
|
---|
| 220 | <listitem>
|
---|
| 221 | <para>
|
---|
| 222 | is a tool used to check for syntax errors in KDE DocBook
|
---|
| 223 | XML files.
|
---|
| 224 | </para>
|
---|
| 225 | <indexterm zone="kdelibs checkXML">
|
---|
| 226 | <primary sortas="b-checkXML">checkXML</primary>
|
---|
| 227 | </indexterm>
|
---|
| 228 | </listitem>
|
---|
| 229 | </varlistentry>
|
---|
| 230 |
|
---|
| 231 | <varlistentry id="kbuildsycoca4">
|
---|
| 232 | <term><command>kbuildsycoca4</command></term>
|
---|
| 233 | <listitem>
|
---|
| 234 | <para>
|
---|
| 235 | is used to rebuild the system configuration cache.
|
---|
| 236 | </para>
|
---|
| 237 | <indexterm zone="kdelibs kbuildsycoca4">
|
---|
| 238 | <primary sortas="b-kbuildsycoca4">kbuildsycoca4</primary>
|
---|
| 239 | </indexterm>
|
---|
| 240 | </listitem>
|
---|
| 241 | </varlistentry>
|
---|
| 242 |
|
---|
| 243 | <varlistentry id="kconfig_compiler">
|
---|
| 244 | <term><command>kconfig_compiler</command></term>
|
---|
| 245 | <listitem>
|
---|
| 246 | <para>
|
---|
| 247 | is the KDE configuration compiler.
|
---|
| 248 | </para>
|
---|
| 249 | <indexterm zone="kdelibs kconfig_compiler">
|
---|
| 250 | <primary sortas="b-kconfig_compiler">kconfig_compiler</primary>
|
---|
| 251 | </indexterm>
|
---|
| 252 | </listitem>
|
---|
| 253 | </varlistentry>
|
---|
| 254 |
|
---|
| 255 | <varlistentry id="kcookiejar4">
|
---|
| 256 | <term><command>kcookiejar4</command></term>
|
---|
| 257 | <listitem>
|
---|
| 258 | <para>
|
---|
| 259 | is the KDE HTTP cookie daemon.
|
---|
| 260 | </para>
|
---|
| 261 | <indexterm zone="kdelibs kcookiejar4">
|
---|
| 262 | <primary sortas="b-kcookiejar4">kcookiejar4</primary>
|
---|
| 263 | </indexterm>
|
---|
| 264 | </listitem>
|
---|
| 265 | </varlistentry>
|
---|
| 266 |
|
---|
| 267 | <varlistentry id="kde4-config">
|
---|
| 268 | <term><command>kde4-config</command></term>
|
---|
| 269 | <listitem>
|
---|
| 270 | <para>
|
---|
| 271 | is used to print the KDE installation paths.
|
---|
| 272 | </para>
|
---|
| 273 | <indexterm zone="kdelibs kde4-config">
|
---|
| 274 | <primary sortas="b-kde4-config">kde4-config</primary>
|
---|
| 275 | </indexterm>
|
---|
| 276 | </listitem>
|
---|
| 277 | </varlistentry>
|
---|
| 278 |
|
---|
| 279 | <varlistentry id="kded4">
|
---|
| 280 | <term><command>kded4</command></term>
|
---|
| 281 | <listitem>
|
---|
| 282 | <para>
|
---|
| 283 | is the KDE daemon.
|
---|
| 284 | </para>
|
---|
| 285 | <indexterm zone="kdelibs kded4">
|
---|
| 286 | <primary sortas="b-kded4">kded4</primary>
|
---|
| 287 | </indexterm>
|
---|
| 288 | </listitem>
|
---|
| 289 | </varlistentry>
|
---|
| 290 |
|
---|
| 291 | <varlistentry id="kdeinit4">
|
---|
| 292 | <term><command>kdeinit4</command></term>
|
---|
| 293 | <listitem>
|
---|
| 294 | <para>
|
---|
| 295 | is the KDE process launcher.
|
---|
| 296 | </para>
|
---|
| 297 | <indexterm zone="kdelibs kdeinit4">
|
---|
| 298 | <primary sortas="b-kdeinit4">kdeinit4</primary>
|
---|
| 299 | </indexterm>
|
---|
| 300 | </listitem>
|
---|
| 301 | </varlistentry>
|
---|
| 302 |
|
---|
| 303 | <varlistentry id="kjs">
|
---|
| 304 | <term><command>kjs</command></term>
|
---|
| 305 | <listitem>
|
---|
| 306 | <para>
|
---|
| 307 | is the KDE ECMAScript/JavaScript engine.
|
---|
| 308 | </para>
|
---|
| 309 | <indexterm zone="kdelibs kjs">
|
---|
| 310 | <primary sortas="b-kjs">kjs</primary>
|
---|
| 311 | </indexterm>
|
---|
| 312 | </listitem>
|
---|
| 313 | </varlistentry>
|
---|
| 314 |
|
---|
| 315 | <varlistentry id="kjscmd">
|
---|
| 316 | <term><command>kjscmd</command></term>
|
---|
| 317 | <listitem>
|
---|
| 318 | <para>
|
---|
| 319 | is a tool used for launching KJSEmbed scripts from
|
---|
| 320 | the command line.
|
---|
| 321 | </para>
|
---|
| 322 | <indexterm zone="kdelibs kjscmd">
|
---|
| 323 | <primary sortas="b-kjscmd">kjscmd</primary>
|
---|
| 324 | </indexterm>
|
---|
| 325 | </listitem>
|
---|
| 326 | </varlistentry>
|
---|
| 327 |
|
---|
| 328 | <varlistentry id="kross">
|
---|
| 329 | <term><command>kross</command></term>
|
---|
[0e25c32] | 330 | <listitem>
|
---|
[69138677] | 331 | <para>
|
---|
| 332 | is the KDE application used to run kross scripts.
|
---|
| 333 | </para>
|
---|
| 334 | <indexterm zone="kdelibs kross">
|
---|
| 335 | <primary sortas="b-kross">kross</primary>
|
---|
| 336 | </indexterm>
|
---|
| 337 | </listitem>
|
---|
| 338 | </varlistentry>
|
---|
| 339 |
|
---|
| 340 | <varlistentry id="makekdewidgets">
|
---|
| 341 | <term><command>makekdewidgets</command></term>
|
---|
| 342 | <listitem>
|
---|
| 343 | <para>
|
---|
| 344 | is used to build Qt widget plugins from an ini style
|
---|
| 345 | description file.
|
---|
| 346 | </para>
|
---|
| 347 | <indexterm zone="kdelibs makekdewidgets">
|
---|
| 348 | <primary sortas="b-makekdewidgets">makekdewidgets</primary>
|
---|
| 349 | </indexterm>
|
---|
| 350 | </listitem>
|
---|
| 351 | </varlistentry>
|
---|
| 352 |
|
---|
| 353 | <varlistentry id="meinproc4">
|
---|
| 354 | <term><command>meinproc4</command></term>
|
---|
| 355 | <listitem>
|
---|
| 356 | <para>
|
---|
| 357 | is used to convert DocBook files to HTML.
|
---|
| 358 | </para>
|
---|
| 359 | <indexterm zone="kdelibs meinproc4">
|
---|
| 360 | <primary sortas="b-meinproc4">meinproc4</primary>
|
---|
| 361 | </indexterm>
|
---|
| 362 | </listitem>
|
---|
| 363 | </varlistentry>
|
---|
| 364 |
|
---|
| 365 | <varlistentry id="preparetips">
|
---|
| 366 | <term><command>preparetips</command></term>
|
---|
| 367 | <listitem>
|
---|
| 368 | <para>
|
---|
| 369 | is a script used to extract the text from a tips file.
|
---|
| 370 | </para>
|
---|
| 371 | <indexterm zone="kdelibs preparetips">
|
---|
| 372 | <primary sortas="b-preparetips">preparetips</primary>
|
---|
[0e25c32] | 373 | </indexterm>
|
---|
| 374 | </listitem>
|
---|
| 375 | </varlistentry>
|
---|
| 376 |
|
---|
| 377 | </variablelist>
|
---|
[69138677] | 378 |
|
---|
[0e25c32] | 379 | </sect2>
|
---|
| 380 |
|
---|
| 381 | </sect1>
|
---|