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