From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 04 19:48:43 2023 Received: (at submit) by debbugs.gnu.org; 5 Mar 2023 00:48:43 +0000 Received: from localhost ([127.0.0.1]:38083 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYcYN-0002gQ-2t for submit@debbugs.gnu.org; Sat, 04 Mar 2023 19:48:43 -0500 Received: from lists.gnu.org ([209.51.188.17]:47870) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYcYM-0002gK-2W for submit@debbugs.gnu.org; Sat, 04 Mar 2023 19:48:42 -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 1pYcYL-0003CA-Qj for guix-patches@gnu.org; Sat, 04 Mar 2023 19:48:41 -0500 Received: from smtpmciv3.myservices.hosting ([185.26.107.239]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pYcYJ-0002wC-5n for guix-patches@gnu.org; Sat, 04 Mar 2023 19:48:41 -0500 Received: from smtpmciv7.myservices.hosting (smtpmciv7.myservices.hosting [185.26.106.202]) by smtpmciv3.myservices.hosting (Postfix) with ESMTP id 9BFEA205C7 for ; Sun, 5 Mar 2023 01:48:36 +0100 (CET) Received: from mail1.netim.hosting (unknown [185.26.106.173]) by smtpmciv7.myservices.hosting (Postfix) with ESMTP id 5C93E2084B for ; Sun, 5 Mar 2023 01:48:36 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id 0CC3A80097; Sun, 5 Mar 2023 01:48:36 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-2.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id PJdgJZ02WTms; Sun, 5 Mar 2023 01:48:34 +0100 (CET) Received: from guix-nuc.home.arpa (bl9-119-177.dsl.telepac.pt [85.242.119.177]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id A149C80079; Sun, 5 Mar 2023 01:48:34 +0100 (CET) From: Bruno Victal To: guix-patches@gnu.org Subject: [PATCH] services: dict: Deprecate 'dicod-service' procedure. Date: Sun, 5 Mar 2023 00:48:23 +0000 Message-Id: <8743d00e54840d6afde42b5080f9c19bfcdde96a.1677977220.git.mirai@makinata.eu> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 X-Debbugs-CC: ludo@gnu.org Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.26.107.239; envelope-from=mirai@makinata.eu; helo=smtpmciv3.myservices.hosting X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=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: Bruno Victal X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * doc/guix.texi (Miscellaneous Services): Remove 'dicod-service' mention. * gnu/services/dict.scm (dicod-service): Deprecate procedure. --- doc/guix.texi | 48 +++++++++++++++++++------------------------ gnu/services/dict.scm | 6 ++++-- 2 files changed, 25 insertions(+), 29 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index 74658dbc86..98a8b42fcf 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -37826,27 +37826,19 @@ Miscellaneous Services @end table @end deftp -@subsubheading Dictionary Service @cindex dictionary +@subsubheading Dictionary Service + The @code{(gnu services dict)} module provides the following service: @defvar dicod-service-type This is the type of the service that runs the @command{dicod} daemon, an implementation of DICT server (@pxref{Dicod,,, dico, GNU Dico Manual}). -@end defvar - -@deffn {Scheme Procedure} dicod-service [#:config (dicod-configuration)] -Return a service that runs the @command{dicod} daemon, an implementation -of DICT server (@pxref{Dicod,,, dico, GNU Dico Manual}). - -The optional @var{config} argument specifies the configuration for -@command{dicod}, which should be a @code{} object, by -default it serves the GNU Collaborative International Dictionary of English. You can add @command{open localhost} to your @file{~/.dico} file to make @code{localhost} the default server for @command{dico} client (@pxref{Initialization File,,, dico, GNU Dico Manual}). -@end deffn +@end defvar @deftp {Data Type} dicod-configuration Data type representing the configuration of dicod. @@ -37911,22 +37903,24 @@ Miscellaneous Services Dictionary of English using the @code{gcide} package. @end defvar -The following is an example @code{dicod-service} configuration. - -@lisp -(dicod-service #:config - (dicod-configuration - (handlers (list (dicod-handler - (name "wordnet") - (module "dictorg") - (options - (list #~(string-append "dbdir=" #$wordnet)))))) - (databases (list (dicod-database - (name "wordnet") - (complex? #t) - (handler "wordnet") - (options '("database=wn"))) - %dicod-database:gcide)))) +The following is an example @code{dicod-service-type} configuration. + +@lisp +(service dicod-service-type + (dicod-configuration + (handlers (list + (dicod-handler + (name "wordnet") + (module "dictorg") + (options + (list #~(string-append "dbdir=" #$wordnet)))))) + (databases (list + (dicod-database + (name "wordnet") + (complex? #t) + (handler "wordnet") + (options '("database=wn"))) + %dicod-database:gcide)))) @end lisp @cindex Docker diff --git a/gnu/services/dict.scm b/gnu/services/dict.scm index 35253a0077..5a61085316 100644 --- a/gnu/services/dict.scm +++ b/gnu/services/dict.scm @@ -19,6 +19,7 @@ ;;; along with GNU Guix. If not, see . (define-module (gnu services dict) + #:use-module (guix deprecation) #:use-module (guix gexp) #:use-module (guix records) #:use-module (guix modules) @@ -34,7 +35,7 @@ (define-module (gnu services dict) #:use-module (srfi srfi-1) #:use-module (srfi srfi-26) #:use-module (ice-9 match) - #:export (dicod-service + #:export (dicod-service ; deprecated dicod-service-type dicod-configuration dicod-handler @@ -202,7 +203,8 @@ (define dicod-service-type implements the standard DICT protocol supported by clients such as @command{dico} and GNOME Dictionary."))) -(define* (dicod-service #:key (config (dicod-configuration))) +(define-deprecated (dicod-service #:key (config (dicod-configuration))) + dicod-service-type "Return a service that runs the @command{dicod} daemon, an implementation of DICT server (@pxref{Dicod,,, dico, GNU Dico Manual}). -- 2.39.1 From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 08 05:17:25 2023 Received: (at 61972) by debbugs.gnu.org; 8 Mar 2023 10:17:25 +0000 Received: from localhost ([127.0.0.1]:47830 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZqrM-0004Xz-U8 for submit@debbugs.gnu.org; Wed, 08 Mar 2023 05:17:25 -0500 Received: from mail-wm1-f45.google.com ([209.85.128.45]:55011) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZqrK-0004XY-S9 for 61972@debbugs.gnu.org; Wed, 08 Mar 2023 05:17:23 -0500 Received: by mail-wm1-f45.google.com with SMTP id p26so9450202wmc.4 for <61972@debbugs.gnu.org>; Wed, 08 Mar 2023 02:17:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678270637; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=KmuTgqOiH+oQxXf0PQn8StTcqSfr6GwZeDd/ivafKRc=; b=KI0ahtSCvli8f3d5KSRTCBMFU4/SJrVwu/Gudl7Kmj3LFZtGfzQ2Uy2rkezX/wTXkP WsFhYnIHzQQalJ74ubWUnBiNsBYPoaBRbtg+/n5oo+0nF0ii79BhSnuUVP/2OORN4N4x lV2XzCay+j/7G9Bscj7dA1QfGcD2NWiPpVOMkDpRbHhd2riz3Yzg28GRHBOvpY7Di5Od 9t0Bakx3zIhOfzksURYTScxth+wUcn6B3S85SC5mwEtR3eEwL+s4XfIthg0gSg151+P9 QMP8J/qFqq/ttO3kCtpoL1bTUIGJmgBiqqypMeTvwg8l43lCu4+czu5DzPauikdD1wCZ G1vw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678270637; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=KmuTgqOiH+oQxXf0PQn8StTcqSfr6GwZeDd/ivafKRc=; b=fggHiC4b21T14tSwayCSlCiIiRz7zoSVTELMlwIqM5rU51DugG9tpLkMJ5viXBWVtd fJJ/6K3hoEoyGb6/X/3AWUakdCgceCZ4MU+FAP0CMk1A7sNcvgdE+mg3YZm4oZ63EJ+i OqpvuCLJZmOP6FLP1bRIHQQUxAbpvxiLDovwrt6tt8gKxGFa+K5kk+EwEkFt/as+FKqF EhYDM4BKNtKlX9o0oo8M4wl0/3pDghJCQlV6WLGDS78ukmTd1eiEjk+NxSCQW6/V+0Ny bsog+7SQofNj7PiAm29BJcJSUdXbb8oKHScL31x2T/nwyw1ipTUDIsUrhI5F82mIQSj+ t6Uw== X-Gm-Message-State: AO0yUKXjwnRUDsePfXEiYn9mHtAetTIyBzhGTpmM4QPjDuf+pPvB9rG6 qrOsgu7hUvKqQb9o83ltbhg= X-Google-Smtp-Source: AK7set81KkwGhJ5DflgX8Q8oUW0WRZbrcqutXGn7WO1zDjLxfQTx1OGx6L0StO7PRceKjed4UAUfZw== X-Received: by 2002:a05:600c:3caa:b0:3df:f7ba:14f8 with SMTP id bg42-20020a05600c3caa00b003dff7ba14f8mr1593846wmb.1.1678270637043; Wed, 08 Mar 2023 02:17:17 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id r22-20020a05600c435600b003eae73ee4a1sm15344260wme.17.2023.03.08.02.17.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Mar 2023 02:17:16 -0800 (PST) From: Simon Tournier To: Bruno Victal , 61972@debbugs.gnu.org Subject: Re: [bug#61972] [PATCH] services: dict: Deprecate 'dicod-service' procedure. In-Reply-To: <8743d00e54840d6afde42b5080f9c19bfcdde96a.1677977220.git.mirai@makinata.eu> References: <8743d00e54840d6afde42b5080f9c19bfcdde96a.1677977220.git.mirai@makinata.eu> Date: Wed, 08 Mar 2023 10:56:44 +0100 Message-ID: <86mt4n8t2b.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61972 Cc: ludo@gnu.org, Bruno Victal X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, Thank you for your work about cleaning up. On Sun, 05 Mar 2023 at 00:48, Bruno Victal wrote: > * doc/guix.texi (Miscellaneous Services): Remove 'dicod-service' mention. > * gnu/services/dict.scm (dicod-service): Deprecate procedure. > --- > doc/guix.texi | 48 +++++++++++++++++++------------------------ > gnu/services/dict.scm | 6 ++++-- > 2 files changed, 25 insertions(+), 29 deletions(-) LGTM. Cheers, simon From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 17 18:16:20 2023 Received: (at 61972-done) by debbugs.gnu.org; 17 Mar 2023 22:16:20 +0000 Received: from localhost ([127.0.0.1]:45851 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pdIN2-0002iz-B2 for submit@debbugs.gnu.org; Fri, 17 Mar 2023 18:16:20 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48834) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pdIN0-0002ij-8D for 61972-done@debbugs.gnu.org; Fri, 17 Mar 2023 18:16:18 -0400 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 ) id 1pdIMu-00038b-IN; Fri, 17 Mar 2023 18:16:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=F6P2/R/v4zp27OH6laYlNHI1CrN1knRRfSUqfEUNZpA=; b=XxXpGC2+XMpgQV2C+2n/ IpO8nxR2oTqUUtsohQny65rO7JctHnBC8cm42FFKzGhS3xbdd8/gHfufztAbRyTF1jmjYAN/+UmS8 sYx5pBsrhGJXyipdN84kx5LaKqGMNqv5Hy0IvdrzxogCLVw9al+6/rfpB6LVOfMfCRp01KvnuJ0w+ ftuZXSvlo5o6swBsM2zKoK1Y6x368iHs08tfsJvWroKx+iy6Z4bdDwkmXJAOxNlZiRh6rJYbERd+h kouVT2o7Ud+vNexApSBln48wnaaLMO78o+/hhhTz5R3oWBcYAMLsk7efGVcLTteKaKDoO8EtD37yL /vK0zRGjVD/+Jw==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pdIMu-000654-6F; Fri, 17 Mar 2023 18:16:12 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Bruno Victal Subject: Re: bug#61972: [PATCH] services: dict: Deprecate 'dicod-service' procedure. References: <8743d00e54840d6afde42b5080f9c19bfcdde96a.1677977220.git.mirai@makinata.eu> Date: Fri, 17 Mar 2023 23:16:10 +0100 In-Reply-To: <8743d00e54840d6afde42b5080f9c19bfcdde96a.1677977220.git.mirai@makinata.eu> (Bruno Victal's message of "Sun, 5 Mar 2023 00:48:23 +0000") Message-ID: <87wn3fuiqd.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) 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: 61972-done Cc: 61972-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Bruno Victal skribis: > * doc/guix.texi (Miscellaneous Services): Remove 'dicod-service' mention. > * gnu/services/dict.scm (dicod-service): Deprecate procedure. Applied! > -@subsubheading Dictionary Service > @cindex dictionary > +@subsubheading Dictionary Service =E2=80=A6 except for this hunk: the anchor must be within the section, not before it. Thanks, Ludo=E2=80=99. From unknown Fri Jun 20 20:09:26 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 15 Apr 2023 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator