From nobody Thu Jul 07 17:14:31 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C8B933E0D6E; Thu, 7 Jul 2022 17:14:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Lf31M5KWlz3dYg; Thu, 7 Jul 2022 17:14:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657214071; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=sTdy0MU5g7eFfBxwgYRDR7tiZkoDBktYpYmJ5EhryUY=; b=wP7Tm914Sn08Rz4xzHCeOlnTsBOAtbmhzEY4VbNjebkgwndHlELvYx0nNbNcZ9okyEFFvD DkrNUbhxitD6RDj8xBoH21Gza9dQRah6YOB5C5Gu8F4sYMd2/GiCcJIYcLpmByxJBRw9mU 3feMWZPN1TkbZuen4Q6MuActlTfm9OfQxnRHp6XBiBMHqtJ+KcndJWR9h3Wn4zlQeObIqD bNhmiUWWNeJpnEFhSJS3okPxwGKOt89xE/lsFOuxdwlnHshxc/OAJgv7YvNTKLXHP1xYP4 UVDbWBMCcMHQyYajKPgA8fp/HkpG1U9/AlhftGzyZ6I36xJ/2naO8sTYmGCmEA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Lf31M4Dygzr3C; Thu, 7 Jul 2022 17:14:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 267HEVYG056276; Thu, 7 Jul 2022 17:14:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 267HEVqB056275; Thu, 7 Jul 2022 17:14:31 GMT (envelope-from git) Date: Thu, 7 Jul 2022 17:14:31 GMT Message-Id: <202207071714.267HEVqB056275@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: 14b44a0b226e - main - graphics/tesseract: update to 5.2.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 14b44a0b226ed1436dac8acc14034c74e93a0253 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657214071; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=sTdy0MU5g7eFfBxwgYRDR7tiZkoDBktYpYmJ5EhryUY=; b=V6VK5p/8i8Iu13J/tdJ3Kfr0wT/H66ShSiJsyZlEzf7Ctt90OI7Y4BkEzX7gBoWQj1xFIO 35FHX8R/iqleZzpA5FrW1fzYp/bpC2IBBv2DD/YdgM26DpLayhzWSca1ncEiO+EDDR/JlT ysdC2Iln1efxs1H0JZZra0tMlMBuEAyYK/Npf6ERIsd9WRJs3gCNKVxrXK9C8ucfZhC7Pq R0EHynYcFCe9QXw2wYckRwpcIChXg3CUnjA9AB9ZT4+0HenmPgSVGiuc/S+nBq/Lctnj2s T7AcXnHeI9M8llx6vfpxNyqu/e2hjOs2ai3xmpOKRz4AuhobzjWRHSJ7Nu4DeQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657214071; a=rsa-sha256; cv=none; b=EYKbxxoRVyoPm7okAcSxY0LQVRDJD6c9ABxOnBwehPfNG5tT05fgFrMsv2FAegFnbURZeA tB2UXfltEIBv4msgvyGTOjuBFgq8r7xnZ5XQUhj17pHYNKBeiMrk8yx5O9UFcg30vQPmap JVdyzanLPYujz9ybHCN6TrmTvicQ0D4Xk8tY29K2AfEqwQuRJRJ+PW6zzCX64BsUF1tKuU 64dY62nAfw5UuU0/Nv7Wlbep/bonTLFzeIuDm0LpIFR/NcCUXMdX+pF6Vd8ynEG6YnzXpW v8jlOML/rYVc+/oItsWdEklijBAVZZ0G1kcqwWeke9BhnwU0JkgzCm7q/Xy0Lw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=14b44a0b226ed1436dac8acc14034c74e93a0253 commit 14b44a0b226ed1436dac8acc14034c74e93a0253 Author: Piotr Kubaj AuthorDate: 2022-07-07 17:13:11 +0000 Commit: Piotr Kubaj CommitDate: 2022-07-07 17:13:49 +0000 graphics/tesseract: update to 5.2.0 Changelog: https://github.com/tesseract-ocr/tesseract/releases/tag/5.2.0 --- graphics/tesseract/Makefile | 3 +- graphics/tesseract/distinfo | 6 ++-- .../tesseract/files/patch-src_arch_simddetect.cpp | 41 ---------------------- graphics/tesseract/pkg-plist | 2 +- 4 files changed, 5 insertions(+), 47 deletions(-) diff --git a/graphics/tesseract/Makefile b/graphics/tesseract/Makefile index e5e8bd3a6da4..fddb204c96f4 100644 --- a/graphics/tesseract/Makefile +++ b/graphics/tesseract/Makefile @@ -1,8 +1,7 @@ # Created by: Andrew Pantyukhin PORTNAME= tesseract -PORTVERSION= 5.1.0 -PORTREVISION= 1 +PORTVERSION= 5.2.0 CATEGORIES= graphics MAINTAINER= pkubaj@FreeBSD.org diff --git a/graphics/tesseract/distinfo b/graphics/tesseract/distinfo index 2655cb2d42b2..6750f6bda5a2 100644 --- a/graphics/tesseract/distinfo +++ b/graphics/tesseract/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1646157476 -SHA256 (tesseract-ocr-tesseract-5.1.0_GH0.tar.gz) = fdec8528d5a0ecc28ab5fff985e0b8ced60726f6ef33f54126f2868e323d4bd2 -SIZE (tesseract-ocr-tesseract-5.1.0_GH0.tar.gz) = 1910376 +TIMESTAMP = 1657204030 +SHA256 (tesseract-ocr-tesseract-5.2.0_GH0.tar.gz) = eba4deb2f92a3f89a6623812074af8c53b772079525b3c263aa70bbf7b748b3c +SIZE (tesseract-ocr-tesseract-5.2.0_GH0.tar.gz) = 1913462 diff --git a/graphics/tesseract/files/patch-src_arch_simddetect.cpp b/graphics/tesseract/files/patch-src_arch_simddetect.cpp deleted file mode 100644 index 2e645a041b2e..000000000000 --- a/graphics/tesseract/files/patch-src_arch_simddetect.cpp +++ /dev/null @@ -1,41 +0,0 @@ ---- src/arch/simddetect.cpp.orig 2022-04-02 13:06:33 UTC -+++ src/arch/simddetect.cpp -@@ -55,10 +55,12 @@ - #if defined(HAVE_NEON) && !defined(__aarch64__) - # ifdef ANDROID - # include --# else --/* Assume linux */ -+# elif defined(__linux__) - # include - # include -+# elif defined(__FreeBSD__) -+# include -+# include - # endif - #endif - -@@ -85,7 +87,7 @@ SIMDDetect SIMDDetect::detector; - bool SIMDDetect::neon_available_ = true; - #elif defined(HAVE_NEON) - // If true, then Neon has been detected. --bool SIMDDetect::neon_available_; -+bool SIMDDetect::neon_available_ = false; - #else - // If true, then AVX has been detected. - bool SIMDDetect::avx_available_; -@@ -216,9 +218,12 @@ SIMDDetect::SIMDDetect() { - if (family == ANDROID_CPU_FAMILY_ARM) - neon_available_ = (android_getCpuFeatures() & ANDROID_CPU_ARM_FEATURE_NEON); - } --# else -- /* Assume linux */ -+# elif defined(__linux__) - neon_available_ = getauxval(AT_HWCAP) & HWCAP_NEON; -+# elif defined(__FreeBSD__) -+ unsigned long hwcap = 0; -+ elf_aux_info(AT_HWCAP, &hwcap, sizeof hwcap); -+ neon_available_ = hwcap & HWCAP_NEON; - # endif - #endif - diff --git a/graphics/tesseract/pkg-plist b/graphics/tesseract/pkg-plist index d29c9dba9737..b30eda70539f 100644 --- a/graphics/tesseract/pkg-plist +++ b/graphics/tesseract/pkg-plist @@ -29,7 +29,7 @@ include/tesseract/version.h lib/libtesseract.a lib/libtesseract.so lib/libtesseract.so.5 -lib/libtesseract.so.5.0.1 +lib/libtesseract.so.5.0.2 libdata/pkgconfig/tesseract.pc man/man1/ambiguous_words.1.gz man/man1/classifier_tester.1.gz