From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id CGFBFErXOmeG4QAAqHPOHw:P1 (envelope-from ) for ; Mon, 18 Nov 2024 05:57:30 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id CGFBFErXOmeG4QAAqHPOHw (envelope-from ) for ; Mon, 18 Nov 2024 06:57:30 +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=QOIaRtrm; dkim=fail ("headers rsa verify failed") header.d=whispers-vpn.org header.s=protonmail header.b=ZjSApMSK; 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=1731909450; a=rsa-sha256; cv=none; b=ha0oHe/QEpUOLgCHJIACun/YObkemlgsU1Bx4gIrehCXvLN8yf00G8nt258FK0UW1x0XLe MycEUt3r+AA/6IirDRJS4LnT176EcR/OpMdLAdwip1QXwq10BXibtL/bd2bwa8HBy83Rv5 sVFH8x8v2tepo1cfR/yFQJoNSg/lTQiCGbZxc6R6zJkAbbr9cWhpXJUxPxhMYsJ88YFZ8N ls74BR5iUIrR/MBJv3RNiuQZrWRqdNZTfCQwbXH4ZS6PRBsGYW3Q3pkfoUtcseDaqIWy0n qRtMggR7URRr/HJvlN/89AgZI7gqr2uVwkS1eGD1Fl8YsooEPYBmrZCcjy1Qaw== 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=QOIaRtrm; dkim=fail ("headers rsa verify failed") header.d=whispers-vpn.org header.s=protonmail header.b=ZjSApMSK; 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=1731909450; 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=PF+K21MbY1tTaoymT27H2uRvi6g9yUx41t+Kuq0mzMo=; b=a2rYXDW/Wk4Q9Wh0njVF5YwQnUyv9ShCU0qJNwrgeGzgQslmk1Qi6o+zbgdggdb6cXXB8c 60Rd211InEU87/O67GKtvd6PQZAbiEPNmzp+45zce+XqoUswMz6pDuHe1m3mL0Xi9X8P+T XcIRSw5XFWDOGeI/rbteBz8rRfcCLgipMKj1qrwlelz1iN71g3nIfAV3ksRtE3tV5CSrEq Ms5jHovJvWhjnbqotKdqI+dL6j+ABZJTta3fc1T8xEsU58S14ltEVySFm9bPKNHOEXtU/Y ddKN3VCPHgq+4+5DTduuZ3tyYKn2/Kj5n5q+F/Kd67yqHNjVhfoZmYtcypZf6g== 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 241D96007 for ; Mon, 18 Nov 2024 06:57:29 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tCul0-0003pG-Oh; Mon, 18 Nov 2024 00:57: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 1tCukx-0003oU-Vi for guix-patches@gnu.org; Mon, 18 Nov 2024 00:57:04 -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 1tCukx-00007f-Mh for guix-patches@gnu.org; Mon, 18 Nov 2024 00:57: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:From:Date:To:In-Reply-To:References:Subject; bh=PF+K21MbY1tTaoymT27H2uRvi6g9yUx41t+Kuq0mzMo=; b=QOIaRtrmDcfxMd825fe3hafGIZplrYKuSTBTa3fn34Fo62x0C+5tcKQJoLAWK7XuZkdLi91RjG8wgYHWXO4nQgoDx3Vz09H0WoWZfZ7dB0jVUfi79AwpgOV8hNFSCAnFEiWoSjwNdNzZHYQ70q9m4aQf/rjW5GVhmRt8wtH1ubjwOAWwAMm4MMWFxrv7XgcM0CUkJV243hYWrkWJhIStLDpwzywvKq80+gR6+SROTyDwIxcbtdasdvHGox4tHSxtm9yExCYfSpWJNaHD7Kk50TEWwhnLYmOmHZGayp6OxRIwzq0Bz8lv9sWtpmH38b+QG7GU85KlhPM/ybpkN19KLA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tCukx-000617-IH for guix-patches@gnu.org; Mon, 18 Nov 2024 00:57:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74411] [PATCH 3/4] gnu: Add freedict-tools-0.6.0. References: In-Reply-To: Resent-From: Runciter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 18 Nov 2024 05:57: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.173190940323067 (code B ref 74411); Mon, 18 Nov 2024 05:57:03 +0000 Received: (at 74411) by debbugs.gnu.org; 18 Nov 2024 05:56:43 +0000 Received: from localhost ([127.0.0.1]:59599 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCukc-0005zx-VO for submit@debbugs.gnu.org; Mon, 18 Nov 2024 00:56:43 -0500 Received: from mail-4022.proton.ch ([185.70.40.22]:31419) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCukb-0005zh-2e for 74411@debbugs.gnu.org; Mon, 18 Nov 2024 00:56:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whispers-vpn.org; s=protonmail; t=1731909394; x=1732168594; bh=PF+K21MbY1tTaoymT27H2uRvi6g9yUx41t+Kuq0mzMo=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector: List-Unsubscribe:List-Unsubscribe-Post; b=ZjSApMSKv1CbhVCaaSFlo+DyN0SPCQRh0Kmm3mux6mHJ+/4vIEum2ROa57pVa/aRl cHyHatJwl52Iu26vdILT/vNcH6kIc86ZLBUJiXVD2heFZAd9nsPBEzeep39iPZ+l3u YE0OvDp5iKRSq6OudAH1dSq+0nLc0yf40fhXsbTp8UpVynyKmacNOepxVOXblY9AYI 2VzoXzHW26LXtQUYI5hrnBi5jhI8ztUVRmhZXIvOeU8LVl8iM2OvnIaTCUMTQyL8QK oWaQ6stcCaZn14wjQ82soReZHnwLK3ZYr96ln4malswQNRKdP8YbUJhdjQkyJU69AJ 6Pg0/FwXxGuQA== Date: Mon, 18 Nov 2024 05:56:31 +0000 Message-ID: <3c3b92a78f2097a22688bbcd86eda33fe0751305.1731747114.git.runciter@whispers-vpn.org> Feedback-ID: 119317227:user:proton X-Pm-Message-ID: 35b6f937c18b245cf5bc0bb168ad20888d8bfc78 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-Spam-Score: -2.61 X-Spam-Score: -2.61 X-Migadu-Queue-Id: 241D96007 X-Migadu-Scanner: mx12.migadu.com X-TUID: Pme09dWGjmOl * 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