[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 |
|
---|
[a8d5ef7] | 7 | <!ENTITY kdelibs-download-http "&trinity-repo-http;/kdelibs-&trinity-version;.tar.gz">
|
---|
| 8 | <!ENTITY kdelibs-download-ftp "&trinity-repo-ftp;/kdelibs-&trinity-version;.tar.gz">
|
---|
| 9 | <!ENTITY kdelibs-md5sum "f62eefb63b4ba2141b4c576f859806dd">
|
---|
| 10 | <!ENTITY kdelibs-size "16.6 MB">
|
---|
| 11 | <!ENTITY kdelibs-buildsize "408 MB">
|
---|
| 12 | <!ENTITY kdelibs-time "5.5 SBU">
|
---|
[60384c68] | 13 | ]>
|
---|
| 14 |
|
---|
[3fea4ca] | 15 | <sect1 id="kdelibs" xreflabel="kdelibs-&trinity-version;">
|
---|
[2f91010f] | 16 | <?dbhtml filename="kdelibs.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
[3fea4ca] | 23 | <title>Kdelibs-&trinity-version;</title>
|
---|
[2f91010f] | 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
|
---|
[a8d5ef7] | 33 | development and execution of a <application>Trinity/KDE3</application> program,
|
---|
[bfab594] | 34 | as well as internationalization files for these libraries, miscellaneous
|
---|
[a8d5ef7] | 35 | HTML documentation, and theme modules.</para>
|
---|
[2f91010f] | 36 |
|
---|
[7df66ff] | 37 | &lfs70_checked;
|
---|
| 38 |
|
---|
[2f91010f] | 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing='compact'>
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (HTTP): <ulink url="&kdelibs-download-http;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download (FTP): <ulink url="&kdelibs-download-ftp;"/></para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download MD5 sum: &kdelibs-md5sum;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Download size: &kdelibs-size;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated disk space required: &kdelibs-buildsize;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>Estimated build time: &kdelibs-time;</para>
|
---|
| 58 | </listitem>
|
---|
| 59 | </itemizedlist>
|
---|
[3fea4ca] | 60 |
|
---|
[2f91010f] | 61 | <bridgehead renderas="sect3">Kdelibs Dependencies</bridgehead>
|
---|
| 62 |
|
---|
| 63 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[a8d5ef7] | 64 | <para role="required"><xref linkend="tqtinterface"/></para>
|
---|
[2f91010f] | 65 |
|
---|
| 66 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[a8d5ef7] | 67 | <para role="recommended">
|
---|
| 68 | <xref linkend="aRts"/>,
|
---|
| 69 | <xref linkend="libjpeg"/>,
|
---|
| 70 | <xref linkend="libart_lgpl"/>,
|
---|
| 71 | <xref linkend="libidn"/>, and
|
---|
| 72 | <xref linkend="openssl"/>
|
---|
| 73 | </para>
|
---|
[2f91010f] | 74 |
|
---|
| 75 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[a8d5ef7] | 76 | <para role="optional">
|
---|
| 77 | <xref linkend="aspell"/>,
|
---|
| 78 | <xref linkend="cups"/>,
|
---|
| 79 | <xref linkend="libtiff"/>,
|
---|
| 80 | <ulink url="http://www.openexr.com/">OpenEXR</ulink>,
|
---|
[0d7900a] | 81 | <ulink url="http://www.ivrix.org.il/projects/spell-checker/">Hspell</ulink>,
|
---|
| 82 | <xref linkend="sudo"/>, and
|
---|
[a8d5ef7] | 83 | <ulink url="http://packages.debian.org/sid/libutempter">utempter</ulink>
|
---|
| 84 | </para>
|
---|
[2f91010f] | 85 |
|
---|
[a3ef34c2] | 86 | <para condition="html" role="usernotes">User Notes:
|
---|
| 87 | <ulink url="&blfs-wiki;/kdelibs"/></para>
|
---|
| 88 |
|
---|
[2f91010f] | 89 | </sect2>
|
---|
| 90 |
|
---|
[410e228b] | 91 | <sect2 id="kdelibs-runtime-dependencies"
|
---|
[5f238c99] | 92 | xreflabel="KDE Libraries Runtime Dependencies">
|
---|
| 93 | <title>Run-Time Dependencies</title>
|
---|
| 94 |
|
---|
[a8d5ef7] | 95 | <para>The <application>Trinity/KDE3</application> libraries access other programs at
|
---|
[5f238c99] | 96 | run time. One additional package that has not been mentioned already is
|
---|
| 97 | <ulink url="http://packages.debian.org/unstable/source/pmount/">
|
---|
| 98 | pmount</ulink>. This enables auto-mounting of hotplugged devices at
|
---|
| 99 | /media/[device_name] for any user without any fstab modification. It is
|
---|
| 100 | needed to enable the full integration of <application>KDE</application>
|
---|
[6b54763] | 101 | with <ulink url="http://www.freedesktop.org/wiki/Software/hal">Hal</ulink>.
|
---|
| 102 | </para>
|
---|
[5f238c99] | 103 |
|
---|
| 104 | </sect2>
|
---|
| 105 |
|
---|
[89c72ef4] | 106 | <sect2 role="installation" id="kdelibs-install"
|
---|
| 107 | xreflabel="the installation of kdelibs">
|
---|
[2f91010f] | 108 | <title>Installation of Kdelibs</title>
|
---|
| 109 |
|
---|
| 110 | <para>Install <application>kdelibs</application> with:</para>
|
---|
[1986ade] | 111 |
|
---|
[a8d5ef7] | 112 | <screen><userinput>MAKEDIR=/tmp/buildlibs &&
|
---|
| 113 | KDELIBS=`pwd` &&
|
---|
| 114 | rm -rf $MAKEDIR &&
|
---|
| 115 | mkdir -p $MAKEDIR &&
|
---|
| 116 | cd $MAKEDIR &&
|
---|
[60384c68] | 117 |
|
---|
[a8d5ef7] | 118 | cmake -DCMAKE_INSTALL_PREFIX=$TRINITY_PREFIX \
|
---|
| 119 | -DCMAKE_VERBOSE_MAKEFILE=ON \
|
---|
| 120 | $KDELIBS &&
|
---|
| 121 | unset KDELIBS MAKEDIR</userinput></screen>
|
---|
| 122 |
|
---|
| 123 | <para>Some of the optional support programs for <application>kdelibs</application>
|
---|
| 124 | must be specified by the user. The option is in the form "-DWITH_PKG=ON" and
|
---|
| 125 | the following options are recognozed for 'PKG': TIFF, LIBIDN, LIBART,
|
---|
[0d7900a] | 126 | OPENEXR, UTEMPTER, ASPELL, HSPELL, and AVAHI. Other optional support
|
---|
[a8d5ef7] | 127 | programs such as CUPS are automatically recognized if present.</para>
|
---|
| 128 |
|
---|
| 129 | <para>If your installation of <application>Xorg</application> is
|
---|
| 130 | not in the <filename class='directory'>/usr</filename> hierarchy,
|
---|
| 131 | ensure the linking commands search in the correct place:</para>
|
---|
[0d7900a] | 132 |
|
---|
[a8d5ef7] | 133 | <screen><userinput>find -name link.txt -exec sed -i -e "s@-lX11@& -L$XORG_PREFIX/lib@" {} \;</userinput></screen>
|
---|
| 134 |
|
---|
| 135 | <para>Continue with the build:</para>
|
---|
[65ce93a] | 136 |
|
---|
[a8d5ef7] | 137 | <screen><userinput>make</userinput></screen>
|
---|
| 138 |
|
---|
| 139 | <note>
|
---|
[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 |
|
---|
[d5bca7b6] | 146 | <para>The <command>make apidox</command> command generates a lot of
|
---|
| 147 | errors and warnings. In some cases it complains that Helvetica fonts are
|
---|
| 148 | missing and substitutes a font that does not fit boxes properly. You can
|
---|
| 149 | add the font by downloading the <ulink
|
---|
[fdb4680f] | 150 | url="ftp://ftp.tug.ctan.org/pub/tex-archive/nonfree/support/ghostscript/AFPL/GhostPCL/">
|
---|
| 151 | URW Fonts </ulink> and
|
---|
[d5bca7b6] | 152 | unpacking them into <filename class='directory'>~/.fonts</filename>.
|
---|
[bccbdaea] | 153 | <command>fc-cache</command> should also be run to update the font
|
---|
[d5bca7b6] | 154 | properties on your system.</para>
|
---|
[bccbdaea] | 155 |
|
---|
[0d3fe4a] | 156 | <para>The documents generated are HTML and are found in <filename
|
---|
[a8d5ef7] | 157 | class='directory'>$TRINITY_PREFIX/share/doc/HTML/en/kdelibs-apidocs</filename>.
|
---|
[d5bca7b6] | 158 | </para>
|
---|
[2f91010f] | 159 | </note>
|
---|
[60384c68] | 160 |
|
---|
[a8d5ef7] | 161 | <para>This package does not come with a test suite.</para>
|
---|
[f685d3e] | 162 |
|
---|
[2f91010f] | 163 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[9f271dd] | 164 |
|
---|
[1f30212] | 165 | <screen role='root'><userinput>make install</userinput></screen>
|
---|
[7c27bc8] | 166 |
|
---|
[2f91010f] | 167 | </sect2>
|
---|
[a8d5ef7] | 168 | <!--
|
---|
[2f91010f] | 169 | <sect2 role="commands">
|
---|
| 170 | <title>Command Explanations</title>
|
---|
[60384c68] | 171 |
|
---|
[65ce93a] | 172 | <para><command>sed -i ... kio/kio/kdirwatch.cpp</command>: This command is
|
---|
| 173 | necessary to prevent a conflict in linux headers. The equivalent
|
---|
[a41f643] | 174 | instructions that are deleted are now within glibc.</para>
|
---|
[65ce93a] | 175 |
|
---|
[a8d5ef7] | 176 | <para><parameter>- -prefix=&kde-dir;</parameter>: This option tells the process
|
---|
[2f91010f] | 177 | to install the package in <filename class="directory">&kde-dir;</filename>.</para>
|
---|
[60384c68] | 178 |
|
---|
[a8d5ef7] | 179 | <para><parameter>- -disable-debug</parameter>: This option causes the
|
---|
[2f91010f] | 180 | package to be compiled without debugging code.</para>
|
---|
[60384c68] | 181 |
|
---|
[a8d5ef7] | 182 | <para><parameter>- -disable-dependency-tracking</parameter>: This option
|
---|
[2f91010f] | 183 | speeds up one time builds.</para>
|
---|
[9f12e36] | 184 |
|
---|
[a8d5ef7] | 185 | <para><parameter>- -sysconfdir=/etc/kde</parameter>: This option places
|
---|
[90bd3c1b] | 186 | configuration files in compliance with the <ulink
|
---|
| 187 | url='http://www.pathname.com/fhs/pub/fhs-2.3.html#ETCHOSTSPECIFICSYSTEMCONFIGURATION'
|
---|
| 188 | >Filesystem Hierarchy Standard</ulink>. If you omit this parameter, the
|
---|
| 189 | configuration files will be placed in <filename
|
---|
| 190 | class='directory'>$KDE_PREFIX/etc</filename> which may be desirable if
|
---|
| 191 | you have multiple versions of <application>KDE</application> installed.</para>
|
---|
| 192 |
|
---|
[2f91010f] | 193 | </sect2>
|
---|
[a8d5ef7] | 194 | -->
|
---|
[2f91010f] | 195 | <sect2 role="content">
|
---|
| 196 | <title>Contents</title>
|
---|
[583760d] | 197 |
|
---|
[2f91010f] | 198 | <segmentedlist>
|
---|
| 199 | <segtitle>Installed Programs</segtitle>
|
---|
| 200 | <segtitle>Installed Libraries</segtitle>
|
---|
| 201 | <segtitle>Installed Directories</segtitle>
|
---|
[9f271dd] | 202 |
|
---|
[2f91010f] | 203 | <seglistitem>
|
---|
[0d3fe4a] | 204 | <seg>Numerous <application>KDE</application> support programs:
|
---|
| 205 | artsmessage, checkXML, cupsdconf, cupsdoprint, dcop, dcopclient,
|
---|
| 206 | dcopfind, dcopidl, dcopidl2cpp, dcopidlng, dcopobject, dcopquit,
|
---|
| 207 | dcopref, dcopserver, dcopserver_shutdown, dcopstart, filesharelist,
|
---|
| 208 | fileshareset, imagetops, kab2kabc, kaddprinterwizard, kbuildsycoca,
|
---|
| 209 | kcmshell, kconf_update, kconfig_compiler, kcookiejar, kde-config,
|
---|
| 210 | kde-menu, kded, kdeinit, kdeinit_shutdown, kdeinit_wrapper, kdesu_stub,
|
---|
| 211 | kdontchangethehostname, kdostartupconfig, kfile, kfmexec, kgrantpty,
|
---|
| 212 | khotnewstuff, kinstalltheme, kio_http_cache_cleaner, kio_uiserver,
|
---|
| 213 | kioexec, kioslave, klauncher, kmailservice, kpac_dhcp_helper,
|
---|
| 214 | ksendbugmail, kshell, kstartupconfig, ksvgtopng, ktelnetservice,
|
---|
| 215 | ktradertest, kunittestmodrunner, kwrapper, lnusertemp,
|
---|
| 216 | make_driver_db_cups, make_driver_db_lpr, makekdewidgets, meinproc,
|
---|
[98078a63] | 217 | preparetips, and start_kdeinit</seg>
|
---|
[7b17a43] | 218 | <seg>Numerous <application>KDE</application> libraries and helper
|
---|
| 219 | modules</seg>
|
---|
[0d3fe4a] | 220 | <seg>/etc/kde and the following subdirectories of &kde-dir;/:
|
---|
[a3ef34c2] | 221 | include/{dnssd, dom, kabc, kate, kdeprint, kdesu, khexedit, kio, kjs,
|
---|
[0d3fe4a] | 222 | kmdi, kmediaplayer, knewstuff, kparts, kresources, ksettings, kspell2,
|
---|
[a3ef34c2] | 223 | ktexteditor, kunittest, libkmid}, lib/kde3, and share/{applications,
|
---|
| 224 | apps, autostart, config, doc, emoticons, icons, mimelnk, services} </seg>
|
---|
[2f91010f] | 225 | </seglistitem>
|
---|
| 226 | </segmentedlist>
|
---|
| 227 |
|
---|
| 228 | <variablelist>
|
---|
| 229 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 230 | <?dbfo list-presentation="list"?>
|
---|
| 231 | <?dbhtml list-presentation="table"?>
|
---|
[9f271dd] | 232 |
|
---|
[2f91010f] | 233 | <varlistentry id="kdelib-programs">
|
---|
| 234 | <term>KDE Support Programs</term>
|
---|
| 235 | <listitem>
|
---|
[0d3fe4a] | 236 | <para>are essential support programs needed by other
|
---|
[2f91010f] | 237 | <application>KDE</application> applications.</para>
|
---|
| 238 | <indexterm zone="kdelibs kdelib-programs">
|
---|
| 239 | <primary sortas="b-kdelib-programs">KDE Support Programs</primary>
|
---|
| 240 | </indexterm>
|
---|
| 241 | </listitem>
|
---|
| 242 | </varlistentry>
|
---|
| 243 |
|
---|
| 244 | <varlistentry id="kde-libraries">
|
---|
| 245 | <term>KDE Libraries</term>
|
---|
| 246 | <listitem>
|
---|
[00c8453] | 247 | <para>contain essential functions that are needed by
|
---|
[2f91010f] | 248 | <application>KDE</application> applications.</para>
|
---|
| 249 | <indexterm zone="kdelibs kde-libraries">
|
---|
| 250 | <primary sortas="c-kde-libraries">kde-libraries</primary>
|
---|
| 251 | </indexterm>
|
---|
| 252 | </listitem>
|
---|
| 253 | </varlistentry>
|
---|
[9f271dd] | 254 |
|
---|
[2f91010f] | 255 | </variablelist>
|
---|
[583760d] | 256 |
|
---|
[2f91010f] | 257 | <para>The number of programs and libraries installed by
|
---|
[00c8453] | 258 | <application>kdelibs</application> prohibits an explanation of each one
|
---|
[a8d5ef7] | 259 | in this section.</para>
|
---|
[60384c68] | 260 |
|
---|
[2f91010f] | 261 | </sect2>
|
---|
[ee2025f] | 262 |
|
---|
| 263 | </sect1>
|
---|