mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
b4cc9a363a
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@12136 af4574ff-66df-0310-9fd7-8a98e5e911e0
139 lines
4.3 KiB
XML
139 lines
4.3 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 phonon-download-http "&kde-download-http;phonon/&phonon-version;/src/phonon-&phonon-version;.tar.xz">
|
|
<!ENTITY phonon-download-ftp "&kde-download-ftp;phonon/&phonon-version;/src/phonon-&phonon-version;.tar.xz">
|
|
<!ENTITY phonon-md5sum "f5c1a847ac8ae73e67bf762199978278">
|
|
<!ENTITY phonon-size "322 KB">
|
|
<!ENTITY phonon-buildsize "7.4 MB">
|
|
<!ENTITY phonon-time "0.5 SBU">
|
|
]>
|
|
|
|
<sect1 id="phonon" xreflabel="phonon-&phonon-version;">
|
|
<?dbhtml filename="phonon.html"?>
|
|
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
|
|
<title>Phonon-&phonon-version;</title>
|
|
|
|
<indexterm zone="phonon">
|
|
<primary sortas="a-phonon">phonon</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to Phonon</title>
|
|
|
|
<para><application>Phonon</application> is the multimedia API for KDE4.
|
|
It replaces the old <application>aRts</application>, that is no longer
|
|
supported by KDE. Phonon needs either the GStreamer or VLC backend.</para>
|
|
|
|
&lfs74_checked;
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>Download (HTTP): <ulink url="&phonon-download-http;"/></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download (FTP): <ulink url="&phonon-download-ftp;"/></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download MD5 sum: &phonon-md5sum;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download size: &phonon-size;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Estimated disk space required: &phonon-buildsize;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Estimated build time: &phonon-time;</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect3">Phonon Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
<para role="required">
|
|
<xref linkend="automoc4"/> and
|
|
<xref linkend="glib2"/>
|
|
</para>
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
<para role="optional">
|
|
<xref linkend='pulseaudio'/> and
|
|
<ulink url="http://projects.kde.org/projects/kdesupport/libqzeitgeist/">QZeitgeist</ulink>
|
|
</para>
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
<ulink url="&blfs-wiki;/phonon"/></para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of Phonon</title>
|
|
|
|
<para>Make sure that <xref linkend="qt4"/> is compiled without the bundled
|
|
<application>Phonon</application> library. This package provides
|
|
a better implementation.</para>
|
|
|
|
<para>Install <application>Phonon</application> by running the following
|
|
commands:</para>
|
|
|
|
<screen><userinput>mkdir build &&
|
|
cd build &&
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=&qt4-dir; \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=TRUE \
|
|
-DDBUS_INTERFACES_INSTALL_DIR=/usr/share/dbus-1/interfaces \
|
|
.. &&
|
|
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>-DCMAKE_BUILD_TYPE=Release</option>: This switch is used to apply
|
|
higher level of compiler optimizations.</para>
|
|
|
|
<para><option>-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=TRUE</option>:
|
|
This option ensures that the plugins and mkspecs files get installed in
|
|
the correct location.</para>
|
|
|
|
<para><option>-DDBUS_INTERFACES_INSTALL_DIR=/usr/share/dbus-1/interfaces</option>:
|
|
This option sets the correct installation path for a D-Bus interfaces file.
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Libraries</segtitle>
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>none</seg>
|
|
<seg>libphonon.so and libphononexperimental.so</seg>
|
|
<seg>none</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|