From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0OtnJwMZ/WPl7AAAbAwnHQ (envelope-from ) for ; Mon, 27 Feb 2023 21:56:35 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id oKZlJgMZ/WOTggEAG6o9tA (envelope-from ) for ; Mon, 27 Feb 2023 21:56:35 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 86E83C516 for ; Mon, 27 Feb 2023 21:56:34 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pWkXW-0002zG-7E; Mon, 27 Feb 2023 15:56:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pWkXV-0002xx-1t for guix-patches@gnu.org; Mon, 27 Feb 2023 15:56:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pWkXT-0004Ol-2m for guix-patches@gnu.org; Mon, 27 Feb 2023 15:56:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pWkXS-00033D-Kj for guix-patches@gnu.org; Mon, 27 Feb 2023 15:56:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61851] [PATCH] gnu: tesseract-ocr-tessdata-fast: Install tesseract config files. Resent-From: jlicht@fsfe.org Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 27 Feb 2023 20:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61851 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61851@debbugs.gnu.org Cc: Jelle Licht X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167753133211676 (code B ref -1); Mon, 27 Feb 2023 20:56:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 Feb 2023 20:55:32 +0000 Received: from localhost ([127.0.0.1]:48942 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWkWy-00032E-Fv for submit@debbugs.gnu.org; Mon, 27 Feb 2023 15:55:32 -0500 Received: from lists.gnu.org ([209.51.188.17]:58700) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWkWu-000320-IF for submit@debbugs.gnu.org; Mon, 27 Feb 2023 15:55:31 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pWkWt-0002ss-Uy for guix-patches@gnu.org; Mon, 27 Feb 2023 15:55:28 -0500 Received: from mail1.fsfe.org ([217.69.89.151]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pWkWq-0004ER-Ei for guix-patches@gnu.org; Mon, 27 Feb 2023 15:55:26 -0500 From: jlicht@fsfe.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fsfe.org; s=2021100501; t=1677531318; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=jwNQplytHi2Q6W0YYfe0gUj8Nm3LLeKrfxrg2dbsKuU=; b=MVHWTaO6NGWjgpRtYYvV+DWgEp3kc61HYflzZuzw9mQnNFveGyVYP41h/e/AlBcXOKt0uI /AsqZe2HNc2V65p2h0QhaD0OSaoUB3XmVIr4jjHbwANe+s3aeYhx1ryI08J1BA2EdbkqIc IskdkgDelMQzV4THjcLYEYw/oLz+5nw= Date: Mon, 27 Feb 2023 21:55:16 +0100 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=217.69.89.151; envelope-from=jlicht@fsfe.org; helo=mail1.fsfe.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677531394; a=rsa-sha256; cv=none; b=EeC3kvzuPJTDPulgd3YYAsWwd+GZEQjyyc5cnNPikmQC58NYy/jGJM1MEiKIXyFFk1NrTa kkh/BQht0aJHdkR48ZEYqTJMAAn8nE8MtWTO+gpVPiBfKjQGOJEpDlcCVZTZZ247u/OOEA 7ZGjShK4M4q62+EN3MVxk15DT+K2x1cUXlfCH2vqnO5ef/ahTacz6+pNJCH6XPGGe8yWS6 ctVNY78KukKDorGMtTk4Gp/yBSOs2UnxJlEaLG4WCiPilUuBv6/ynr3FsiskZth8GyVR2H tt47jaxW263J53GcLbWbmIUSlR9n+/VvuunGMCg4PiosBcmEHyDmCyqPiW4aKQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=fsfe.org header.s=2021100501 header.b=MVHWTaO6; dmarc=fail reason="SPF not aligned (relaxed)" header.from=fsfe.org (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677531394; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=jwNQplytHi2Q6W0YYfe0gUj8Nm3LLeKrfxrg2dbsKuU=; b=g/7Ipm5Wp9wqqt+HPmdBglM+rmpo/O1aYAPyZA2dcgDTTfWCf+3LOXtFFmTQxhjGVoqezo dB/av/5SOxCTx0UyaL6GrRcTxjqkjIkUIUYVzNot2ZcfVkA0N/aDWPjO1pkU/XmkNJUelk y3leLSbmNbd6yr3iHl3U9qiuej3VM+AOuut0eu3UZi0vZqdDx8wMpAJ+WCVV5X2qdArZyx dEqxBgRAr5X2Ufe1nIEbWNZVTtV7PORl1FIsSpzkNXodIN/9PB3VwT1AjY9CQ+CDGapKCs rJc9RargCR4hcU39anjjKZn8E7CqItW3PCLpITRPa4BeiMsl2nDxAd/1OpyjAA== X-Migadu-Spam-Score: 0.71 X-Spam-Score: 0.71 X-Migadu-Queue-Id: 86E83C516 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=fsfe.org header.s=2021100501 header.b=MVHWTaO6; dmarc=fail reason="SPF not aligned (relaxed)" header.from=fsfe.org (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-TUID: 6QCgA6kb2jBw From: Jelle Licht * gnu/packages/ocr.scm (tesseract-ocr-tessdata-fast)[source]: Add recursive? flag. Adjust hash accordingly. [arguments]<#:phases>: Remove unneeded workaround. --- gnu/packages/ocr.scm | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/gnu/packages/ocr.scm b/gnu/packages/ocr.scm index c1cd4f061e..e07d40bda4 100644 --- a/gnu/packages/ocr.scm +++ b/gnu/packages/ocr.scm @@ -82,18 +82,14 @@ (define-public tesseract-ocr-tessdata-fast (method git-fetch) (uri (git-reference (url "https://github.com/tesseract-ocr/tessdata_fast") + (recursive? #t) ; for tessconfigs (commit version))) (file-name (git-file-name name version)) (sha256 (base32 - "1m310cpb87xx8l8q7jy9fvzf6a0m8rm0dmjpbiwhc2mi6w4gn084")))) + "1hqdsy3zdy5b9l641fvhnawkw6wpb8nkvjql78q8g47js8109mhm")))) (build-system copy-build-system) - (arguments (list #:install-plan #~'(("." "share/tesseract-ocr/tessdata")) - #:phases #~(modify-phases %standard-phases - (add-after 'unpack 'delete-broken-links - (lambda _ - (delete-file "configs") - (delete-file "pdf.ttf")))))) + (arguments (list #:install-plan #~'(("." "share/tesseract-ocr/tessdata")))) (home-page "https://github.com/tesseract-ocr/tessdata_fast") (synopsis "Fast integer versions of trained LSTM models") (description "This repository contains fast integer versions of trained -- 2.39.1