[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 |
|
---|
[5bebacd] | 7 | <!ENTITY phonon-backend-gstreamer-download-http "&kde-download-http;phonon/phonon-backend-gstreamer/&phonon-backend-gstreamer-version;/src/phonon-backend-gstreamer-&phonon-backend-gstreamer-version;.tar.xz">
|
---|
| 8 | <!ENTITY phonon-backend-gstreamer-download-ftp "&kde-download-ftp;phonon/phonon-backend-gstreamer/&phonon-backend-gstreamer-version;/src/phonon-backend-gstreamer-&phonon-backend-gstreamer-version;.tar.xz">
|
---|
[2aae58ff] | 9 | <!ENTITY phonon-backend-gstreamer-md5sum "ce441035dc5a00ffaac9a64518ab5c62">
|
---|
[5bebacd] | 10 | <!ENTITY phonon-backend-gstreamer-size "76 KB">
|
---|
[2aae58ff] | 11 | <!ENTITY phonon-backend-gstreamer-buildsize "4.1 MB">
|
---|
[5bebacd] | 12 | <!ENTITY phonon-backend-gstreamer-time "0.2 SBU">
|
---|
[0e25c32] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="phonon-backend-gstreamer" xreflabel="phonon-backend-gstreamer-&phonon-backend-gstreamer-version;">
|
---|
| 16 | <?dbhtml filename="phonon-backend-gstreamer.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
[09adf3d] | 23 | <title>Phonon-backend-gstreamer-&phonon-backend-gstreamer-version;</title>
|
---|
[0e25c32] | 24 |
|
---|
| 25 | <indexterm zone="phonon-backend-gstreamer">
|
---|
| 26 | <primary sortas="a-phonon-backend-gstreamer">phonon-backend-gstreamer</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
[09adf3d] | 30 | <title>Introduction to the Phonon-backend-gstreamer</title>
|
---|
[0e25c32] | 31 |
|
---|
[632bfad] | 32 | <para>This package provides a <application>Phonon</application> backend
|
---|
| 33 | which utilizes the <application>GStreamer</application> media framework.
|
---|
| 34 | Its library is used by both KDE4 and KF5, but they must be linked to <xref
|
---|
| 35 | linkend="qt4"/> and <xref linkend="qt5"/> respectively. The two versions
|
---|
| 36 | do not conflict with each other. </para>
|
---|
[0e25c32] | 37 |
|
---|
[f7a3a19] | 38 | &lfs78_checked;
|
---|
[0e25c32] | 39 |
|
---|
| 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (HTTP): <ulink url="&phonon-backend-gstreamer-download-http;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download (FTP): <ulink url="&phonon-backend-gstreamer-download-ftp;"/></para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download MD5 sum: &phonon-backend-gstreamer-md5sum;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Download size: &phonon-backend-gstreamer-size;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated disk space required: &phonon-backend-gstreamer-buildsize;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>Estimated build time: &phonon-backend-gstreamer-time;</para>
|
---|
| 59 | </listitem>
|
---|
| 60 | </itemizedlist>
|
---|
| 61 |
|
---|
[b099b2c] | 62 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 63 | <itemizedlist spacing="compact">
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>
|
---|
| 66 | Required download:
|
---|
[fa97b14] | 67 | <ulink url="&patch-root;/phonon-backend-gstreamer-&phonon-backend-gstreamer-version;-compatibility-1.patch"/>
|
---|
[b099b2c] | 68 | </para>
|
---|
| 69 | </listitem>
|
---|
| 70 | </itemizedlist>
|
---|
| 71 |
|
---|
[09adf3d] | 72 | <bridgehead renderas="sect3">Phonon-backend-gstreamer Dependencies</bridgehead>
|
---|
[0e25c32] | 73 |
|
---|
| 74 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 75 | <para role="required">
|
---|
[d591de4] | 76 | <xref linkend="gstreamer10"/>,
|
---|
[8e6f4f8] | 77 | <xref linkend="libxml2"/>, and
|
---|
[d591de4] | 78 | <xref linkend="phonon"/>
|
---|
[0e25c32] | 79 | </para>
|
---|
[0d7900a] | 80 |
|
---|
[a1dcfe0] | 81 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 82 | <para role="recommended">
|
---|
[5884838] | 83 | <xref linkend="gst10-plugins-base"/> (needed for output to ALSA),
|
---|
| 84 | <xref linkend="gst10-plugins-good"/> (needed for output to PulseAudio),
|
---|
[8e6f4f8] | 85 | <xref linkend="gst10-plugins-bad"/> (needed for AAC/M4A support), and
|
---|
[d591de4] | 86 | <xref linkend="gst10-plugins-ugly"/> (needed for MP3 support)
|
---|
[2aae58ff] | 87 | </para>
|
---|
| 88 |
|
---|
[0e25c32] | 89 | <para condition="html" role="usernotes">User Notes:
|
---|
| 90 | <ulink url="&blfs-wiki;/phonon-backend-gstreamer"/></para>
|
---|
[0d7900a] | 91 |
|
---|
[0e25c32] | 92 | </sect2>
|
---|
| 93 |
|
---|
| 94 | <sect2 role="installation">
|
---|
[09adf3d] | 95 | <title>Installation of Phonon-backend-gstreamer</title>
|
---|
[0e25c32] | 96 |
|
---|
[f3429309] | 97 | <para>For both build variants, fix the package to work with the
|
---|
[b099b2c] | 98 | latest gstreamer:</para>
|
---|
| 99 |
|
---|
| 100 | <screen><userinput>patch -Np1 -i ../phonon-backend-gstreamer-&phonon-backend-gstreamer-version;-compatibility-1.patch</userinput></screen>
|
---|
| 101 |
|
---|
[632bfad] | 102 | <para>Install the qt4 based version of
|
---|
| 103 | <application>Phonon-backend-gstreamer</application> by running the
|
---|
| 104 | following commands:</para>
|
---|
[8e6f4f8] | 105 |
|
---|
[632bfad] | 106 | <screen><userinput>source /usr/bin/setqt4 &&
|
---|
[0e25c32] | 107 |
|
---|
[632bfad] | 108 | mkdir build &&
|
---|
[18c9ee54] | 109 | cd build &&
|
---|
| 110 |
|
---|
[632bfad] | 111 | cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
| 112 | -DCMAKE_INSTALL_LIBDIR=lib \
|
---|
| 113 | -DCMAKE_BUILD_TYPE=Release \
|
---|
| 114 | -Wno-dev .. &&
|
---|
| 115 | make</userinput></screen>
|
---|
| 116 |
|
---|
| 117 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 118 |
|
---|
| 119 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 120 |
|
---|
| 121 | <para>Install the qt5 based version of
|
---|
| 122 | <application>Phonon-backend-gstreamer</application> by running the
|
---|
| 123 | following commands:</para>
|
---|
| 124 |
|
---|
| 125 | <screen><userinput>source /usr/bin/setqt5 &&
|
---|
| 126 |
|
---|
| 127 | mkdir build &&
|
---|
| 128 | cd build &&
|
---|
| 129 |
|
---|
| 130 | cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
| 131 | -DCMAKE_INSTALL_LIBDIR=lib \
|
---|
| 132 | -DCMAKE_BUILD_TYPE=Release \
|
---|
| 133 | -DPHONON_BUILD_PHONON4QT5=ON \
|
---|
| 134 | -D__KDE_HAVE_GCC_VISIBILITY=NO \
|
---|
[97c713e] | 135 | -Wno-dev .. &&
|
---|
[0e25c32] | 136 | make</userinput></screen>
|
---|
| 137 |
|
---|
| 138 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 139 |
|
---|
| 140 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 141 |
|
---|
[fad29ed] | 142 | </sect2>
|
---|
[f3429309] | 143 |
|
---|
[0e25c32] | 144 | <sect2 role="commands">
|
---|
| 145 | <title>Command Explanations</title>
|
---|
| 146 |
|
---|
[8e6f4f8] | 147 | <para><option>-DCMAKE_BUILD_TYPE=Release</option>: This switch is used to
|
---|
| 148 | apply higher level of compiler optimizations.</para>
|
---|
[0e25c32] | 149 |
|
---|
[632bfad] | 150 | <para><option>-DCMAKE_INSTALL_LIBDIR=lib</option>: This switch is used to
|
---|
[f3429309] | 151 | get libraries to install to /usr/lib instead of /usr/lib64 on a 64 bit
|
---|
[632bfad] | 152 | system.</para>
|
---|
| 153 |
|
---|
| 154 | <para><option>-DPHONON_BUILD_PHONON4QT5=ON</option>: This switch is used to
|
---|
| 155 | ensure that Qt5 version of the backend is built even if Qt4 is present.</para>
|
---|
| 156 |
|
---|
| 157 | <para><option>-D__KDE_HAVE_GCC_VISIBILITY=NO</option>: This switch is used to
|
---|
| 158 | disable a check that would cause cmake to fail when using Qt-5.4.2 or later.</para>
|
---|
| 159 |
|
---|
[0e25c32] | 160 | </sect2>
|
---|
[f3429309] | 161 |
|
---|
[0e25c32] | 162 | <sect2 role="content">
|
---|
| 163 | <title>Contents</title>
|
---|
| 164 |
|
---|
| 165 | <segmentedlist>
|
---|
[2cfb44a4] | 166 | <segtitle>Installed Programs</segtitle>
|
---|
[0e25c32] | 167 | <segtitle>Installed Libraries</segtitle>
|
---|
[2cfb44a4] | 168 | <segtitle>Installed Directories</segtitle>
|
---|
[0e25c32] | 169 |
|
---|
| 170 | <seglistitem>
|
---|
[e9f77617] | 171 | <seg>none</seg>
|
---|
[632bfad] | 172 | <seg>phonon_gstreamer.so (two versions in different directories)</seg>
|
---|
| 173 | <seg>/usr/lib/kde4/plugins/phonon_backend,
|
---|
| 174 | /usr/lib/qt5/plugins/phonon4qt5_backend, and
|
---|
[8e6f4f8] | 175 | /usr/share/kde4/services/phononbackends</seg>
|
---|
[0e25c32] | 176 | </seglistitem>
|
---|
| 177 | </segmentedlist>
|
---|
| 178 | <!--
|
---|
| 179 | <variablelist>
|
---|
| 180 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 181 | <?dbfo list-presentation="list"?>
|
---|
| 182 | <?dbhtml list-presentation="table"?>
|
---|
| 183 |
|
---|
| 184 | <varlistentry id="a-phonon">
|
---|
| 185 | <term><command>phonon</command></term>
|
---|
| 186 | <listitem>
|
---|
| 187 | <para>is a testing utility for phonon-backend-gstreamer-generated build trees.</para>
|
---|
| 188 | <indexterm zone="a-phonon phonon">
|
---|
| 189 | <primary sortas="b-phonon">phonon</primary>
|
---|
| 190 | </indexterm>
|
---|
| 191 | </listitem>
|
---|
| 192 | </varlistentry>
|
---|
| 193 |
|
---|
| 194 | </variablelist>
|
---|
| 195 | -->
|
---|
| 196 | </sect2>
|
---|
| 197 |
|
---|
| 198 | </sect1>
|
---|