[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 | <para condition="html" role="usernotes">User Notes:
|
---|
| 93 | <ulink url="&blfs-wiki;/phonon"/></para>
|
---|
| 94 |
|
---|
| 95 | </sect2>
|
---|
| 96 |
|
---|
| 97 | <sect2 role="installation">
|
---|
| 98 | <title>Installation of Phonon</title>
|
---|
[1c8c15c] | 99 | <para>
|
---|
| 100 | Install <application>Phonon</application> by
|
---|
| 101 | running the following commands:
|
---|
| 102 | </para>
|
---|
[632bfad] | 103 |
|
---|
[08f422e] | 104 | <screen><userinput>mkdir build &&
|
---|
[632bfad] | 105 | cd build &&
|
---|
| 106 |
|
---|
[c0f1ac2] | 107 | cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
| 108 | -DCMAKE_BUILD_TYPE=Release \
|
---|
| 109 | .. &&
|
---|
[632bfad] | 110 | make</userinput></screen>
|
---|
| 111 |
|
---|
[1c8c15c] | 112 | <para>
|
---|
| 113 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 114 | </para>
|
---|
[632bfad] | 115 |
|
---|
[0e25c32] | 116 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 117 |
|
---|
[a1dcfe0] | 118 | </sect2>
|
---|
| 119 |
|
---|
| 120 | <sect2 role="commands">
|
---|
| 121 | <title>Command Explanations</title>
|
---|
| 122 |
|
---|
[ba1e8dd] | 123 | <para>
|
---|
| 124 | <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used
|
---|
| 125 | to apply higher level of the compiler optimizations.
|
---|
| 126 | </para>
|
---|
[9e04432] | 127 | <!--
|
---|
[ba1e8dd] | 128 | <para>
|
---|
[8309bf4] | 129 | <parameter>-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=FALSE</parameter>:
|
---|
[ba1e8dd] | 130 | This switch ensures that the plugins and mkspecs files get installed in
|
---|
| 131 | the correct location.
|
---|
| 132 | </para>
|
---|
[c0f1ac2] | 133 |
|
---|
[632bfad] | 134 | <para>
|
---|
[f3429309] | 135 | <parameter>-DPHONON_BUILD_PHONON4QT5=ON</parameter>: This switch is used to
|
---|
| 136 | ensure that Qt5 version of the library is built even if Qt4 is present.
|
---|
[632bfad] | 137 | </para>
|
---|
[c0f1ac2] | 138 | -->
|
---|
[a1dcfe0] | 139 | </sect2>
|
---|
| 140 |
|
---|
[0e25c32] | 141 | <sect2 role="content">
|
---|
| 142 | <title>Contents</title>
|
---|
| 143 |
|
---|
| 144 | <segmentedlist>
|
---|
[ad41452] | 145 | <segtitle>Installed Programs</segtitle>
|
---|
[0e25c32] | 146 | <segtitle>Installed Libraries</segtitle>
|
---|
[ad41452] | 147 | <segtitle>Installed Directories</segtitle>
|
---|
[0e25c32] | 148 |
|
---|
| 149 | <seglistitem>
|
---|
[ba1e8dd] | 150 | <seg>
|
---|
[c0f1ac2] | 151 | phononsettings
|
---|
[ba1e8dd] | 152 | </seg>
|
---|
| 153 | <seg>
|
---|
[c0f1ac2] | 154 | libphonon4qt5.so and
|
---|
[632bfad] | 155 | libphonon4qt5experimental.so
|
---|
[ba1e8dd] | 156 | </seg>
|
---|
| 157 | <seg>
|
---|
[632bfad] | 158 | /usr/include/phonon4qt5,
|
---|
[ad43f32] | 159 | /usr/lib/cmake/phonon4qt5,
|
---|
| 160 | /usr/lib/plugins/designer, and
|
---|
[632bfad] | 161 | /usr/share/phonon4qt5
|
---|
[ba1e8dd] | 162 | </seg>
|
---|
[0e25c32] | 163 | </seglistitem>
|
---|
| 164 | </segmentedlist>
|
---|
[b4cc9a3] | 165 |
|
---|
[0e25c32] | 166 | </sect2>
|
---|
| 167 |
|
---|
| 168 | </sect1>
|
---|