2004-06-13 16:05:17 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2007-04-05 03:42:53 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2004-06-13 16:05:17 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2005-05-08 17:31:51 +08:00
|
|
|
<!ENTITY kdelibs-download-http "&kde-download-http;/kdelibs-&kde-version;.tar.bz2">
|
|
|
|
<!ENTITY kdelibs-download-ftp "&kde-download-ftp;/kdelibs-&kde-version;.tar.bz2">
|
2009-01-07 15:33:33 +08:00
|
|
|
<!ENTITY kdelibs-md5sum "43cd55ed15f63b5738d620ef9f9fd568">
|
|
|
|
<!ENTITY kdelibs-size "14.9 MB">
|
|
|
|
<!ENTITY kdelibs-buildsize "254 MB (additional 426 MB for API docs)">
|
|
|
|
<!ENTITY kdelibs-time "13.1 SBU (additional 3.0 SBU for API docs)">
|
2004-06-13 16:05:17 +08:00
|
|
|
]>
|
|
|
|
|
2007-02-15 01:41:56 +08:00
|
|
|
<sect1 id="kdelibs" xreflabel="kdelibs-&kde-version;">
|
2005-05-08 17:31:51 +08:00
|
|
|
<?dbhtml filename="kdelibs.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
|
|
|
<title>Kdelibs-&kde-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="kdelibs">
|
|
|
|
<primary sortas="a-kdelibs">Kdelibs</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to Kdelibs</title>
|
|
|
|
|
|
|
|
<para>This package includes programs and libraries that are central to the
|
2005-05-31 05:46:44 +08:00
|
|
|
development and execution of a <application>KDE</application> program,
|
2005-12-30 23:42:10 +08:00
|
|
|
as well as internationalization files for these libraries, miscellaneous
|
|
|
|
HTML documentation, theme modules and regression tests.</para>
|
2005-05-08 17:31:51 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing='compact'>
|
|
|
|
<listitem>
|
|
|
|
<para>Download (HTTP): <ulink url="&kdelibs-download-http;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download (FTP): <ulink url="&kdelibs-download-ftp;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download MD5 sum: &kdelibs-md5sum;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download size: &kdelibs-size;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated disk space required: &kdelibs-buildsize;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated build time: &kdelibs-time;</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
2009-01-07 15:48:56 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>Reqiured patch: <ulink
|
|
|
|
url="&patch-root;/kdelibs-&kde-version;-charset-1.patch"/></para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
2005-05-08 17:31:51 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Kdelibs Dependencies</bridgehead>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
2008-04-01 08:54:49 +08:00
|
|
|
<para role="required"><xref linkend="qt"/></para>
|
2005-05-08 17:31:51 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
2008-04-01 08:54:49 +08:00
|
|
|
<para role="recommended"><xref linkend="aRts"/>,
|
|
|
|
<xref linkend="libjpeg"/>,
|
2005-05-31 05:46:44 +08:00
|
|
|
<xref linkend="libart_lgpl"/>,
|
|
|
|
<xref linkend="libxml2"/>,
|
|
|
|
<xref linkend="libxslt"/>,
|
|
|
|
<xref linkend="pcre"/>,
|
2005-10-09 07:03:15 +08:00
|
|
|
<xref linkend="gamin"/>,
|
2005-05-31 05:46:44 +08:00
|
|
|
<xref linkend="openssl"/>, and
|
2005-12-30 13:28:25 +08:00
|
|
|
<xref linkend="libidn"/></para>
|
2005-05-08 17:31:51 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
2005-12-06 19:40:01 +08:00
|
|
|
<para role="optional"><xref linkend="libtiff"/>,
|
2005-05-31 05:46:44 +08:00
|
|
|
<xref linkend="aspell"/>,
|
|
|
|
<xref linkend="cups"/>,
|
|
|
|
<xref linkend="alsa"/>,
|
|
|
|
<xref linkend="heimdal"/> or <xref linkend="mitkrb"/>,
|
|
|
|
<ulink url="http://www.openexr.com/">OpenEXR</ulink>,
|
2009-01-14 04:30:09 +08:00
|
|
|
<xref linkend="jasper"/>,
|
2006-05-21 05:02:49 +08:00
|
|
|
<ulink url="http://www.lua.org/">Lua</ulink> (version < 5.1),
|
2005-12-30 23:42:10 +08:00
|
|
|
<ulink url="http://www.opensource.apple.com/darwinsource/tarballs/apsl/">mDNSResponder</ulink>,
|
|
|
|
<ulink url="http://sourceforge.net/projects/libthai">LibThai</ulink>,
|
|
|
|
<ulink url="http://www.ivrix.org.il/projects/spell-checker/">Hspell</ulink>,
|
|
|
|
<ulink url="ftp://oss.sgi.com/projects/xfs/cmd_tars/">libacl</ulink>
|
|
|
|
(requires <ulink url="ftp://oss.sgi.com/projects/xfs/cmd_tars/">libattr</ulink>),
|
2008-04-01 08:54:49 +08:00
|
|
|
<xref linkend="sudo"/>,
|
2006-04-14 05:57:57 +08:00
|
|
|
<xref linkend="graphviz"/>, and
|
2005-05-08 17:31:51 +08:00
|
|
|
<xref linkend="doxygen"/></para>
|
|
|
|
|
2006-04-11 02:37:03 +08:00
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
|
|
<ulink url="&blfs-wiki;/kdelibs"/></para>
|
|
|
|
|
2005-05-08 17:31:51 +08:00
|
|
|
</sect2>
|
|
|
|
|
2008-05-09 21:00:42 +08:00
|
|
|
<sect2 id="kdelibs-runtime-dependencies"
|
2008-04-01 08:54:49 +08:00
|
|
|
xreflabel="KDE Libraries Runtime Dependencies">
|
|
|
|
<title>Run-Time Dependencies</title>
|
|
|
|
|
|
|
|
<para>The <application>KDE</application> libraries access other programs at
|
|
|
|
run time. One additional package that has not been mentioned already is
|
|
|
|
<ulink url="http://packages.debian.org/unstable/source/pmount/">
|
|
|
|
pmount</ulink>. This enables auto-mounting of hotplugged devices at
|
|
|
|
/media/[device_name] for any user without any fstab modification. It is
|
|
|
|
needed to enable the full integration of <application>KDE</application>
|
|
|
|
with <xref linkend="hal"/>.</para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
2006-03-17 00:24:25 +08:00
|
|
|
<sect2 role="installation" id="kdelibs-install"
|
|
|
|
xreflabel="the installation of kdelibs">
|
2005-05-08 17:31:51 +08:00
|
|
|
<title>Installation of Kdelibs</title>
|
|
|
|
|
|
|
|
<para>Install <application>kdelibs</application> with:</para>
|
2004-12-16 09:41:36 +08:00
|
|
|
|
2009-01-07 15:33:33 +08:00
|
|
|
<screen><userinput>patch -Np1 -i ../kdelibs-&kde-version;-charset-1.patch &&
|
|
|
|
sed -i -e 's|linux/inotify|sys/inotify|' \
|
|
|
|
-e '/^static inline int inotify_init/,/^}/d' \
|
|
|
|
-e '/^static inline int inotify_add_watch/,/^}/d' \
|
|
|
|
-e '/^static inline int inotify_rm_watch/,/^}/d' \
|
|
|
|
kio/kio/kdirwatch.cpp &&
|
|
|
|
./configure --prefix=$KDE_PREFIX \
|
2006-05-21 05:02:49 +08:00
|
|
|
--sysconfdir=/etc/kde \
|
2009-01-07 15:33:33 +08:00
|
|
|
--disable-debug \
|
2006-05-21 05:02:49 +08:00
|
|
|
--disable-dependency-tracking &&
|
2009-01-07 15:33:33 +08:00
|
|
|
make</userinput></screen>
|
2004-06-13 16:05:17 +08:00
|
|
|
|
2005-05-08 17:31:51 +08:00
|
|
|
<note>
|
2009-01-07 15:33:33 +08:00
|
|
|
|
2005-05-31 05:46:44 +08:00
|
|
|
<para>If you wish to create the API documentation and you have
|
2009-01-07 15:33:33 +08:00
|
|
|
<application>Doxygen</application> and
|
|
|
|
<application>Graphviz</application> installed, it must be done before the
|
|
|
|
<command>make install</command>. This applies to all packages which can
|
|
|
|
utilize <application>Doxygen</application>.</para>
|
|
|
|
|
|
|
|
<para><emphasis>The usual building the API documentation in this package
|
|
|
|
will run forever because of a bug in
|
|
|
|
<application>doxygen</application>.</emphasis> There is a symbolic link
|
|
|
|
in the <filename class='directory'>kdeprint</filename> directory that is
|
|
|
|
not handled properly. To fix this, delete the link, generate the
|
|
|
|
documentation, and recreate the symbolic link:</para>
|
|
|
|
|
|
|
|
<screen><userinput>rm kdeprint/kdeprint &&
|
|
|
|
make apidox &&
|
|
|
|
ln -s management kdeprint/kdeprint</userinput></screen>
|
2005-07-28 10:56:04 +08:00
|
|
|
|
|
|
|
<para>The <command>make apidox</command> command generates a lot of
|
|
|
|
errors and warnings. In some cases it complains that Helvetica fonts are
|
|
|
|
missing and substitutes a font that does not fit boxes properly. You can
|
|
|
|
add the font by downloading the <ulink
|
2009-01-16 11:40:58 +08:00
|
|
|
url="ftp://ftp.gimp.org/pub/gimp/fonts/">URW Fonts </ulink> and
|
2005-07-28 10:56:04 +08:00
|
|
|
unpacking them into <filename class='directory'>~/.fonts</filename>.
|
2005-11-30 03:07:13 +08:00
|
|
|
<command>fc-cache</command> should also be run to update the font
|
2005-07-28 10:56:04 +08:00
|
|
|
properties on your system.</para>
|
2005-11-30 03:07:13 +08:00
|
|
|
|
2006-01-05 05:10:47 +08:00
|
|
|
<para>The documents generated are HTML and are found in <filename
|
|
|
|
class='directory'>&kde-dir;/share/doc/HTML/en/kdelibs-apidocs</filename>.
|
2005-07-28 10:56:04 +08:00
|
|
|
</para>
|
2005-05-08 17:31:51 +08:00
|
|
|
</note>
|
2004-06-13 16:05:17 +08:00
|
|
|
|
2006-05-21 05:02:49 +08:00
|
|
|
<para>This package does not come with a test suite that works with
|
|
|
|
<application>GCC</application>-&gcc-version;.</para>
|
|
|
|
|
2005-05-08 17:31:51 +08:00
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
2005-05-31 00:18:15 +08:00
|
|
|
|
2005-04-29 15:06:44 +08:00
|
|
|
<screen role='root'><userinput>make install</userinput></screen>
|
2005-02-04 10:09:31 +08:00
|
|
|
|
2005-05-08 17:31:51 +08:00
|
|
|
</sect2>
|
2004-06-13 16:05:17 +08:00
|
|
|
|
2005-05-08 17:31:51 +08:00
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
2004-06-13 16:05:17 +08:00
|
|
|
|
2009-01-07 15:33:33 +08:00
|
|
|
<para><command>sed -i ... kio/kio/kdirwatch.cpp</command>: This command is
|
|
|
|
necessary to prevent a conflict in linux headers. The equivalent
|
|
|
|
instructions that are deleted are now within glibc.</para>
|
|
|
|
|
2005-05-31 05:46:44 +08:00
|
|
|
<para><parameter>--prefix=&kde-dir;</parameter>: This option tells the process
|
2005-05-08 17:31:51 +08:00
|
|
|
to install the package in <filename class="directory">&kde-dir;</filename>.</para>
|
2004-06-13 16:05:17 +08:00
|
|
|
|
2005-05-31 05:46:44 +08:00
|
|
|
<para><parameter>--disable-debug</parameter>: This option causes the
|
2005-05-08 17:31:51 +08:00
|
|
|
package to be compiled without debugging code.</para>
|
2004-06-13 16:05:17 +08:00
|
|
|
|
2005-05-31 05:46:44 +08:00
|
|
|
<para><parameter>--disable-dependency-tracking</parameter>: This option
|
2005-05-08 17:31:51 +08:00
|
|
|
speeds up one time builds.</para>
|
2006-06-22 00:26:07 +08:00
|
|
|
|
2005-12-18 14:09:14 +08:00
|
|
|
<para><parameter>--sysconfdir=/etc/kde</parameter>: This option places
|
|
|
|
configuration files in compliance with the <ulink
|
|
|
|
url='http://www.pathname.com/fhs/pub/fhs-2.3.html#ETCHOSTSPECIFICSYSTEMCONFIGURATION'
|
|
|
|
>Filesystem Hierarchy Standard</ulink>. If you omit this parameter, the
|
|
|
|
configuration files will be placed in <filename
|
|
|
|
class='directory'>$KDE_PREFIX/etc</filename> which may be desirable if
|
|
|
|
you have multiple versions of <application>KDE</application> installed.</para>
|
|
|
|
|
2005-05-08 17:31:51 +08:00
|
|
|
</sect2>
|
2005-05-31 00:18:15 +08:00
|
|
|
|
2005-05-08 17:31:51 +08:00
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
2004-08-12 13:26:30 +08:00
|
|
|
|
2005-05-08 17:31:51 +08:00
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
2005-05-31 00:18:15 +08:00
|
|
|
|
2005-05-08 17:31:51 +08:00
|
|
|
<seglistitem>
|
2006-01-05 05:10:47 +08:00
|
|
|
<seg>Numerous <application>KDE</application> support programs:
|
|
|
|
artsmessage, checkXML, cupsdconf, cupsdoprint, dcop, dcopclient,
|
|
|
|
dcopfind, dcopidl, dcopidl2cpp, dcopidlng, dcopobject, dcopquit,
|
|
|
|
dcopref, dcopserver, dcopserver_shutdown, dcopstart, filesharelist,
|
|
|
|
fileshareset, imagetops, kab2kabc, kaddprinterwizard, kbuildsycoca,
|
|
|
|
kcmshell, kconf_update, kconfig_compiler, kcookiejar, kde-config,
|
|
|
|
kde-menu, kded, kdeinit, kdeinit_shutdown, kdeinit_wrapper, kdesu_stub,
|
|
|
|
kdontchangethehostname, kdostartupconfig, kfile, kfmexec, kgrantpty,
|
|
|
|
khotnewstuff, kinstalltheme, kio_http_cache_cleaner, kio_uiserver,
|
|
|
|
kioexec, kioslave, klauncher, kmailservice, kpac_dhcp_helper,
|
|
|
|
ksendbugmail, kshell, kstartupconfig, ksvgtopng, ktelnetservice,
|
|
|
|
ktradertest, kunittestmodrunner, kwrapper, lnusertemp,
|
|
|
|
make_driver_db_cups, make_driver_db_lpr, makekdewidgets, meinproc,
|
2007-10-16 19:56:37 +08:00
|
|
|
preparetips, and start_kdeinit</seg>
|
2006-01-05 02:17:27 +08:00
|
|
|
<seg>Numerous <application>KDE</application> libraries and helper
|
|
|
|
modules</seg>
|
2006-01-05 05:10:47 +08:00
|
|
|
<seg>/etc/kde and the following subdirectories of &kde-dir;/:
|
2006-04-11 02:37:03 +08:00
|
|
|
include/{dnssd, dom, kabc, kate, kdeprint, kdesu, khexedit, kio, kjs,
|
2006-01-05 05:10:47 +08:00
|
|
|
kmdi, kmediaplayer, knewstuff, kparts, kresources, ksettings, kspell2,
|
2006-04-11 02:37:03 +08:00
|
|
|
ktexteditor, kunittest, libkmid}, lib/kde3, and share/{applications,
|
|
|
|
apps, autostart, config, doc, emoticons, icons, mimelnk, services} </seg>
|
2005-05-08 17:31:51 +08:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
2005-05-31 00:18:15 +08:00
|
|
|
|
2005-05-08 17:31:51 +08:00
|
|
|
<varlistentry id="kdelib-programs">
|
|
|
|
<term>KDE Support Programs</term>
|
|
|
|
<listitem>
|
2006-01-05 05:10:47 +08:00
|
|
|
<para>are essential support programs needed by other
|
2005-05-08 17:31:51 +08:00
|
|
|
<application>KDE</application> applications.</para>
|
|
|
|
<indexterm zone="kdelibs kdelib-programs">
|
|
|
|
<primary sortas="b-kdelib-programs">KDE Support Programs</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="kde-libraries">
|
|
|
|
<term>KDE Libraries</term>
|
|
|
|
<listitem>
|
2005-05-31 05:46:44 +08:00
|
|
|
<para>contain essential functions that are needed by
|
2005-05-08 17:31:51 +08:00
|
|
|
<application>KDE</application> applications.</para>
|
|
|
|
<indexterm zone="kdelibs kde-libraries">
|
|
|
|
<primary sortas="c-kde-libraries">kde-libraries</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2005-05-31 00:18:15 +08:00
|
|
|
|
2005-05-08 17:31:51 +08:00
|
|
|
</variablelist>
|
2004-08-12 13:26:30 +08:00
|
|
|
|
2005-05-08 17:31:51 +08:00
|
|
|
<para>The number of programs and libraries installed by
|
2005-05-31 05:46:44 +08:00
|
|
|
<application>kdelibs</application> prohibits an explanation of each one
|
2005-05-08 17:31:51 +08:00
|
|
|
in this section. Instead, see the <ulink url="http://docs.kde.org/">KDE
|
|
|
|
Documentation</ulink>.</para>
|
2004-06-13 16:05:17 +08:00
|
|
|
|
2005-05-08 17:31:51 +08:00
|
|
|
</sect2>
|
2004-05-20 22:41:01 +08:00
|
|
|
|
|
|
|
</sect1>
|