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