From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id CITTE6TOTGdWYgAA62LTzQ:P1 (envelope-from ) for ; Sun, 01 Dec 2024 21:01:24 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id CITTE6TOTGdWYgAA62LTzQ (envelope-from ) for ; Sun, 01 Dec 2024 22:01:24 +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=jcGytOn4; dkim=fail ("headers rsa verify failed") header.d=whispers-vpn.org header.s=protonmail header.b=gtVZuxrq; 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=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733086884; 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=KA7MoKEu5zZGMzujDHwzyBZla8mbyNRRI/zqtc541aQ=; b=MCw7/HFmte8+2957AkEy7ZrAYUa4yHst7FQD3saAZIeTlkq+Oio3BnJA3zbdyWeUHgUzOT pjU1bO+7Dzx7wYl5xF8vWgWtvSyGRBguUpdnd4g486KwEdikre/Fg51QpgLnizMxtUDbVD L6e7IBxJe/LQ/ylKvTDxwGra8xDZC/Zw2w+v32L8pE2DoMOvPbUEBpb+JbSWCbT3k95i3N 9Z95Zp6Xf1MsLEQZTGTdIenzSQ0FLA4gpk/z7NLzEreEZRLYvXHfpc1cWWMwUAmygHYYtj gZ3G4jNfbnU0OJFijOd6I3XjARgpiBaTQIVBPOpzwPaRdhIPBe7vN4y0/Uu2bw== 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=jcGytOn4; dkim=fail ("headers rsa verify failed") header.d=whispers-vpn.org header.s=protonmail header.b=gtVZuxrq; 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=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733086884; a=rsa-sha256; cv=none; b=Pxh2k7CV7GwUG77W8tApM41F7MZB2fxMfXxcWpUK9UbE9xlJPO1O2ILQt5xMbjKhwc6TvC 563Eac7rU3EP5jU89uW5CFbX4nfMYDXRdIid/h12AZIBHv5Q1HpjMb4YuUSztB+tyUM0Cb MAQKO6L/NF+RSSEcPMf76hoD7gFWBvyP4dGmykDjulLKHoMh0s7JMUEjn5j3Cx33EwQg8C J4FjMbL6NIizwIZLclVsrnnSOFtzmElS9ZnFc0qXTcK5TR4bdsC0mvU5PKC1HLWugqKHfU Avnm02BXa4MQ/VttU0Btr8a+EoBscxTyFcf7r86ASjF5sX6LSehJHH4A+A45yA== 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 F1FD783CD0 for ; Sun, 01 Dec 2024 22:01:23 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tHr46-0000GK-KW; Sun, 01 Dec 2024 16:01:16 -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 1tHr3v-0000Fk-HP for guix-patches@gnu.org; Sun, 01 Dec 2024 16:01:06 -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 1tHr3u-00060x-U2 for guix-patches@gnu.org; Sun, 01 Dec 2024 16:01:02 -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=KA7MoKEu5zZGMzujDHwzyBZla8mbyNRRI/zqtc541aQ=; b=jcGytOn42LHvyB7kFQe2erDC3g9WVVGs74NQVHu/EgIWxJQqOjctEStLj0fn8NxuznL7z6MWwMAoXVu8I4a0I3oQacQ2IBnZQO5bwZQk1jwNcSAxVJmmjvf7jilqmxKwVvjZ7j4Ta07Lr6LLnuGELhwqmulT4OVMlZmpBDRT5gHxwDg40/dRbHAp6QIaWuxjQbt0Y7WHqdthhjAU/+AJUjUZD/oKHpR95+t4C3tuMTiCvrz2iWOpQrx9BF4EeR+xFeL1MXKtu165xAbaHqt3o1Kwp5Pt2yC7ov6bEfPnkr+wijVmHdwZVeyV2GnAPrHiwqZOTv8WTFvZ7qqXLsZH5w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tHr3u-0008Rm-P3 for guix-patches@gnu.org; Sun, 01 Dec 2024 16:01:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74411] [PATCH v3 4/5] gnu: Add freedict-dictionaries. Resent-From: Runciter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 01 Dec 2024 21:01:02 +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.173308682932375 (code B ref 74411); Sun, 01 Dec 2024 21:01:02 +0000 Received: (at 74411) by debbugs.gnu.org; 1 Dec 2024 21:00:29 +0000 Received: from localhost ([127.0.0.1]:53265 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHr3M-0008Q7-Py for submit@debbugs.gnu.org; Sun, 01 Dec 2024 16:00:29 -0500 Received: from mail-4317.proton.ch ([185.70.43.17]:32971) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHr3K-0008Ps-6R for 74411@debbugs.gnu.org; Sun, 01 Dec 2024 16:00:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whispers-vpn.org; s=protonmail; t=1733086820; x=1733346020; bh=KA7MoKEu5zZGMzujDHwzyBZla8mbyNRRI/zqtc541aQ=; 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=gtVZuxrqAP6sikMxQEkznP01xrxRPEUoTZweMrAjsfwgfoqaN+jG3Ydb5WJ0egDEm XnodgnoLZaTy2+wOfofVS+x0pXjudWSuKu2b6iY/f67mqtocyoK5hJqy4oEgocBZEi lPuBJRtAcWcZFBD88+gGBrnV9HhFimoeiGfC3rllmUMkdzw9vAecjPs+lEaSV7PEhI eWV59xW7rV1hcCVjDDFBcin+17yOcwJRlUebqIBSxNYzETfXmQCwsLlxwgzk1enuep a9SRtR5WmNU4hdhx0UkJbb4X/lYGEobo9mCV7H+lsWhptMv2iqR52V/POb0202h5tU 3Sd5igiUQTY0Q== Date: Sun, 01 Dec 2024 21:00:16 +0000 Message-ID: In-Reply-To: <5aeac28fdf163ab55801c6185c0dc47f35e649ef.1733086737.git.runciter@whispers-vpn.org> References: <5aeac28fdf163ab55801c6185c0dc47f35e649ef.1733086737.git.runciter@whispers-vpn.org> Feedback-ID: 119317227:user:proton X-Pm-Message-ID: 62e30861744716e1a8cd4c3a29c27bd023fc20fd 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -2.65 X-Spam-Score: -2.65 X-Migadu-Queue-Id: F1FD783CD0 X-TUID: EkXZMXokiPYt * gnu/packages/dictionaries (freedict-dictionaries): New variable. Signed-off-by: Runciter --- gnu/packages/dictionaries.scm | 42 +++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/dictionaries.scm b/gnu/packages/dictionaries.scm index 3141d6d46d..e6f9f7f5a8 100644 --- a/gnu/packages/dictionaries.scm +++ b/gnu/packages/dictionaries.scm @@ -9,6 +9,7 @@ ;;; Copyright =C2=A9 2019 Pierre Langlois ;;; Copyright =C2=A9 2020 Lu hux ;;; Copyright =C2=A9 2022 ROCKTAKEY +;;; Copyright =C2=A9 2022 Runciter ;;; ;;; This file is part of GNU Guix. ;;; @@ -518,3 +519,44 @@ (define-public freedict-tools Guix package is installed.") (home-page "https://freedict.org") (license license:gpl2+))) + +(define-public freedict-dictionaries + (package + (name "freedict-dictionaries") + (version "914b5f7") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/freedict/fd-dictionaries") + (commit "914b5f754b695e9422bf951837b0682a077e244e"))) + (sha256 + (base32 "0a8k5rq94rl1nmz0354sx2gmyqica0yjavirh5v5wdybkfq8nv83")))) + (inputs (list espeak-ng libxslt dictd perl-libxml freedict-tools)) + (native-inputs (list python perl)) + (arguments + (list + ;; "validation" target fails because of hardcoded + ;; path /usr/bin/xmllint in freedict-tools + #:tests? #f + #:make-flags #~(list (string-append "PREFIX=3D" + #$output)) + #:phases #~(modify-phases %standard-phases + (delete 'configure) + (add-before 'build 'set-tools-prefix-in-makefile + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "Makefile" + (("FREEDICT_TOOLS \\?=3D ../tools") + (string-append "export FREEDICT_TOOLS =3D " + #$(file-append + freedict-tools + "/share/freedict"))))))))) + (build-system gnu-build-system) + (synopsis "Multilingual dictionaries compiled to the DICT format") + (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.") + (home-page "https://freedict.org") + (license license:gpl2+))) --=20 2.46.0