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