From patchwork Fri Feb 28 11:39:42 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thanos Apollo X-Patchwork-Id: 39438 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id A3BC027BBE9; Fri, 28 Feb 2025 11:40:21 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-8.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H2,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id AF01D27BBE2 for ; Fri, 28 Feb 2025 11:40:18 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tnyis-0002XT-4e; Fri, 28 Feb 2025 06:40: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 1tnyip-0002TL-AM for guix-patches@gnu.org; Fri, 28 Feb 2025 06:40:03 -0500 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 1tnyio-0004Kz-T9 for guix-patches@gnu.org; Fri, 28 Feb 2025 06:40:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=K26vzt+ZR7P5M23dJde3c00wkOtk5j2HWQm+CE8xXIw=; b=fsmMornen2r9ILZOl1fXTOHhq11SJkoMYtAT0SY/oxmy5UT313mDfvzaxchy6OZdjuJQEonwB3wLRFFDkJP0dKYWqs9HKH4dCdhTtXdI7s49b72FISbr7avK1iQzRKDCbXF+3+SjVKnH/t4loyzpLcbhgf9YhI81cykoJybpH107OmTfnd6fL0sS7kZx8RXJqjiyIWLhL3zK1+JBqpfTN8CW4JIECHixmN5cwr/ezC48HkH9fooM3MPaRj1yKWcAR4dVWdZkbnOtPv+KAEWN31FZZ3zhb3x3k/TxQTgyDfCinGbFMygWhG7XZCfssQjJ6anru0kerftmtFzAKnBX4w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tnyio-0004Rn-OM for guix-patches@gnu.org; Fri, 28 Feb 2025 06:40:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#76639] [PATCH] gnu: Add hunspell-dict-el-polytonic. Resent-From: Thanos Apollo Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 28 Feb 2025 11:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 76639 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 76639@debbugs.gnu.org Cc: Thanos Apollo X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.174074275517008 (code B ref -1); Fri, 28 Feb 2025 11:40:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 Feb 2025 11:39:15 +0000 Received: from localhost ([127.0.0.1]:46074 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tnyi2-0004QF-VX for submit@debbugs.gnu.org; Fri, 28 Feb 2025 06:39:15 -0500 Received: from lists.gnu.org ([2001:470:142::17]:40034) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tnyi1-0004Pk-1R for submit@debbugs.gnu.org; Fri, 28 Feb 2025 06:39:13 -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 1tnyhu-0001hm-IG for guix-patches@gnu.org; Fri, 28 Feb 2025 06:39:06 -0500 Received: from mout-p-201.mailbox.org ([80.241.56.171]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1tnyhs-00049o-FY for guix-patches@gnu.org; Fri, 28 Feb 2025 06:39:06 -0500 Received: from smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202]) (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) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4Z45nt4V0Jz9thx; Fri, 28 Feb 2025 12:38:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thanosapollo.org; s=MBO0001; t=1740742738; 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=K26vzt+ZR7P5M23dJde3c00wkOtk5j2HWQm+CE8xXIw=; b=nAKEMj7uZYSLwZ5XVTSSA4NYmVo4Z30X7PmB8Vsj0vC0FqWj5jlOlovRhGvGIwi+K63JA+ gla/A8mjm7wNsmhVTo0e7jb+9jj+A3ULkQs46sILHyjzPoI4nl9XkM99p52mrMuvZpAVbI wiZ0j/hMpKhhIujmEOvYVB7A4r147rwgVBPatCgozpS31jj5GII9hB7/TGeDpGReH25WJZ E6wjURsLfXZB5Y3fouG1XxS3V2CN5XiS2nt5KqLFPz9TpqhcN78hpxd9SGek/lt9QmH4v1 7hlk8gUkZWe2rGywmwan0DFkglIAXTC3mXu8QJ/MDn9Dp3hpqk395K1ZdHfgQA== From: Thanos Apollo Date: Fri, 28 Feb 2025 13:39:42 +0200 Message-ID: <547eb0674f1cbd44dde9c7ec1a311553b8cddb04.1740742744.git.public@thanosapollo.org> MIME-Version: 1.0 Received-SPF: pass client-ip=80.241.56.171; envelope-from=public@thanosapollo.org; helo=mout-p-201.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/hunspell.scm (hunspell-dict-el-polytonic): New variable. Change-Id: I18112b9f36f66160dc540defac03a7f2ed9eed2d --- gnu/packages/hunspell.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) base-commit: a76708a872e65230931f3c5c3b079d0a39d5cb84 diff --git a/gnu/packages/hunspell.scm b/gnu/packages/hunspell.scm index d19b2aff01..040c1a33f9 100644 --- a/gnu/packages/hunspell.scm +++ b/gnu/packages/hunspell.scm @@ -365,6 +365,39 @@ (define-public hunspell-dict-el (home-page "https://git.thanosapollo.org/hunspell-dict-el/") (license (list license:gpl2 license:gpl3))))) +(define-public hunspell-dict-el-polytonic + (let ((commit "ddb787b6a28767773ff2b6ed0092a6957e4825e3")) + (package + (name "hunspell-dict-el-polytonic") + (version "0.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://git.thanosapollo.org/hunspell-dict-el-polytonic") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0ik14rcpxxmp35314rcip38nr0z8i3375l5k9ajf6ywx8r5i3zr9")))) + (build-system gnu-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (delete 'build) + (delete 'configure) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (share (string-append out "/share/hunspell/"))) + (install-file "el_GR.aff" share) + (install-file "el_GR.dic" share) #t)))) + #:tests? #f)) + (native-inputs (list hunspell ispell perl)) + (synopsis "Hunspell Polytonic Greek/Hellenic dictionary") + (description "This package provides a dictionary for the Hunspell +spell-checking library.") + (home-page "https://git.thanosapollo.org/hunspell-dict-el-polytonic") + (license (list license:gpl2 license:gpl3))))) + (define* (hunspell-dictionary dict-name full-name #:key synopsis home-page license) (package (name (string-append