source: kde/core/phonon.xml@ 232c0e2

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 232c0e2 was 232c0e2, checked in by Krejzi <krejzi@…>, 10 years ago

Fix phonon for cmake 3.0

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

  • Property mode set to 100644
File size: 5.2 KB
RevLine 
[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">
[453f2f6]9 <!ENTITY phonon-md5sum "0935e1c00440a03e3032860030398665">
[b4cc9a3]10 <!ENTITY phonon-size "322 KB">
[a1dcfe0]11 <!ENTITY phonon-buildsize "7.4 MB">
12 <!ENTITY phonon-time "0.5 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
[97c713e]36 &lfs75_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"/>,
71 <xref linkend="qt5"/> and
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
[232c0e2]87 <para>
88 Fix building with <application>CMake</application> 3.0:
89 </para>
90
91<screen><userinput>rm -f cmake/FindQt4.cmake</userinput></screen>
92
[0e25c32]93 <para>Install <application>Phonon</application> by running the following
94 commands:</para>
95
[ba1e8dd]96<!-- CMAKE_INSTALL_LIBDIR is used so the package doesn't write over lib64 symlink on 64 bit system -->
[0e25c32]97<screen><userinput>mkdir build &amp;&amp;
[18c9ee54]98cd build &amp;&amp;
99
[7af92fe5]100cmake -DCMAKE_INSTALL_PREFIX=&qt4-dir; \
[b4cc9a3]101 -DCMAKE_BUILD_TYPE=Release \
[ba1e8dd]102 -DCMAKE_INSTALL_LIBDIR=lib \
[a1dcfe0]103 -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=TRUE \
[3ddb430]104 -DDBUS_INTERFACES_INSTALL_DIR=/usr/share/dbus-1/interfaces \
[97c713e]105 -Wno-dev .. &amp;&amp;
[0e25c32]106make</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>
123 <parameter>-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=TRUE</parameter>:
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 <parameter>-DDBUS_INTERFACES_INSTALL_DIR=/usr/share/dbus-1/interfaces</parameter>:
130 This switch sets the correct installation path for the
131 <application>D-Bus</application> interfaces file.
132 </para>
[a1dcfe0]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>
140
[a1dcfe0]141 </sect2>
142
[0e25c32]143 <sect2 role="content">
144 <title>Contents</title>
145
146 <segmentedlist>
[ad41452]147 <segtitle>Installed Programs</segtitle>
[0e25c32]148 <segtitle>Installed Libraries</segtitle>
[ad41452]149 <segtitle>Installed Directories</segtitle>
[0e25c32]150
151 <seglistitem>
[ba1e8dd]152 <seg>
153 None
154 </seg>
155 <seg>
156 libphonon.so and
157 libphononexperimental.so
158 </seg>
159 <seg>
160 &qt4-dir;/include/KDE/Phonon,
161 &qt4-dir;/include/phonon, and
162 &qt4-dir;/share/phonon
163 </seg>
[0e25c32]164 </seglistitem>
165 </segmentedlist>
[b4cc9a3]166
[0e25c32]167 </sect2>
168
169</sect1>
Note: See TracBrowser for help on using the repository browser.