Ignore:
Timestamp:
06/26/2015 07:39:08 PM (9 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.8, 7.9, 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
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-vlc.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-vlc</title>
    3131
    32     <para>This package provides a <application>Phonon</application> backend which
    33     utilizes the <application>VLC</application> media framework.</para>
     32    <para>This package provides a <application>Phonon</application> backend
     33    which utilizes the <application>VLC</application> media framework. Its
     34    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 do
     36    not conflict with each other.</para>
    3437
    3538    &lfs77_checked; &gcc5_checked;
     
    7376    <title>Installation of Phonon-backend-vlc</title>
    7477
    75     <para>Install <application>Phonon-backend-vlc</application> by running the following
     78    <para>Install the qt4 based version of
     79    <application>Phonon-backend-vlc</application> by running the following
    7680    commands:</para>
    7781
    78 <screen><userinput>mkdir build &amp;&amp;
     82<screen><userinput>source /usr/bin/setqt4 &amp;&amp;
     83
     84mkdir build &amp;&amp;
    7985cd    build &amp;&amp;
    8086
    81 cmake -DCMAKE_INSTALL_PREFIX=&kde-dir; \
    82       -DCMAKE_INSTALL_LIBDIR=lib         \
    83       -DCMAKE_BUILD_TYPE=Release         \
     87cmake -DCMAKE_INSTALL_PREFIX=/usr \
     88      -DCMAKE_INSTALL_LIBDIR=lib  \
     89      -DCMAKE_BUILD_TYPE=Release  \
     90      -Wno-dev .. &amp;&amp;
     91make</userinput></screen>
     92
     93    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
     94
     95<screen role="root"><userinput>make install</userinput></screen>
     96
     97    <para>Install the qt5 based version of
     98    <application>Phonon-backend-vlc</application> by running the following
     99    commands:</para>
     100
     101<screen><userinput>source /usr/bin/setqt5 &amp;&amp;
     102
     103mkdir build &amp;&amp;
     104cd    build &amp;&amp;
     105
     106cmake -DCMAKE_INSTALL_PREFIX=/usr    \
     107      -DCMAKE_INSTALL_LIBDIR=lib     \
     108      -DCMAKE_BUILD_TYPE=Release     \
     109      -DPHONON_BUILD_PHONON4QT5=ON   \
     110      -D__KDE_HAVE_GCC_VISIBILITY=NO \
    84111      -Wno-dev .. &amp;&amp;
    85112make</userinput></screen>
     
    97124    higher level of compiler optimizations.</para>
    98125
     126    <para><option>-DCMAKE_INSTALL_LIBDIR=lib</option>: This switch is used to
     127     get libraries to install to /usr/lib instead of /usr/lib64 on a 64 bit
     128     system.</para>
     129
     130    <para><option>-DPHONON_BUILD_PHONON4QT5=ON</option>: This switch is used to
     131    ensure that Qt5 version of the backend is built even if Qt4 is present.</para>
     132
     133    <para><option>-D__KDE_HAVE_GCC_VISIBILITY=NO</option>: This switch is used to
     134    disable a check that would cause cmake to fail when using Qt-5.4.2 or later.</para>
     135
    99136  </sect2>
    100137
     
    110147        <seg>none</seg>
    111148        <seg>phonon_vlc.so</seg>
    112         <seg>&kde-dir;/lib/kde4/plugins/phonon_backend and
    113         &kde-dir;/share/kde4/services/phononbackends</seg>
     149        <seg>/usr/lib/kde4/plugins/phonon_backend,
     150             /usr/lib/qt5/plugins/phonon4qt5_backend, and
     151             /usr/share/kde4/services/phononbackends</seg>
    114152      </seglistitem>
    115153    </segmentedlist>
Note: See TracChangeset for help on using the changeset viewer.