glfs/kde/core/phonon.xml
Bruce Dubbs 3761d2f282 Removed automoc4 dependency from Polkit-Qt and Phonon
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@14395 af4574ff-66df-0310-9fd7-8a98e5e911e0
2014-09-26 03:24:22 +00:00

169 lines
5.2 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;/phonon-&phonon-version;.tar.xz">
<!ENTITY phonon-download-ftp "&kde-download-ftp;phonon/&phonon-version;/phonon-&phonon-version;.tar.xz">
<!ENTITY phonon-md5sum "30af25af0bf28f3ce462f39b0a6e4081">
<!ENTITY phonon-size "314 KB">
<!ENTITY phonon-buildsize "10.5 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>
&lfs76_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>
<note><para>If you have both Qt4 and Qt5 installed, be sure to run
<userinput>source setqt4</userinput> before installing Phonon.
</para></note>
<para>Install <application>Phonon</application> by running the following
commands:</para>
<!-- CMAKE_INSTALL_LIBDIR is used so the package doesn't write over lib64 symlink on 64 bit system -->
<screen><userinput>mkdir build &amp;&amp;
cd build &amp;&amp;
cmake -DCMAKE_INSTALL_PREFIX=&kde-dir; \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_LIBDIR=lib \
-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=FALSE \
-DDBUS_INTERFACES_INSTALL_DIR=/usr/share/dbus-1/interfaces \
-Wno-dev .. &amp;&amp;
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>
<parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used
to apply higher level of the compiler optimizations.
</para>
<para>
<parameter>-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=FALSE</parameter>:
This switch ensures that the plugins and mkspecs files get installed in
the correct location.
</para>
<para>
<parameter>-DDBUS_INTERFACES_INSTALL_DIR=/usr/share/dbus-1/interfaces</parameter>:
This switch sets the correct installation path for the
<application>D-Bus</application> interfaces file.
</para>
<!--
<para>
<option>-DPHONON_BUILD_PHONON4QT5=ON</option>: Use this switch if you want to
build <application>Phonon</application> against <application>Qt5</application>.
Note that both <application>Qt4</application> and <application>Qt5</application>
versions can be installed at the same time without any conflicts.
</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>
&kde-dir;/include/KDE/Phonon,
&kde-dir;/include/phonon, and
&kde-dir;/share/phonon
</seg>
</seglistitem>
</segmentedlist>
</sect2>
</sect1>