Changeset d455680


Ignore:
Timestamp:
12/22/2016 07:11:32 PM (7 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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, 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:
cb6f557
Parents:
170773d3
Message:

Fix building of gst-plugins-bad when opencv is present

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

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • general/graphlib/opencv.xml

    r170773d3 rd455680  
    77  <!ENTITY cvdir "/projects/opencvlibrary/files">
    88
    9   <!ENTITY opencv-download-http "&sourceforge-repo2;&cvdir;/opencv-unix/&opencv-version;/opencv-&opencv-version;.zip">
    10   <!ENTITY opencv-download-ftp    " ">
    11   <!ENTITY opencv-md5sum          "6082ee2124d4066581a7386972bfd52a">
    12   <!ENTITY opencv-size            "76 MB">
    13   <!ENTITY opencv-buildsize       "1.8 GB">
    14   <!ENTITY opencv-time            "4.9 SBU">
    15 
    16   <!ENTITY ippicv-version         "20151201">
    17   <!ENTITY ippicv_binaries_commit "81a676001ca8075ada498583e4166079e5744668">
    18 
     9  <!ENTITY opencv-download-http     "&sourceforge-repo2;&cvdir;/opencv-unix/&opencv-version;/opencv-&opencv-version;.zip">
     10  <!ENTITY opencv-download-ftp      " ">
     11  <!ENTITY opencv-md5sum            "6082ee2124d4066581a7386972bfd52a">
     12  <!ENTITY opencv-size              "76 MB">
     13  <!ENTITY opencv-buildsize         "1.8 GB">
     14  <!ENTITY opencv-time              "4.9 SBU">
     15
     16
     17  <!ENTITY ippicv-version          "20151201">
     18  <!ENTITY ippicv_binaries_commit  "81a676001ca8075ada498583e4166079e5744668">
     19
     20  <!ENTITY opencv-contrib-download "https://github.com/opencv/opencv_contrib/archive/&opencv-version;.tar.gz">
    1921]>
    2022
     
    7880
    7981    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
    80     <para>Optional file: <ulink
    81       url="https://raw.githubusercontent.com/Itseez/opencv_3rdparty/&ippicv_binaries_commit;/ippicv/ippicv_linux_&ippicv-version;.tgz">
    82            https://raw.githubusercontent.com/Itseez/opencv_3rdparty/&ippicv_binaries_commit;/ippicv/ippicv_linux_&ippicv-version;.tgz</ulink>
    83     </para>
     82    <itemizedlist spacing="compact">
     83      <listitem>
     84        <para>
     85          Optional file (will be downloaded when running cmake if not present):
     86          <ulink
     87          url="https://raw.githubusercontent.com/opencv/opencv_3rdparty/&ippicv_binaries_commit;/ippicv/ippicv_linux_&ippicv-version;.tgz"/>
     88        </para>
     89      </listitem>
     90      <listitem>
     91        <para>
     92          Optional additional modules: <ulink
     93          url="&opencv-contrib-download;"/>
     94        </para>
     95      </listitem>
     96    </itemizedlist>
     97
     98    <note>
     99      <para>Download the additional modules via wget as:</para>
     100<screen><userinput>wget &opencv-contrib-download; \
     101     -O opencv_contrib-&opencv-version;.tar.gz</userinput></screen>
     102    </note>
    84103
    85104    <bridgehead renderas="sect3">opencv Dependencies</bridgehead>
     
    153172
    154173    <para>
     174      If needed, unpack the additional modules package:
     175    </para>
     176
     177<screen><userinput>tar xf ../opencv_contrib-&opencv-version;.tar.gz</userinput></screen>
     178
     179    <para>
    155180      Install <application>opencv</application> by running the following
    156181      commands:
     
    190215    is needed for compatibiiity with gcc-6.1 and later.</para>
    191216
    192     <para><parameter>-DWITH_IPP=ON</parameter>: This option instructs the make
    193     procedure to use the downloaded IPP package.</para>
     217    <para><option>-DOPENCV_EXTRA_MODULES_PATH=../opencv_contrib-&opencv-version;/modules</option>:
     218    instructs the build system to build the additional modules.</para>
    194219
    195220    <para><command>mv -v /usr/share/OpenCV/3rdparty/lib/libippicv.a
    196     /usr/lib</command>: This command move a library to a location where it
     221    /usr/lib</command>: This command moves a library to a location where it
    197222    can be found.</para>
    198223
  • introduction/welcome/changelog.xml

    r170773d3 rd455680  
    4747      <itemizedlist>
    4848        <listitem>
     49          <para>[pierre] - Fix building of gst-plugins-bad when opencv
     50          is present.</para>
     51        </listitem>
     52        <listitem>
    4953          <para>[renodr] - Update to gtk+-3.22.5. Fixes
    5054          <ulink url="&blfs-ticket-root;8631">#8631</ulink>.</para>
  • multimedia/libdriv/gst10-plugins-bad.xml

    r170773d3 rd455680  
    124124      <xref linkend="neon"/>,
    125125      <xref linkend="nettle"/>,
    126       <xref linkend="opencv"/>,
     126      <xref linkend="opencv"/> (with additional modules),
    127127      <xref linkend="openjpeg"/> or
    128128      <xref linkend="openjpeg2"/>,
     
    184184<screen><userinput>./configure --prefix=/usr     \
    185185            --disable-wayland \
     186            --disable-opencv  \
    186187            --with-package-name="GStreamer Bad Plugins &gst10-plugins-bad-version; BLFS" \
    187188            --with-package-origin="http://www.linuxfromscratch.org/blfs/view/svn/" &amp;&amp;
     
    206207      <parameter>--disable-wayland</parameter>: This switch is required
    207208      without a full wayland based desktop environment.
     209    </para>
     210
     211    <para>
     212      <parameter>--disable-opencv</parameter>: This switch is required
     213      if <xref linkend="opencv"/> is installed without additional modules
     214      (specifically bgsegm).
    208215    </para>
    209216
Note: See TracChangeset for help on using the changeset viewer.