Date: Saturday, April 1, 2023 @ 19:32:19
Author: arojas
Revision: 1431803
archrelease: copy trunk to community-staging-x86_64
Added:
mauikit-imagetools/repos/community-staging-x86_64/
mauikit-imagetools/repos/community-staging-x86_64/PKGBUILD
(from rev 1431802, mauikit-imagetools/trunk/PKGBUILD)
mauikit-imagetools/repos/community-staging-x86_64/leptonica-1.83.patch
(from rev 1431802, mauikit-imagetools/trunk/leptonica-1.83.patch)
----------------------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
leptonica-1.83.patch | 12 ++++++++++++
2 files changed, 40 insertions(+)
Copied: mauikit-imagetools/repos/community-staging-x86_64/PKGBUILD (from rev
1431802, mauikit-imagetools/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2023-04-01 19:32:19 UTC (rev 1431803)
@@ -0,0 +1,28 @@
+# Maintainer: Antonio Rojas <[email protected]>
+
+pkgname=mauikit-imagetools
+pkgver=2.2.2
+pkgrel=2
+pkgdesc='MauiKit Image Tools Components'
+url='https://mauikit.org/'
+arch=(x86_64)
+license=(LGPL)
+depends=(mauikit kquickimageeditor qt5-location exiv2 tesseract)
+makedepends=(extra-cmake-modules opencv)
+source=(https://download.kde.org/stable/maui/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz
+ leptonica-1.83.patch)
+sha256sums=('640d84230480434acd053bada3ce5f2568cba79d4b273aa86b07a15dc401c6c9'
+ 'ffc6454feb8d2c11fcd83ab5323487d163e35bf37e43b5f3ff9f436a93fbb4d1')
+
+prepare() {
+ patch -d $pkgname-$pkgver -p1 < leptonica-1.83.patch
+}
+
+build() {
+ cmake -B build -S $pkgname-$pkgver
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+}
Copied: mauikit-imagetools/repos/community-staging-x86_64/leptonica-1.83.patch
(from rev 1431802, mauikit-imagetools/trunk/leptonica-1.83.patch)
===================================================================
--- community-staging-x86_64/leptonica-1.83.patch
(rev 0)
+++ community-staging-x86_64/leptonica-1.83.patch 2023-04-01 19:32:19 UTC
(rev 1431803)
@@ -0,0 +1,12 @@
+diff --git a/src/code/modules/image2text/src/ocs.cpp
b/src/code/modules/image2text/src/ocs.cpp
+index 386dd84..624075e 100644
+--- a/src/code/modules/image2text/src/ocs.cpp
++++ b/src/code/modules/image2text/src/ocs.cpp
+@@ -4,6 +4,7 @@
+
+ #include <tesseract/baseapi.h>
+ #include <leptonica/allheaders.h>
++#include <leptonica/pix_internal.h>
+ #include "OCRLanguageModel.h"
+ #if TESSERACT_MAJOR_VERSION < 5
+ #include <tesseract/strngs.h>