Ignore:
Timestamp:
06/26/2015 07:39:08 PM (6 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.1, 11.0, 7.10, 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, lazarus, nosym, perl-modules, qt5new, trunk, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
ecb22c1
Parents:
338015f
Message:

Reorganize KDE to support KDE Frameworks 5.
Move several packages to the introduction that are common to KDE4 and FK5.

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

File:
1 moved

Legend:

Unmodified
Added
Removed
  • kde/phonon-backend-gstreamer.xml

    r338015f r632bfad  
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
    4   <!ENTITY % general-entities SYSTEM "../../general.ent">
     4  <!ENTITY % general-entities SYSTEM "../general.ent">
    55  %general-entities;
    66
     
    3030    <title>Introduction to the Phonon-backend-gstreamer</title>
    3131
    32     <para>This package provides a <application>Phonon</application> backend which
    33     utilizes the <application>GStreamer</application> media framework.</para>
     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>
    3437
    3538    &lfs77_checked; &gcc5_checked;
     
    8285    <title>Installation of Phonon-backend-gstreamer</title>
    8386
    84     <para>Install <application>Phonon-backend-gstreamer</application> by
    85     running the following commands:</para>
     87    <para>Install the qt4 based version of
     88    <application>Phonon-backend-gstreamer</application> by running the
     89    following commands:</para>
    8690
    87     <note>
    88       <para>
    89         If you have both Qt4 and Qt5 installed, be sure to run
    90         <userinput>source setqt4</userinput> before installing this package.
    91       </para>
    92     </note>
     91<screen><userinput>source /usr/bin/setqt4 &amp;&amp;
    9392
    94 <screen><userinput>mkdir build &amp;&amp;
     93mkdir build &amp;&amp;
    9594cd    build &amp;&amp;
    9695
    97 cmake -DCMAKE_INSTALL_PREFIX=&kde-dir; \
    98       -DCMAKE_INSTALL_LIBDIR=lib         \
    99       -DCMAKE_BUILD_TYPE=Release         \
     96cmake -DCMAKE_INSTALL_PREFIX=/usr \
     97      -DCMAKE_INSTALL_LIBDIR=lib  \
     98      -DCMAKE_BUILD_TYPE=Release  \
     99      -Wno-dev .. &amp;&amp;
     100make</userinput></screen>
     101
     102    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
     103
     104<screen role="root"><userinput>make install</userinput></screen>
     105
     106    <para>Install the qt5 based version of
     107    <application>Phonon-backend-gstreamer</application> by running the
     108    following commands:</para>
     109
     110<screen><userinput>source /usr/bin/setqt5 &amp;&amp;
     111
     112mkdir build &amp;&amp;
     113cd    build &amp;&amp;
     114
     115cmake -DCMAKE_INSTALL_PREFIX=/usr    \
     116      -DCMAKE_INSTALL_LIBDIR=lib     \
     117      -DCMAKE_BUILD_TYPE=Release     \
     118      -DPHONON_BUILD_PHONON4QT5=ON   \
     119      -D__KDE_HAVE_GCC_VISIBILITY=NO \
    100120      -Wno-dev .. &amp;&amp;
    101121make</userinput></screen>
     
    113133    apply higher level of compiler optimizations.</para>
    114134
     135    <para><option>-DCMAKE_INSTALL_LIBDIR=lib</option>: This switch is used to
     136     get libraries to install to /usr/lib instead of /usr/lib64 on a 64 bit
     137     system.</para>
     138
     139    <para><option>-DPHONON_BUILD_PHONON4QT5=ON</option>: This switch is used to
     140    ensure that Qt5 version of the backend is built even if Qt4 is present.</para>
     141
     142    <para><option>-D__KDE_HAVE_GCC_VISIBILITY=NO</option>: This switch is used to
     143    disable a check that would cause cmake to fail when using Qt-5.4.2 or later.</para>
     144
    115145  </sect2>
    116146 
     
    125155      <seglistitem>
    126156        <seg>none</seg>
    127         <seg>phonon_gstreamer.so</seg>
    128         <seg>/usr/lib/kde4/plugins/phonon_backend and
     157        <seg>phonon_gstreamer.so (two versions in different directories)</seg>
     158        <seg>/usr/lib/kde4/plugins/phonon_backend,
     159             /usr/lib/qt5/plugins/phonon4qt5_backend, and
    129160             /usr/share/kde4/services/phononbackends</seg>
    130161      </seglistitem>
Note: See TracChangeset for help on using the changeset viewer.