[60384c68] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[60384c68] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[2f91010f] | 7 | <!ENTITY kdelibs-download-http "&kde-download-http;/kdelibs-&kde-version;.tar.bz2">
|
---|
| 8 | <!ENTITY kdelibs-download-ftp "&kde-download-ftp;/kdelibs-&kde-version;.tar.bz2">
|
---|
[65ce93a] | 9 | <!ENTITY kdelibs-md5sum "43cd55ed15f63b5738d620ef9f9fd568">
|
---|
| 10 | <!ENTITY kdelibs-size "14.9 MB">
|
---|
| 11 | <!ENTITY kdelibs-buildsize "254 MB (additional 426 MB for API docs)">
|
---|
| 12 | <!ENTITY kdelibs-time "13.1 SBU (additional 3.0 SBU for API docs)">
|
---|
[60384c68] | 13 | ]>
|
---|
| 14 |
|
---|
[fd680fb] | 15 | <sect1 id="kdelibs" xreflabel="kdelibs-&kde-version;">
|
---|
[2f91010f] | 16 | <?dbhtml filename="kdelibs.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>Kdelibs-&kde-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="kdelibs">
|
---|
| 26 | <primary sortas="a-kdelibs">Kdelibs</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Kdelibs</title>
|
---|
| 31 |
|
---|
| 32 | <para>This package includes programs and libraries that are central to the
|
---|
[00c8453] | 33 | development and execution of a <application>KDE</application> program,
|
---|
[bfab594] | 34 | as well as internationalization files for these libraries, miscellaneous
|
---|
| 35 | HTML documentation, theme modules and regression tests.</para>
|
---|
[2f91010f] | 36 |
|
---|
| 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing='compact'>
|
---|
| 39 | <listitem>
|
---|
| 40 | <para>Download (HTTP): <ulink url="&kdelibs-download-http;"/></para>
|
---|
| 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (FTP): <ulink url="&kdelibs-download-ftp;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download MD5 sum: &kdelibs-md5sum;</para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download size: &kdelibs-size;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Estimated disk space required: &kdelibs-buildsize;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated build time: &kdelibs-time;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | </itemizedlist>
|
---|
[9430c7e8] | 58 |
|
---|
| 59 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 60 | <itemizedlist spacing="compact">
|
---|
| 61 | <listitem>
|
---|
[104733c] | 62 | <para>Required patch: <ulink
|
---|
[9430c7e8] | 63 | url="&patch-root;/kdelibs-&kde-version;-charset-1.patch"/></para>
|
---|
| 64 | </listitem>
|
---|
| 65 | </itemizedlist>
|
---|
[2f91010f] | 66 |
|
---|
| 67 | <bridgehead renderas="sect3">Kdelibs Dependencies</bridgehead>
|
---|
| 68 |
|
---|
| 69 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[5f238c99] | 70 | <para role="required"><xref linkend="qt"/></para>
|
---|
[2f91010f] | 71 |
|
---|
| 72 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[5f238c99] | 73 | <para role="recommended"><xref linkend="aRts"/>,
|
---|
| 74 | <xref linkend="libjpeg"/>,
|
---|
[00c8453] | 75 | <xref linkend="libart_lgpl"/>,
|
---|
| 76 | <xref linkend="libxml2"/>,
|
---|
| 77 | <xref linkend="libxslt"/>,
|
---|
| 78 | <xref linkend="pcre"/>,
|
---|
[b7ea972] | 79 | <xref linkend="gamin"/>,
|
---|
[00c8453] | 80 | <xref linkend="openssl"/>, and
|
---|
[fcd6bf9d] | 81 | <xref linkend="libidn"/></para>
|
---|
[2f91010f] | 82 |
|
---|
| 83 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[8d1fd4e1] | 84 | <para role="optional"><xref linkend="libtiff"/>,
|
---|
[00c8453] | 85 | <xref linkend="aspell"/>,
|
---|
| 86 | <xref linkend="cups"/>,
|
---|
| 87 | <xref linkend="alsa"/>,
|
---|
| 88 | <xref linkend="heimdal"/> or <xref linkend="mitkrb"/>,
|
---|
| 89 | <ulink url="http://www.openexr.com/">OpenEXR</ulink>,
|
---|
[ed733658] | 90 | <xref linkend="jasper"/>,
|
---|
[f685d3e] | 91 | <ulink url="http://www.lua.org/">Lua</ulink> (version < 5.1),
|
---|
[bfab594] | 92 | <ulink url="http://www.opensource.apple.com/darwinsource/tarballs/apsl/">mDNSResponder</ulink>,
|
---|
| 93 | <ulink url="http://sourceforge.net/projects/libthai">LibThai</ulink>,
|
---|
| 94 | <ulink url="http://www.ivrix.org.il/projects/spell-checker/">Hspell</ulink>,
|
---|
| 95 | <ulink url="ftp://oss.sgi.com/projects/xfs/cmd_tars/">libacl</ulink>
|
---|
| 96 | (requires <ulink url="ftp://oss.sgi.com/projects/xfs/cmd_tars/">libattr</ulink>),
|
---|
[5f238c99] | 97 | <xref linkend="sudo"/>,
|
---|
[6722219] | 98 | <xref linkend="graphviz"/>, and
|
---|
[2f91010f] | 99 | <xref linkend="doxygen"/></para>
|
---|
| 100 |
|
---|
[a3ef34c2] | 101 | <para condition="html" role="usernotes">User Notes:
|
---|
| 102 | <ulink url="&blfs-wiki;/kdelibs"/></para>
|
---|
| 103 |
|
---|
[2f91010f] | 104 | </sect2>
|
---|
| 105 |
|
---|
[410e228b] | 106 | <sect2 id="kdelibs-runtime-dependencies"
|
---|
[5f238c99] | 107 | xreflabel="KDE Libraries Runtime Dependencies">
|
---|
| 108 | <title>Run-Time Dependencies</title>
|
---|
| 109 |
|
---|
| 110 | <para>The <application>KDE</application> libraries access other programs at
|
---|
| 111 | run time. One additional package that has not been mentioned already is
|
---|
| 112 | <ulink url="http://packages.debian.org/unstable/source/pmount/">
|
---|
| 113 | pmount</ulink>. This enables auto-mounting of hotplugged devices at
|
---|
| 114 | /media/[device_name] for any user without any fstab modification. It is
|
---|
| 115 | needed to enable the full integration of <application>KDE</application>
|
---|
| 116 | with <xref linkend="hal"/>.</para>
|
---|
| 117 |
|
---|
| 118 | </sect2>
|
---|
| 119 |
|
---|
[89c72ef4] | 120 | <sect2 role="installation" id="kdelibs-install"
|
---|
| 121 | xreflabel="the installation of kdelibs">
|
---|
[2f91010f] | 122 | <title>Installation of Kdelibs</title>
|
---|
| 123 |
|
---|
| 124 | <para>Install <application>kdelibs</application> with:</para>
|
---|
[1986ade] | 125 |
|
---|
[65ce93a] | 126 | <screen><userinput>patch -Np1 -i ../kdelibs-&kde-version;-charset-1.patch &&
|
---|
| 127 | sed -i -e 's|linux/inotify|sys/inotify|' \
|
---|
| 128 | -e '/^static inline int inotify_init/,/^}/d' \
|
---|
| 129 | -e '/^static inline int inotify_add_watch/,/^}/d' \
|
---|
| 130 | -e '/^static inline int inotify_rm_watch/,/^}/d' \
|
---|
| 131 | kio/kio/kdirwatch.cpp &&
|
---|
| 132 | ./configure --prefix=$KDE_PREFIX \
|
---|
[f685d3e] | 133 | --sysconfdir=/etc/kde \
|
---|
[65ce93a] | 134 | --disable-debug \
|
---|
[f685d3e] | 135 | --disable-dependency-tracking &&
|
---|
[65ce93a] | 136 | make</userinput></screen>
|
---|
[60384c68] | 137 |
|
---|
[2f91010f] | 138 | <note>
|
---|
[65ce93a] | 139 |
|
---|
[00c8453] | 140 | <para>If you wish to create the API documentation and you have
|
---|
[65ce93a] | 141 | <application>Doxygen</application> and
|
---|
| 142 | <application>Graphviz</application> installed, it must be done before the
|
---|
| 143 | <command>make install</command>. This applies to all packages which can
|
---|
| 144 | utilize <application>Doxygen</application>.</para>
|
---|
| 145 |
|
---|
[7712824] | 146 | <para><emphasis>The usual building of the API documentation in this package
|
---|
[2f5c01ff] | 147 | will run forever because of a bug in <application>doxygen</application>
|
---|
| 148 | versions 1.5.8 and earlier.</emphasis> There is a symbolic link in the
|
---|
| 149 | <filename class='directory'>kdeprint</filename> directory that is not
|
---|
[a41f643] | 150 | handled properly. To fix this, either update to the current version of
|
---|
[2f5c01ff] | 151 | <application>doxygen</application> or delete the link, generate the
|
---|
[65ce93a] | 152 | documentation, and recreate the symbolic link:</para>
|
---|
| 153 |
|
---|
| 154 | <screen><userinput>rm kdeprint/kdeprint &&
|
---|
| 155 | make apidox &&
|
---|
| 156 | ln -s management kdeprint/kdeprint</userinput></screen>
|
---|
[d5bca7b6] | 157 |
|
---|
| 158 | <para>The <command>make apidox</command> command generates a lot of
|
---|
| 159 | errors and warnings. In some cases it complains that Helvetica fonts are
|
---|
| 160 | missing and substitutes a font that does not fit boxes properly. You can
|
---|
| 161 | add the font by downloading the <ulink
|
---|
[fdb4680f] | 162 | url="ftp://ftp.tug.ctan.org/pub/tex-archive/nonfree/support/ghostscript/AFPL/GhostPCL/">
|
---|
| 163 | URW Fonts </ulink> and
|
---|
[d5bca7b6] | 164 | unpacking them into <filename class='directory'>~/.fonts</filename>.
|
---|
[bccbdaea] | 165 | <command>fc-cache</command> should also be run to update the font
|
---|
[d5bca7b6] | 166 | properties on your system.</para>
|
---|
[bccbdaea] | 167 |
|
---|
[0d3fe4a] | 168 | <para>The documents generated are HTML and are found in <filename
|
---|
| 169 | class='directory'>&kde-dir;/share/doc/HTML/en/kdelibs-apidocs</filename>.
|
---|
[d5bca7b6] | 170 | </para>
|
---|
[2f91010f] | 171 | </note>
|
---|
[60384c68] | 172 |
|
---|
[f685d3e] | 173 | <para>This package does not come with a test suite that works with
|
---|
| 174 | <application>GCC</application>-&gcc-version;.</para>
|
---|
| 175 |
|
---|
[2f91010f] | 176 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[9f271dd] | 177 |
|
---|
[1f30212] | 178 | <screen role='root'><userinput>make install</userinput></screen>
|
---|
[7c27bc8] | 179 |
|
---|
[2f91010f] | 180 | </sect2>
|
---|
[60384c68] | 181 |
|
---|
[2f91010f] | 182 | <sect2 role="commands">
|
---|
| 183 | <title>Command Explanations</title>
|
---|
[60384c68] | 184 |
|
---|
[65ce93a] | 185 | <para><command>sed -i ... kio/kio/kdirwatch.cpp</command>: This command is
|
---|
| 186 | necessary to prevent a conflict in linux headers. The equivalent
|
---|
[a41f643] | 187 | instructions that are deleted are now within glibc.</para>
|
---|
[65ce93a] | 188 |
|
---|
[00c8453] | 189 | <para><parameter>--prefix=&kde-dir;</parameter>: This option tells the process
|
---|
[2f91010f] | 190 | to install the package in <filename class="directory">&kde-dir;</filename>.</para>
|
---|
[60384c68] | 191 |
|
---|
[00c8453] | 192 | <para><parameter>--disable-debug</parameter>: This option causes the
|
---|
[2f91010f] | 193 | package to be compiled without debugging code.</para>
|
---|
[60384c68] | 194 |
|
---|
[00c8453] | 195 | <para><parameter>--disable-dependency-tracking</parameter>: This option
|
---|
[2f91010f] | 196 | speeds up one time builds.</para>
|
---|
[9f12e36] | 197 |
|
---|
[90bd3c1b] | 198 | <para><parameter>--sysconfdir=/etc/kde</parameter>: This option places
|
---|
| 199 | configuration files in compliance with the <ulink
|
---|
| 200 | url='http://www.pathname.com/fhs/pub/fhs-2.3.html#ETCHOSTSPECIFICSYSTEMCONFIGURATION'
|
---|
| 201 | >Filesystem Hierarchy Standard</ulink>. If you omit this parameter, the
|
---|
| 202 | configuration files will be placed in <filename
|
---|
| 203 | class='directory'>$KDE_PREFIX/etc</filename> which may be desirable if
|
---|
| 204 | you have multiple versions of <application>KDE</application> installed.</para>
|
---|
| 205 |
|
---|
[2f91010f] | 206 | </sect2>
|
---|
[9f271dd] | 207 |
|
---|
[2f91010f] | 208 | <sect2 role="content">
|
---|
| 209 | <title>Contents</title>
|
---|
[583760d] | 210 |
|
---|
[2f91010f] | 211 | <segmentedlist>
|
---|
| 212 | <segtitle>Installed Programs</segtitle>
|
---|
| 213 | <segtitle>Installed Libraries</segtitle>
|
---|
| 214 | <segtitle>Installed Directories</segtitle>
|
---|
[9f271dd] | 215 |
|
---|
[2f91010f] | 216 | <seglistitem>
|
---|
[0d3fe4a] | 217 | <seg>Numerous <application>KDE</application> support programs:
|
---|
| 218 | artsmessage, checkXML, cupsdconf, cupsdoprint, dcop, dcopclient,
|
---|
| 219 | dcopfind, dcopidl, dcopidl2cpp, dcopidlng, dcopobject, dcopquit,
|
---|
| 220 | dcopref, dcopserver, dcopserver_shutdown, dcopstart, filesharelist,
|
---|
| 221 | fileshareset, imagetops, kab2kabc, kaddprinterwizard, kbuildsycoca,
|
---|
| 222 | kcmshell, kconf_update, kconfig_compiler, kcookiejar, kde-config,
|
---|
| 223 | kde-menu, kded, kdeinit, kdeinit_shutdown, kdeinit_wrapper, kdesu_stub,
|
---|
| 224 | kdontchangethehostname, kdostartupconfig, kfile, kfmexec, kgrantpty,
|
---|
| 225 | khotnewstuff, kinstalltheme, kio_http_cache_cleaner, kio_uiserver,
|
---|
| 226 | kioexec, kioslave, klauncher, kmailservice, kpac_dhcp_helper,
|
---|
| 227 | ksendbugmail, kshell, kstartupconfig, ksvgtopng, ktelnetservice,
|
---|
| 228 | ktradertest, kunittestmodrunner, kwrapper, lnusertemp,
|
---|
| 229 | make_driver_db_cups, make_driver_db_lpr, makekdewidgets, meinproc,
|
---|
[98078a63] | 230 | preparetips, and start_kdeinit</seg>
|
---|
[7b17a43] | 231 | <seg>Numerous <application>KDE</application> libraries and helper
|
---|
| 232 | modules</seg>
|
---|
[0d3fe4a] | 233 | <seg>/etc/kde and the following subdirectories of &kde-dir;/:
|
---|
[a3ef34c2] | 234 | include/{dnssd, dom, kabc, kate, kdeprint, kdesu, khexedit, kio, kjs,
|
---|
[0d3fe4a] | 235 | kmdi, kmediaplayer, knewstuff, kparts, kresources, ksettings, kspell2,
|
---|
[a3ef34c2] | 236 | ktexteditor, kunittest, libkmid}, lib/kde3, and share/{applications,
|
---|
| 237 | apps, autostart, config, doc, emoticons, icons, mimelnk, services} </seg>
|
---|
[2f91010f] | 238 | </seglistitem>
|
---|
| 239 | </segmentedlist>
|
---|
| 240 |
|
---|
| 241 | <variablelist>
|
---|
| 242 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 243 | <?dbfo list-presentation="list"?>
|
---|
| 244 | <?dbhtml list-presentation="table"?>
|
---|
[9f271dd] | 245 |
|
---|
[2f91010f] | 246 | <varlistentry id="kdelib-programs">
|
---|
| 247 | <term>KDE Support Programs</term>
|
---|
| 248 | <listitem>
|
---|
[0d3fe4a] | 249 | <para>are essential support programs needed by other
|
---|
[2f91010f] | 250 | <application>KDE</application> applications.</para>
|
---|
| 251 | <indexterm zone="kdelibs kdelib-programs">
|
---|
| 252 | <primary sortas="b-kdelib-programs">KDE Support Programs</primary>
|
---|
| 253 | </indexterm>
|
---|
| 254 | </listitem>
|
---|
| 255 | </varlistentry>
|
---|
| 256 |
|
---|
| 257 | <varlistentry id="kde-libraries">
|
---|
| 258 | <term>KDE Libraries</term>
|
---|
| 259 | <listitem>
|
---|
[00c8453] | 260 | <para>contain essential functions that are needed by
|
---|
[2f91010f] | 261 | <application>KDE</application> applications.</para>
|
---|
| 262 | <indexterm zone="kdelibs kde-libraries">
|
---|
| 263 | <primary sortas="c-kde-libraries">kde-libraries</primary>
|
---|
| 264 | </indexterm>
|
---|
| 265 | </listitem>
|
---|
| 266 | </varlistentry>
|
---|
[9f271dd] | 267 |
|
---|
[2f91010f] | 268 | </variablelist>
|
---|
[583760d] | 269 |
|
---|
[2f91010f] | 270 | <para>The number of programs and libraries installed by
|
---|
[00c8453] | 271 | <application>kdelibs</application> prohibits an explanation of each one
|
---|
[2f91010f] | 272 | in this section. Instead, see the <ulink url="http://docs.kde.org/">KDE
|
---|
| 273 | Documentation</ulink>.</para>
|
---|
[60384c68] | 274 |
|
---|
[2f91010f] | 275 | </sect2>
|
---|
[ee2025f] | 276 |
|
---|
| 277 | </sect1>
|
---|