mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-06 09:07:30 +08:00
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@8870 af4574ff-66df-0310-9fd7-8a98e5e911e0
180 lines
5.8 KiB
XML
180 lines
5.8 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY kde4libs-download-http "&kde4-download-http;/kdelibs-&kde4-version;.tar.bz2">
|
|
<!ENTITY kde4libs-download-ftp "&kde4-download-ftp;/kdelibs-&kde4-version;.tar.bz2">
|
|
<!ENTITY kde4libs-md5sum "9ee32f375809a42a4a8d512bd06a612b">
|
|
<!ENTITY kde4libs-size "1.3 MB">
|
|
<!ENTITY kde4libs-buildsize "1.2 GB">
|
|
<!ENTITY kde4libs-time "21.4 SBU">
|
|
]>
|
|
|
|
<sect1 id="kde4libs" xreflabel="kde4libs-&kde4-version;">
|
|
<?dbhtml filename="kde4libs.html"?>
|
|
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
|
|
<title>Kdelibs-&kde4-version;</title>
|
|
|
|
<indexterm zone="kde4libs">
|
|
<primary sortas="a-kde4libs">kde4libs</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to Kdelibs</title>
|
|
|
|
<para>This package includes programs and libraries that
|
|
are central to development and execution of KDE programs.</para>
|
|
|
|
&lfs67_checked;
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>Download (HTTP): <ulink url="&kde4libs-download-http;"/></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download (FTP): <ulink url="&kde4libs-download-ftp;"/></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download MD5 sum: &kde4libs-md5sum;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download size: &kde4libs-size;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Estimated disk space required: &kde4libs-buildsize;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Estimated build time: &kde4libs-time;</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<!--
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
<itemizedlist spacing='compact'>
|
|
<listitem>
|
|
<para>Required patch: <ulink
|
|
url="&patch-root;/kde4libs-&kdelibs-version;-fixes-1.patch"/></para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
-->
|
|
<bridgehead renderas="sect3">Kdelibs Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
<para role="required">
|
|
<xref linkend="attica"/>,
|
|
<xref linkend="soprano"/>,
|
|
<xref linkend="strigi"/>
|
|
<xref linkend="qca"/>,
|
|
<xref linkend="libdbusmenu-qt"/>
|
|
</para>
|
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
|
<para role="recommended">
|
|
<xref linkend="shared-desktop-ontologies"/>,
|
|
<xref linkend="polkit-qt"/>
|
|
</para>
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
<para role="optional">
|
|
<xref linkend="xz-utils"/>,
|
|
<xref linkend="gamin"/> (or FAM),
|
|
<xref linkend="avahi"/>,
|
|
<ulink url="http://www.openexr.com/">OpenEXR</ulink>,
|
|
<xref linkend="jasper"/>,
|
|
<xref linkend="libart_lgpl"/>
|
|
<xref linkend="openssl"/>, <xref linkend="acl"/>, GSSAPI, Aspell, Hspell, Enchant, DNSSD
|
|
</para>
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
<ulink url="&blfs-wiki;/kde4libs"/>
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of Kdelibs</title>
|
|
|
|
<para>Install <application>Kdelibs</application> by running the following
|
|
commands:</para>
|
|
|
|
<screen><userinput>mkdir build &&
|
|
cd build</userinput></screen>
|
|
|
|
<para>Prepare the package for compilation:</para>
|
|
|
|
<screen><userinput>cmake -DCMAKE_INSTALL_PREFIX=$&kde4-dir-var; \
|
|
-DCMAKE_PREFIX_PATH=$&kde4-dir-var; \
|
|
-DKDE_DEFAULT_HOME=.kde4 \
|
|
-DSYSCONF_INSTALL_DIR=/etc/kde4 \
|
|
-DDOCBOOKXML_CURRENTDTD_DIR=/usr/share/xml/docbook/xml-dtd-&DocBook-version; \
|
|
.. &&
|
|
make</userinput></screen>
|
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<para><option>-DKDE_DEFAULT_HOME=.kde4</option>: This option is set to
|
|
avoid clashes with a KDE3 installation on the same machine.</para>
|
|
|
|
<para><option>-DPYTHON_SITE_PACKAGES_DIR:PATH=<site-packages></option>: If you do not install KDE in /usr, set this option in order to have the KDE4
|
|
Python objects installed correctly. You can use following code to determine tha directory name:
|
|
<screen><userinput>_pylibdir=$(python-config --prefix)/lib &&
|
|
_pyversion=$(python -V 2>&1 | awk '{print $2}') &&
|
|
echo "$_pylibdir/python${_pyversion%.*}/site-packages"</userinput></screen>
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Program</segtitle>
|
|
<segtitle>Installed Libraries</segtitle>
|
|
<segtitle>Installed Directory</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>checkXML, kbuildsycoca4, kconfig_compiler, kcookiejar4, kde4-config,
|
|
kded4, kdeinit4, kdeinit4_shutdown, kdeinit4_wrapper, kjs, kjscmd, kross,
|
|
kshell4, kunittestmodrunner, kwrapper4, makekdewidgets, meinproc4,
|
|
meinproc_simple, nepomuk-rcgen and preparetips</seg>
|
|
<seg>several libs in &kde4-dir;/lib</seg>
|
|
<seg>/etc/kde4</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
<!--
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="a-kde4libs">
|
|
<term><command>kde4libs</command></term>
|
|
<listitem>
|
|
<para>is a testing utility for kde4libs-generated build trees.</para>
|
|
<indexterm zone="a-kde4libs kde4libs">
|
|
<primary sortas="b-kde4libs">kdelibs</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
-->
|
|
</sect2>
|
|
|
|
</sect1>
|