From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 0PAvCgSEPmeFhAEAqHPOHw:P1 (envelope-from ) for ; Thu, 21 Nov 2024 00:51:16 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 0PAvCgSEPmeFhAEAqHPOHw (envelope-from ) for ; Thu, 21 Nov 2024 01:51:16 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="oOqN/HT2"; dkim=fail ("headers rsa verify failed") header.d=whispers-vpn.org header.s=protonmail header.b=JP4MGM5f; dmarc=pass (policy=none) header.from=gnu.org; 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-Seal: i=1; s=key1; d=yhetil.org; t=1732150276; a=rsa-sha256; cv=none; b=IeZNteb3dIrMluYHhCZyPrPmUpuBrH/QGGz3XxQ2d9FwfpLitGSVXz6hYIdt4xuL3X9mzn nir0juQU1gISzkdFaXOZ9eZLYSsdPZqysJa8/1+Rg3IQnzJKue8wqxvXZTdBh8YIRCAIRe pKEpSc5TIE7jADcAgWiQCfi03wdNUg1scUEewGFU3naRfkqdlmlBffsmGduGDgqka2GAqD 8f6nPVfIK0rVY0ico3mdP23yb/xwNeMypwuEqkNjDJsVglrqIID0RkoHwsJH2sg1Lq7N/2 fTnssMbQ7jQNnSJN+q2ms4Jsvdfm1h1Gcdz27+XI1Y2/g79adIq9WNZg2J0I3g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="oOqN/HT2"; dkim=fail ("headers rsa verify failed") header.d=whispers-vpn.org header.s=protonmail header.b=JP4MGM5f; dmarc=pass (policy=none) header.from=gnu.org; 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=1732150276; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=wKEn7CY3lfEDwh/9XpQT4BZR9A4XdZSE8/w0vx4cpk4=; b=I/7REFU3ec2t/WypZh2Cr0qPaD14HT7yEurVrxe0+EZDP0Wk4nsH8A9GmEYt02i+brqhVQ t2i9kSx2tkHb0BRcTGi2UqN9BSNqSg53QNp1HxyQEXk1YWQZdpKbQpK/L/Ui30+UJycboV if/Lzf1zpwIjvB/ZIwjQ/bVR8QQhNxLPni2YZ6zvnsqWRxiUyeulxn/ZvTP4EC6f5eOPwz WSaq9tFf1Bvt6ZswVP6vAmCVpjHFcXnk6UaPbSN68Qmq7NYH19nT6eEfSjlFYfpAG/SZk5 FVquJVinZtZlvmLagBoPE5vwpvc6Z20J5bS5mSCevcjWwCUe478NIhwpKy1FjQ== 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 6A33A6E52 for ; Thu, 21 Nov 2024 01:51:15 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tDvPU-0004LG-UM; Wed, 20 Nov 2024 19:51:04 -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 1tDvPT-0004Kk-Ow for guix-patches@gnu.org; Wed, 20 Nov 2024 19:51: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 1tDvPT-0006vi-GO for guix-patches@gnu.org; Wed, 20 Nov 2024 19:51: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:References:In-Reply-To:From:Date:To:Subject; bh=wKEn7CY3lfEDwh/9XpQT4BZR9A4XdZSE8/w0vx4cpk4=; b=oOqN/HT2LwdbwJfFhUkVbc1bDep4Pf+p7lhiiREErlxOkdYBTtORZ0kylvcFCeB2O3FAbgtLogF3goPoBGzW32vQc6SoH+CaXewlkbtO7ckD4mbbaPNcrJAFLJeroCGsCgioDaSTdEKaN7+dCAo7uiygjuLlCrc8lF/G5/pFtJT0DqClaEVqIDJ9lSvMPqgAvYPnANvxdKdqUnGUIyMmuN0ho7nE4/ALXLUvszWmIL1NS68AqrrCEbTGa62PXBX50+PCTsYPCd5DSrUD7HH+nr5Mu2E4tb2mZNkw01cM17fvlGy3UCP5/iahhfK4kmHr4QKMvoFslIW9a5oxr69knw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tDvPT-0001rh-Bq for guix-patches@gnu.org; Wed, 20 Nov 2024 19:51:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74411] [PATCH v2 3/5] gnu: Add freedict-tools-0.6.0. Resent-From: Runciter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 21 Nov 2024 00:51:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74411 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74411@debbugs.gnu.org Cc: Runciter Received: via spool by 74411-submit@debbugs.gnu.org id=B74411.17321502167070 (code B ref 74411); Thu, 21 Nov 2024 00:51:03 +0000 Received: (at 74411) by debbugs.gnu.org; 21 Nov 2024 00:50:16 +0000 Received: from localhost ([127.0.0.1]:48419 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDvOh-0001py-EE for submit@debbugs.gnu.org; Wed, 20 Nov 2024 19:50:15 -0500 Received: from mail-4317.proton.ch ([185.70.43.17]:37397) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDvOf-0001mI-Pw for 74411@debbugs.gnu.org; Wed, 20 Nov 2024 19:50:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whispers-vpn.org; s=protonmail; t=1732150207; x=1732409407; bh=wKEn7CY3lfEDwh/9XpQT4BZR9A4XdZSE8/w0vx4cpk4=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=JP4MGM5f57dkE5S0dKY7CBu8F2ixxXMzxtuelvJ9DhsB66Y5zjswIPK7U87HBTj+P 5QgfYG7mF1TtwvHciA9YslpL1l+Wh9GHznlAbl4/xCNRhvjn3iHC5cL68lzSLAr+D6 qQN1JoQqABAB90BYjwgaMJhjyUgPPQpK+snxkejP/I3hcVZKMuH5aDAZ+SfWT0kYGI 2I6TTnjClQVhes86F/rDZ5raYxz7Lz5wHNo4vrxzsYkABpZgt2AiDPP4ALug/Ypanw J88OKRx51PGatuzytGf3zyDqHGfb6GhXrTn6cdCdTjn+OKOt7jb7mrLx9WRFHs3sA7 A6ZZreuptYcaQ== Date: Thu, 21 Nov 2024 00:50:05 +0000 Message-ID: <97e68e5bd9933f46b34309dc6dccda8ce9cec646.1732150157.git.runciter@whispers-vpn.org> In-Reply-To: References: Feedback-ID: 119317227:user:proton X-Pm-Message-ID: 86aaf9292c1d27c044a04a67c6f57c674d03d669 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , Reply-to: Runciter X-ACL-Warn: , Runciter via Guix-patches From: Runciter via Guix-patches via 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-Queue-Id: 6A33A6E52 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -3.35 X-Spam-Score: -3.35 X-TUID: mIfXJP7eqUyA * gnu/packages/dictionaries.scm (freedict-tools-0.6.0): New variable. Signed-off-by: Runciter --- gnu/packages/dictionaries.scm | 55 ++++++++++++++++++++++++++++++++++- 1 file changed, 54 insertions(+), 1 deletion(-) diff --git a/gnu/packages/dictionaries.scm b/gnu/packages/dictionaries.scm index 3f9b59c960..3470d8d945 100644 --- a/gnu/packages/dictionaries.scm +++ b/gnu/packages/dictionaries.scm @@ -28,6 +28,7 @@ (define-module (gnu packages dictionaries) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) + #:use-module (guix gexp) #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix build-system gnu) @@ -55,7 +56,10 @@ (define-module (gnu packages dictionaries) #:use-module (gnu packages compression) #:use-module (gnu packages tcl) #:use-module (gnu packages web) - #:use-module (gnu packages xml)) + #:use-module (gnu packages xml) + #:use-module (gnu packages dictd) + #:use-module (gnu packages speech) + #:use-module (gnu packages perl)) =20 =20 (define-public vera @@ -466,3 +470,52 @@ (define-public skk-jisyo for SKK Japanese input systems, and various dictionary files. @file{SKK-JISYO.L} can be used with @code{emacs-ddskk} or @code{uim} packa= ge.") (license license:gpl2+)))) + +(define-public freedict-tools-0.6.0 + (package + (name "freedict-tools") + (version "0.6.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/freedict/tools") + (commit "3596640e6e0582cc5fb76a342e5d8e7413aa4b34"))) + (sha256 + (base32 "1raayynvn1j8x0ck8pnbbljl6zxnsyzzil7y54xz03dpj7k9w7mk")))) + (inputs (list espeak-ng + python + perl + gzip + tar + libxslt + dictd-1.13.1 + perl-libxml)) + (arguments + (list + #:tests? #f + #:phases #~(modify-phases %standard-phases + (delete 'configure) + (add-before 'build 'set-prefix-in-makefile + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "Makefile" + (("PREFIX \\?=3D.*") + (string-append "PREFIX =3D " + #$output "\n"))) + (substitute* "mk/dicts.mk" + (("available_platforms :=3D src dictd slob") + "available_platforms :=3D dictd"))))))) + (build-system gnu-build-system) + (synopsis "FreeDict tools to import, export (build) and manage FreeDic= t +dictionaries") + (description + "FreeDict is a project that offers over 140 free + dictionaries in about 45 languages, with the right to study, change and + modify them. You can use them offline on your computer or mobile phone + and export them to any format and application. + +In order to limit store size and build complexity, only the build +targets that build dictionaries in dictd format are retained when this +Guix package is installed.") + (home-page "https://freedict.org") + (license license:gpl2+))) --=20 2.46.0