source: kde/phonon.xml@ c0e40ca7

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since c0e40ca7 was 9e04432, checked in by Bruce Dubbs <bdubbs@…>, 8 years ago

Remove KDE4

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

  • Property mode set to 100644
File size: 6.7 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;/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">
10 <!ENTITY phonon-size "316 KB">
11 <!ENTITY phonon-buildsize "11.7 MB">
12 <!ENTITY phonon-time "0.4 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 KDE.
33 It replaces the old <application>aRts</application> package.
34 Phonon needs either the GStreamer or VLC backend.</para>
35
36 &lfs79_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="cmake"/>,
65 <xref linkend="glib2"/>, and
66 <!--<xref linkend="qt4"/> or --><xref linkend="qt5"/>
67 </para>
68
69 <bridgehead renderas="sect4">Optional</bridgehead>
70 <para role="optional">
71 <xref linkend="pulseaudio"/> and
72 <ulink url="http://projects.kde.org/projects/kdesupport/libqzeitgeist/">QZeitgeist</ulink>
73 </para>
74
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<!--
83 <para>The <application>Phonon</application> libraries are used by both KDE4
84 and KF5, but they must be linked to <xref linkend="qt4"/> and <xref
85 linkend="qt5"/> respectively. The two versions do not conflict with each
86 other.</para>
87
88 <para>If building for KDE4, make sure <xref linkend="qt4"/> has been built
89 without the bundled <application>Phonon</application> library. This package
90 provides a better implementation.</para>
91
92 <para>Install the qt4 based version of <application>Phonon</application> by
93 running the following commands:</para>
94
95<screen><userinput>source /usr/bin/setqt4 &amp;&amp;
96
97sed -i "s:BSD_SOURCE:DEFAULT_SOURCE:g" cmake/FindPhononInternal.cmake &amp;&amp;
98
99mkdir build &amp;&amp;
100cd build &amp;&amp;
101
102cmake -DCMAKE_INSTALL_PREFIX=/usr \
103 -DCMAKE_BUILD_TYPE=Release \
104 -DCMAKE_INSTALL_LIBDIR=lib \
105 -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=FALSE \
106 -DDBUS_INTERFACES_INSTALL_DIR=/usr/share/dbus-1/interfaces \
107 -Wno-dev .. &amp;&amp;
108make</userinput></screen>
109
110 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
111
112<screen role="root"><userinput>make install</userinput></screen>
113
114 <para>Install qt5 based version of<application>Phonon</application> by
115 running the following commands:</para>
116
117 <note><para>If the extracted files of the package are still present from a
118 qt4 version of the build, be sure to remove it and extract a fresh copy of
119 the source files.</para></note>
120-->
121 <para>Install <application>Phonon</application> by
122 running the following commands:</para>
123
124<screen><userinput>source /usr/bin/setqt5 &amp;&amp;
125
126sed -i "s:BSD_SOURCE:DEFAULT_SOURCE:g" cmake/FindPhononInternal.cmake &amp;&amp;
127
128mkdir build &amp;&amp;
129cd build &amp;&amp;
130
131cmake -DCMAKE_INSTALL_PREFIX=/usr \
132 -DCMAKE_BUILD_TYPE=Release \
133 -DCMAKE_INSTALL_LIBDIR=lib \
134 -DPHONON_BUILD_PHONON4QT5=ON \
135 -D__KDE_HAVE_GCC_VISIBILITY=NO \
136 -Wno-dev .. &amp;&amp;
137make</userinput></screen>
138
139 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
140
141<screen role="root"><userinput>make install</userinput></screen>
142
143 </sect2>
144
145 <sect2 role="commands">
146 <title>Command Explanations</title>
147
148 <para>
149 <command>sed ... cmake/FindPhononInternal.cmake</command>: Silence
150 a lot of warnings caused by the latest toolchain.
151 </para>
152
153 <para>
154 <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used
155 to apply higher level of the compiler optimizations.
156 </para>
157<!--
158 <para>
159 <parameter>-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=FALSE</parameter>:
160 This switch ensures that the plugins and mkspecs files get installed in
161 the correct location.
162 </para>
163
164 <para>
165 <parameter>-DDBUS_INTERFACES_INSTALL_DIR=/usr/share/dbus-1/interfaces</parameter>:
166 This switch sets the correct installation path for the
167 <application>D-Bus</application> interfaces file.
168 </para>
169-->
170 <para>
171 <parameter>-DPHONON_BUILD_PHONON4QT5=ON</parameter>: This switch is used to
172 ensure that Qt5 version of the library is built even if Qt4 is present.
173 </para>
174
175 <para>
176 <parameter>-D__KDE_HAVE_GCC_VISIBILITY=NO</parameter>: This switch is used to
177 disable a check that would cause cmake to fail when using Qt-5.4.2
178 and later.
179 </para>
180
181 </sect2>
182
183 <sect2 role="content">
184 <title>Contents</title>
185
186 <segmentedlist>
187 <segtitle>Installed Programs</segtitle>
188 <segtitle>Installed Libraries</segtitle>
189 <segtitle>Installed Directories</segtitle>
190
191 <seglistitem>
192 <seg>
193 None
194 </seg>
195 <seg>
196 libphonon4qt5.so
197 libphonon4qt5experimental.so
198 </seg>
199 <seg>
200 /usr/include/phonon4qt5,
201 /usr/lib/cmake/phonon4qt5, and
202 /usr/share/phonon4qt5
203 </seg>
204 </seglistitem>
205 </segmentedlist>
206
207 </sect2>
208
209</sect1>
Note: See TracBrowser for help on using the repository browser.