Changeset 01e86d88 for multimedia


Ignore:
Timestamp:
05/07/2016 03:46:30 AM (8 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, 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:
0e78dee
Parents:
e54771c
Message:

Update to vlc-2.2.3.
Update to iso-codes-3.68.
Update to btrfs-progs-v4.5.2.
Update List-MoreUtils perl module to version 0.415.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • multimedia/videoutils/vlc.xml

    re54771c r01e86d88  
    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 (add xx MB for tests)">
     12  <!ENTITY vlc-time          "4.6 SBU (add x.y SBU for 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
     83            url="&patch-root;/vlc-&vlc-version;-ffmpeg3-1.patch"/>
    7484        </para>
    7585      </listitem>
     
    212222
    213223    <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:
     224      If both Qt4 and Qt5 are installed, Qt5 needs to be hidden from
     225      <envar>PKG_CONFIG_PATH</envar>, due to a bug. Temporarily do it by issuing:
    216226    </para>
    217227
     
    221231
    222232    <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>
     233      If you wish to avoid many invalid warnings, issue:
     234    </para>
     235
     236<screen><userinput>sed -i '/seems to be moved/s/^/#/' autotools/ltmain.sh</userinput></screen>
    227237
    228238    <para>
     
    230240    </para>
    231241
    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 
     242<screen><userinput>patch -Np1 -i ../vlc-&vlc-version;-ffmpeg3-1.patch &amp;&amp;
     243
     244CXX="g++ -std=c++11"              \
     245CFLAGS="-DLUA_COMPAT_5_1"         \
    246246OPENCV_LIBS="-L/usr/share/OpenCV" \
    247247./configure --prefix=/usr &amp;&amp;
    248248
    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>
     249make</userinput></screen>
    257250
    258251    <para>
     
    292285
    293286    <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.
     287      <envar>CXX="g++ -std=c++11"</envar> This environment variable
     288      is needed for compatibility with <xref linkend='gcc'/>.
     289    </para>
     290
     291    <para>
     292      <envar>CFLAGS="-DLUA_COMPAT_5_1"</envar> This environment variable
     293      is needed for compatibilty with <xref linkend='lua'/>.
    307294    </para>
    308295
     
    314301
    315302    <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>
    327303      <option>--enable-opencv=no</option>: This switch disables
    328304      <application>OpenCV</application> suport.
     
    363339      have <application>libgcrypt</application> installed.
    364340    </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 -->
    384341
    385342    <note>
     
    406363        </seg>
    407364        <seg>
    408           libvlccore.so, libvlc.so and several plugins in
     365          libvlccore.so, libvlc.so, and many plugins in
    409366          /usr/lib/vlc/plugins
    410367        </seg>
Note: See TracChangeset for help on using the changeset viewer.