[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 " ">
|
---|
| 9 | <!ENTITY phonon-md5sum "8abeb7b1eaf4935668c7fb441fc2491a">
|
---|
[a911ae7] | 10 | <!ENTITY phonon-size "316 KB">
|
---|
[b291709] | 11 | <!ENTITY phonon-buildsize "8.7 MB">
|
---|
| 12 | <!ENTITY phonon-time "0.8 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 |
|
---|
[632bfad] | 32 | <para><application>Phonon</application> is the multimedia API for KDE.
|
---|
[8e6f4f8] | 33 | It replaces the old <application>aRts</application> package.
|
---|
| 34 | Phonon needs either the GStreamer or VLC backend.</para>
|
---|
[0e25c32] | 35 |
|
---|
[dd8ae08] | 36 | &lfs7a_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">
|
---|
[d591de4] | 64 | <xref linkend="cmake"/>,
|
---|
[f0061d7] | 65 | <xref linkend="extra-cmake-modules"/>,
|
---|
[8e6f4f8] | 66 | <xref linkend="glib2"/>, and
|
---|
[b291709] | 67 | <xref linkend="qt5"/>
|
---|
[0e25c32] | 68 | </para>
|
---|
| 69 |
|
---|
| 70 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 71 | <para role="optional">
|
---|
[b291709] | 72 | <xref linkend="pulseaudio"/>
|
---|
[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>
|
---|
[9e04432] | 82 | <para>Install <application>Phonon</application> by
|
---|
| 83 | running the following commands:</para>
|
---|
[632bfad] | 84 |
|
---|
[08f422e] | 85 | <screen><userinput>mkdir build &&
|
---|
[632bfad] | 86 | cd build &&
|
---|
| 87 |
|
---|
| 88 | cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
| 89 | -DCMAKE_BUILD_TYPE=Release \
|
---|
| 90 | -DCMAKE_INSTALL_LIBDIR=lib \
|
---|
[5cbfaba] | 91 | -DPHONON_BUILD_PHONON4QT5=ON \
|
---|
[632bfad] | 92 | -Wno-dev .. &&
|
---|
| 93 | make</userinput></screen>
|
---|
| 94 |
|
---|
| 95 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 96 |
|
---|
[0e25c32] | 97 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 98 |
|
---|
[a1dcfe0] | 99 | </sect2>
|
---|
| 100 |
|
---|
| 101 | <sect2 role="commands">
|
---|
| 102 | <title>Command Explanations</title>
|
---|
| 103 |
|
---|
[ba1e8dd] | 104 | <para>
|
---|
| 105 | <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used
|
---|
| 106 | to apply higher level of the compiler optimizations.
|
---|
| 107 | </para>
|
---|
[9e04432] | 108 | <!--
|
---|
[ba1e8dd] | 109 | <para>
|
---|
[8309bf4] | 110 | <parameter>-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=FALSE</parameter>:
|
---|
[ba1e8dd] | 111 | This switch ensures that the plugins and mkspecs files get installed in
|
---|
| 112 | the correct location.
|
---|
| 113 | </para>
|
---|
[9e04432] | 114 | -->
|
---|
[632bfad] | 115 | <para>
|
---|
[f3429309] | 116 | <parameter>-DPHONON_BUILD_PHONON4QT5=ON</parameter>: This switch is used to
|
---|
| 117 | ensure that Qt5 version of the library is built even if Qt4 is present.
|
---|
[632bfad] | 118 | </para>
|
---|
| 119 |
|
---|
[a1dcfe0] | 120 | </sect2>
|
---|
| 121 |
|
---|
[0e25c32] | 122 | <sect2 role="content">
|
---|
| 123 | <title>Contents</title>
|
---|
| 124 |
|
---|
| 125 | <segmentedlist>
|
---|
[ad41452] | 126 | <segtitle>Installed Programs</segtitle>
|
---|
[0e25c32] | 127 | <segtitle>Installed Libraries</segtitle>
|
---|
[ad41452] | 128 | <segtitle>Installed Directories</segtitle>
|
---|
[0e25c32] | 129 |
|
---|
| 130 | <seglistitem>
|
---|
[ba1e8dd] | 131 | <seg>
|
---|
| 132 | None
|
---|
| 133 | </seg>
|
---|
| 134 | <seg>
|
---|
[632bfad] | 135 | libphonon4qt5.so
|
---|
| 136 | libphonon4qt5experimental.so
|
---|
[ba1e8dd] | 137 | </seg>
|
---|
| 138 | <seg>
|
---|
[632bfad] | 139 | /usr/include/phonon4qt5,
|
---|
[9e04432] | 140 | /usr/lib/cmake/phonon4qt5, and
|
---|
[632bfad] | 141 | /usr/share/phonon4qt5
|
---|
[ba1e8dd] | 142 | </seg>
|
---|
[0e25c32] | 143 | </seglistitem>
|
---|
| 144 | </segmentedlist>
|
---|
[b4cc9a3] | 145 |
|
---|
[0e25c32] | 146 | </sect2>
|
---|
| 147 |
|
---|
| 148 | </sect1>
|
---|