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