source: kde/core/phonon.xml@ 5884838

10.0 10.1 11.0 7.10 7.6 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new trunk upgradedb xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 5884838 was 5884838, checked in by Ragnar Thomsen <rthomsen@…>, 7 years ago

Phonon 4.8 and backends

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@14245 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.2 KB
Line 
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
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">
9 <!ENTITY phonon-md5sum "30af25af0bf28f3ce462f39b0a6e4081">
10 <!ENTITY phonon-size "314 KB">
11 <!ENTITY phonon-buildsize "10.5 MB">
12 <!ENTITY phonon-time "0.5 SBU">
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.
33 It replaces the old <application>aRts</application>, that is no longer
34 supported by KDE. Phonon needs either the GStreamer or VLC backend.</para>
35
36 &lfs76_checked;
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">
64 <xref linkend="automoc4"/> and
65 <xref linkend="glib2"/>
66 </para>
67
68 <bridgehead renderas="sect4">Optional</bridgehead>
69 <para role="optional">
70 <xref linkend="pulseaudio"/> and
71 <ulink url="http://projects.kde.org/projects/kdesupport/libqzeitgeist/">QZeitgeist</ulink>
72 </para>
73
74 <para condition="html" role="usernotes">User Notes:
75 <ulink url="&blfs-wiki;/phonon"/></para>
76
77 </sect2>
78
79 <sect2 role="installation">
80 <title>Installation of Phonon</title>
81
82 <para>Make sure that <xref linkend="qt4"/> is compiled without the bundled
83 <application>Phonon</application> library. This package provides
84 a better implementation.</para>
85
86 <note><para>If you have both Qt4 and Qt5 installed, be sure to run
87 <userinput>source setqt4</userinput> before installing Phonon.
88 </para></note>
89
90 <para>Install <application>Phonon</application> by running the following
91 commands:</para>
92
93<!-- CMAKE_INSTALL_LIBDIR is used so the package doesn't write over lib64 symlink on 64 bit system -->
94<screen><userinput>mkdir build &amp;&amp;
95cd build &amp;&amp;
96
97cmake -DCMAKE_INSTALL_PREFIX=&kde-dir; \
98 -DCMAKE_BUILD_TYPE=Release \
99 -DCMAKE_INSTALL_LIBDIR=lib \
100 -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=FALSE \
101 -DDBUS_INTERFACES_INSTALL_DIR=/usr/share/dbus-1/interfaces \
102 -Wno-dev .. &amp;&amp;
103make</userinput></screen>
104
105 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
106
107<screen role="root"><userinput>make install</userinput></screen>
108
109 </sect2>
110
111 <sect2 role="commands">
112 <title>Command Explanations</title>
113
114 <para>
115 <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used
116 to apply higher level of the compiler optimizations.
117 </para>
118
119 <para>
120 <parameter>-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=FALSE</parameter>:
121 This switch ensures that the plugins and mkspecs files get installed in
122 the correct location.
123 </para>
124
125 <para>
126 <parameter>-DDBUS_INTERFACES_INSTALL_DIR=/usr/share/dbus-1/interfaces</parameter>:
127 This switch sets the correct installation path for the
128 <application>D-Bus</application> interfaces file.
129 </para>
130
131<!--
132 <para>
133 <option>-DPHONON_BUILD_PHONON4QT5=ON</option>: Use this switch if you want to
134 build <application>Phonon</application> against <application>Qt5</application>.
135 Note that both <application>Qt4</application> and <application>Qt5</application>
136 versions can be installed at the same time without any conflicts.
137 </para>
138-->
139
140 </sect2>
141
142 <sect2 role="content">
143 <title>Contents</title>
144
145 <segmentedlist>
146 <segtitle>Installed Programs</segtitle>
147 <segtitle>Installed Libraries</segtitle>
148 <segtitle>Installed Directories</segtitle>
149
150 <seglistitem>
151 <seg>
152 None
153 </seg>
154 <seg>
155 libphonon.so and
156 libphononexperimental.so
157 </seg>
158 <seg>
159 &kde-dir;/include/KDE/Phonon,
160 &kde-dir;/include/phonon, and
161 &kde-dir;/share/phonon
162 </seg>
163 </seglistitem>
164 </segmentedlist>
165
166 </sect2>
167
168</sect1>
Note: See TracBrowser for help on using the repository browser.