Ignore:
Timestamp:
05/07/2016 08:10:29 PM (8 years ago)
Author:
Douglas R. Reno <renodr@…>
Branches:
systemd-13485
Children:
2e633b6
Parents:
37191af
Message:

Sync to trunk r17332

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@17335 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • multimedia/videoutils/vlc.xml

    r37191af rd7bee48  
    66
    77  <!ENTITY vlc-download-http "http://download.videolan.org/vlc/&vlc-version;/vlc-&vlc-version;.tar.xz">
    8       <!ENTITY vlc-download-ftp " ">
    9 <!--  <!ENTITY vlc-download-ftp "ftp://ftp.videolan.org/pub/videolan/vlc/&vlc-version;/vlc-&vlc-version;.tar.xz">-->
    10   <!ENTITY vlc-md5sum        "f98d60f0f59ef72b6e3407f2ff09bda6">
    11   <!ENTITY vlc-size          "22 MB">
    12   <!ENTITY vlc-buildsize     "679 MB (with tests)">
    13   <!ENTITY vlc-time          "4.4 SBU (with tests)">
     8  <!ENTITY vlc-download-ftp " ">
     9  <!ENTITY vlc-md5sum        "ecbc65be549e5cc83e4cbe0129e66dcd">
     10  <!ENTITY vlc-size          "21 MB">
     11  <!ENTITY vlc-buildsize     "603 MB (with tests)">
     12  <!ENTITY vlc-time          "4.6 SBU (with tests)">
    1413]>
    1514
     
    7271        <para>
    7372          Estimated build time: &vlc-time;
     73        </para>
     74      </listitem>
     75    </itemizedlist>
     76
     77    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
     78    <itemizedlist spacing="compact">
     79      <listitem>
     80        <para>
     81          Required patch:
     82          <ulink url="&patch-root;/vlc-&vlc-version;-ffmpeg3-1.patch"/>
    7483        </para>
    7584      </listitem>
     
    212221
    213222    <para>
    214       If both Qt4 and Qt5 are installed, Qt5 has to be hidden from
    215       <envar>PKG_CONFIG_PATH</envar>, due to a bug. Temporarily do it, issuing:
     223      If both Qt4 and Qt5 are installed, Qt5 needs to be hidden from
     224      <envar>PKG_CONFIG_PATH</envar>, due to a bug. Temporarily do it by issuing:
    216225    </para>
    217226
     
    221230
    222231    <para>
    223       If you wish to avoid thousands of annoying warnings, issue:
    224     </para>
    225 
    226 <screen><userinput>sed -i 's/ifndef __FAST_MATH__/if 0/g' configure.ac</userinput></screen>
     232      If you wish to avoid many invalid warnings, issue:
     233    </para>
     234<screen><userinput>sed -i '/seems to be moved/s/^/#/' autotools/ltmain.sh</userinput></screen>
    227235
    228236    <para>
     
    230238    </para>
    231239
    232 <screen><userinput>sed -e 's:libsmbclient.h:samba-4.0/&amp;:' \
    233     -i modules/access/smb.c &amp;&amp;
    234 
    235 sed -e '/LUA_C/ i #define LUA_COMPAT_APIINTCASTS' \
    236     -i modules/lua/vlc.h    &amp;&amp;
    237 
    238 sed -e '/core.h/ {
    239         a #include &lt;opencv2/imgproc/imgproc_c.h&gt;
    240         a #include &lt;opencv2/imgproc/imgproc.hpp&gt;
    241     }' \
    242     -i modules/video_filter/opencv_example.cpp &amp;&amp;
    243 
    244 ./bootstrap &amp;&amp;
    245 
     240<screen><userinput>patch -Np1 -i ../vlc-&vlc-version;-ffmpeg3-1.patch &amp;&amp;
     241
     242CXX="g++ -std=c++11"             \
     243CFLAGS="-DLUA_COMPAT_5_1"        \
    246244OPENCV_LIBS="-L/usr/share/OpenCV" \
    247245./configure --prefix=/usr &amp;&amp;
    248246
    249 sed -e '/seems to be moved/s/^/#/' \
    250     -i autotools/ltmain.sh libtool &amp;&amp;</userinput></screen>
    251 
    252     <para>
    253       In order to build with Lua 5.1 compatiblity, issue:
    254     </para>
    255 
    256 <screen><userinput>CFLAGS='-fPIC -O2 -Wall -Wextra -DLUA_COMPAT_5_1' make </userinput></screen>
     247make</userinput></screen>
    257248
    258249    <para>
     
    292283
    293284    <para>
    294       <command>sed -i ...</command>: This sed fixes compilation with
    295       <application>Samba</application> 4.
    296     </para>
    297 
    298     <para>
    299       <command>sed -e ... -i modules/lua/vlc.h</command> This sed fixes
    300       compilation with <application>lua</application> 5.3.
    301     </para>
    302 
    303     <para>
    304       <command>sed -e ... -i modules/video_filter/opencv_example.cpp</command>
    305       This sed partially fixes compilation with
    306       <application>OpenCV</application> 3.
     285      <envar>CXX="g++ -std=c++11"</envar>: This environment variable
     286      is needed for compatibility with <xref linkend="gcc"/>.
     287    </para>
     288
     289    <para>
     290      <envar>CFLAGS="-DLUA_COMPAT_5_1"</envar>: This environment variable
     291      is needed for compatibility with <xref linkend="lua"/>.
    307292    </para>
    308293
     
    314299
    315300    <para>
    316       <command>./bootstrap</command>: This command calls autoreconf to generate
    317       m4 macros and prepare Makefiles.
    318     </para>
    319 
    320     <para>
    321       <command>sed -e ... -i.orig autotools/ltmain.sh libtool</command>: This
    322       optional sed removes a lot of invalid build warnings.
    323       If desired, remove it.
    324     </para>
    325 
    326     <para>
    327301      <option>--enable-opencv=no</option>: This switch disables
    328302      <application>OpenCV</application> suport.
     
    363337      have <application>libgcrypt</application> installed.
    364338    </para>
    365 
    366 <!--
    367     <para>
    368       <option>- -enable-shine</option>: Use this option if you wish to build the
    369       <application>Shine</application> plugin.
    370     </para>
    371 
    372     <para>
    373       <option>- -enable-tremor</option>: Use this option if you have
    374       <application>Tremor</application> installed and wish to build the
    375       <application>Tremor</application> plugin.
    376     </para>
    377 
    378     <para>
    379       <option>- -enable-aa</option>: Use this option if you have
    380       <application>AAlib</application> installed and wish to build the
    381       <application>AAlib</application> plugin.
    382     </para>
    383 -->
    384339
    385340    <note>
     
    406361        </seg>
    407362        <seg>
    408           libvlccore.so, libvlc.so and several plugins in
     363          libvlccore.so, libvlc.so and many plugins in
    409364          /usr/lib/vlc/plugins
    410365        </seg>
Note: See TracChangeset for help on using the changeset viewer.