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