Changeset 3a12cb8 for kde


Ignore:
Timestamp:
12/29/2011 10:56:46 PM (10 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.1, 11.0, 11.1, 7.10, 7.4, 7.5, 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, krejzi/svn, lazarus, nosym, perl-modules, qt5new, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/test-20220226
Children:
a8e7b725
Parents:
98d5a95
Message:

Update to kdemultimedia-3.5.13. (Trinity).
Split akode into a separate page.

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

Location:
kde/add
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • kde/add/add.xml

    r98d5a95 r3a12cb8  
    1717
    1818  <warning><para>The Trinity/KDE3 update to BLFS is a work in progress.
    19   The packages below have not yet been updated.</para></warning>
     19  Some of the packages below have not yet been updated.</para></warning>
    2020
    2121
     
    2929  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="kdenetwork.xml"/>
    3030  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="kdepim.xml"/>
     31  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="kdeakode.xml"/>
    3132  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="kdemultimedia.xml"/>
    3233  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="kdegraphics.xml"/>
  • kde/add/kdemultimedia.xml

    r98d5a95 r3a12cb8  
    55  %general-entities;
    66
    7   <!ENTITY kdemultimedia-download-http "&kde-download-http;/kdemultimedia-&kde-version;.tar.bz2">
    8   <!ENTITY kdemultimedia-download-ftp  "&kde-download-ftp;/kdemultimedia-&kde-version;.tar.bz2">
    9   <!ENTITY kdemultimedia-md5sum        "8e8cd7f41d37f7da8bd239048abf3516">
    10   <!ENTITY kdemultimedia-size          "6.0 MB">
    11   <!ENTITY kdemultimedia-buildsize     "122 MB">
    12   <!ENTITY kdemultimedia-time          "9.7 SBU">
    13 
    14   <!ENTITY akode-version       "2.0.2">
    15   <!ENTITY akode-download-http "http://www.kde-apps.org/CONTENT/content-files/30375-akode-&akode-version;.tar.bz2">
    16   <!ENTITY akode-download-ftp  "&sources-anduin-ftp;/a/30375-akode-&akode-version;.tar.bz2">
    17   <!ENTITY akode-md5sum        "659ced0c9c735cb3e55b9138ff02342c">
    18   <!ENTITY akode-size          "462 KB">
    19   <!ENTITY akode-buildsize     "6.5 MB">
    20   <!ENTITY akode-time          "0.2 SBU">
     7  <!ENTITY kdemultimedia-download-http "&trinity-repo-http;/kdemultimedia-&trinity-version;.tar.gz">
     8  <!ENTITY kdemultimedia-download-ftp  "&trinity-repo-ftp;/kdemultimedia-&trinity-version;.tar.gz">
     9  <!ENTITY kdemultimedia-md5sum        "6d906b8a8fd0928e01ecd600175381c0">
     10  <!ENTITY kdemultimedia-size          "5.7 MB">
     11  <!ENTITY kdemultimedia-buildsize     "534 MB">
     12  <!ENTITY kdemultimedia-time          "6.7 SBU">
    2113]>
    2214
    23 <sect1 id="kdemultimedia" xreflabel="kdemultimedia-&kde-version;">
     15<sect1 id="kdemultimedia" xreflabel="kdemultimedia-&trinity-version;">
    2416  <?dbhtml filename="kdemultimedia.html"?>
    2517
     
    2921  </sect1info>
    3022
    31   <title>Kdemultimedia-&kde-version;</title>
     23  <title>Kdemultimedia-&trinity-version;</title>
    3224
    3325  <indexterm zone="kdemultimedia">
     
    4436    <application>aRts</application>.</para>
    4537
    46     <para>In this version of <application>Kdemultimedia</application>, some
    47     of the functionality provided by the package has been moved into a
    48     separate project named <application>Akode</application>. In order for
    49     <application>Kdemultimedia</application> to provide the removed
    50     functionality, you must install the <application>Akode</application>
    51     package first. Instructions to install <application>Akode</application>
    52     follow. If you wish to skip the <application>Akode</application>
    53     installation, go straight to the
    54     <xref linkend="kdemultimedia-instructions"/>.</para>
    55 
    56     <para condition="html" role="usernotes">User Notes:
    57     <ulink url="&blfs-wiki;/kdemultimedia"/></para>
    58 
    59   </sect2>
    60 
    61   <sect2 role="package" id="akode" xreflabel="Akode-&akode-version;">
    62     <title>Akode-&akode-version;</title>
    63 
    64     <bridgehead renderas="sect3">Package Information</bridgehead>
    65     <itemizedlist spacing='compact'>
    66       <listitem>
    67         <para>Download (HTTP): <ulink url="&akode-download-http;"/></para>
    68       </listitem>
    69       <listitem>
    70         <para>Download (FTP): <ulink url="&akode-download-ftp;"/></para>
    71       </listitem>
    72       <listitem>
    73         <para>Download MD5 sum: &akode-md5sum;</para>
    74       </listitem>
    75       <listitem>
    76         <para>Download size: &akode-size;</para>
    77       </listitem>
    78       <listitem>
    79         <para>Estimated disk space required: &akode-buildsize;</para>
    80       </listitem>
    81       <listitem>
    82         <para>Estimated build time: &akode-time;</para>
    83       </listitem>
    84     </itemizedlist>
    85 
    86     <bridgehead renderas="sect3">Additional Downloads</bridgehead>
    87     <itemizedlist spacing="compact">
    88       <listitem>
    89         <para>Required patch (for FFmpeg support): <ulink
    90         url="&patch-root;/akode-&akode-version;-FFmpeg_fixes-1.patch"/></para>
    91       </listitem>
    92     </itemizedlist>
    93 
    94     <bridgehead renderas="sect3">Akode Dependencies</bridgehead>
    95 
    96     <bridgehead renderas="sect4">Optional</bridgehead>
    97      <para role="optional">
    98      <!-- <xref linkend="pkgconfig"/>, -->
    99      <xref linkend="flac"/>,
    100      <xref linkend="speex"/>,
    101      <xref linkend="libmad"/>,
    102      <xref linkend="alsa"/>,
    103      <xref linkend="libvorbis"/>,
    104      <xref linkend="pulseaudio"/>,
    105      <xref linkend="ffmpeg"/> (support is experimental),
    106       <ulink url="http://www.mega-nerd.com/libsamplerate/">Secret Rabbit
    107         Code</ulink> (a.k.a. libsamplerate), and
    108       <ulink url="http://jackit.sourceforge.net/">JACK</ulink>
    109     </para>
    110 
    111     <bridgehead renderas="sect3">Installation of Akode</bridgehead>
    112 
    113 <screen><userinput>sed -i "s/#include &lt;iostream&gt;/&amp;\n#include &lt;cstdlib&gt;/" \
    114     akode/lib/auto_sink.cpp  &amp;&amp;
    115 
    116 sed -i 's@#include "../lib/decoder.h"@&amp;\n#include &lt;cstdlib&gt;@' \
    117     akode/akodeplay/akodeplay.cpp  &amp;&amp;
    118 
    119 sed -i "s/&lt;assert.h&gt;/&amp;\n#include &lt;string.h&gt;\n/" \
    120     akode/lib/player.cpp  &amp;&amp;
    121 
    122 sed -i "s/&lt;iostream&gt;/&amp;\n#include &lt;string.h&gt;\n/" \
    123      akode/lib/magic.cpp  &amp;&amp;
    124 
    125 ./configure --prefix=&kde-dir; --without-ffmpeg \
    126     --disable-debug --disable-dependency-tracking &amp;&amp;
    127 make</userinput></screen>
    128 
    129       <para>This package does not come with a test suite.</para>
    130 
    131       <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
    132 
    133 <screen role="root"><userinput>make install</userinput></screen>
    134 
    135   </sect2>
    136 
    137   <sect2 role="commands">
    138     <title>Command Explanations</title>
    139 
    140     <para><command>sed ...</command>: The four sed commands insert headers
    141     needed by <application>gcc-4.3</application> and above because the C++ header
    142     dependencies have been cleaned up.</para>
    143 
    144     <para><parameter>--without-ffmpeg</parameter>: This option disables the
    145     experimental <application>FFmpeg</application> support in
    146     <application>Akode</application>, as the build fails if it is enabled.
    147     You can install the patch listed above and remove this switch to enable
    148     the experimental <application>FFmpeg</application> support, however, the
    149     functionality of <application>Akode</application> built with
    150     <application>FFmpeg</application> support has not been tested by the
    151     BLFS editors. To install the patch, issue the following command before
    152     beginning the build:</para>
    153 
    154 <screen><userinput>patch -Np1 -i ../akode-&akode-version;-FFmpeg_fixes-1.patch</userinput></screen>
    155 
    156   </sect2>
    157 
    158   <sect2 role="package" id="kdemultimedia-instructions"
    159          xreflabel="Kdemultimedia Instructions">
    160     <title>Resuming the Kdemultimedia Instructions</title>
    161 
    16238    <bridgehead renderas="sect3">Package Information</bridgehead>
    16339    <itemizedlist spacing='compact'>
     
    19773
    19874    <bridgehead renderas="sect4">Required</bridgehead>
    199     <para role="required"><xref linkend="kdebase"/></para>
     75    <para role="required">
     76      <xref linkend="kdebase"/>
     77    </para>
    20078
    20179    <bridgehead renderas="sect4">Recommended</bridgehead>
    202     <para role="recommended"><xref linkend="libjpeg"/>,
    203     <xref linkend="libxml2"/>, and
    204     <xref linkend="alsa"/></para>
    205     <!-- <xref linkend="libmad"/> moved to Akode -->
     80    <para role="recommended">
     81      <xref linkend="akode"/>,
     82      <xref linkend="alsa"/>,
     83      <xref linkend="libjpeg"/>, and
     84      <xref linkend="libxml2"/>
     85    </para>
    20686
    20787    <bridgehead renderas="sect4">Optional</bridgehead>
    208     <para role="optional"><xref linkend="akode"/>,
    209     <xref linkend="cdparanoia"/>,
    210     <xref linkend="lame"/>,
    211     <xref linkend="audiofile"/>,
    212     <xref linkend="libvorbis"/>,
    213     <xref linkend="xine-lib"/>,
    214     <xref linkend="flac"/> (built with <xref linkend="libogg"/> support),
    215     <xref linkend="gstreamer"/>,
    216     <ulink url="http://www.theora.org/">Theora</ulink>,
    217     <ulink url="http://developer.kde.org/~wheeler/taglib.html">TagLib</ulink>,
    218     <ulink url="http://www.musicbrainz.org/products/tunepimp/download.html">TunePimp</ulink>
    219     (requires <xref linkend="libmusicbrainz"/>),
    220     <xref linkend="graphviz"/>, and
    221     <xref linkend="doxygen"/></para>
    222     <!-- moved to Akode
    223     <ulink url="http://0pointer.de/lennart/projects/polypaudio/">polypaudio</ulink>
    224     <ulink url="http://www.mega-nerd.com/libsamplerate/">Secret Rabbit Code</ulink>
    225     <ulink url="http://jackit.sourceforge.net/">JACK</ulink>
    226     <xref linkend="speex"/>, moved to Akode
    227     -->
    228     <!-- <xref linkend="sdl"/>, not used any longer -->
    229     <!-- <xref linkend="libogg"/>, no good without vorbis, so is redundant -->
    230     <!-- Uses internal copy now
    231     <ulink url="http://www.musicbrainz.org/products/trmgen/download.html">TRM Generator</ulink>
    232     -->
     88    <para role="optional">
     89      <xref linkend="cdparanoia"/>,
     90      <xref linkend="lame"/>,
     91      <xref linkend="audiofile"/>,
     92      <xref linkend="libvorbis"/>,
     93      <xref linkend="xine-lib"/>,
     94      <xref linkend="flac"/> (built with <xref linkend="libogg"/> support),
     95      <ulink url="http://gstreamer.freedesktop.org/src/gstreamer/">gstreamer-0.8
     96        (later versions are not supported)</ulink>,
     97      <xref linkend="libtheora"/>,
     98      <ulink url="http://developer.kde.org/~wheeler/taglib.html">TagLib</ulink>,
     99      <ulink url="http://www.musicbrainz.org/products/tunepimp/download.html">TunePimp</ulink>
     100        (requires <xref linkend="libmusicbrainz"/>),
     101      <xref linkend="graphviz"/>, and
     102      <xref linkend="doxygen"/>
     103    </para>
    233104
    234105  </sect2>
     
    239110    <para>Install <application>kdemultimedia</application> with:</para>
    240111
    241     <!-- <note>
    242       <para> The -\-sysconfdir parameter must be the same as command used in
    243       kdelibs.</para>
    244     </note> -->
    245 
    246 <!--    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    247     href="../../xincludes/kde-sysconfdir.xml"/> -->
    248 
    249 <screen><userinput>./configure --prefix=&kde-dir; --sysconfdir=/etc/kde \
    250     --disable-debug --disable-dependency-tracking &amp;&amp;
     112<screen><userinput>cp -v /usr/share/aclocal/libtool.m4       admin/libtool.m4.in &amp;&amp;
     113cp -v /usr/share/libtool/config/ltmain.sh admin/ltmain.sh     &amp;&amp;
     114sed -i -e "s@/usr/include/tqt@$TRINITY_PREFIX/include/tqt@" \
     115          admin/acinclude.m4.in                               &amp;&amp;
     116make -f admin/Makefile.common                                 &amp;&amp;
     117
     118sed -i -e 's@^gentable_LDADD.*$@&amp; -L$(TRINITY_PREFIX)/lib@' \
     119          noatun/library/Makefile.in                          &amp;&amp;
     120
     121export LIBRARY_PATH=$TRINITY_PREFIX/lib                       &amp;&amp;
     122
     123./configure --prefix=$TRINITY_PREFIX                         \
     124            --with-qt-dir=$QTDIR                             \
     125            --enable-closure                                 \
     126            --with-vorbis                                    \
     127            --with-alsa                                      \
     128            --with-audiofile                                 \
     129            --with-flac                                      \
     130            --with-akode                                     \
     131            --with-cdparanoia                                \
     132            --with-kscd-cdda                                 \
     133            --with-lame                                      \
     134            --with-xine                                      \
     135            --with-theora                                    \
     136            --with-extra-includes=$TRINITY_PREFIX/include    \
     137            --with-extra-libs=$TRINITY_PREFIX/lib:$QTDIR/lib &amp;&amp;
     138
    251139make</userinput></screen>
     140
     141    <para>Remove and '--with-' statements for those dependencies not installed.</para>
    252142
    253143<!--
Note: See TracChangeset for help on using the changeset viewer.