[blfs] 06/07: Add tesseract-5.5.3 and leptonica-1.87.0 in support of Plasma's spectacle.

git Owner ([email protected] via blfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.beyond.book
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch trunk
in repository blfs.

commit 3d3d544b55d6c2e6aa6facb3ea5e6dc4bdc0b203
Author: Bruce Dubbs <[email protected]>
AuthorDate: Mon Aug 24 01:10:41 2026 -0500

    Add tesseract-5.5.3 and leptonica-1.87.0 in support of Plasma's spectacle.
---
 introduction/welcome/changelog.xml |   6 ++
 kde/plasma/leptonica.xml           | 138 +++++++++++++++++++++++++++++++++++++
 kde/plasma/plasma.xml              |   2 +
 kde/plasma/tesseract.xml           | 135 ++++++++++++++++++++++++++++++++++++
 packages.ent                       |   2 +
 5 files changed, 283 insertions(+)

diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml
index 0826ed3d72..26364db5a7 100644
--- a/introduction/welcome/changelog.xml
+++ b/introduction/welcome/changelog.xml
@@ -42,6 +42,12 @@
     <listitem>
       <para>August 22nd, 2026</para>
       <itemizedlist>
+        <listitem>
+          <para>[bdubbs] - Add tesseract-5.5.3 in support of Plasma's spectacle.</para>
+        </listitem>
+        <listitem>
+          <para>[bdubbs] - Add leptonica-1.87.0 in support of Plasma's spectacle.</para>
+        </listitem>
         <listitem>
           <para>[bdubbs] - Add corrosion-0.6.1 in support of kdeplasma-addons.</para>
         </listitem>
diff --git a/kde/plasma/leptonica.xml b/kde/plasma/leptonica.xml
new file mode 100644
index 0000000000..fe0c9d4aa1
--- /dev/null
+++ b/kde/plasma/leptonica.xml
@@ -0,0 +1,138 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!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 leptonica-download-http "https://github.com/DanBloomberg/leptonica/releases/download/&leptonica-version;/leptonica-&leptonica-version;.tar.gz">
+  <!ENTITY leptonica-download-ftp  " ">
+  <!ENTITY leptonica-md5sum        "d523d2c883b71850a46af2517d8915bf">
+  <!ENTITY leptonica-size          "14 MB">
+  <!ENTITY leptonica-buildsize     "128 MB">
+  <!ENTITY leptonica-time          "0.4 SBU (Using parallelism=4)">
+]>
+
+<sect1 id="leptonica" xreflabel="leptonica-&leptonica-version;">
+  <?dbhtml filename="leptonica.html"?>
+
+  <title>leptonica-&leptonica-version;</title>
+
+  <indexterm zone="leptonica">
+    <primary sortas="a-leptonica-&leptonica-version;">leptonica</primary>
+  </indexterm>
+
+  <sect2 role="package">
+    <title>Introduction to leptonica</title>
+
+    <para>
+      The <application>leptonica</application> package provides softwre that is 
+      broadly useful for image processing and image analysis applications.
+    </para>
+
+    &lfs131_checked;
+
+    <bridgehead renderas="sect3">Package Information</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>
+          Download (HTTP): <ulink url="&leptonica-download-http;"/>
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download (FTP): <ulink url="&leptonica-download-ftp;"/>
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download MD5 sum: &leptonica-md5sum;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download size: &leptonica-size;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Estimated disk space required: &leptonica-buildsize;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Estimated build time: &leptonica-time;
+        </para>
+      </listitem>
+    </itemizedlist>
+
+    <bridgehead renderas="sect3">leptonica Dependencies</bridgehead>
+
+    <bridgehead renderas="sect4">Recommended</bridgehead>
+    <para role="recommended">
+      <xref linkend="libjpeg"/>,
+      <xref linkend="libpng"/>,
+      <xref linkend="libwebp"/>,
+      <xref linkend="tiff"/>, and
+      <xref linkend="openjpeg2"/>
+    </para>
+
+  </sect2>
+
+  <sect2 role="installation">
+    <title>Installation of leptonica</title>
+
+    <para>
+      Install <application>leptonica</application> by running the following
+      commands:
+    </para>
+
+<screen><userinput>./autogen.sh &amp;&amp;           
+
+./configure --prefix=/usr --disable-static &amp;&amp;
+make</userinput></screen>
+
+    <para>
+      The package does not come with a test suite.
+    </para>
+
+    <para>
+      Now, as the &root; user:
+    </para>
+
+<screen role="root"><userinput>make install</userinput></screen>
+
+  </sect2>
+
+  <sect2 role="content">
+    <title>Contents</title>
+
+    <segmentedlist>
+      <segtitle>Installed Programs</segtitle>
+      <segtitle>Installed Library</segtitle>
+      <segtitle>Installed Directories</segtitle>
+
+      <seglistitem>
+        <seg>
+          convertfilestopdf,
+          convertformat,
+          convertsegfilestops,
+          converttops,
+          imagetops,
+          convertfilestops,
+          convertsegfilestopdf,
+          converttopdf,
+          fileinfo, and
+          xtractprotos
+        </seg>
+        <seg>
+          libleptonica.so
+        </seg>
+        <seg>
+          None
+        </seg>
+      </seglistitem>
+    </segmentedlist>
+
+  </sect2>
+</sect1>
+
diff --git a/kde/plasma/plasma.xml b/kde/plasma/plasma.xml
index 26882dc50c..410d874605 100644
--- a/kde/plasma/plasma.xml
+++ b/kde/plasma/plasma.xml
@@ -27,6 +27,8 @@
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="kquickimageeditor.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bolt.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="corrosion.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="leptonica.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="tesseract.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="plasma-all.xml"/>
 
 </chapter>
diff --git a/kde/plasma/tesseract.xml b/kde/plasma/tesseract.xml
new file mode 100644
index 0000000000..2c867e6fd1
--- /dev/null
+++ b/kde/plasma/tesseract.xml
@@ -0,0 +1,135 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!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 tesseract-download-http "https://github.com/tesseract-ocr/tesseract/archive/&tesseract-version;/tesseract-&tesseract-version;.tar.gz">
+  <!ENTITY tesseract-download-ftp  " ">
+  <!ENTITY tesseract-md5sum        "561b6b104238fffa1d00362ac72ea397">
+  <!ENTITY tesseract-size          "1.8 MB">
+  <!ENTITY tesseract-buildsize     "210 MB">
+  <!ENTITY tesseract-time          "0.4 SBU (Using parallelism=4)">
+]>
+
+<sect1 id="tesseract" xreflabel="tesseract-&tesseract-version;">
+  <?dbhtml filename="tesseract.html"?>
+
+  <title>tesseract-&tesseract-version;</title>
+
+  <indexterm zone="tesseract">
+    <primary sortas="a-tesseract-&tesseract-version;">tesseract</primary>
+  </indexterm>
+
+  <sect2 role="package">
+    <title>Introduction to tesseract</title>
+
+    <para>
+      The <application>tesseract</application> package provides an Optical 
+      Character Recognition (OCR) engine and command-line program used to 
+      extract printed text from images. 
+    </para>
+
+    &lfs131_checked;
+
+    <bridgehead renderas="sect3">Package Information</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>
+          Download (HTTP): <ulink url="&tesseract-download-http;"/>
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download (FTP): <ulink url="&tesseract-download-ftp;"/>
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download MD5 sum: &tesseract-md5sum;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download size: &tesseract-size;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Estimated disk space required: &tesseract-buildsize;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Estimated build time: &tesseract-time;
+        </para>
+      </listitem>
+    </itemizedlist>
+
+    <bridgehead renderas="sect3">tesseract Dependencies</bridgehead>
+
+    <bridgehead renderas="sect4">Required</bridgehead>
+    <para role="requrired">
+      <xref linkend="tesseract"/>
+    </para>
+
+    <bridgehead renderas="sect4">Recommended</bridgehead>
+    <para role="recommended">
+      <xref linkend="curl"/>,
+      <xref linkend="icu"/>,
+      <xref linkend="libarchive"/>, and
+      <xref linkend="pango"/>
+    </para>
+
+  </sect2>
+
+  <sect2 role="installation">
+    <title>Installation of tesseract</title>
+
+    <para>
+      Install <application>tesseract</application> by running the following
+      commands:
+    </para>
+
+<screen><userinput>./autogen.sh &amp;&amp;           
+
+./configure --prefix=/usr --disable-static &amp;&amp;
+make</userinput></screen>
+
+    <para>
+      The package does not come with a test suite.
+    </para>
+
+    <para>
+      Now, as the &root; user:
+    </para>
+
+<screen role="root"><userinput>make install</userinput></screen>
+
+  </sect2>
+
+  <sect2 role="content">
+    <title>Contents</title>
+
+    <segmentedlist>
+      <segtitle>Installed Programs</segtitle>
+      <segtitle>Installed Library</segtitle>
+      <segtitle>Installed Directories</segtitle>
+
+      <seglistitem>
+        <seg>
+          tesseract
+        </seg>
+        <seg>
+          libtesseract.so
+        </seg>
+        <seg>
+          /usr/share/tessdata/configs and
+          /usr/share/tessdata/tessconfigs
+        </seg>
+      </seglistitem>
+    </segmentedlist>
+
+  </sect2>
+</sect1>
+
diff --git a/packages.ent b/packages.ent
index a918297d8e..edf537b65a 100644
--- a/packages.ent
+++ b/packages.ent
@@ -1022,6 +1022,8 @@
 <!ENTITY qtkeychain-version        "0.16.0">
 <!ENTITY bolt-version              "0.9.11">
 <!ENTITY corrosion-version         "0.6.1">
+<!ENTITY leptonica-version         "1.87.0">
+<!ENTITY tesseract-version         "5.5.3">
 <!ENTITY kf6apps-version           "26.04.3">
 <!ENTITY konsole-version           "26.04.3">
 <!ENTITY kddockwidgets-version     "2.4.0">

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-book
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.