[0e25c32] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[632bfad] | 4 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
[0e25c32] | 5 | %general-entities;
|
---|
| 6 |
|
---|
[b291709] | 7 | <!ENTITY phonon-download-http "&kde-download-http;phonon/&phonon-version;/phonon-&phonon-version;.tar.xz">
|
---|
| 8 | <!ENTITY phonon-download-ftp " ">
|
---|
[d0881b75] | 9 | <!ENTITY phonon-md5sum "d3df5ba646e4b3f11623d998caa40e74">
|
---|
| 10 | <!ENTITY phonon-size "308 KB">
|
---|
| 11 | <!ENTITY phonon-buildsize "12 MB">
|
---|
[cf8bec7] | 12 | <!ENTITY phonon-time "0.2 SBU (Using parallelism=4)">
|
---|
[0e25c32] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="phonon" xreflabel="phonon-&phonon-version;">
|
---|
| 16 | <?dbhtml filename="phonon.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
| 19 | <title>Phonon-&phonon-version;</title>
|
---|
| 20 |
|
---|
| 21 | <indexterm zone="phonon">
|
---|
| 22 | <primary sortas="a-phonon">phonon</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to Phonon</title>
|
---|
| 27 |
|
---|
[1c8c15c] | 28 | <para>
|
---|
| 29 | <application>Phonon</application> is the multimedia API for KDE.
|
---|
| 30 | It replaces the old <application>aRts</application> package.
|
---|
| 31 | Phonon needs either the GStreamer or VLC backend.
|
---|
| 32 | </para>
|
---|
[0e25c32] | 33 |
|
---|
[3c3e6069] | 34 | &lfs113_checked;
|
---|
[0e25c32] | 35 |
|
---|
| 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
[1c8c15c] | 39 | <para>
|
---|
| 40 | Download (HTTP): <ulink url="&phonon-download-http;"/>
|
---|
| 41 | </para>
|
---|
[0e25c32] | 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
[1c8c15c] | 44 | <para>
|
---|
| 45 | Download (FTP): <ulink url="&phonon-download-ftp;"/>
|
---|
| 46 | </para>
|
---|
[0e25c32] | 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
[1c8c15c] | 49 | <para>
|
---|
| 50 | Download MD5 sum: &phonon-md5sum;
|
---|
| 51 | </para>
|
---|
[0e25c32] | 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
[1c8c15c] | 54 | <para>
|
---|
| 55 | Download size: &phonon-size;
|
---|
| 56 | </para>
|
---|
[0e25c32] | 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[1c8c15c] | 59 | <para>
|
---|
| 60 | Estimated disk space required: &phonon-buildsize;
|
---|
| 61 | </para>
|
---|
[0e25c32] | 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
[1c8c15c] | 64 | <para>
|
---|
| 65 | Estimated build time: &phonon-time;
|
---|
| 66 | </para>
|
---|
[0e25c32] | 67 | </listitem>
|
---|
| 68 | </itemizedlist>
|
---|
| 69 |
|
---|
| 70 | <bridgehead renderas="sect3">Phonon Dependencies</bridgehead>
|
---|
| 71 |
|
---|
| 72 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 73 | <para role="required">
|
---|
[d591de4] | 74 | <xref linkend="cmake"/>,
|
---|
[f0061d7] | 75 | <xref linkend="extra-cmake-modules"/>,
|
---|
[8e6f4f8] | 76 | <xref linkend="glib2"/>, and
|
---|
[b291709] | 77 | <xref linkend="qt5"/>
|
---|
[0e25c32] | 78 | </para>
|
---|
| 79 |
|
---|
[7e8a6bf] | 80 | <para role="required">
|
---|
| 81 | At least one of <xref linkend="phonon-backend-gstreamer" role="runtime"/>
|
---|
| 82 | or <xref linkend="phonon-backend-vlc" role="runtime"/> needs to be
|
---|
| 83 | installed afterwards for multimedia operation in
|
---|
| 84 | <application>KDE</application>.
|
---|
| 85 | </para>
|
---|
| 86 |
|
---|
[0e25c32] | 87 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 88 | <para role="optional">
|
---|
[b291709] | 89 | <xref linkend="pulseaudio"/>
|
---|
[0d7900a] | 90 | </para>
|
---|
| 91 |
|
---|
[0e25c32] | 92 |
|
---|
| 93 | </sect2>
|
---|
| 94 |
|
---|
| 95 | <sect2 role="installation">
|
---|
| 96 | <title>Installation of Phonon</title>
|
---|
[1c8c15c] | 97 | <para>
|
---|
| 98 | Install <application>Phonon</application> by
|
---|
| 99 | running the following commands:
|
---|
| 100 | </para>
|
---|
[632bfad] | 101 |
|
---|
[08f422e] | 102 | <screen><userinput>mkdir build &&
|
---|
[632bfad] | 103 | cd build &&
|
---|
| 104 |
|
---|
[c0f1ac2] | 105 | cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
| 106 | -DCMAKE_BUILD_TYPE=Release \
|
---|
| 107 | .. &&
|
---|
[632bfad] | 108 | make</userinput></screen>
|
---|
| 109 |
|
---|
[1c8c15c] | 110 | <para>
|
---|
| 111 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 112 | </para>
|
---|
[632bfad] | 113 |
|
---|
[0e25c32] | 114 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 115 |
|
---|
[a1dcfe0] | 116 | </sect2>
|
---|
| 117 |
|
---|
| 118 | <sect2 role="commands">
|
---|
| 119 | <title>Command Explanations</title>
|
---|
| 120 |
|
---|
[ba1e8dd] | 121 | <para>
|
---|
| 122 | <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used
|
---|
| 123 | to apply higher level of the compiler optimizations.
|
---|
| 124 | </para>
|
---|
[9e04432] | 125 | <!--
|
---|
[ba1e8dd] | 126 | <para>
|
---|
[8309bf4] | 127 | <parameter>-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=FALSE</parameter>:
|
---|
[ba1e8dd] | 128 | This switch ensures that the plugins and mkspecs files get installed in
|
---|
| 129 | the correct location.
|
---|
| 130 | </para>
|
---|
[c0f1ac2] | 131 |
|
---|
[632bfad] | 132 | <para>
|
---|
[f3429309] | 133 | <parameter>-DPHONON_BUILD_PHONON4QT5=ON</parameter>: This switch is used to
|
---|
| 134 | ensure that Qt5 version of the library is built even if Qt4 is present.
|
---|
[632bfad] | 135 | </para>
|
---|
[c0f1ac2] | 136 | -->
|
---|
[a1dcfe0] | 137 | </sect2>
|
---|
| 138 |
|
---|
[0e25c32] | 139 | <sect2 role="content">
|
---|
| 140 | <title>Contents</title>
|
---|
| 141 |
|
---|
| 142 | <segmentedlist>
|
---|
[ad41452] | 143 | <segtitle>Installed Programs</segtitle>
|
---|
[0e25c32] | 144 | <segtitle>Installed Libraries</segtitle>
|
---|
[ad41452] | 145 | <segtitle>Installed Directories</segtitle>
|
---|
[0e25c32] | 146 |
|
---|
| 147 | <seglistitem>
|
---|
[ba1e8dd] | 148 | <seg>
|
---|
[c0f1ac2] | 149 | phononsettings
|
---|
[ba1e8dd] | 150 | </seg>
|
---|
| 151 | <seg>
|
---|
[c0f1ac2] | 152 | libphonon4qt5.so and
|
---|
[632bfad] | 153 | libphonon4qt5experimental.so
|
---|
[ba1e8dd] | 154 | </seg>
|
---|
| 155 | <seg>
|
---|
[632bfad] | 156 | /usr/include/phonon4qt5,
|
---|
[ad43f32] | 157 | /usr/lib/cmake/phonon4qt5,
|
---|
| 158 | /usr/lib/plugins/designer, and
|
---|
[632bfad] | 159 | /usr/share/phonon4qt5
|
---|
[ba1e8dd] | 160 | </seg>
|
---|
[0e25c32] | 161 | </seglistitem>
|
---|
| 162 | </segmentedlist>
|
---|
[b4cc9a3] | 163 |
|
---|
[0e25c32] | 164 | </sect2>
|
---|
| 165 |
|
---|
| 166 | </sect1>
|
---|