2011-03-10 04:39:52 +08:00
|
|
|
<?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;
|
|
|
|
|
2014-12-06 06:08:45 +08:00
|
|
|
<!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 "88bb9867261803eed61ff53a7c026338">
|
2014-10-20 06:59:00 +08:00
|
|
|
<!ENTITY phonon-size "316 KB">
|
2014-12-06 06:08:45 +08:00
|
|
|
<!ENTITY phonon-buildsize "11.7 MB">
|
2014-10-20 06:59:00 +08:00
|
|
|
<!ENTITY phonon-time "0.4 SBU">
|
2011-03-10 04:39:52 +08:00
|
|
|
]>
|
|
|
|
|
|
|
|
<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.
|
2012-03-10 05:30:50 +08:00
|
|
|
It replaces the old <application>aRts</application>, that is no longer
|
2012-08-08 23:38:30 +08:00
|
|
|
supported by KDE. Phonon needs either the GStreamer or VLC backend.</para>
|
2011-03-10 04:39:52 +08:00
|
|
|
|
2015-05-13 07:45:36 +08:00
|
|
|
&lfs77_checked; &gcc5_checked;
|
2011-03-10 04:39:52 +08:00
|
|
|
|
|
|
|
<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">
|
2014-09-26 11:24:22 +08:00
|
|
|
<!--<xref linkend="automoc4"/> and-->
|
2015-01-11 02:45:03 +08:00
|
|
|
<xref linkend="cmake"/>,
|
2014-12-30 22:19:09 +08:00
|
|
|
<xref linkend="glib2"/> and
|
2014-12-30 03:14:35 +08:00
|
|
|
<xref linkend="qt4"/>
|
2011-03-10 04:39:52 +08:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
|
|
<para role="optional">
|
2014-12-30 03:14:35 +08:00
|
|
|
<xref linkend="pulseaudio"/>,
|
|
|
|
<xref linkend="qt5"/> and
|
2014-01-03 22:45:45 +08:00
|
|
|
<ulink url="http://projects.kde.org/projects/kdesupport/libqzeitgeist/">QZeitgeist</ulink>
|
2013-02-12 02:51:17 +08:00
|
|
|
</para>
|
|
|
|
|
2011-03-10 04:39:52 +08:00
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
|
|
<ulink url="&blfs-wiki;/phonon"/></para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of Phonon</title>
|
|
|
|
|
2013-06-03 03:23:30 +08:00
|
|
|
<para>Make sure that <xref linkend="qt4"/> is compiled without the bundled
|
2011-03-10 04:39:52 +08:00
|
|
|
<application>Phonon</application> library. This package provides
|
|
|
|
a better implementation.</para>
|
2013-02-12 02:51:17 +08:00
|
|
|
|
2014-09-11 03:10:00 +08:00
|
|
|
<note><para>If you have both Qt4 and Qt5 installed, be sure to run
|
|
|
|
<userinput>source setqt4</userinput> before installing Phonon.
|
|
|
|
</para></note>
|
|
|
|
|
2011-03-10 04:39:52 +08:00
|
|
|
<para>Install <application>Phonon</application> by running the following
|
|
|
|
commands:</para>
|
|
|
|
|
2014-01-03 22:45:45 +08:00
|
|
|
<!-- CMAKE_INSTALL_LIBDIR is used so the package doesn't write over lib64 symlink on 64 bit system -->
|
2011-03-10 04:39:52 +08:00
|
|
|
<screen><userinput>mkdir build &&
|
2013-08-27 01:26:25 +08:00
|
|
|
cd build &&
|
|
|
|
|
2014-12-30 03:14:35 +08:00
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=&kde-dir; \
|
2014-10-20 06:59:00 +08:00
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
|
|
-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=FALSE \
|
2012-09-16 00:55:06 +08:00
|
|
|
-DDBUS_INTERFACES_INSTALL_DIR=/usr/share/dbus-1/interfaces \
|
2014-02-28 12:59:01 +08:00
|
|
|
-Wno-dev .. &&
|
2011-03-10 04:39:52 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
|
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
|
2012-03-01 04:56:46 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
2014-01-03 22:45:45 +08:00
|
|
|
<para>
|
|
|
|
<parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used
|
|
|
|
to apply higher level of the compiler optimizations.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2014-07-23 01:55:07 +08:00
|
|
|
<parameter>-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=FALSE</parameter>:
|
2014-01-03 22:45:45 +08:00
|
|
|
This switch ensures that the plugins and mkspecs files get installed in
|
|
|
|
the correct location.
|
|
|
|
</para>
|
2013-11-06 01:25:06 +08:00
|
|
|
|
2014-01-03 22:45:45 +08:00
|
|
|
<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>
|
2012-03-01 04:56:46 +08:00
|
|
|
|
2014-09-11 03:10:00 +08:00
|
|
|
<!--
|
2014-01-03 22:45:45 +08:00
|
|
|
<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.
|
2012-09-16 00:55:06 +08:00
|
|
|
</para>
|
2014-09-11 03:10:00 +08:00
|
|
|
-->
|
2012-09-16 00:55:06 +08:00
|
|
|
|
2012-03-01 04:56:46 +08:00
|
|
|
</sect2>
|
|
|
|
|
2011-03-10 04:39:52 +08:00
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
2012-04-16 01:19:58 +08:00
|
|
|
<segtitle>Installed Programs</segtitle>
|
2011-03-10 04:39:52 +08:00
|
|
|
<segtitle>Installed Libraries</segtitle>
|
2012-04-16 01:19:58 +08:00
|
|
|
<segtitle>Installed Directories</segtitle>
|
2011-03-10 04:39:52 +08:00
|
|
|
|
|
|
|
<seglistitem>
|
2014-01-03 22:45:45 +08:00
|
|
|
<seg>
|
|
|
|
None
|
|
|
|
</seg>
|
|
|
|
<seg>
|
|
|
|
libphonon.so and
|
|
|
|
libphononexperimental.so
|
|
|
|
</seg>
|
|
|
|
<seg>
|
2014-07-27 10:17:12 +08:00
|
|
|
&kde-dir;/include/KDE/Phonon,
|
2014-11-06 22:38:42 +08:00
|
|
|
&kde-dir;/include/phonon,
|
|
|
|
&kde-dir;/lib/cmake/phonon, and
|
2014-07-27 10:17:12 +08:00
|
|
|
&kde-dir;/share/phonon
|
2014-01-03 22:45:45 +08:00
|
|
|
</seg>
|
2011-03-10 04:39:52 +08:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
2013-11-06 01:25:06 +08:00
|
|
|
|
2011-03-10 04:39:52 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
</sect1>
|