Ignore:
Timestamp:
02/01/2016 12:21:29 AM (8 years ago)
Author:
DJ Lucas <dj@…>
Branches:
systemd-13485
Children:
d6e4445
Parents:
3144280
Message:

Completed Section VII Merge from trunk.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • multimedia/videoutils/vlc.xml

    r3144280 r12fbef3  
    3333    <para>
    3434      <application>VLC</application> is a media player, streamer, and encoder.
    35       It can play from many inputs like files, network streams, capture device,
    36       desktops, or DVD, SVCD, VCD, and audio CD. It can play most audio and
    37       video codecs (MPEG 1/2/4, H264, VC-1, DivX, WMV, Vorbis, AC3, AAC, etc.),
    38       but can also convert to different formats and/or send streams through the
    39       network.
    40     </para>
    41 
    42     &lfs77_checked;
     35      It can play from many inputs, such as files, network streams, capture
     36      devices, desktops, or DVD, SVCD, VCD, and audio CD. It can use most audio
     37      and video codecs (MPEG 1/2/4, H264, VC-1, DivX, WMV, Vorbis, AC3, AAC,
     38      etc.), and it can also convert to different formats and/or send streams
     39      through the network.
     40    </para>
     41
     42    &lfs78_checked;
    4343
    4444    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    8686      <xref linkend="libmad"/>,
    8787      <xref linkend="lua"/>, and
    88       <xref linkend="x-window-system"/>
     88      <xref linkend="x-window-system"/>,
    8989    </para>
    9090
     
    9696    <bridgehead renderas="sect4">Optional input plugins</bridgehead>
    9797    <para role="optional">
     98
    9899      <xref linkend="libdv"/>,
    99100      <xref linkend="libdvdcss"/>,
    100101      <xref linkend="libdvdread"/>,
    101102      <xref linkend="libdvdnav"/>,
     103      <xref linkend="opencv"/>,
    102104      <xref linkend="samba"/>,
    103105      <xref linkend="v4l-utils"/>,
     
    106108      <ulink url="http://sourceforge.net/projects/libcddb/">libcddb</ulink>,
    107109      <ulink url="http://code.google.com/p/libproxy/">libproxy</ulink>,
    108       <ulink url="http://www.live555.com/">Live555</ulink>,
    109       <ulink url="http://sourceforge.net/projects/opencvlibrary/">OpenCV</ulink>, and
     110      <ulink url="http://www.live555.com/">Live555</ulink>, and
    110111      <ulink url="http://www.gnu.org/software/vcdimager/">VCDImager</ulink>
    111112      (requires <xref linkend="libcdio"/>)
     
    172173    <bridgehead renderas="sect4">Optional interface plugins</bridgehead>
    173174    <para role="optional">
    174       <xref linkend="qt4"/> or
    175       <xref linkend="qt5"/> (required for the graphical user interface),
     175      <xref linkend="qt4"/> (required for the graphical user interface),
     176      <xref linkend="qt5"/> (for some plugins),
    176177      <ulink url="http://pkgbuild.com/~giovanni/libtar/">libtar</ulink>, and
    177178      <ulink url="http://www.lirc.org/">LIRC</ulink>
     179      <!--<ulink url="http://www.feep.net/libtar/">libtar</ulink>-->
    178180    </para>
    179181
     
    212214    </para>
    213215
    214 <screen><userinput>sed "s:&lt; 56:&lt; 57:g" -i configure &amp;&amp;
    215 ./configure --prefix=/usr        &amp;&amp;
     216<screen><userinput>sed -e 's:libsmbclient.h:samba-4.0/&amp;:' \
     217    -i modules/access/smb.c &amp;&amp;
     218
     219sed -e '/LUA_C/ i #define LUA_COMPAT_APIINTCASTS' \
     220    -i modules/lua/vlc.h    &amp;&amp;
     221
     222sed -e '/core.h/ {
     223        a #include &lt;opencv2/imgproc/imgproc_c.h&gt;
     224        a #include &lt;opencv2/imgproc/imgproc.hpp&gt;
     225    }' \
     226    -i modules/video_filter/opencv_example.cpp &amp;&amp;
     227
     228./bootstrap &amp;&amp;
     229
     230OPENCV_LIBS="-L/usr/share/OpenCV" \
     231./configure --prefix=/usr &amp;&amp;
     232
     233sed -e '/seems to be moved/s/^/#/' \
     234    -i autotools/ltmain.sh libtool &amp;&amp;
     235
    216236make</userinput></screen>
    217237
    218238    <para>
    219       To test the results, issue: <command>make check</command>.
     239      To test the results, issue: <command>make check</command>. Tests must be
     240      run from an active X session.
    220241    </para>
    221242
     
    223244      Now, as the <systemitem class="username">root</systemitem> user:
    224245    </para>
     246
     247    <note>
     248      <para>
     249        If the XORG_PREFIX is not /usr, make sure the LIBRARY_PATH
     250        environment variable is set properly when doing the install, For example:
     251        <command>sudo make LIBRARY_PATH=$XORG_PREFIX/lib ... install</command>.
     252      </para>
     253    </note>
    225254
    226255<screen role="root"><userinput>make docdir=/usr/share/doc/vlc-&vlc-version; install</userinput></screen>
     
    235264
    236265    <para>
    237       <command>sed ... configure</command>: This sed fixes compilation with
    238       <application>FFMpeg</application> 2.4.
     266      <command>sed -i ...</command>: This sed fixes compilation with
     267      <application>Samba</application> 4.
     268    </para>
     269
     270    <para>
     271      <command>sed -e ... -i modules/lua/vlc.h</command> This sed fixes
     272      compilation with <application>lua</application> 5.3.
     273    </para>
     274
     275    <para>
     276      <command>sed -e ... -i modules/video_filter/opencv_example.cpp</command>
     277      This sed partially fixes compilation with
     278      <application>OpenCV</application> 3.
     279    </para>
     280
     281    <para>
     282      <envar>OPENCV_LIBS="-L/usr/share/OpenCV"</envar> This environment variable
     283      helps the linker to find <filename>libippicv.a</filename> installed by
     284      <application>OpenCV</application> 3.
     285    </para>
     286
     287    <para>
     288      <command>./bootstrap</command>: This command calls autoreconf to generate
     289      m4 macros and prepare Makefiles.
     290    </para>
     291
     292    <para>
     293      <command>sed -e ... -i.orig autotools/ltmain.sh libtool</command>: This
     294      optional sed removes a lot of invalid build warnings.
     295      If desired, remove it.
     296    </para>
     297
     298    <para>
     299      <option>--enable-opencv=no</option>: This switch disables
     300      <application>OpenCV</application> suport.
    239301    </para>
    240302
     
    273335      have <application>libgcrypt</application> installed.
    274336    </para>
     337
     338<!--
     339    <para>
     340      <option>- -enable-shine</option>: Use this option if you wish to build the
     341      <application>Shine</application> plugin.
     342    </para>
     343
     344    <para>
     345      <option>- -enable-tremor</option>: Use this option if you have
     346      <application>Tremor</application> installed and wish to build the
     347      <application>Tremor</application> plugin.
     348    </para>
     349
     350    <para>
     351      <option>- -enable-aa</option>: Use this option if you have
     352      <application>AAlib</application> installed and wish to build the
     353      <application>AAlib</application> plugin.
     354    </para>
     355-->
    275356
    276357    <note>
Note: See TracChangeset for help on using the changeset viewer.