From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id yNinJVHKEmURKQEA9RJhRA:P1 (envelope-from ) for ; Tue, 26 Sep 2023 14:10:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id yNinJVHKEmURKQEA9RJhRA (envelope-from ) for ; Tue, 26 Sep 2023 14:10:57 +0200 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 119505FD05 for ; Tue, 26 Sep 2023 14:10:57 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=iki.fi header.s=meesny header.b=Y3BZ8PrO; arc=reject ("signature check failed: fail, {[1] = sig:iki.fi:reject}"); 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"; dmarc=none ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1695730257; h=from:from:sender:sender: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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=i3x20H2k6UeTcMFOUqlajpungWc3wB8MO6iregQv4io=; b=YLzlCjpW/q9PKVEvIbAJ22UeM+9QK1V5Ox85OHouUc43v+F2LHBzkEy7N/ZiOvBS6d5BSP 9IJjZbQeZcuWC/qfFjvvDJf5DVmHTXlZx9VYcleRW/AF53Zv6nJLGm2uuXtGnbSWAV+Pq8 PHVBWVSoE/1Xo3eFY114FLDU00xv2yzJrXan85KI3F2+cmSctT5LRCvkY2CE/h4hsglIni om0sm3Dk8s2UmWTD2zsfL1Rbw0bMjCrt/2K/1BU1rAn4Ba+LD63X7Y06VnPjaXp0YD/MdO ARH1x5bzrqD37BPJq+rI/L7fephiIuZiWCDCBK/FLOn7afYM4/1haGIl4V6NgQ== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1695730257; a=rsa-sha256; cv=fail; b=cQxu9jzor0ARynCqMXhsKCPuvfcm/kPr9LohCGZUPUAaNxZGcjbYtI5gpEIQRG+GPnoYDp nwLSRgrx5vXhQeQGdxOPoiNSVUmlzUILL7u90OEf5VFdWuHb3rTKvZ7mFE/DX66/famihl lSZh0jDZT/CgbWzqXDC6SlL5w48w3HTT8YczhNkw6me2acfHIpUCceMqEfxehMdLz+vKAg v16jvtcJ3b24Et22qnzc3nJUwteBvzpKcxj6LDoAWbbhqcylwcilBQA6h3UwIhUa8YHqiT CedXyuURdHWzxhJ2PDAjktvSuBpWy8Xs3+NhOzMDggsrKaVLpyo4m2mIAZM/nA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=iki.fi header.s=meesny header.b=Y3BZ8PrO; arc=reject ("signature check failed: fail, {[1] = sig:iki.fi:reject}"); 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"; dmarc=none Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ql6ty-0006JK-A8; Tue, 26 Sep 2023 08:10:55 -0400 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 1ql6tu-0006IU-8r for guix-patches@gnu.org; Tue, 26 Sep 2023 08:10:51 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ql6tt-0008Qj-QB for guix-patches@gnu.org; Tue, 26 Sep 2023 08:10:49 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ql6u6-0008BK-Gn for guix-patches@gnu.org; Tue, 26 Sep 2023 08:11:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66049] [PATCH v2 1/4] gnu: Add hfst-ospell. References: In-Reply-To: Resent-From: Jussi Timperi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 26 Sep 2023 12:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66049 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66049@debbugs.gnu.org Received: via spool by 66049-submit@debbugs.gnu.org id=B66049.169573022331352 (code B ref 66049); Tue, 26 Sep 2023 12:11:02 +0000 Received: (at 66049) by debbugs.gnu.org; 26 Sep 2023 12:10:23 +0000 Received: from localhost ([127.0.0.1]:47503 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ql6tT-00089c-4s for submit@debbugs.gnu.org; Tue, 26 Sep 2023 08:10:23 -0400 Received: from meesny.iki.fi ([2001:67c:2b0:1c1::201]:59636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ql6tP-00089P-G0 for 66049@debbugs.gnu.org; Tue, 26 Sep 2023 08:10:21 -0400 Received: from localhost (unknown [IPv6:2001:999:580:b0d2:8078:5d7e:c63e:a128]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: jussi.timperi) by meesny.iki.fi (Postfix) with ESMTPSA id 4Rvz8C66ZnzyPp; Tue, 26 Sep 2023 15:10:03 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1695730204; 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=i3x20H2k6UeTcMFOUqlajpungWc3wB8MO6iregQv4io=; b=Y3BZ8PrORNYpSd4o4UG4wQ6CZLFsZtTSZKU1NTteTxKELtVBVvB+MfuGLFmaAkBnRcuLxY IfGRkPW+G4DOkIPg3ByZdg0P5D2ID+IHEZHkerX9nNlNDyHwXbFnSQixkK30vxxikQo+Rr 9SYR60WXwe5wAybAwSlaHjLNArzkxmk= ARC-Seal: i=1; s=meesny; d=iki.fi; t=1695730204; a=rsa-sha256; cv=none; b=MBhu8itBN/VhVQcFkezaiPGnWXVE8Hgz9VCtNUMcuJs4SeKaB42ccKlFTax1mooSEsbOP7 D7lyIjmD+eHjRgtbr53mQ3X4j5cOUWSAw0Zrsa4jIsCt00p6p0f2ge6q7pvA0kwjuSkm41 G0c4yQpyCHocxyGw5tFzjHdO/s+foZQ= ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=jussi.timperi smtp.mailfrom=jussi.timperi@iki.fi ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1695730204; 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=i3x20H2k6UeTcMFOUqlajpungWc3wB8MO6iregQv4io=; b=pN3wElhTibCgtAqTp5Wr0fszw+BeKVBIt53cB0fek99OTQoOzZqYjAqNqs+iOdERQYJP3i lTFHCUuRHGm3f6P71mgjsbGwRFe+jSVBXNweCIZYylREmX19oEXfMCPRsaGd9z7fZyWmzB lZVYq64Tvm26rj2refyKp4ahpbtKtmw= From: Jussi Timperi Date: Tue, 26 Sep 2023 15:09:52 +0300 Message-ID: <804a598c1c5b401858c795e26b1df1ab2f1ce1da.1695678993.git.jussi.timperi@iki.fi> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -3.34 X-Spam-Score: -3.34 X-Migadu-Queue-Id: 119505FD05 X-TUID: cgNpcXCdx8oe * gnu/packages/language.scm (hfst-ospell): New variable. --- gnu/packages/language.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm index faf3114b84..241b145440 100644 --- a/gnu/packages/language.scm +++ b/gnu/packages/language.scm @@ -8,6 +8,7 @@ ;;; Copyright © 2022 Milran ;;; Copyright © 2023 Maxim Cournoyer ;;; Copyright © 2023 gemmaro +;;; Copyright © 2023 Jussi Timperi ;;; ;;; This file is part of GNU Guix. ;;; @@ -29,6 +30,7 @@ (define-module (gnu packages language) #:use-module (gnu packages anthy) #:use-module (gnu packages autotools) #:use-module (gnu packages audio) + #:use-module (gnu packages backup) #:use-module (gnu packages base) #:use-module (gnu packages compression) #:use-module (gnu packages dbm) @@ -40,6 +42,7 @@ (define-module (gnu packages language) #:use-module (gnu packages gnome) #:use-module (gnu packages gtk) #:use-module (gnu packages ibus) + #:use-module (gnu packages icu4c) #:use-module (gnu packages java) #:use-module (gnu packages linux) #:use-module (gnu packages llvm) @@ -1179,3 +1182,33 @@ (define-public mecab-unidic from the database are used as entries (heading terms).") ;; triple-licensed (at the user’s choice) (license (list license:gpl2+ license:lgpl2.1 license:bsd-3)))) + +(define-public hfst-ospell + (package + (name "hfst-ospell") + (version "0.5.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/hfst/hfst-ospell") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0n8zds3s3gj3fws6ghjr9cpgswasnjqr9rz4syxy2yq8n2fzb8fp")))) + (build-system gnu-build-system) + (arguments + (list + ;; Don't use obsolete XML libraries. + ;; see: https://github.com/hfst/hfst-ospell/issues/48 + #:configure-flags #~'("--without-libxmlpp" "--without-tinyxml2" + "--enable-zhfst"))) + (inputs (list icu4c libarchive)) + (native-inputs (list autoconf automake libtool pkg-config)) + (home-page "https://github.com/hfst/hfst-ospell") + (synopsis "HFST spell checker library and command line tool") + (description + "Minimal @acronym{HFST, Helsinki Finite-State Technology} +optimized-lookup format based spell checker library and a demonstrational +implementation of command line based spell checker.") + (license license:asl2.0))) base-commit: fafd3caef0d51811a5da81d6061789e2908b0dac -- 2.41.0