Author: bdubbs
Date: Tue Jun 30 13:10:44 2015
New Revision: 16194

Log:
Add opencv (Open Computer Vision)
Minor text changes.

Added:
   trunk/BOOK/general/graphlib/opencv.xml   (contents, props changed)
Modified:
   trunk/BOOK/general/graphlib/graphlib.xml
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/kde/kf5/kf5-intro.xml
   trunk/BOOK/kde/libdbusmenuqt.xml
   trunk/BOOK/kde/polkit-qt.xml
   trunk/BOOK/packages.ent

Modified: trunk/BOOK/general/graphlib/graphlib.xml
==============================================================================
--- trunk/BOOK/general/graphlib/graphlib.xml    Tue Jun 30 11:46:09 2015        
(r16193)
+++ trunk/BOOK/general/graphlib/graphlib.xml    Tue Jun 30 13:10:44 2015        
(r16194)
@@ -43,6 +43,7 @@
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="libtiff.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="libwebp.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="newt.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="opencv.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="openjpeg.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="openjpeg2.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="pixman.xml"/>

Added: trunk/BOOK/general/graphlib/opencv.xml
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ trunk/BOOK/general/graphlib/opencv.xml      Tue Jun 30 13:10:44 2015        
(r16194)
@@ -0,0 +1,247 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"; [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+
+  <!ENTITY cvdir "/projects/opencvlibrary/files">
+
+  <!ENTITY opencv-download-http 
"&sourceforge-repo2;&cvdir;/opencv-unix/&opencv-version;/opencv-&opencv-version;.zip">
+  <!ENTITY opencv-download-ftp  " ">
+  <!ENTITY opencv-md5sum        "09004c275d8092cbdf5b61675cecd399">
+  <!ENTITY opencv-size          "96 MB">
+  <!ENTITY opencv-buildsize     "528 MB">
+  <!ENTITY opencv-time          "5.5 SBU">
+]>
+
+<sect1 id="opencv" xreflabel="opencv-&opencv-version;">
+  <?dbhtml filename="opencv.html"?>
+
+  <sect1info>
+    <othername>$LastChangedBy: ken $</othername>
+    <date>$Date: 2015-04-27 12:34:27 -0500 (Mon, 27 Apr 2015) $</date>
+  </sect1info>
+
+  <title>opencv-&opencv-version;</title>
+
+  <indexterm zone="opencv">
+    <primary sortas="a-opencv">opencv</primary>
+  </indexterm>
+
+  <sect2 role="package">
+    <title>Introduction to opencv</title>
+
+    <para>
+      The <application>opencv</application> package contains graphics 
libraries 
+      mainly aimed at real-time computer vision.
+    </para>
+
+    &lfs77_checked; &gcc5_checked;
+
+    <bridgehead renderas="sect3">Package Information</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>
+          Download (HTTP): <ulink url="&opencv-download-http;"/>
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download (FTP): <ulink url="&opencv-download-ftp;"/>
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download MD5 sum: &opencv-md5sum;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download size: &opencv-size;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Estimated disk space required: &opencv-buildsize;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Estimated build time: &opencv-time;
+        </para>
+      </listitem>
+    </itemizedlist>
+
+    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
+    <para>Optional file: <ulink
+      
url="&sourceforge-repo2;&cvdir;/3rdparty/ippicv/ippicv_linux_20141027.tgz">
+           
&sourceforge-repo2;&cvdir;/3rdparty/ippicv/ippicv_linux_20141027.tgz</ulink>
+    </para>
+
+    <bridgehead renderas="sect3">opencv Dependencies</bridgehead> 
+
+    <bridgehead renderas="sect4">Required</bridgehead>
+    <para role="required">
+      <xref linkend="cmake"/> and
+      <xref linkend="unzip"/>
+    </para>
+
+    <bridgehead renderas="sect4">Recommended</bridgehead>
+    <para role="recommended">
+      <xref linkend="ffmpeg"/>,
+      <xref linkend="gst10-plugins-base"/>,
+      <xref linkend="gtk3"/>,
+      <xref linkend="jasper"/>,
+      <xref linkend="libjpeg"/>,
+      <xref linkend="libpng"/>,
+      <xref linkend="libtiff"/>,
+      <xref linkend="libwebp"/>, 
+      <xref linkend="python2"/>, 
+      <xref linkend="v4l-utils"/>, and
+      <xref linkend="xine-lib"/>
+    </para>
+
+    <bridgehead renderas="sect4">Optional</bridgehead>
+    <para role="optional">
+      <xref linkend="apache-ant"/>, 
+      <xref linkend="doxygen"/>, 
+      <xref linkend="java"/>, 
+      <xref linkend="python3"/>,
+      <ulink url="https://developer.nvidia.com/cuda-zone";>Cuda</ulink>,
+      <ulink url="http://eigen.tuxfamily.org/";>Eigen</ulink>,
+      <ulink url="http://www.openexr.com/";>OpenEXR</ulink>,
+      <ulink url="http://gcd.joewheaton.org/";>GCD</ulink>,
+      <ulink url="http://www.gdal.org/";>GDAL</ulink>,
+      <ulink 
url="http://www.jai.com/en/support/gigevisionsdkcontroltoolv130";>GigEVisionSDK</ulink>,
+      <ulink url="http://jackaudio.org/";>JACK</ulink>,
+      <ulink 
url="http://sourceforge.net/projects/libdc1394/";>libdc1394</ulink>,
+      <ulink url="http://www.gphoto.org/";>libgphoto2</ulink>,
+      <ulink url="http://www.numpy.org/";>NumPy</ulink>,
+      <ulink url="http://structure.io/openni";>OpenNI</ulink>,
+      <ulink url="http://plantuml.sourceforge.net/";>PlanetUML</ulink>,
+      <ulink 
url="http://www.1stvision.com/AVT-gige-camera-software-downloads.html";>PvAPI</ulink>,
+      <ulink url="https://www.threadingbuildingblocks.org/";>Threading Building 
Blocks (TBB)</ulink>,
+      <ulink url="http://unicap-imaging.org/";>UniCap</ulink>,
+      <ulink url="http://www.vtk.org/";>VTK - The Visualization 
Toolkit</ulink>, and
+      <ulink url="http://www.ximea.com/";>XIMEA</ulink>
+    </para>
+
+    <para condition="html" role="usernotes">
+      User Notes: <ulink url="&blfs-wiki;/opencv"/>
+    </para>
+  </sect2>
+
+  <sect2 role="installation">
+    <title>Installation of opencv</title>
+
+    <para>
+      If the optional Integrated Performance Primitives (IPP) package has been
+      downloaded, put it in place so the cmake script does not try to download
+      it again:
+    </para>
+
+<screen><userinput>ipp_file=../ippicv_linux_20141027.tgz             &amp;&amp;
+ipp_hash=$(md5sum $ipp_file | cut -d" " -f1)      &amp;&amp;
+ipp_dir=3rdparty/ippicv/downloads/linux-$ipp_hash &amp;&amp;
+
+mkdir -p $ipp_dir &amp;&amp;
+cp $ipp_file $ipp_dir</userinput></screen>
+
+    <para>
+      Install <application>opencv</application> by running the following
+      commands:
+    </para>
+
+<screen><userinput>mkdir build &amp;&amp;
+cd    build &amp;&amp;
+
+cmake -DCMAKE_INSTALL_PREFIX=/usr \
+      -DWITH_XINE=ON              \
+      -DBUILD_TESTS=OFF           \
+      ..
+make</userinput></screen>
+
+    <para>
+      The package does not come with an operable test suite.
+    </para>
+
+    <para>
+      Now, as the <systemitem class="username">root</systemitem> user:
+    </para>
+
+<screen role="root"><userinput>make install</userinput></screen>
+
+  </sect2>
+
+  <sect2 role="commands">
+    <title>Command Explanations</title>
+
+    <para><option>-DWITH_XINE=ON</option>: This option instucts the make 
procedure to
+    use <xref linkend="xine-lib"/>.</para>
+
+    <para><option>-DWITH_IPP=ON</option>: This option instucts the make 
procedure to
+    use the downloaded IPP package.</para>
+
+  </sect2>
+
+  <sect2 role="content">
+    <title>Contents</title>
+
+    <segmentedlist>
+      <segtitle>Installed Programs</segtitle>
+      <segtitle>Installed Libraries</segtitle>
+      <segtitle>Installed Directories</segtitle>
+
+      <seglistitem>
+        <seg>
+          opencv_annotation,
+          opencv_createsamples, and
+          opencv_traincascade
+        </seg>
+        <seg>
+          libopencv_calib3d.so,
+          libopencv_core.so,
+          libopencv_features2d.so,
+          libopencv_flann.so,
+          libopencv_highgui.so,
+          libopencv_imgcodecs.so,
+          libopencv_imgproc.so,
+          libopencv_ml.so,
+          libopencv_objdetect.so,
+          libopencv_photo.so,
+          libopencv_shape.so,
+          libopencv_stitching.so,
+          libopencv_superres.so,
+          libopencv_video.so,
+          libopencv_videoio.so, and
+          libopencv_videostab.so
+        </seg>
+        <seg>
+          /usr/include/opencv and
+          /usr/share/OpenCV
+        </seg>
+      </seglistitem>
+    </segmentedlist>
+<!--
+    <variablelist>
+      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <?dbfo list-presentation="list"?>
+      <?dbhtml list-presentation="table"?>
+
+      <varlistentry id="opencv_annotation">
+        <term><command>opencv_annotation</command></term>
+        <listitem>
+          <para>
+            ???
+          </para>
+          <indexterm zone="opencv opencv_annotation">
+            <primary sortas="b-opencv">opencv_annotation</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+-->
+  </sect2>
+
+</sect1>

Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml       Tue Jun 30 11:46:09 
2015        (r16193)
+++ trunk/BOOK/introduction/welcome/changelog.xml       Tue Jun 30 13:10:44 
2015        (r16194)
@@ -48,6 +48,9 @@
       <para>June 30th, 2015</para>
       <itemizedlist>
         <listitem>
+          <para>[bdubbs] - Add opencv (Open Computer Vision).</para>
+        </listitem>
+        <listitem>
           <para>[renodr] - Update to liblinear-2.0. Fixes
           <ulink url="&blfs-ticket-root;6659">#6659</ulink>.</para>
         </listitem>

Modified: trunk/BOOK/kde/kf5/kf5-intro.xml
==============================================================================
--- trunk/BOOK/kde/kf5/kf5-intro.xml    Tue Jun 30 11:46:09 2015        (r16193)
+++ trunk/BOOK/kde/kf5/kf5-intro.xml    Tue Jun 30 13:10:44 2015        (r16194)
@@ -27,7 +27,7 @@
   </indexterm>
 
   <para>KF5 can be installed in /usr or /opt/kf5.  The BLFS editors
-  recommend the later in the BLFS environment.
+  recommend the latter in the BLFS environment.
   </para>
 
   <sect2>

Modified: trunk/BOOK/kde/libdbusmenuqt.xml
==============================================================================
--- trunk/BOOK/kde/libdbusmenuqt.xml    Tue Jun 30 11:46:09 2015        (r16193)
+++ trunk/BOOK/kde/libdbusmenuqt.xml    Tue Jun 30 13:10:44 2015        (r16194)
@@ -30,9 +30,9 @@
     <title>Introduction to libdbusmenu-qt</title>
 
     <para>This library provides a <application>Qt</application> implementation
-    of the DBusMenu specs, which goal is to expose menus on DBus.  Its
+    of the DBusMenu specs in order to expose menus on DBus.  Its
     libraries are used by both KDE4 and KF5, but they must be linked to <xref
-    linkend='qt4'/> and <xref linkend='qt5'/> respectively. The two versions to
+    linkend='qt4'/> and <xref linkend='qt5'/> respectively. The two versions do
     not conflict with each other. </para>
 
     &lfs77_checked; &gcc5_checked;

Modified: trunk/BOOK/kde/polkit-qt.xml
==============================================================================
--- trunk/BOOK/kde/polkit-qt.xml        Tue Jun 30 11:46:09 2015        (r16193)
+++ trunk/BOOK/kde/polkit-qt.xml        Tue Jun 30 13:10:44 2015        (r16194)
@@ -32,7 +32,7 @@
     <para><application>Polkit-Qt</application> provides an API to PolicyKit in
     the Qt environment. Its libraries are used by both KDE4 and KF5, but they
     must be linked to <xref linkend='qt4'/> and <xref linkend='qt5'/>
-    respectively. The two versions to not conflict with each other. </para>
+    respectively. The two versions do not conflict with each other. </para>
 
     &lfs77_checked; &gcc5_checked;
 

Modified: trunk/BOOK/packages.ent
==============================================================================
--- trunk/BOOK/packages.ent     Tue Jun 30 11:46:09 2015        (r16193)
+++ trunk/BOOK/packages.ent     Tue Jun 30 13:10:44 2015        (r16194)
@@ -176,6 +176,7 @@
 <!ENTITY libtiff-version              "4.0.4">
 <!ENTITY libwebp-version              "0.4.3">
 <!ENTITY newt-version                 "0.52.18">
+<!ENTITY opencv-version               "3.0.0">
 <!ENTITY openjpeg-version             "1.5.2">
 <!ENTITY openjpeg2-version            "2.1.0">
 <!ENTITY pixman-version               "0.32.6">   <!-- Even minors only -->
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to