[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 |
|
---|
[5bebacd] | 7 | <!ENTITY phonon-download-http "&kde-download-http;phonon/&phonon-version;/src/phonon-&phonon-version;.tar.xz">
|
---|
| 8 | <!ENTITY phonon-download-ftp "&kde-download-ftp;phonon/&phonon-version;/src/phonon-&phonon-version;.tar.xz">
|
---|
| 9 | <!ENTITY phonon-md5sum "88bb9867261803eed61ff53a7c026338">
|
---|
[a911ae7] | 10 | <!ENTITY phonon-size "316 KB">
|
---|
[5bebacd] | 11 | <!ENTITY phonon-buildsize "11.7 MB">
|
---|
[a911ae7] | 12 | <!ENTITY phonon-time "0.4 SBU">
|
---|
[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 |
|
---|
| 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 |
|
---|
[5884838] | 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">
|
---|
[3761d2f] | 64 | <!--<xref linkend="automoc4"/> and-->
|
---|
[a2d2f0c] | 65 | <xref linkend="glib2"/> and
|
---|
[2aae58ff] | 66 | <xref linkend="qt4"/>
|
---|
[0e25c32] | 67 | </para>
|
---|
| 68 |
|
---|
| 69 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 70 | <para role="optional">
|
---|
[2aae58ff] | 71 | <xref linkend="pulseaudio"/>,
|
---|
| 72 | <xref linkend="qt5"/> and
|
---|
[ba1e8dd] | 73 | <ulink url="http://projects.kde.org/projects/kdesupport/libqzeitgeist/">QZeitgeist</ulink>
|
---|
[0d7900a] | 74 | </para>
|
---|
| 75 |
|
---|
[0e25c32] | 76 | <para condition="html" role="usernotes">User Notes:
|
---|
| 77 | <ulink url="&blfs-wiki;/phonon"/></para>
|
---|
| 78 |
|
---|
| 79 | </sect2>
|
---|
| 80 |
|
---|
| 81 | <sect2 role="installation">
|
---|
| 82 | <title>Installation of Phonon</title>
|
---|
| 83 |
|
---|
[7af92fe5] | 84 | <para>Make sure that <xref linkend="qt4"/> is compiled without the bundled
|
---|
[0e25c32] | 85 | <application>Phonon</application> library. This package provides
|
---|
| 86 | a better implementation.</para>
|
---|
[0d7900a] | 87 |
|
---|
[5884838] | 88 | <note><para>If you have both Qt4 and Qt5 installed, be sure to run
|
---|
| 89 | <userinput>source setqt4</userinput> before installing Phonon.
|
---|
| 90 | </para></note>
|
---|
| 91 |
|
---|
[0e25c32] | 92 | <para>Install <application>Phonon</application> by running the following
|
---|
| 93 | commands:</para>
|
---|
| 94 |
|
---|
[ba1e8dd] | 95 | <!-- CMAKE_INSTALL_LIBDIR is used so the package doesn't write over lib64 symlink on 64 bit system -->
|
---|
[0e25c32] | 96 | <screen><userinput>mkdir build &&
|
---|
[18c9ee54] | 97 | cd build &&
|
---|
| 98 |
|
---|
[2aae58ff] | 99 | cmake -DCMAKE_INSTALL_PREFIX=&kde-dir; \
|
---|
[a911ae7] | 100 | -DCMAKE_BUILD_TYPE=Release \
|
---|
| 101 | -DCMAKE_INSTALL_LIBDIR=lib \
|
---|
| 102 | -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=FALSE \
|
---|
[3ddb430] | 103 | -DDBUS_INTERFACES_INSTALL_DIR=/usr/share/dbus-1/interfaces \
|
---|
[97c713e] | 104 | -Wno-dev .. &&
|
---|
[0e25c32] | 105 | make</userinput></screen>
|
---|
| 106 |
|
---|
| 107 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 108 |
|
---|
| 109 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 110 |
|
---|
[a1dcfe0] | 111 | </sect2>
|
---|
| 112 |
|
---|
| 113 | <sect2 role="commands">
|
---|
| 114 | <title>Command Explanations</title>
|
---|
| 115 |
|
---|
[ba1e8dd] | 116 | <para>
|
---|
| 117 | <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used
|
---|
| 118 | to apply higher level of the compiler optimizations.
|
---|
| 119 | </para>
|
---|
| 120 |
|
---|
| 121 | <para>
|
---|
[8309bf4] | 122 | <parameter>-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=FALSE</parameter>:
|
---|
[ba1e8dd] | 123 | This switch ensures that the plugins and mkspecs files get installed in
|
---|
| 124 | the correct location.
|
---|
| 125 | </para>
|
---|
[b4cc9a3] | 126 |
|
---|
[ba1e8dd] | 127 | <para>
|
---|
| 128 | <parameter>-DDBUS_INTERFACES_INSTALL_DIR=/usr/share/dbus-1/interfaces</parameter>:
|
---|
| 129 | This switch sets the correct installation path for the
|
---|
| 130 | <application>D-Bus</application> interfaces file.
|
---|
| 131 | </para>
|
---|
[a1dcfe0] | 132 |
|
---|
[5884838] | 133 | <!--
|
---|
[ba1e8dd] | 134 | <para>
|
---|
| 135 | <option>-DPHONON_BUILD_PHONON4QT5=ON</option>: Use this switch if you want to
|
---|
| 136 | build <application>Phonon</application> against <application>Qt5</application>.
|
---|
| 137 | Note that both <application>Qt4</application> and <application>Qt5</application>
|
---|
| 138 | versions can be installed at the same time without any conflicts.
|
---|
[3ddb430] | 139 | </para>
|
---|
[5884838] | 140 | -->
|
---|
[3ddb430] | 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>
|
---|
| 154 | None
|
---|
| 155 | </seg>
|
---|
| 156 | <seg>
|
---|
| 157 | libphonon.so and
|
---|
| 158 | libphononexperimental.so
|
---|
| 159 | </seg>
|
---|
| 160 | <seg>
|
---|
[81e3aeaa] | 161 | &kde-dir;/include/KDE/Phonon,
|
---|
[8480442] | 162 | &kde-dir;/include/phonon,
|
---|
| 163 | &kde-dir;/lib/cmake/phonon, and
|
---|
[81e3aeaa] | 164 | &kde-dir;/share/phonon
|
---|
[ba1e8dd] | 165 | </seg>
|
---|
[0e25c32] | 166 | </seglistitem>
|
---|
| 167 | </segmentedlist>
|
---|
[b4cc9a3] | 168 |
|
---|
[0e25c32] | 169 | </sect2>
|
---|
| 170 |
|
---|
| 171 | </sect1>
|
---|