[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" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[965ffe1] | 7 | <!ENTITY phonon-download-http "&kde-download-http;phonon/&phonon-version;/phonon-&phonon-version;.tar.xz">
|
---|
| 8 | <!ENTITY phonon-download-ftp "&kde-download-ftp;phonon/&phonon-version;/phonon-&phonon-version;.tar.xz">
|
---|
[a0353ea] | 9 | <!ENTITY phonon-md5sum "a8b722a11a301fc2cda7ff8228209531">
|
---|
| 10 | <!ENTITY phonon-size "324 KB">
|
---|
| 11 | <!ENTITY phonon-buildsize "10.5 MB">
|
---|
[a1dcfe0] | 12 | <!ENTITY phonon-time "0.5 SBU">
|
---|
[0e25c32] | 13 | ]>
|
---|
| 14 |
|
---|
[c1b61c6] | 15 | <sect1 id="phonon" xreflabel="Phonon-&phonon-version;">
|
---|
[0e25c32] | 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">
|
---|
[c1b61c6] | 26 | <primary sortas="a-Phonon">Phonon</primary>
|
---|
[0e25c32] | 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Phonon</title>
|
---|
| 31 |
|
---|
| 32 | <para><application>Phonon</application> is the multimedia API for KDE4.
|
---|
[8569196] | 33 | It replaces the old <application>aRts</application>, that is no longer
|
---|
[2a7334e8] | 34 | supported by KDE. Phonon needs either the GStreamer or VLC backend.</para>
|
---|
[0e25c32] | 35 |
|
---|
[c1b61c6] | 36 | &lfs76_checked;
|
---|
[0e25c32] | 37 |
|
---|
| 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (HTTP): <ulink url="&phonon-download-http;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (FTP): <ulink url="&phonon-download-ftp;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download MD5 sum: &phonon-md5sum;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download size: &phonon-size;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated disk space required: &phonon-buildsize;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated build time: &phonon-time;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | </itemizedlist>
|
---|
| 59 |
|
---|
| 60 | <bridgehead renderas="sect3">Phonon Dependencies</bridgehead>
|
---|
| 61 |
|
---|
| 62 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 63 | <para role="required">
|
---|
[ba1e8dd] | 64 | <xref linkend="automoc4"/> and
|
---|
| 65 | <xref linkend="glib2"/>
|
---|
[0e25c32] | 66 | </para>
|
---|
| 67 |
|
---|
| 68 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 69 | <para role="optional">
|
---|
[ba1e8dd] | 70 | <xref linkend="pulseaudio"/>,
|
---|
[c1b61c6] | 71 | <xref linkend="qt5"/>, and
|
---|
[ba1e8dd] | 72 | <ulink url="http://projects.kde.org/projects/kdesupport/libqzeitgeist/">QZeitgeist</ulink>
|
---|
[0d7900a] | 73 | </para>
|
---|
| 74 |
|
---|
[0e25c32] | 75 | <para condition="html" role="usernotes">User Notes:
|
---|
| 76 | <ulink url="&blfs-wiki;/phonon"/></para>
|
---|
| 77 |
|
---|
| 78 | </sect2>
|
---|
| 79 |
|
---|
| 80 | <sect2 role="installation">
|
---|
| 81 | <title>Installation of Phonon</title>
|
---|
| 82 |
|
---|
[7af92fe5] | 83 | <para>Make sure that <xref linkend="qt4"/> is compiled without the bundled
|
---|
[0e25c32] | 84 | <application>Phonon</application> library. This package provides
|
---|
| 85 | a better implementation.</para>
|
---|
[0d7900a] | 86 |
|
---|
[c1b61c6] | 87 | <para>
|
---|
| 88 | First, silence a lot of warnings caused by using the latest toolchain
|
---|
| 89 | by running the following command:
|
---|
| 90 | </para>
|
---|
| 91 |
|
---|
| 92 | <screen><userinput>sed -i "s:BSD_SOURCE:DEFAULT_SOURCE:g" cmake/FindPhononInternal.cmake</userinput></screen>
|
---|
| 93 |
|
---|
[0e25c32] | 94 | <para>Install <application>Phonon</application> by running the following
|
---|
| 95 | commands:</para>
|
---|
| 96 |
|
---|
[ba1e8dd] | 97 | <!-- CMAKE_INSTALL_LIBDIR is used so the package doesn't write over lib64 symlink on 64 bit system -->
|
---|
[0e25c32] | 98 | <screen><userinput>mkdir build &&
|
---|
[18c9ee54] | 99 | cd build &&
|
---|
| 100 |
|
---|
[7125a66] | 101 | cmake -DCMAKE_INSTALL_PREFIX=&kde-dir; \
|
---|
[b4cc9a3] | 102 | -DCMAKE_BUILD_TYPE=Release \
|
---|
[ba1e8dd] | 103 | -DCMAKE_INSTALL_LIBDIR=lib \
|
---|
[7125a66] | 104 | -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=FALSE \
|
---|
[97c713e] | 105 | -Wno-dev .. &&
|
---|
[0e25c32] | 106 | make</userinput></screen>
|
---|
| 107 |
|
---|
| 108 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 109 |
|
---|
| 110 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 111 |
|
---|
[a1dcfe0] | 112 | </sect2>
|
---|
| 113 |
|
---|
| 114 | <sect2 role="commands">
|
---|
| 115 | <title>Command Explanations</title>
|
---|
| 116 |
|
---|
[ba1e8dd] | 117 | <para>
|
---|
| 118 | <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used
|
---|
| 119 | to apply higher level of the compiler optimizations.
|
---|
| 120 | </para>
|
---|
| 121 |
|
---|
| 122 | <para>
|
---|
[7125a66] | 123 | <parameter>-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=FALSE</parameter>:
|
---|
[ba1e8dd] | 124 | This switch ensures that the plugins and mkspecs files get installed in
|
---|
| 125 | the correct location.
|
---|
| 126 | </para>
|
---|
[b4cc9a3] | 127 |
|
---|
[ba1e8dd] | 128 | <para>
|
---|
| 129 | <option>-DPHONON_BUILD_PHONON4QT5=ON</option>: Use this switch if you want to
|
---|
| 130 | build <application>Phonon</application> against <application>Qt5</application>.
|
---|
| 131 | Note that both <application>Qt4</application> and <application>Qt5</application>
|
---|
| 132 | versions can be installed at the same time without any conflicts.
|
---|
[3ddb430] | 133 | </para>
|
---|
| 134 |
|
---|
[a1dcfe0] | 135 | </sect2>
|
---|
| 136 |
|
---|
[0e25c32] | 137 | <sect2 role="content">
|
---|
| 138 | <title>Contents</title>
|
---|
| 139 |
|
---|
| 140 | <segmentedlist>
|
---|
[ad41452] | 141 | <segtitle>Installed Programs</segtitle>
|
---|
[0e25c32] | 142 | <segtitle>Installed Libraries</segtitle>
|
---|
[ad41452] | 143 | <segtitle>Installed Directories</segtitle>
|
---|
[0e25c32] | 144 |
|
---|
| 145 | <seglistitem>
|
---|
[ba1e8dd] | 146 | <seg>
|
---|
| 147 | None
|
---|
| 148 | </seg>
|
---|
| 149 | <seg>
|
---|
| 150 | libphonon.so and
|
---|
| 151 | libphononexperimental.so
|
---|
| 152 | </seg>
|
---|
| 153 | <seg>
|
---|
[baf442b0] | 154 | &kde-dir;/include/KDE/Phonon,
|
---|
| 155 | &kde-dir;/include/phonon, and
|
---|
| 156 | &kde-dir;/share/phonon
|
---|
[ba1e8dd] | 157 | </seg>
|
---|
[0e25c32] | 158 | </seglistitem>
|
---|
| 159 | </segmentedlist>
|
---|
[b4cc9a3] | 160 |
|
---|
[0e25c32] | 161 | </sect2>
|
---|
| 162 |
|
---|
| 163 | </sect1>
|
---|