[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[0e25c32] | 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 " ">
|
---|
[3909fa1] | 9 | <!ENTITY phonon-md5sum "e80e9c73967080016bdb3c0ee514ceab">
|
---|
| 10 | <!ENTITY phonon-size "400 KB">
|
---|
| 11 | <!ENTITY phonon-buildsize "23 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.
|
---|
[00fd47c] | 31 | Phonon needs the VLC backend.
|
---|
[1c8c15c] | 32 | </para>
|
---|
[0e25c32] | 33 |
|
---|
[bbedebd] | 34 | &lfs122_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
|
---|
[b60f1ce] | 77 | <xref linkend="qt6"/>
|
---|
[0e25c32] | 78 | </para>
|
---|
| 79 |
|
---|
[7e8a6bf] | 80 | <para role="required">
|
---|
[3909fa1] | 81 | <xref linkend="phonon-backend-vlc" role="runtime"/> needs to be
|
---|
[7e8a6bf] | 82 | installed afterwards for multimedia operation in
|
---|
| 83 | <application>KDE</application>.
|
---|
| 84 | </para>
|
---|
| 85 |
|
---|
[0e25c32] | 86 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 87 | <para role="optional">
|
---|
[b291709] | 88 | <xref linkend="pulseaudio"/>
|
---|
[0d7900a] | 89 | </para>
|
---|
| 90 |
|
---|
[0e25c32] | 91 |
|
---|
| 92 | </sect2>
|
---|
| 93 |
|
---|
| 94 | <sect2 role="installation">
|
---|
| 95 | <title>Installation of Phonon</title>
|
---|
[1c8c15c] | 96 | <para>
|
---|
| 97 | Install <application>Phonon</application> by
|
---|
| 98 | running the following commands:
|
---|
| 99 | </para>
|
---|
[632bfad] | 100 |
|
---|
[08f422e] | 101 | <screen><userinput>mkdir build &&
|
---|
[632bfad] | 102 | cd build &&
|
---|
| 103 |
|
---|
[4304a5f] | 104 | cmake -D CMAKE_INSTALL_PREFIX=/usr \
|
---|
| 105 | -D CMAKE_BUILD_TYPE=Release \
|
---|
| 106 | -W no-dev .. &&
|
---|
[632bfad] | 107 | make</userinput></screen>
|
---|
| 108 |
|
---|
[1c8c15c] | 109 | <para>
|
---|
| 110 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 111 | </para>
|
---|
[632bfad] | 112 |
|
---|
[0e25c32] | 113 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 114 |
|
---|
[a1dcfe0] | 115 | </sect2>
|
---|
| 116 |
|
---|
| 117 | <sect2 role="commands">
|
---|
| 118 | <title>Command Explanations</title>
|
---|
| 119 |
|
---|
[ba1e8dd] | 120 | <para>
|
---|
[4304a5f] | 121 | <parameter>-D CMAKE_BUILD_TYPE=Release</parameter>: This switch is used
|
---|
[ba1e8dd] | 122 | to apply higher level of the compiler optimizations.
|
---|
| 123 | </para>
|
---|
[3909fa1] | 124 |
|
---|
[a1dcfe0] | 125 | </sect2>
|
---|
| 126 |
|
---|
[0e25c32] | 127 | <sect2 role="content">
|
---|
| 128 | <title>Contents</title>
|
---|
| 129 |
|
---|
| 130 | <segmentedlist>
|
---|
[ad41452] | 131 | <segtitle>Installed Programs</segtitle>
|
---|
[0e25c32] | 132 | <segtitle>Installed Libraries</segtitle>
|
---|
[ad41452] | 133 | <segtitle>Installed Directories</segtitle>
|
---|
[0e25c32] | 134 |
|
---|
| 135 | <seglistitem>
|
---|
[ba1e8dd] | 136 | <seg>
|
---|
[c0f1ac2] | 137 | phononsettings
|
---|
[ba1e8dd] | 138 | </seg>
|
---|
| 139 | <seg>
|
---|
[834293c] | 140 | libphonon4qt6.so and
|
---|
| 141 | libphonon4qt6experimental.so
|
---|
[ba1e8dd] | 142 | </seg>
|
---|
| 143 | <seg>
|
---|
[834293c] | 144 | /usr/include/phonon4qt6,
|
---|
| 145 | /usr/lib/cmake/phonon4qt6, and
|
---|
[3909fa1] | 146 | /usr/lib/plugins/designer
|
---|
[ba1e8dd] | 147 | </seg>
|
---|
[0e25c32] | 148 | </seglistitem>
|
---|
| 149 | </segmentedlist>
|
---|
[b4cc9a3] | 150 |
|
---|
[0e25c32] | 151 | </sect2>
|
---|
| 152 |
|
---|
| 153 | </sect1>
|
---|