X-Loop: help-debbugs@HIDDEN Subject: [bug#75063] [PATCH 0/2] Easy configuration of FreeDict into dicod-service-type Resent-From: Runciter <runciter@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: guix-patches@HIDDEN Resent-Date: Tue, 24 Dec 2024 12:48:02 +0000 Resent-Message-ID: <handler.75063.B.173504446525846 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 75063 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75063 <at> debbugs.gnu.org Cc: Runciter <runciter@HIDDEN> X-Debbugs-Original-To: guix-patches@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.173504446525846 (code B ref -1); Tue, 24 Dec 2024 12:48:02 +0000 Received: (at submit) by debbugs.gnu.org; 24 Dec 2024 12:47:45 +0000 Received: from localhost ([127.0.0.1]:59879 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tQ4K9-0006in-9I for submit <at> debbugs.gnu.org; Tue, 24 Dec 2024 07:47:45 -0500 Received: from lists.gnu.org ([209.51.188.17]:33672) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <runciter@HIDDEN>) id 1tQ4K7-0006ie-CC for submit <at> debbugs.gnu.org; Tue, 24 Dec 2024 07:47:44 -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 <runciter@HIDDEN>) id 1tQ4K6-0001xA-RE for guix-patches@HIDDEN; Tue, 24 Dec 2024 07:47:42 -0500 Received: from mail-40136.proton.ch ([185.70.40.136]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <runciter@HIDDEN>) id 1tQ4K2-0000Pg-KF for guix-patches@HIDDEN; Tue, 24 Dec 2024 07:47:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whispers-vpn.org; s=protonmail; t=1735044447; x=1735303647; bh=PcKUCSuJqzjvgox69n+V8MzOhA/AfyIs3fExn8aecQ0=; 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=VRMhsOhGxXprjDxjWzVdIxrXPgM4kyrp5Lw8cQQcD+psYo7IU3Gp4fw76907J6iV+ 6OgSisQel081MtxCJ7oDGgL8YakYczMtoy4K9AzvB1gr6KUSVI9OpApxrGq+650fwi oZGts6KsTfBDpWabwmmPpbQFz5ggnWGdPpLCIVB+klo51VUiAyXlTlyov62UyUhU7u wP8MVbYPR6cf6foAvqaWy/sq56wcsdrD3Xv82jST3/S4gsx+9gGC7l7Op2tdGWv1mJ W4XDad2LBvUyv4yRUEOVmNwOmWhn03GMlzOpLGEu4nuLdqZonWQol6LDcaWKvwZC5r x5uub8Y6uFzDw== Date: Tue, 24 Dec 2024 12:47:22 +0000 From: Runciter <runciter@HIDDEN> Message-ID: <cover.1735043982.git.runciter@HIDDEN> Feedback-ID: 119317227:user:proton X-Pm-Message-ID: fbc16a932cc55b52c3e1a6da2272756de8f230e8 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.136; envelope-from=runciter@HIDDEN; helo=mail-40136.proton.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) A few weeks my patch for FreeDict multilingual dictionaries for Guix was integrated to the master branch (bug #74411). These patches are simple updates to the (gnu services dict) module and to t= he Guix info manual to help users configure FreeDict dictionaries into their local dicod server. Regards, Runciter Runciter (2): gnu: dict: Add symbols to help users configure FreeDict with dicod. doc: add FreeDict dictionaries to dicod configuration example. doc/guix.texi | 8 ++-- gnu/services/dict.scm | 107 +++++++++++++++++++++++++++++++++++++++++- 2 files changed, 111 insertions(+), 4 deletions(-) base-commit: 9dc91360fd2e41fb783ab4af341ac60aee2f5d31 --=20 2.46.0
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Runciter <runciter@HIDDEN> Subject: bug#75063: Acknowledgement ([PATCH 0/2] Easy configuration of FreeDict into dicod-service-type) Message-ID: <handler.75063.B.173504446525846.ack <at> debbugs.gnu.org> References: <cover.1735043982.git.runciter@HIDDEN> X-Gnu-PR-Message: ack 75063 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 75063 <at> debbugs.gnu.org Date: Tue, 24 Dec 2024 12:48:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): guix-patches@HIDDEN If you wish to submit further information on this problem, please send it to 75063 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 75063: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D75063 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: [bug#75063] [PATCH 1/2] gnu: dict: Add symbols to help users configure FreeDict with dicod. References: <cover.1735043982.git.runciter@HIDDEN> In-Reply-To: <cover.1735043982.git.runciter@HIDDEN> Resent-From: Runciter <runciter@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: guix-patches@HIDDEN Resent-Date: Tue, 24 Dec 2024 13:01:01 +0000 Resent-Message-ID: <handler.75063.B75063.173504525628764 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 75063 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75063 <at> debbugs.gnu.org Cc: Runciter <runciter@HIDDEN> Received: via spool by 75063-submit <at> debbugs.gnu.org id=B75063.173504525628764 (code B ref 75063); Tue, 24 Dec 2024 13:01:01 +0000 Received: (at 75063) by debbugs.gnu.org; 24 Dec 2024 13:00:56 +0000 Received: from localhost ([127.0.0.1]:59903 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tQ4Wt-0007Ts-R8 for submit <at> debbugs.gnu.org; Tue, 24 Dec 2024 08:00:56 -0500 Received: from mail-4022.proton.ch ([185.70.40.22]:35965) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <runciter@HIDDEN>) id 1tQ4Wr-0007Tb-JW for 75063 <at> debbugs.gnu.org; Tue, 24 Dec 2024 08:00:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whispers-vpn.org; s=protonmail; t=1735045247; x=1735304447; bh=109kbmlVAqJQ69zJrxqLwZFFF93U6S2hDs6niJyo4YQ=; 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=hSIuOEPOhVX6mJ6sHnW5GzNZVW8hLXywcSiKKRdU+/Rqj/204mB851o1jWGo+H7Xh OPM5R+rShnjwqaRoQwmKocIxt/8qZUKuy0UfAtyQQj9ArF/aANqeD2m7U4Bz1aXEuQ ZE+WW9EgupbbGPdDlq9OWqSHpKsCUabEIVoAnrc9aZ/WcdL2Kj7hE7pT0g8eMpV3Vq q/cggrtMmtxEGkiERL/JpT8qteUYW9lKhFknN7k6yYjLqcmlqynJWKUt21Yf5rQEYF B92MgQh/ZefNP0m76EdcecxN1xDJOW1Kwp7uUWMKUGY7fcefKR/SKmyalvpn2H4VKG jDgo6aMNkhFVw== Date: Tue, 24 Dec 2024 13:00:45 +0000 From: Runciter <runciter@HIDDEN> Message-ID: <37d349728afe8f4403d7a652e02b33fc895bc02b.1735043983.git.runciter@HIDDEN> Feedback-ID: 119317227:user:proton X-Pm-Message-ID: 6635fe9a9a42ce8fa08b5bac5682ad87a57c34de MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) * gnu/services/dict.scm: (%dictorg-handler): New variable; (freedict-dictorg-database): new procedure; (%freedict-dictorg-databases): new variable. Signed-off-by: Runciter <runciter@HIDDEN> --- gnu/services/dict.scm | 107 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 106 insertions(+), 1 deletion(-) diff --git a/gnu/services/dict.scm b/gnu/services/dict.scm index a4e25f5302..39fb38c9c3 100644 --- a/gnu/services/dict.scm +++ b/gnu/services/dict.scm @@ -2,6 +2,7 @@ ;;; Copyright =C2=A9 2016 Sou Bunnbu <iyzsong@HIDDEN> ;;; Copyright =C2=A9 2016, 2017, 2018, 2020, 2022, 2023 Ludovic Court= =C3=A8s <ludo@HIDDEN> ;;; Copyright =C2=A9 2017 Huang Ying <huang.ying.caritas@HIDDEN> +;;; Copyright =C2=A9 2024 Runciter <runciter@HIDDEN> ;;; ;;; This file is part of GNU Guix. ;;; @@ -40,7 +41,10 @@ (define-module (gnu services dict) dicod-configuration dicod-handler dicod-database - %dicod-database:gcide)) + %dicod-database:gcide + %dictorg-handler + freedict-dictorg-database + %freedict-dictorg-databases)) =20 =0C ;;; @@ -94,6 +98,107 @@ (define %dicod-database:gcide (options (list #~(string-append "dbdir=3D" #$gcide "/share/gcide") #~(string-append "idxdir=3D" #$%dicod-gcide-index))))) =20 +(define %dictorg-handler + (dicod-handler (name "dictorg") + (module "dictorg") + (options (list #~(string-append "dbdir=3D/"))))) + +(define (freedict-dictorg-database dict-name) + "Return a record of type @code{<dicod-database>} that configures a +database for the freedict multilingual dictionary named by the string +DICT-NAME." + (dicod-database (name (string-append "freedict-" + dict-name)) + (complex? #t) + (handler "dictorg") + (options (list #~(string-append "database=3D" + #$freedict-dictionaries + "/share/dictd/" + #$dict-name))))) + +(define %freedict-dictorg-databases + (map freedict-dictorg-database (list "afr-deu" + "afr-eng" + "ara-eng" + "bre-fra" + "ces-eng" + "ckb-kmr" + "cym-eng" + "dan-eng" + "deu-ita" + "deu-kur" + "deu-nld" + "deu-por" + "deu-tur" + "eng-afr" + "eng-ara" + "eng-ces" + "eng-cym" + "eng-dan" + "eng-ell" + "eng-fra" + "eng-gle" + "eng-hin" + "eng-hrv" + "eng-hun" + "eng-ita" + "eng-lat" + "eng-lit" + "eng-nld" + "eng-pol" + "eng-por" + "eng-rom" + "eng-rus" + "eng-spa" + "eng-srp" + "eng-swh" + "eng-tur" + "fra-bre" + "fra-eng" + "fra-nld" + "gla-deu" + "gle-eng" + "gle-pol" + "hrv-eng" + "hun-eng" + "isl-eng" + "ita-deu" + "ita-eng" + "jpn-deu" + "jpn-eng" + "jpn-fra" + "jpn-rus" + "kha-deu" + "kha-eng" + "kur-deu" + "kur-eng" + "kur-tur" + "lat-deu" + "lat-eng" + "lit-eng" + "mkd-bul" + "nld-deu" + "nld-eng" + "nld-fra" + "nno-nob" + "oci-cat" + "pol-gle" + "por-deu" + "por-eng" + "san-deu" + "slk-eng" + "slv-eng" + "spa-ast" + "spa-eng" + "spa-por" + "srp-eng" + "swe-eng" + "swh-eng" + "swh-pol" + "tur-deu" + "tur-eng" + "wol-fra"))) + (define %dicod-accounts (list (user-group (name "dicod") --=20 2.46.0
X-Loop: help-debbugs@HIDDEN Subject: [bug#75063] [PATCH 2/2] doc: add FreeDict dictionaries to dicod configuration example. References: <cover.1735043982.git.runciter@HIDDEN> In-Reply-To: <cover.1735043982.git.runciter@HIDDEN> Resent-From: Runciter <runciter@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: guix-patches@HIDDEN Resent-Date: Tue, 24 Dec 2024 13:02:02 +0000 Resent-Message-ID: <handler.75063.B75063.173504526828833 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 75063 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75063 <at> debbugs.gnu.org Cc: Runciter <runciter@HIDDEN> Received: via spool by 75063-submit <at> debbugs.gnu.org id=B75063.173504526828833 (code B ref 75063); Tue, 24 Dec 2024 13:02:02 +0000 Received: (at 75063) by debbugs.gnu.org; 24 Dec 2024 13:01:08 +0000 Received: from localhost ([127.0.0.1]:59908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tQ4X6-0007Uy-C0 for submit <at> debbugs.gnu.org; Tue, 24 Dec 2024 08:01:08 -0500 Received: from mail-4317.proton.ch ([185.70.43.17]:22405) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <runciter@HIDDEN>) id 1tQ4X3-0007UA-RT for 75063 <at> debbugs.gnu.org; Tue, 24 Dec 2024 08:01:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whispers-vpn.org; s=protonmail; t=1735045259; x=1735304459; bh=PGXHDOtJ79BSR4dGSIB+FieYmxBvYWiY6vRawgrq9xY=; 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=GHJn/PO+bvJXM0QHPS3XRpE/Q4dMWOwDFzhM1gB+97UMrix7AhFoxsn8Zi/5aW8ns VSCGeOYiqmuTictyaZ/2K99aGfAt89M/TgNTIh2RNIVKXYajdt2hfsSgadvQqyBZlC NT5U3US2XGkU3jL4CsyAFBo4vBJrEyLJ30kecrWIRDattFHeeRFq54pWUCKBRv3nwz e9MQPRPHxxp88umJLBBDTwMYK2Ipmq6Z9eiNMQLcaUrfKS3f/loBChv2KlwNQmQigt l/p2Yi1HIKyhGDQ2eIe3zT29KXzTN/R62NwIxg4citM9lwvnHacHjA8g0DBBvYqSDD 4ycEZyxdenVBw== Date: Tue, 24 Dec 2024 13:00:55 +0000 From: Runciter <runciter@HIDDEN> Message-ID: <885d30d51d2cca429aedff4270f18a5bde4b95f1.1735043983.git.runciter@HIDDEN> Feedback-ID: 119317227:user:proton X-Pm-Message-ID: 206e37dfa869799071a6f7c6bba2729b4fbfd58a MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) * doc/guix.texi: (Dictionary Service): Update configuration example. Signed-off-by: Runciter <runciter@HIDDEN> --- doc/guix.texi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index 08ffbc36d7..1a394b91b2 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -41158,13 +41158,15 @@ Miscellaneous Services (name "wordnet") (module "wordnet") (options - (list #~(string-append "wnhome=3D" #$wordnet)))))) - (databases (list + (list #~(string-append "wnhome=3D" #$wordnet)))) + %dictorg-handler)) + (databases (cons* (dicod-database (name "wordnet") (complex? #t) (handler "wordnet")) - %dicod-database:gcide)))) + %dicod-database:gcide + %freedict-dictorg-databases)))) @end lisp =20 @cindex Docker --=20 2.46.0
X-Loop: help-debbugs@HIDDEN Subject: [bug#75063] [PATCH 1/2] gnu: dict: Add symbols to help users configure FreeDict with dicod. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: guix-patches@HIDDEN Resent-Date: Wed, 25 Dec 2024 21:24:01 +0000 Resent-Message-ID: <handler.75063.B75063.17351618375424 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 75063 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Runciter <runciter@HIDDEN> Cc: 75063 <at> debbugs.gnu.org Received: via spool by 75063-submit <at> debbugs.gnu.org id=B75063.17351618375424 (code B ref 75063); Wed, 25 Dec 2024 21:24:01 +0000 Received: (at 75063) by debbugs.gnu.org; 25 Dec 2024 21:23:57 +0000 Received: from localhost ([127.0.0.1]:39096 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tQYrF-0001PP-AC for submit <at> debbugs.gnu.org; Wed, 25 Dec 2024 16:23:57 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36768) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1tQYrD-0001P4-Nh for 75063 <at> debbugs.gnu.org; Wed, 25 Dec 2024 16:23:56 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1tQYr8-0002r0-8g; Wed, 25 Dec 2024 16:23:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=/f4S8tg0Bjk8SEpxt4uPGuL9EjmqE4XdQjHAVcZ15po=; b=Zv4eWhXntpc99q1vOe30 WxkWYSYdPy+vOp/eGDLral612GYL29fNvuEfmNaA1MqWdCE2HAJ5RzWv6tPRIHhanQU58q+QcaBqr jD1BPXDL9VdABAnVXB00S3Tp7/fssIe9fyFN8NtVLKfSbIqe/Ms0heCJBn6G8g8ohPXWoHymkA9qM GAbrYrjKU4XyEjGc/Uwir2c0B8/DTqFXtCF3jrnNda2Li9EEvPyFfp5S8QVgv7hQM/pe3F0o9sTvD dXnNnsDcJhtUUYFLkofLV9jE6r3gxMZCITYguk/pEYj0yss0ZAFh7kxlNC/dXY4eBQf/eWLxg7Xk2 1+Lcn1CBLSv0CA==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> In-Reply-To: <37d349728afe8f4403d7a652e02b33fc895bc02b.1735043983.git.runciter@HIDDEN> (runciter@HIDDEN's message of "Tue, 24 Dec 2024 13:00:45 +0000") References: <cover.1735043982.git.runciter@HIDDEN> <37d349728afe8f4403d7a652e02b33fc895bc02b.1735043983.git.runciter@HIDDEN> Date: Wed, 25 Dec 2024 22:23:48 +0100 Message-ID: <874j2r4ftn.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Hi, Nice! I recently added FreeDict dictionaries to my own config and was contemplating the idea of having it properly integrated. Perfect. :-) FWIW, I have: --8<---------------cut here---------------start------------->8--- (define %freedict-databases (map (lambda (dictionary-name) (dicod-database (name "freedict") (handler "dictorg") (options (list #~(string-append "database=3D" #$freedict-dictionaries "/share/dictd/" #$dictionary-name))))) '("fra-eng" "eng-fra" "eng-spa" "spa-eng"))) --8<---------------cut here---------------end--------------->8--- and then: --8<---------------cut here---------------start------------->8--- (service dicod-service-type (dicod-configuration (databases (cons %dicod-database:gcide %freedict-databases)))) --8<---------------cut here---------------end--------------->8--- Runciter <runciter@HIDDEN> skribis: > * gnu/services/dict.scm: (%dictorg-handler): New variable; > (freedict-dictorg-database): new procedure; > (%freedict-dictorg-databases): new variable. > > Signed-off-by: Runciter <runciter@HIDDEN> [...] > +(define %dictorg-handler > + (dicod-handler (name "dictorg") > + (module "dictorg") > + (options (list #~(string-append "dbdir=3D/"))))) I believe we don=E2=80=99t even need that; it=E2=80=99s built-in. > +(define (freedict-dictorg-database dict-name) > + "Return a record of type @code{<dicod-database>} that configures a > +database for the freedict multilingual dictionary named by the string > +DICT-NAME." > + (dicod-database (name (string-append "freedict-" > + dict-name)) > + (complex? #t) What does =E2=80=98complex?=E2=80=99 do actually? (Seems to work without i= t.) > * doc/guix.texi: (Dictionary Service): Update configuration example. Could you squash both commits? In general documentation goes to the same commit as the change it documents. > diff --git a/doc/guix.texi b/doc/guix.texi > index 08ffbc36d7..1a394b91b2 100644 > --- a/doc/guix.texi > +++ b/doc/guix.texi > @@ -41158,13 +41158,15 @@ Miscellaneous Services > (name "wordnet") > (module "wordnet") > (options > - (list #~(string-append "wnhome=3D" #$wordnet)))))) > - (databases (list > + (list #~(string-append "wnhome=3D" #$wordnet)))) > + %dictorg-handler)) > + (databases (cons* > (dicod-database > (name "wordnet") > (complex? #t) > (handler "wordnet")) > - %dicod-database:gcide)))) > + %dicod-database:gcide > + %freedict-dictorg-databases)))) Could you also document =E2=80=98freedict-dictorg-databases=E2=80=99 and =E2=80=98%freedict-dictorg-databases=E2=80=99, similar to how =E2=80=98%dic= od-database:gcide=E2=80=99 is documented? For consistency, perhaps the these should be renamed to =E2=80=98dicod-freedict-databases=E2=80=99 and =E2=80=98%dicod-database:fre= edict=E2=80=99. Thanks in advance, Ludo=E2=80=99.
X-Loop: help-debbugs@HIDDEN Subject: [bug#75063] [PATCH 1/2] gnu: dict: Add symbols to help users configure FreeDict with dicod. References: <cover.1735043982.git.runciter@HIDDEN> In-Reply-To: <cover.1735043982.git.runciter@HIDDEN> Resent-From: Runciter <runciter@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: guix-patches@HIDDEN Resent-Date: Thu, 26 Dec 2024 16:23:02 +0000 Resent-Message-ID: <handler.75063.B75063.173523014924087 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 75063 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> Cc: 75063 <at> debbugs.gnu.org Received: via spool by 75063-submit <at> debbugs.gnu.org id=B75063.173523014924087 (code B ref 75063); Thu, 26 Dec 2024 16:23:02 +0000 Received: (at 75063) by debbugs.gnu.org; 26 Dec 2024 16:22:29 +0000 Received: from localhost ([127.0.0.1]:41979 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tQqd2-0006GQ-Vl for submit <at> debbugs.gnu.org; Thu, 26 Dec 2024 11:22:29 -0500 Received: from mail-40136.proton.ch ([185.70.40.136]:42055) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <runciter@HIDDEN>) id 1tQqcz-0006G9-My for 75063 <at> debbugs.gnu.org; Thu, 26 Dec 2024 11:22:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whispers-vpn.org; s=protonmail; t=1735230138; x=1735489338; bh=ynF6RB1k+LELgoNfAUuH/RLrAAwPScBPO7FVGriTkV4=; 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=Vz5iNfCamOvAM7RPbRjywNteG6y6yXy6AgJd3vx2XllyGyQsSZdaDv7eHdOT3jpvO AzLONTWEA7cwxArdjjsucy3yYz/mRmVQzqB1AbTIzSFVEq4hcIuaw9DfZ0fjp0hNf7 x9f6kFVdDSvI1pMbOClKmzoEiuagzrxldlbceIYyq2l4So+ps80aWZuD7pUUPUpI/J 30X4Dyek4RLe8LwM94vMSr9z7fIqKRbs+YTNwifMb2+0sfPNVHu3Xwf/64+Xgj4eiv op/GzzPiYbp5owT/7brQ7578DWmXPFeXIhjriP9AkbUJ6VWSPmmagAVurZehe6q1z4 zuMfbdrIPoVWw== Date: Thu, 26 Dec 2024 16:22:12 +0000 From: Runciter <runciter@HIDDEN> Message-ID: <875xn6v2hd.fsf@HIDDEN> Feedback-ID: 119317227:user:proton X-Pm-Message-ID: c230cf6c16ed5b08f4f0ae5f6e4ed87c840ea295 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hello, I'll squash both commits, simplify the configuration if appropriate, update symbol names and improve the documentation in the beginning of next week. Meanwhile I have not tested much yet but by reviewing code I found something which is possibly interesting. >> +(define %dictorg-handler >> + (dicod-handler (name "dictorg") >> + (module "dictorg") >> + (options (list #~(string-append "dbdir=3D/"))))) > > I believe we don=E2=80=99t even need that; it=E2=80=99s built-in. You found something simpler but I'll need to dive into the dicod.conf file in the store. See below. And sorry for the call to string-append with just one argument, I also seem to have included a useless G-exp... Probably a leftover from a previous version of mine. >> +(define (freedict-dictorg-database dict-name) >> + "Return a record of type @code{<dicod-database>} that configures a >> +database for the freedict multilingual dictionary named by the string >> +DICT-NAME." >> + (dicod-database (name (string-append "freedict-" >> + dict-name)) >> + (complex? #t) > > What does =E2=80=98complex?=E2=80=99 do actually? (Seems to work without= it.) Reviewing the code in the (gnu services dict) module, the relevant symbol is `database->text` defined inside the `dicod-configuration-file` procedure. `database->text` recurses into itself one time maximally, so that dicod gets one auto-generated handler with default handler options from the service module for each configured database which has `complex?` evaluating to #f, independently (TBC) from what the system configuration's explicit handlers and other non-complex databases are configuring. dicod has modules, handlers referencing a module, and databases referencing a handler. The latter two are user-configurable. dicod has hard-coded modules and I suppose it has no hard-coded handlers. In any case, as far as the Guix service module design goes, dicod is always supposed to get all of its handlers from Guix, either flexible handlers from the system configuration, or default handlers from the service module. This being the inferred design intent, 3 things are possibly not ideal in the way Guix handles dicod, by increasing order of importance: 1. In the Guix manual, the documentation of the `complex?` field may be slightly misleading. Strictly speaking it's the handler configuration which is complex when `complex?` is true, not the database configuration. Within dicod, those 2 levels of configuration are at least partially substitutable to each other, but they're not occupying the same position along an inheritance chain. 2. Here's one thing that I must experiment with before finishing this patch: some interactions between the service module and the system configuration might result in a "dirty" dicod configuration file defining the same handler multiple times. There are 2 cases which can result in this situation, and I don't think this is caught by the service module (TBC): a. same handler name defined explicitly by the system configuration, and by the service module when the system configuration also defines a non-complex database naming the same handler; b. System configuration containing multiple non-complex databases naming the same handler. If I have to bet right now, this is what happens with the simple system configuration you found. There's reason to think the dicod configuration file is "dirty" but non-failing, and in any case non-risky at run-time in this case, because the multiply-defined handler(s) should be all configured exactly to an identical default. 3. Are we possibly configuring dicod to load some of its modules multiple times, or possibly misleading users into doing it? This could be also non-failing but a most undesirable thing to do. Regards, Runciter
X-Loop: help-debbugs@HIDDEN Subject: [bug#75063] [PATCH 1/2] gnu: dict: Add symbols to help users configure FreeDict with dicod. References: <cover.1735043982.git.runciter@HIDDEN> In-Reply-To: <cover.1735043982.git.runciter@HIDDEN> Resent-From: Runciter <runciter@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: guix-patches@HIDDEN Resent-Date: Sun, 29 Dec 2024 18:36:01 +0000 Resent-Message-ID: <handler.75063.B75063.173549733325561 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 75063 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> Cc: 75063 <at> debbugs.gnu.org Received: via spool by 75063-submit <at> debbugs.gnu.org id=B75063.173549733325561 (code B ref 75063); Sun, 29 Dec 2024 18:36:01 +0000 Received: (at 75063) by debbugs.gnu.org; 29 Dec 2024 18:35:33 +0000 Received: from localhost ([127.0.0.1]:56140 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tRy8S-0006eC-Id for submit <at> debbugs.gnu.org; Sun, 29 Dec 2024 13:35:32 -0500 Received: from mail-4323.proton.ch ([185.70.43.23]:58633) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <runciter@HIDDEN>) id 1tRy8Q-0006dw-Bn for 75063 <at> debbugs.gnu.org; Sun, 29 Dec 2024 13:35:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whispers-vpn.org; s=protonmail; t=1735497323; x=1735756523; bh=FL9IyvSZsXVrJ1ZN4hHu+tZTusf8B9p9hHdldEO5QWo=; 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=UQ2S1iFZ/r+e7b52FbsBbAVSOnnUF5bGaFvejsJ1Tuc9TpxnCd2oqiNq2DIYE8Lm6 1JnGAckSNxF0reAq1S8ib+udzeG2k8xkQf9MNNio19HxkxAl/xc14XEs9qxKZ+oibC OSi7sfB5AjgXQFjkXiIDSEdxfiJm9VrlPIPZWoX1LQhjh+AqjW2kmBIHPwbtOdL5/D J5sonEX1mLfp4vLiVWbv0R9Csw/v5UC7fYKoRzX7vUQLF2+9mp2oR7NWsK3FFE19PQ dxuw4kpyQ3/kOK7i0ep27rhwqTFcnwxbH4Hchd4ecl8Sdijy5Ia+4gh7rGRq5fUUty f+KRm5zojQRaQ== Date: Sun, 29 Dec 2024 18:35:19 +0000 From: Runciter <runciter@HIDDEN> Message-ID: <87o70u5odd.fsf@HIDDEN> Feedback-ID: 119317227:user:proton X-Pm-Message-ID: b59bae0b98913a02fbfa6ab41bc084f39bb138c4 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hello Ludo, I tested your config in a VM and it's not as bad as I thought. There's a little problem though, which is one of those I anticipated: the `load-module` statement of dicod.conf is uselessly repeated for each non-complex dictorg database configured by the Guix service. I have copied the dicod.conf that your configuration creates at the bottom of this message. You can see the duplicates statements, 4 in your case because you configured 4 non-complex dictorg dictionaries. I'm going to go for symbols which create non-complex databases, like your config. It's probably not going to be very easy to see if the duplicate module loading in dicod causes a performance hit when one uses a large number of dictorg databases, or all of them... Therefore, in the info manual, I'm also going to change the configuration example into one where only a handful of databases are registered into the service, as opposed to all of them in my initial patch. I'll send a revised patch later this week. If that is deemed to be required, in order to fix the duplicate module loading of dicod, one could always change the Scheme in the `dicod-configuration-file` procedure. Runciter =3D=3D BELOW THE dicod.conf CREATED WITH 4 NON-COMPLEX DICTORG DATABASES: = =3D=3D listen (localhost); load-module gcide; database { name "gcide"; handler "gcide dbdir=3D/gnu/store/wsxc3jg8m2fi7qhlr2rrv4ik9vqhv6bp-gcide= -0.53/share/gcide idxdir=3D/gnu/store/jflf8h70g61fsc4xgclasghjsmwqsa5c-dico= d-gcide-index"; } load-module dictorg; database { name "freedict"; handler "dictorg database=3D/gnu/store/nld9vc9f9jgk3x4hawjlnnzw8vzvavz2-= freedict-dictionaries-0.0.0-0.914b5f7/share/dictd/fra-eng"; } load-module dictorg; database { name "freedict"; handler "dictorg database=3D/gnu/store/nld9vc9f9jgk3x4hawjlnnzw8vzvavz2-= freedict-dictionaries-0.0.0-0.914b5f7/share/dictd/eng-fra"; } load-module dictorg; database { name "freedict"; handler "dictorg database=3D/gnu/store/nld9vc9f9jgk3x4hawjlnnzw8vzvavz2-= freedict-dictionaries-0.0.0-0.914b5f7/share/dictd/eng-spa"; } load-module dictorg; database { name "freedict"; handler "dictorg database=3D/gnu/store/nld9vc9f9jgk3x4hawjlnnzw8vzvavz2-= freedict-dictionaries-0.0.0-0.914b5f7/share/dictd/spa-eng"; }
X-Loop: help-debbugs@HIDDEN Subject: [bug#75063] [PATCH v2] gnu: dict: Add symbols to help users configure FreeDict with dicod. References: <cover.1735043982.git.runciter@HIDDEN> In-Reply-To: <cover.1735043982.git.runciter@HIDDEN> Resent-From: Runciter <runciter@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: guix-patches@HIDDEN Resent-Date: Wed, 01 Jan 2025 19:24:02 +0000 Resent-Message-ID: <handler.75063.B75063.173575942032635 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 75063 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75063 <at> debbugs.gnu.org Cc: Runciter <runciter@HIDDEN> Received: via spool by 75063-submit <at> debbugs.gnu.org id=B75063.173575942032635 (code B ref 75063); Wed, 01 Jan 2025 19:24:02 +0000 Received: (at 75063) by debbugs.gnu.org; 1 Jan 2025 19:23:40 +0000 Received: from localhost ([127.0.0.1]:40485 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tT4Jf-0008UJ-RF for submit <at> debbugs.gnu.org; Wed, 01 Jan 2025 14:23:40 -0500 Received: from mail-4323.proton.ch ([185.70.43.23]:30961) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <runciter@HIDDEN>) id 1tT4Jb-0008U0-Un for 75063 <at> debbugs.gnu.org; Wed, 01 Jan 2025 14:23:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whispers-vpn.org; s=protonmail; t=1735759408; x=1736018608; bh=9OTzRdtDsToh2q6Jn2/Or+ficyLm9Fw10uyr6Ze3eUM=; 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=EH+9wGYxbLXlKHYPR3ATFYXW7y/dd53AaJq5KODqW6KuBh4EF+u93Fc7Q8zM+74Ll sm+ncYL7nc0gXUi6Erq2w7aRPeylMuZKW1vR56dqFM9H52HkWPBDsWetMcdcsk7n4B +oDFpS/I/xA9s1KATif1QKK/H6yKIPahs9HSAaIuCVR52uZN9NNTgeijmKVM36iX8W oNiUNGcgnFCco2l7fjmH6/to4THA7feSUC2L+vJFC6FaAaypJnwiWF/AjFcdCbQTey Z6WRoPZiHTGE1nCI/fxBHp6N8vwmbXY5hV4MigPjOjE/wjOA3xDUva09w9cIClVUxI ORzAfOXu+jhOA== Date: Wed, 01 Jan 2025 19:23:25 +0000 From: Runciter <runciter@HIDDEN> Message-ID: <eb6b4319e4a25c06bb48968d9f11779046ab0e52.1735759383.git.runciter@HIDDEN> Feedback-ID: 119317227:user:proton X-Pm-Message-ID: 46ecf50adeae276bce650fb589b58f04eca69020 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) * gnu/services/dict.scm: (%dicod-database:freedict): New procedure; (dicod-freedict-databases): new variable. * doc/guix.texi: (Dictionary Service): Document them. Signed-off-by: Runciter <runciter@HIDDEN> --- doc/guix.texi | 25 +++++++++-- gnu/services/dict.scm | 100 +++++++++++++++++++++++++++++++++++++++++- 2 files changed, 121 insertions(+), 4 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index 08ffbc36d7..30ca842ea5 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -41148,7 +41148,23 @@ Miscellaneous Services Dictionary of English using the @code{gcide} package. @end defvar =20 -The following is an example @code{dicod-service-type} configuration. +@deffn {Procedure} %dicod-database:freedict dictionary-name +"Returns a record of type @code{dicod-database} for purpose of configuring= a +database for the FreeDict multilingual dictionary named by the string +@var{dictionary-name} into a service of type @code{dicod-service-type}." +@end deffn + +@defvar dicod-freedict-databases +A relatively large list of records of type @code{dicod-database}, made +available for users who wish to configure all the FreeDict multilingual +dictionaries provided by the @code{freedict-dictionaries} package into a +service of type @code{dicod-service-type}. +@end defvar + +The following is an example @code{dicod-service-type} configuration, +extending a @command{dicod} daemon serving databases for the wordnet and +gcide dictionaries, as well as a selection of FreeDict multilingual +dictionaries. =20 @lisp (service dicod-service-type @@ -41159,12 +41175,15 @@ Miscellaneous Services (module "wordnet") (options (list #~(string-append "wnhome=3D" #$wordnet)))))) - (databases (list + (databases (cons* (dicod-database (name "wordnet") (complex? #t) (handler "wordnet")) - %dicod-database:gcide)))) + %dicod-database:gcide + (map + %dicod-database:freedict + '("fra-eng" "eng-fra" "eng-spa" "spa-eng")))))) @end lisp =20 @cindex Docker diff --git a/gnu/services/dict.scm b/gnu/services/dict.scm index a4e25f5302..69028ab5d3 100644 --- a/gnu/services/dict.scm +++ b/gnu/services/dict.scm @@ -2,6 +2,7 @@ ;;; Copyright =C2=A9 2016 Sou Bunnbu <iyzsong@HIDDEN> ;;; Copyright =C2=A9 2016, 2017, 2018, 2020, 2022, 2023 Ludovic Court= =C3=A8s <ludo@HIDDEN> ;;; Copyright =C2=A9 2017 Huang Ying <huang.ying.caritas@HIDDEN> +;;; Copyright =C2=A9 2024 Runciter <runciter@HIDDEN> ;;; ;;; This file is part of GNU Guix. ;;; @@ -40,7 +41,9 @@ (define-module (gnu services dict) dicod-configuration dicod-handler dicod-database - %dicod-database:gcide)) + %dicod-database:gcide + %dicod-database:freedict + dicod-freedict-databases)) =20 =0C ;;; @@ -94,6 +97,101 @@ (define %dicod-database:gcide (options (list #~(string-append "dbdir=3D" #$gcide "/share/gcide") #~(string-append "idxdir=3D" #$%dicod-gcide-index))))) =20 +(define (%dicod-database:freedict dictionary-name) + "Returns a record of type @code{dicod-database} for purpose of configuri= ng a +database for the FreeDict multilingual dictionary named by the string +@var{dictionary-name} into a service of type @code{dicod-service-type}." + (dicod-database (name (string-append "freedict-" + dictionary-name)) + (handler "dictorg") + (options (list #~(string-append "database=3D" + #$freedict-dictionaries + "/share/dictd/" + #$dictionary-name))))) + +(define dicod-freedict-databases + (map %dicod-database:freedict (list "afr-deu" + "afr-eng" + "ara-eng" + "bre-fra" + "ces-eng" + "ckb-kmr" + "cym-eng" + "dan-eng" + "deu-ita" + "deu-kur" + "deu-nld" + "deu-por" + "deu-tur" + "eng-afr" + "eng-ara" + "eng-ces" + "eng-cym" + "eng-dan" + "eng-ell" + "eng-fra" + "eng-gle" + "eng-hin" + "eng-hrv" + "eng-hun" + "eng-ita" + "eng-lat" + "eng-lit" + "eng-nld" + "eng-pol" + "eng-por" + "eng-rom" + "eng-rus" + "eng-spa" + "eng-srp" + "eng-swh" + "eng-tur" + "fra-bre" + "fra-eng" + "fra-nld" + "gla-deu" + "gle-eng" + "gle-pol" + "hrv-eng" + "hun-eng" + "isl-eng" + "ita-deu" + "ita-eng" + "jpn-deu" + "jpn-eng" + "jpn-fra" + "jpn-rus" + "kha-deu" + "kha-eng" + "kur-deu" + "kur-eng" + "kur-tur" + "lat-deu" + "lat-eng" + "lit-eng" + "mkd-bul" + "nld-deu" + "nld-eng" + "nld-fra" + "nno-nob" + "oci-cat" + "pol-gle" + "por-deu" + "por-eng" + "san-deu" + "slk-eng" + "slv-eng" + "spa-ast" + "spa-eng" + "spa-por" + "srp-eng" + "swe-eng" + "swh-eng" + "swh-pol" + "tur-deu" + "tur-eng" + "wol-fra"))) + (define %dicod-accounts (list (user-group (name "dicod") base-commit: 9dc91360fd2e41fb783ab4af341ac60aee2f5d31 --=20 2.47.1
X-Loop: help-debbugs@HIDDEN Subject: [bug#75063] [PATCH v2] gnu: dict: Add symbols to help users configure FreeDict with dicod. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: guix-patches@HIDDEN Resent-Date: Wed, 08 Jan 2025 22:16:02 +0000 Resent-Message-ID: <handler.75063.B75063.173637454825295 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 75063 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Runciter <runciter@HIDDEN> Cc: 75063 <at> debbugs.gnu.org Received: via spool by 75063-submit <at> debbugs.gnu.org id=B75063.173637454825295 (code B ref 75063); Wed, 08 Jan 2025 22:16:02 +0000 Received: (at 75063) by debbugs.gnu.org; 8 Jan 2025 22:15:48 +0000 Received: from localhost ([127.0.0.1]:49387 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tVeL6-0006Zv-1P for submit <at> debbugs.gnu.org; Wed, 08 Jan 2025 17:15:48 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41410) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1tVeL1-0006Zd-18 for 75063 <at> debbugs.gnu.org; Wed, 08 Jan 2025 17:15:46 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1tVeKv-0001UN-0i; Wed, 08 Jan 2025 17:15:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=AHjcpFWRtR2Pi/FeWknvm97KNd53nLu95q1PnDXmyHc=; b=UWMxVxf6U4QpAXdYDocs W3lm3mwdT1xEzyzzYsjp8V9uyKGUvIgdbO8+V+KNc8fhD+ykcNKJQbcY7Q9M+eiFYQotRRQOx7yE/ LFad5v67SppW1YCwASmZkwDXyqKSCxusxDFjq83o82XQfAFSoa6FevdQQxiOJjRlsTtURITRDkQX+ 5ph6F5zFohRYTF92XpPNMN/SLblwU3QJUTQz+aBiDG08tyNR/X887TqDDLSzoPS7sTLCC+S8jz7h3 jErSN4/UNOiSdUussHE0b0fYIjx9mcJotRzDi9vmc7axc3Bj47RH7uYjMLg+z3Uq+VRhCj7nSg1wl 8g6WzqLL+hZoHQ==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> In-Reply-To: <eb6b4319e4a25c06bb48968d9f11779046ab0e52.1735759383.git.runciter@HIDDEN> (runciter@HIDDEN's message of "Wed, 01 Jan 2025 19:23:25 +0000") References: <cover.1735043982.git.runciter@HIDDEN> <eb6b4319e4a25c06bb48968d9f11779046ab0e52.1735759383.git.runciter@HIDDEN> Date: Wed, 08 Jan 2025 23:15:33 +0100 Message-ID: <87a5c1t0je.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Hi, Runciter <runciter@HIDDEN> skribis: > * gnu/services/dict.scm: (%dicod-database:freedict): New procedure; > (dicod-freedict-databases): new variable. > * doc/guix.texi: (Dictionary Service): Document them. > > Signed-off-by: Runciter <runciter@HIDDEN> [...] > -The following is an example @code{dicod-service-type} configuration. > +@deffn {Procedure} %dicod-database:freedict dictionary-name > +"Returns a record of type @code{dicod-database} for purpose of configuri= ng a > +database for the FreeDict multilingual dictionary named by the string > +@var{dictionary-name} into a service of type @code{dicod-service-type}." > +@end deffn Could you remove double quotes? I would add an example, like so: =E2=80=9C=E2=80=A6 named by @var{dictionar= y-name}, a string such as @code{"kur-eng"} for the Kurdish-to-English dictionary, into a service =E2=80=A6=E2=80=9D. > +@defvar dicod-freedict-databases > +A relatively large list of records of type @code{dicod-database}, made Oops, I guess my message was unclear. I think the procedure should be called =E2=80=98dicod-freedict-database=E2= =80=99 (singular); the variable for all the databases should be called =E2=80=98%dicod-databases:freedict=E2=80=99 (similar to =E2=80=98%dicod-dat= abase:gcide=E2=80=99). Apart from that it looks good to me. Could you send one last version along these lines? Thanks, Ludo=E2=80=99.
X-Loop: help-debbugs@HIDDEN Subject: [bug#75063] [PATCH v2] gnu: dict: Add symbols to help users configure FreeDict with dicod. References: <cover.1735043982.git.runciter@HIDDEN> In-Reply-To: <cover.1735043982.git.runciter@HIDDEN> Resent-From: Runciter <runciter@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: guix-patches@HIDDEN Resent-Date: Thu, 09 Jan 2025 14:14:02 +0000 Resent-Message-ID: <handler.75063.B75063.17364320066643 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 75063 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> Cc: 75063 <at> debbugs.gnu.org Received: via spool by 75063-submit <at> debbugs.gnu.org id=B75063.17364320066643 (code B ref 75063); Thu, 09 Jan 2025 14:14:02 +0000 Received: (at 75063) by debbugs.gnu.org; 9 Jan 2025 14:13:26 +0000 Received: from localhost ([127.0.0.1]:51242 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tVtHp-0001j3-5v for submit <at> debbugs.gnu.org; Thu, 09 Jan 2025 09:13:25 -0500 Received: from mail-4022.proton.ch ([185.70.40.22]:56261) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <runciter@HIDDEN>) id 1tVtHj-0001iW-Ef for 75063 <at> debbugs.gnu.org; Thu, 09 Jan 2025 09:13:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whispers-vpn.org; s=protonmail; t=1736431992; x=1736691192; bh=MR/HnRcEDHoXpQVrNPZYK+apRqLQ3doS8u791I6d3/Q=; 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=Di0GJouSfcDsJzF/zHhxr9weK/Y885FN+SWIZdwLd4i3VmkvtFJK4ZG8alTvDVbhO GWU8yXwqP1yJ5z3ybJZ2yHml3bwC7h6TWzSBNy71sRpc1ULwdPWwbS2hHtJaFhN9P4 2us/LyPuM+Z+gfvuT9GIn3ssdRtvTEEq8QgKBJnXQ4S+FBUof7gpvAKr5c82aHT6Wo d1waE2o0MDg2WJn+/Kc8dkcVqmxJoFIvAmeYWbovAZzJ66sM2pgtpVYkzkSuogTkEk jVM0rB2QK4DesROX92+qDI+dmFOl0VxdHbWke8kINbV7tKeAjiE3fQG9l+WPu6oQJc 30Dl2ki65dvfg== Date: Thu, 09 Jan 2025 14:13:08 +0000 From: Runciter <runciter@HIDDEN> Message-ID: <87y0zk9itt.fsf@HIDDEN> Feedback-ID: 119317227:user:proton X-Pm-Message-ID: 97b70ab206005c654fdd79b6e911a14e471a3785 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hello Ludo, OK, just finished a revised patch with these corrections and sending now. Regards, Runciter
X-Loop: help-debbugs@HIDDEN Subject: [bug#75063] [PATCH v3] gnu: dict: Add symbols to help users configure FreeDict with dicod. References: <cover.1735043982.git.runciter@HIDDEN> In-Reply-To: <cover.1735043982.git.runciter@HIDDEN> Resent-From: Runciter <runciter@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: guix-patches@HIDDEN Resent-Date: Thu, 09 Jan 2025 14:15:02 +0000 Resent-Message-ID: <handler.75063.B75063.17364320886857 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 75063 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75063 <at> debbugs.gnu.org Cc: Runciter <runciter@HIDDEN> Received: via spool by 75063-submit <at> debbugs.gnu.org id=B75063.17364320886857 (code B ref 75063); Thu, 09 Jan 2025 14:15:02 +0000 Received: (at 75063) by debbugs.gnu.org; 9 Jan 2025 14:14:48 +0000 Received: from localhost ([127.0.0.1]:51247 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tVtJ9-0001mW-4e for submit <at> debbugs.gnu.org; Thu, 09 Jan 2025 09:14:47 -0500 Received: from mail-4022.proton.ch ([185.70.40.22]:46081) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <runciter@HIDDEN>) id 1tVtJ4-0001m1-0O for 75063 <at> debbugs.gnu.org; Thu, 09 Jan 2025 09:14:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whispers-vpn.org; s=protonmail; t=1736432075; x=1736691275; bh=fa6euTizjjeGJs87epfb6Lp8hGiZYm6Hgv+ipcQkGDo=; 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=k913EwkEo+3HClSbutM7mcaK2oGoItyJaIZxn3sDR3/ibSOomNx2WSrD3WbAZ2tcb M7u72m63/pV4VnRj2hKSq7Wr3kvcJKf/Olq8VOJKGqsFkzEP3zM5oCRn+UdkJuvqHx mtlWF8cfJcpd3frbCANRw1WRvWNCu384nYCwasiMzElFonp9F0TzWC2f5OeWVBVclo Qp16y7Iz1lYbox6KplUahBr9DxRE4Fbstf9EcjaHgeNeHiNrRo+6JYwM/+SPxt/th3 0mgDpJMj6D4JpgtaLBVFXOdsgAz8fzmY8Y3VNXNHrkFQyz2+bQAuDIB2A6yJANK7IP zKvQUaZtnVokg== Date: Thu, 09 Jan 2025 14:14:31 +0000 From: Runciter <runciter@HIDDEN> Message-ID: <265411a8be96823102d3c66a149763033341d384.1736432061.git.runciter@HIDDEN> Feedback-ID: 119317227:user:proton X-Pm-Message-ID: ec8173d1c00672c86496ba3c2fe6da9c4faae07b MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) * gnu/services/dict.scm: (dicod-freedict-database): New procedure; (%dicod-databases:freedict): new variable. * doc/guix.texi: (Dictionary Service): Document them. Signed-off-by: Runciter <runciter@HIDDEN> --- doc/guix.texi | 27 ++++++++++-- gnu/services/dict.scm | 100 +++++++++++++++++++++++++++++++++++++++++- 2 files changed, 123 insertions(+), 4 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index 08ffbc36d7..8552c102d7 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -41148,7 +41148,25 @@ Miscellaneous Services Dictionary of English using the @code{gcide} package. @end defvar =20 -The following is an example @code{dicod-service-type} configuration. +@deffn {Procedure} dicod-freedict-database dictionary-name +Returns a record of type @code{dicod-database} for purpose of +configuring a database for the FreeDict multilingual dictionary named by +@var{dictionary-name}, a string such as @code{"kur-eng"} for the +Kurdish-to-English dictionary, into a service of type +@code{dicod-service-type}. +@end deffn + +@defvar %dicod-databases:freedict +A relatively large list of records of type @code{dicod-database}, made +available for users who wish to configure all the FreeDict multilingual +dictionaries provided by the @code{freedict-dictionaries} package into a +service of type @code{dicod-service-type}. +@end defvar + +The following is an example @code{dicod-service-type} configuration, +extending a @command{dicod} daemon serving databases for the wordnet and +gcide dictionaries, as well as a selection of FreeDict multilingual +dictionaries. =20 @lisp (service dicod-service-type @@ -41159,12 +41177,15 @@ Miscellaneous Services (module "wordnet") (options (list #~(string-append "wnhome=3D" #$wordnet)))))) - (databases (list + (databases (cons* (dicod-database (name "wordnet") (complex? #t) (handler "wordnet")) - %dicod-database:gcide)))) + %dicod-database:gcide + (map + dicod-freedict-database + '("fra-eng" "eng-fra" "eng-spa" "spa-eng")))))) @end lisp =20 @cindex Docker diff --git a/gnu/services/dict.scm b/gnu/services/dict.scm index a4e25f5302..fef8915439 100644 --- a/gnu/services/dict.scm +++ b/gnu/services/dict.scm @@ -2,6 +2,7 @@ ;;; Copyright =C2=A9 2016 Sou Bunnbu <iyzsong@HIDDEN> ;;; Copyright =C2=A9 2016, 2017, 2018, 2020, 2022, 2023 Ludovic Court= =C3=A8s <ludo@HIDDEN> ;;; Copyright =C2=A9 2017 Huang Ying <huang.ying.caritas@HIDDEN> +;;; Copyright =C2=A9 2024 Runciter <runciter@HIDDEN> ;;; ;;; This file is part of GNU Guix. ;;; @@ -40,7 +41,9 @@ (define-module (gnu services dict) dicod-configuration dicod-handler dicod-database - %dicod-database:gcide)) + %dicod-database:gcide + dicod-freedict-database + %dicod-databases:freedict)) =20 =0C ;;; @@ -94,6 +97,101 @@ (define %dicod-database:gcide (options (list #~(string-append "dbdir=3D" #$gcide "/share/gcide") #~(string-append "idxdir=3D" #$%dicod-gcide-index))))) =20 +(define (dicod-freedict-database dictionary-name) + "Returns a record of type @code{dicod-database} for purpose of configuri= ng a +database for the FreeDict multilingual dictionary named by the string +@var{dictionary-name} into a service of type @code{dicod-service-type}." + (dicod-database (name (string-append "freedict-" + dictionary-name)) + (handler "dictorg") + (options (list #~(string-append "database=3D" + #$freedict-dictionaries + "/share/dictd/" + #$dictionary-name))))) + +(define %dicod-databases:freedict + (map dicod-freedict-database (list "afr-deu" + "afr-eng" + "ara-eng" + "bre-fra" + "ces-eng" + "ckb-kmr" + "cym-eng" + "dan-eng" + "deu-ita" + "deu-kur" + "deu-nld" + "deu-por" + "deu-tur" + "eng-afr" + "eng-ara" + "eng-ces" + "eng-cym" + "eng-dan" + "eng-ell" + "eng-fra" + "eng-gle" + "eng-hin" + "eng-hrv" + "eng-hun" + "eng-ita" + "eng-lat" + "eng-lit" + "eng-nld" + "eng-pol" + "eng-por" + "eng-rom" + "eng-rus" + "eng-spa" + "eng-srp" + "eng-swh" + "eng-tur" + "fra-bre" + "fra-eng" + "fra-nld" + "gla-deu" + "gle-eng" + "gle-pol" + "hrv-eng" + "hun-eng" + "isl-eng" + "ita-deu" + "ita-eng" + "jpn-deu" + "jpn-eng" + "jpn-fra" + "jpn-rus" + "kha-deu" + "kha-eng" + "kur-deu" + "kur-eng" + "kur-tur" + "lat-deu" + "lat-eng" + "lit-eng" + "mkd-bul" + "nld-deu" + "nld-eng" + "nld-fra" + "nno-nob" + "oci-cat" + "pol-gle" + "por-deu" + "por-eng" + "san-deu" + "slk-eng" + "slv-eng" + "spa-ast" + "spa-eng" + "spa-por" + "srp-eng" + "swe-eng" + "swh-eng" + "swh-pol" + "tur-deu" + "tur-eng" + "wol-fra"))) + (define %dicod-accounts (list (user-group (name "dicod") base-commit: 9dc91360fd2e41fb783ab4af341ac60aee2f5d31 --=20 2.47.1
MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> Subject: bug#75063: closed ([PATCH 0/2] Easy configuration of FreeDict into dicod-service-type) CC: tracker <at> debbugs.gnu.org Message-ID: <handler.75063.D75063.173792561817043.ackdone <at> debbugs.gnu.org> References: <874j1l70b5.fsf@HIDDEN> <cover.1735043982.git.runciter@HIDDEN> X-Gnu-PR-Message: closed 75063 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Date: Sun, 26 Jan 2025 21:07:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1737925621-17057-0" This is a multi-part message in MIME format... ------------=_1737925621-17057-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Sun, 26 Jan 2025 22:05:50 +0100 with message-id <874j1l70b5.fsf@HIDDEN> and subject line Re: [bug#75063] [PATCH v3] gnu: dict: Add symbols to help = users configure FreeDict with dicod. has caused the debbugs.gnu.org bug report #75063, regarding [PATCH 0/2] Easy configuration of FreeDict into dicod-service-type to be marked as done. (If you believe you have received this mail in error, please contact help-debbugs@HIDDEN) --=20 75063: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D75063 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems ------------=_1737925621-17057-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 24 Dec 2024 12:47:45 +0000 Received: from localhost ([127.0.0.1]:59879 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tQ4K9-0006in-9I for submit <at> debbugs.gnu.org; Tue, 24 Dec 2024 07:47:45 -0500 Received: from lists.gnu.org ([209.51.188.17]:33672) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <runciter@HIDDEN>) id 1tQ4K7-0006ie-CC for submit <at> debbugs.gnu.org; Tue, 24 Dec 2024 07:47:44 -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 <runciter@HIDDEN>) id 1tQ4K6-0001xA-RE for guix-patches@HIDDEN; Tue, 24 Dec 2024 07:47:42 -0500 Received: from mail-40136.proton.ch ([185.70.40.136]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <runciter@HIDDEN>) id 1tQ4K2-0000Pg-KF for guix-patches@HIDDEN; Tue, 24 Dec 2024 07:47:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whispers-vpn.org; s=protonmail; t=1735044447; x=1735303647; bh=PcKUCSuJqzjvgox69n+V8MzOhA/AfyIs3fExn8aecQ0=; 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=VRMhsOhGxXprjDxjWzVdIxrXPgM4kyrp5Lw8cQQcD+psYo7IU3Gp4fw76907J6iV+ 6OgSisQel081MtxCJ7oDGgL8YakYczMtoy4K9AzvB1gr6KUSVI9OpApxrGq+650fwi oZGts6KsTfBDpWabwmmPpbQFz5ggnWGdPpLCIVB+klo51VUiAyXlTlyov62UyUhU7u wP8MVbYPR6cf6foAvqaWy/sq56wcsdrD3Xv82jST3/S4gsx+9gGC7l7Op2tdGWv1mJ W4XDad2LBvUyv4yRUEOVmNwOmWhn03GMlzOpLGEu4nuLdqZonWQol6LDcaWKvwZC5r x5uub8Y6uFzDw== Date: Tue, 24 Dec 2024 12:47:22 +0000 To: guix-patches@HIDDEN From: Runciter <runciter@HIDDEN> Subject: [PATCH 0/2] Easy configuration of FreeDict into dicod-service-type Message-ID: <cover.1735043982.git.runciter@HIDDEN> Feedback-ID: 119317227:user:proton X-Pm-Message-ID: fbc16a932cc55b52c3e1a6da2272756de8f230e8 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.136; envelope-from=runciter@HIDDEN; helo=mail-40136.proton.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Runciter <runciter@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) A few weeks my patch for FreeDict multilingual dictionaries for Guix was integrated to the master branch (bug #74411). These patches are simple updates to the (gnu services dict) module and to t= he Guix info manual to help users configure FreeDict dictionaries into their local dicod server. Regards, Runciter Runciter (2): gnu: dict: Add symbols to help users configure FreeDict with dicod. doc: add FreeDict dictionaries to dicod configuration example. doc/guix.texi | 8 ++-- gnu/services/dict.scm | 107 +++++++++++++++++++++++++++++++++++++++++- 2 files changed, 111 insertions(+), 4 deletions(-) base-commit: 9dc91360fd2e41fb783ab4af341ac60aee2f5d31 --=20 2.46.0 ------------=_1737925621-17057-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 75063-done) by debbugs.gnu.org; 26 Jan 2025 21:06:58 +0000 Received: from localhost ([127.0.0.1]:58099 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tc9qM-0004Qp-3N for submit <at> debbugs.gnu.org; Sun, 26 Jan 2025 16:06:58 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38978) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1tc9qJ-0004QY-9u for 75063-done <at> debbugs.gnu.org; Sun, 26 Jan 2025 16:06:55 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1tc9qD-0006dT-IN; Sun, 26 Jan 2025 16:06:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=fxjUAFBTwuatHKhVSHzG2BsThjTjj9xX1Ph2qq0sMVI=; b=Ow24n2Jv17iBEO+U2LyA U+V6rQIJvO0Hb8PCWXaK6baf9EBawQ62GljvOoS3WJOmkyg2A9Y5TNatp4yzoQOtzN0gdTvIUvNOD HDBjNa+F+YNJ4ZjMNzUaugCxiVXucB3i0zMjLe8qwaW+ImoN9KkwneJrVBQ+TsdwwlyTycdFLTTQA WOTUvROBUu5kLDUMxY5vVMEI7jE7K6eeLwzELSaqzi+H8wzB3M8leJa5w6wWXru8teroc1DHzHDxr UkiZaOFqGy0pNw9grS1ezG5RsdPpMMscAyvWZTSQ3ZJVoZc05jvabKw9UUQ8/vZV7XxTZnnytGcoS Kiz6Q66A1SnOKg==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> To: Runciter <runciter@HIDDEN> Subject: Re: [bug#75063] [PATCH v3] gnu: dict: Add symbols to help users configure FreeDict with dicod. In-Reply-To: <265411a8be96823102d3c66a149763033341d384.1736432061.git.runciter@HIDDEN> (runciter@HIDDEN's message of "Thu, 09 Jan 2025 14:14:31 +0000") References: <cover.1735043982.git.runciter@HIDDEN> <265411a8be96823102d3c66a149763033341d384.1736432061.git.runciter@HIDDEN> Date: Sun, 26 Jan 2025 22:05:50 +0100 Message-ID: <874j1l70b5.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 75063-done Cc: 75063-done <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Runciter <runciter@HIDDEN> skribis: > * gnu/services/dict.scm: (dicod-freedict-database): New procedure; > (%dicod-databases:freedict): new variable. > * doc/guix.texi: (Dictionary Service): Document them. > > Signed-off-by: Runciter <runciter@HIDDEN> Applied, thanks! Ludo=E2=80=99. ------------=_1737925621-17057-0--
MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Runciter <runciter@HIDDEN> Subject: bug#75063: closed (Re: [bug#75063] [PATCH v3] gnu: dict: Add symbols to help users configure FreeDict with dicod.) Message-ID: <handler.75063.D75063.173792561817043.notifdone <at> debbugs.gnu.org> References: <874j1l70b5.fsf@HIDDEN> <cover.1735043982.git.runciter@HIDDEN> X-Gnu-PR-Message: they-closed 75063 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 75063 <at> debbugs.gnu.org Date: Sun, 26 Jan 2025 21:07:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1737925622-17057-1" This is a multi-part message in MIME format... ------------=_1737925622-17057-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #75063: [PATCH 0/2] Easy configuration of FreeDict into dicod-service-type which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 75063 <at> debbugs.gnu.org. --=20 75063: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D75063 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems ------------=_1737925622-17057-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 75063-done) by debbugs.gnu.org; 26 Jan 2025 21:06:58 +0000 Received: from localhost ([127.0.0.1]:58099 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tc9qM-0004Qp-3N for submit <at> debbugs.gnu.org; Sun, 26 Jan 2025 16:06:58 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38978) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1tc9qJ-0004QY-9u for 75063-done <at> debbugs.gnu.org; Sun, 26 Jan 2025 16:06:55 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1tc9qD-0006dT-IN; Sun, 26 Jan 2025 16:06:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=fxjUAFBTwuatHKhVSHzG2BsThjTjj9xX1Ph2qq0sMVI=; b=Ow24n2Jv17iBEO+U2LyA U+V6rQIJvO0Hb8PCWXaK6baf9EBawQ62GljvOoS3WJOmkyg2A9Y5TNatp4yzoQOtzN0gdTvIUvNOD HDBjNa+F+YNJ4ZjMNzUaugCxiVXucB3i0zMjLe8qwaW+ImoN9KkwneJrVBQ+TsdwwlyTycdFLTTQA WOTUvROBUu5kLDUMxY5vVMEI7jE7K6eeLwzELSaqzi+H8wzB3M8leJa5w6wWXru8teroc1DHzHDxr UkiZaOFqGy0pNw9grS1ezG5RsdPpMMscAyvWZTSQ3ZJVoZc05jvabKw9UUQ8/vZV7XxTZnnytGcoS Kiz6Q66A1SnOKg==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> To: Runciter <runciter@HIDDEN> Subject: Re: [bug#75063] [PATCH v3] gnu: dict: Add symbols to help users configure FreeDict with dicod. In-Reply-To: <265411a8be96823102d3c66a149763033341d384.1736432061.git.runciter@HIDDEN> (runciter@HIDDEN's message of "Thu, 09 Jan 2025 14:14:31 +0000") References: <cover.1735043982.git.runciter@HIDDEN> <265411a8be96823102d3c66a149763033341d384.1736432061.git.runciter@HIDDEN> Date: Sun, 26 Jan 2025 22:05:50 +0100 Message-ID: <874j1l70b5.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 75063-done Cc: 75063-done <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Runciter <runciter@HIDDEN> skribis: > * gnu/services/dict.scm: (dicod-freedict-database): New procedure; > (%dicod-databases:freedict): new variable. > * doc/guix.texi: (Dictionary Service): Document them. > > Signed-off-by: Runciter <runciter@HIDDEN> Applied, thanks! Ludo=E2=80=99. ------------=_1737925622-17057-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 24 Dec 2024 12:47:45 +0000 Received: from localhost ([127.0.0.1]:59879 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tQ4K9-0006in-9I for submit <at> debbugs.gnu.org; Tue, 24 Dec 2024 07:47:45 -0500 Received: from lists.gnu.org ([209.51.188.17]:33672) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <runciter@HIDDEN>) id 1tQ4K7-0006ie-CC for submit <at> debbugs.gnu.org; Tue, 24 Dec 2024 07:47:44 -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 <runciter@HIDDEN>) id 1tQ4K6-0001xA-RE for guix-patches@HIDDEN; Tue, 24 Dec 2024 07:47:42 -0500 Received: from mail-40136.proton.ch ([185.70.40.136]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <runciter@HIDDEN>) id 1tQ4K2-0000Pg-KF for guix-patches@HIDDEN; Tue, 24 Dec 2024 07:47:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whispers-vpn.org; s=protonmail; t=1735044447; x=1735303647; bh=PcKUCSuJqzjvgox69n+V8MzOhA/AfyIs3fExn8aecQ0=; 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=VRMhsOhGxXprjDxjWzVdIxrXPgM4kyrp5Lw8cQQcD+psYo7IU3Gp4fw76907J6iV+ 6OgSisQel081MtxCJ7oDGgL8YakYczMtoy4K9AzvB1gr6KUSVI9OpApxrGq+650fwi oZGts6KsTfBDpWabwmmPpbQFz5ggnWGdPpLCIVB+klo51VUiAyXlTlyov62UyUhU7u wP8MVbYPR6cf6foAvqaWy/sq56wcsdrD3Xv82jST3/S4gsx+9gGC7l7Op2tdGWv1mJ W4XDad2LBvUyv4yRUEOVmNwOmWhn03GMlzOpLGEu4nuLdqZonWQol6LDcaWKvwZC5r x5uub8Y6uFzDw== Date: Tue, 24 Dec 2024 12:47:22 +0000 To: guix-patches@HIDDEN From: Runciter <runciter@HIDDEN> Subject: [PATCH 0/2] Easy configuration of FreeDict into dicod-service-type Message-ID: <cover.1735043982.git.runciter@HIDDEN> Feedback-ID: 119317227:user:proton X-Pm-Message-ID: fbc16a932cc55b52c3e1a6da2272756de8f230e8 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.136; envelope-from=runciter@HIDDEN; helo=mail-40136.proton.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Runciter <runciter@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) A few weeks my patch for FreeDict multilingual dictionaries for Guix was integrated to the master branch (bug #74411). These patches are simple updates to the (gnu services dict) module and to t= he Guix info manual to help users configure FreeDict dictionaries into their local dicod server. Regards, Runciter Runciter (2): gnu: dict: Add symbols to help users configure FreeDict with dicod. doc: add FreeDict dictionaries to dicod configuration example. doc/guix.texi | 8 ++-- gnu/services/dict.scm | 107 +++++++++++++++++++++++++++++++++++++++++- 2 files changed, 111 insertions(+), 4 deletions(-) base-commit: 9dc91360fd2e41fb783ab4af341ac60aee2f5d31 --=20 2.46.0 ------------=_1737925622-17057-1--
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.