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