From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.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 oKUVIhOEPmf4RgAAe85BDQ:P1 (envelope-from ) for ; Thu, 21 Nov 2024 00:51:31 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id oKUVIhOEPmf4RgAAe85BDQ (envelope-from ) for ; Thu, 21 Nov 2024 01:51:31 +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=gEEbfy4y; dkim=fail ("headers rsa verify failed") header.d=whispers-vpn.org header.s=protonmail header.b=fUcvFwlQ; 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=1732150291; 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=cP7TwCi20WYvMl+V8vl72RNvfzaCyMORVKA1qOQ58NM=; b=fZQSY2c2e7cbhJeqBxKMfQSJAXdUJSuj+mI2QbKlXP44Ux6ymk+At/W+420es45y8qkwof n7dQGM8h+Qi6DK2EZGuOXrBwLUteBMOh+BuFCqIoiY7OWpyoMz6OD8A0Kd23XUFl2SFdNk 3odKoh6FVYgKRdd7eX+VHl7J+kmtskOx9+evmj/aerYT5BXbJJYUt/S+XkIT+zYs66KWST 15sRMCbTp7HMuhaSDBdqBH6Ab/mDESMPP/j1cryZUGL2m6A0uc6SH0OIVj19JagoGBu6iD Jw87oGcMjmg6Xb6lM2OqAbzcelxFd6VRUsEiXL9VNIoIXQRVAg5qFbITTggXvw== 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=gEEbfy4y; dkim=fail ("headers rsa verify failed") header.d=whispers-vpn.org header.s=protonmail header.b=fUcvFwlQ; 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=1732150291; a=rsa-sha256; cv=none; b=Sp2T4mqgDaPFmuD0uyMY4eX/w+HfV7fuu0r4jlOkUgekKobEdEwTjiO22SRiVAig2Pr0l5 WYAyiaCNUBaRSSR+BybNIpUeVDPxrg+7CAY5x025+ZXRf6MlhmpefL3DACgmOXPkNKm7Qb OwxvFW7Dcd9MGfmW6x5KeLhr7SWlxNjV/xFl5Y7n2Q4OYVpd9npKMzx0ThrVXc5cWytfeD bNoocoUgz9wEghtLhcaSQ+vw3LjFa2G6cgDL7DncQKXI3sEqlgo9vzbRvyZWz/laFPxIpo 12231UpjpoEt2QYadLIrSRLBBWGKg0AjctoY8MLXX4S9tzVJyLhTQUmLfUAjYQ== 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 26CD38DCA1 for ; Thu, 21 Nov 2024 01:51:30 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tDvPX-0004Mn-K5; Wed, 20 Nov 2024 19:51:07 -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 1tDvPU-0004L6-Ca for guix-patches@gnu.org; Wed, 20 Nov 2024 19:51: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 1tDvPU-0006vq-4D for guix-patches@gnu.org; Wed, 20 Nov 2024 19:51:04 -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=cP7TwCi20WYvMl+V8vl72RNvfzaCyMORVKA1qOQ58NM=; b=gEEbfy4yMHbDLRmVO3wC971zd2Yhpxwn6XYghUV2fIpDRShSvzPDgCm2bIyCRgNUpSqEQYanp700M0b62DxM/XXET2Mdg3pMmADOCAXalpjwh6GTXVeMbBqWvHXBU5C+tcsJlcFPHSrSmmPC0Z6SBXlJCBCbCzXyDeowrsg5e5dnvLRvbLO0uJoYyKqBFbVWAzTVCGFOveBs0DsGhaRITWQBxi1EPz7K0uFsAoOzitlP9LEpElTpjPEKzhKJrcR5yiXMf4DHphoYmt2zmAj4/p4QmnB2PJhSk3SeVaYbMbPXDOzAp6mxR/cRJVPx7l7QUePcDIOZBIOmNAGptUT+tw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tDvPT-0001ro-Ue for guix-patches@gnu.org; Wed, 20 Nov 2024 19:51:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74411] [PATCH v2 4/5] gnu: Add freedict-dictionaries. 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.17321502217090 (code B ref 74411); Thu, 21 Nov 2024 00:51:03 +0000 Received: (at 74411) by debbugs.gnu.org; 21 Nov 2024 00:50:21 +0000 Received: from localhost ([127.0.0.1]:48423 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDvOm-0001qH-Vy for submit@debbugs.gnu.org; Wed, 20 Nov 2024 19:50:21 -0500 Received: from mail-4317.proton.ch ([185.70.43.17]:14035) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDvOk-0001po-P3 for 74411@debbugs.gnu.org; Wed, 20 Nov 2024 19:50:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whispers-vpn.org; s=protonmail; t=1732150212; x=1732409412; bh=cP7TwCi20WYvMl+V8vl72RNvfzaCyMORVKA1qOQ58NM=; 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=fUcvFwlQoGcjfA1Lg1EssRQtvWiIHYk3qaJOPH4lZ+Nwc7aUne5fYbCcUgpxRLnog vk1kUvRpGXhptHfSF6sqpYC4J864tpHAT5EVSoE0Bq1vxDN/e4xkNer80fC9ekFcqj OrQR/lSqRqEY7FlmIy1bt2GgaE21Wj24vWeTT00L6BwJG7uab+zbDilg27PD93CHgK h9Ig1KyweaMCplUi8XpxPUUCzVaqAdULIWYYg4hAGWWerneJW1G0NRAuLsf5eEvUhZ Nn87LGm6Z+v6wLk75S5ULMUwe61ICXfUUqGmdyiElB6UYt3tLNny4SYGubtXq8TQss GeyQRqXSB/+7w== Date: Thu, 21 Nov 2024 00:50:10 +0000 Message-ID: <1dcd87131c679a4d7e80d9d4c9c44807fb00cf0a.1732150157.git.runciter@whispers-vpn.org> In-Reply-To: References: Feedback-ID: 119317227:user:proton X-Pm-Message-ID: c0bee939c1a6952a9d4f098d90834a3296d58c37 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.62 X-Spam-Score: -2.62 X-Migadu-Queue-Id: 26CD38DCA1 X-TUID: /JWZw2mvmIHs * gnu/packages/dictionaries (freedict-dictionaries): New variable. Signed-off-by: Runciter --- gnu/packages/dictionaries.scm | 48 +++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/gnu/packages/dictionaries.scm b/gnu/packages/dictionaries.scm index 3470d8d945..3e5d991890 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. ;;; @@ -519,3 +520,50 @@ (define-public freedict-tools-0.6.0 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 + python + perl + gzip + tar + libxslt + dictd-1.13.1 + perl-libxml + freedict-tools-0.6.0)) + (arguments + (list + #: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-0.6.0 + "/share/freedict"))))))))) + (build-system gnu-build-system) + (synopsis "Freedict multilingual dictionaries compiled to the dictd +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