From patchwork Mon Nov 18 05:55:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Runciter X-Patchwork-Id: 70495 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C517527BBEA; Mon, 18 Nov 2024 05:57:40 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 3DCA727BBE2 for ; Mon, 18 Nov 2024 05:57:40 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tCul0-0003pE-6K; Mon, 18 Nov 2024 00:57:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tCukx-0003o9-66 for guix-patches@gnu.org; Mon, 18 Nov 2024 00:57:04 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tCukw-000076-Og for guix-patches@gnu.org; Mon, 18 Nov 2024 00:57:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:From:Date:To:In-Reply-To:References:Subject; bh=A4mkMWSDVPMO4URFraV6hy499FVmqI6cOzNfC+CrlAM=; b=S1fKDw1dNleyVbW4wOHWAb9vOd02xXxAYRO2r7+ARS0T230UsD9EYaKMzDBdVdzkct/MRbQYKg+ASkL7R47S+qBgLWh3HxpwRLta439+yE6JKRFx8LAARvAdBt2lS/9pbf8SHL245HBeXWbS+G5HBEkEUbuGqmdYS6SMeN6tJmunm9Aw5gVjzjPq41vM7VT/4jy9WEwp1tv3vv9t1NelCTOrSfwi5Ko2+M89UN8Q+RqpX97USo8s3XgvqNOPj5pbrIFq/47RQ5ThragH0Fo5YSwl7Iz5/aN5gGK/ECdnf43qCbWZswAy0OkrjgMHmbx4XS1rCiNNSWh5ErsZWSHafA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tCukw-00060s-JJ for guix-patches@gnu.org; Mon, 18 Nov 2024 00:57:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74411] [PATCH 1/4] gnu: Add (gnu packages dictd). References: In-Reply-To: Resent-From: Runciter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 18 Nov 2024 05:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74411 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74411@debbugs.gnu.org Cc: Runciter Received: via spool by 74411-submit@debbugs.gnu.org id=B74411.173190936622995 (code B ref 74411); Mon, 18 Nov 2024 05:57:02 +0000 Received: (at 74411) by debbugs.gnu.org; 18 Nov 2024 05:56:06 +0000 Received: from localhost ([127.0.0.1]:59591 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCuk1-0005yo-TA for submit@debbugs.gnu.org; Mon, 18 Nov 2024 00:56:06 -0500 Received: from mail-4022.proton.ch ([185.70.40.22]:49301) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCujx-0005yH-4Y for 74411@debbugs.gnu.org; Mon, 18 Nov 2024 00:56:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whispers-vpn.org; s=protonmail; t=1731909354; x=1732168554; bh=A4mkMWSDVPMO4URFraV6hy499FVmqI6cOzNfC+CrlAM=; 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=KnbtbX114oxTkOtu1KDaa3WrBc6thjTgw+4toAvtH6JJmV7GzZntLyfgheB4dIQ6A qP2k5kG0+enSGZiDD9KLj463JovmiyUNQek/lOWlK/ooX58tpK7DeA8DZNDNMAodJu IT1EexMJZ7z+NoBTXojUD9INVxWDz/4w8WqxBWcLBccXU0vYTrvr/Mu77wI92800dU LGz+RLroExdZ2OI6x8RXJ+4mVM9LIBZVZhKjsfXANZ30rDVG6gemEKd/ewqvgQxOin k0JHuCh4+ji8LcY+QAwRXw8CBt0raCThteKxkObfxqznngWvUpFa7PkWxdDoXzonP6 LfjLWKnE70Tmw== Date: Mon, 18 Nov 2024 05:55:49 +0000 Message-ID: Feedback-ID: 119317227:user:proton X-Pm-Message-ID: a498de23e735438cdc71dcccc59f4aced31385da MIME-Version: 1.0 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 X-Patchwork-Original-From: Runciter via Guix-patches via From: Runciter Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/dictd.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. Signed-off-by: Runciter --- gnu/local.mk | 2 ++ gnu/packages/dictd.scm | 61 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 gnu/packages/dictd.scm diff --git a/gnu/local.mk b/gnu/local.mk index a97e988add..7004d02547 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -67,6 +67,7 @@ # Copyright © 2024 David Elsing # Copyright © 2024 Ashish SHUKLA # Copyright © 2024 Fabio Natali +# Copyright © 2024 Runciter # # This file is part of GNU Guix. # @@ -239,6 +240,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/decker.scm \ %D%/packages/dhall.scm \ %D%/packages/dico.scm \ + %D%/packages/dictd.scm \ %D%/packages/dictionaries.scm \ %D%/packages/diffoscope.scm \ %D%/packages/digest.scm \ diff --git a/gnu/packages/dictd.scm b/gnu/packages/dictd.scm new file mode 100644 index 0000000000..fed41def64 --- /dev/null +++ b/gnu/packages/dictd.scm @@ -0,0 +1,61 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2024 Runciter +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages dictd) + #:use-module (guix packages) + #:use-module (guix gexp) + #:use-module ((guix licenses) #:select (gpl2+)) + #:use-module (guix download) + #:use-module (guix build-system gnu) + #:use-module (gnu packages) + #:use-module (gnu packages autotools)) + +(define-public libmaa-1.3.2 + (package + (name "libmaa") + (version "1.3.2") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/dict/libmaa/" + "libmaa-" + version + "/libmaa-" + version + ".tar.gz")) + (sha256 + (base32 "1idi4c30pi79g5qfl7rr9s17krbjbg93bi8f2qrbsdlh78ga19ar")))) + (native-inputs (list libtool)) + (arguments + (list + #:make-flags #~'("CFLAGS=-DHAVE_CONFIG_H -Wall -Wno-error -g -O2 $(VERCFLAGS) -I. -I${srcdir}") + #:test-target "test")) + (build-system gnu-build-system) + (synopsis "Low-level data structures used by the dictd program") + (description + "The libmaa library provides many low-level +data structures which are helpful for writing compilers, including hash +tables, sets, lists, debugging support, and memory management. Although +libmaa was designed and implemented as a foundation for the Khepara +transformation system, the data structures are generally applicable to a +wide range of programming problems. + + The memory management routines are especially helpful for improving +the performance of memory-intensive applications.") + (home-page "https://sourceforge.net/projects/dict/") + (license gpl2+))) From patchwork Mon Nov 18 05:56:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Runciter X-Patchwork-Id: 70493 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id BF9AE27BBE2; Mon, 18 Nov 2024 05:57:33 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 062F927BBEC for ; Mon, 18 Nov 2024 05:57:30 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tCukz-0003pC-Pm; Mon, 18 Nov 2024 00:57:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tCukx-0003oJ-Ik for guix-patches@gnu.org; Mon, 18 Nov 2024 00:57:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tCukx-00007W-91 for guix-patches@gnu.org; Mon, 18 Nov 2024 00:57:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:From:Date:To:In-Reply-To:References:Subject; bh=1stitD4sUtCirSoCzZLNxjAjt/ANz1nJyMZB2wsIZa8=; b=Cu/gjtgvoLIMvr4/4pd0koW7m/Q17NW08vQz1HRQr6uV0IDywcQxNzj5+tGWrUWYRyh93LhkJqnhMCKm6GqSHLNl2CM+yu8A4nszbCwBRDfEhwup05Y/KyGmOcwZ9nVYGpNi2b0Ry78AUWtqI9X09db4R31XQMCBYS5Qy/P/7QWSkVDadZpOzn9ArIRo+A/Gs6sopPf+U9N4jvjif2zeKec5tBT4NzHyl2MblGru+F24BntId96ToVOd8yzoc7kJyb85DIOjQ0OgoZM8wmWqIqNLRimlpy3w+IqOQGOLpMw29+IbmEgau8lKQB7JwqO+soB4L353m7NS+RNzQaKtFw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tCukx-000610-40 for guix-patches@gnu.org; Mon, 18 Nov 2024 00:57:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74411] [PATCH 2/4] gnu: Add dictd-1.13.1. References: In-Reply-To: Resent-From: Runciter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 18 Nov 2024 05:57:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74411 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74411@debbugs.gnu.org Cc: Runciter Received: via spool by 74411-submit@debbugs.gnu.org id=B74411.173190939423040 (code B ref 74411); Mon, 18 Nov 2024 05:57:03 +0000 Received: (at 74411) by debbugs.gnu.org; 18 Nov 2024 05:56:34 +0000 Received: from localhost ([127.0.0.1]:59595 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCukT-0005zW-Iw for submit@debbugs.gnu.org; Mon, 18 Nov 2024 00:56:33 -0500 Received: from mail-4022.proton.ch ([185.70.40.22]:35073) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCukQ-0005zG-P6 for 74411@debbugs.gnu.org; Mon, 18 Nov 2024 00:56:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whispers-vpn.org; s=protonmail; t=1731909384; x=1732168584; bh=1stitD4sUtCirSoCzZLNxjAjt/ANz1nJyMZB2wsIZa8=; 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=ZxHVuG+nW3+QCwPBtWIMJReFavFnRvzy/Fxz4wIZvabCyU454/MbIn0ccSXcCUnwL 1pzePyxLxfbr5ROI4X4LVDIKYJUsOjqYy9qbT6UhIOHgfi/bjqzGKj3FwjJZQNE6xJ bMdtwG6ii6pnLCAflGmNI+tqKpMJPGtyBbSHKUwtIG5nvL1+WclH3BpNu0MS8/IV6N UFUuoOCHXrSo5N+Z8sZWZOcjAv5O9EgMTnh8Bxg5VkgGyj6701YtC7huaNlGQKEMl4 LHDJzhTgnPVhtkuETH+KEPQoHcz3WiK0wG/yT3/hVsGApeaGTsi6IEQLP0k9JS9Aqn VQSezFKAFmoJA== Date: Mon, 18 Nov 2024 05:56:18 +0000 Message-ID: Feedback-ID: 119317227:user:proton X-Pm-Message-ID: 228e3d9c3e9f3e82b7caa1192c5699148b073669 MIME-Version: 1.0 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 X-Patchwork-Original-From: Runciter via Guix-patches via From: Runciter Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/dictd.scm (dictd-1.13.1): New variable. Signed-off-by: Runciter --- gnu/packages/dictd.scm | 39 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/gnu/packages/dictd.scm b/gnu/packages/dictd.scm index fed41def64..732f2bb6cc 100644 --- a/gnu/packages/dictd.scm +++ b/gnu/packages/dictd.scm @@ -23,7 +23,10 @@ (define-module (gnu packages dictd) #:use-module (guix download) #:use-module (guix build-system gnu) #:use-module (gnu packages) - #:use-module (gnu packages autotools)) + #:use-module (gnu packages autotools) + #:use-module (gnu packages bison) + #:use-module (gnu packages flex) + #:use-module (gnu packages compression)) (define-public libmaa-1.3.2 (package @@ -59,3 +62,37 @@ (define-public libmaa-1.3.2 the performance of memory-intensive applications.") (home-page "https://sourceforge.net/projects/dict/") (license gpl2+))) + +(define-public dictd-1.13.1 + (package + (name "dictd") + (version "1.13.1") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/dict/dictd/" + "dictd-" + version + "/dictd-" + version + ".tar.gz")) + (sha256 + (base32 "06racmv25ihwgwf67fgj2703ik0m5i2cjzcxasa88kc92rysdwg4")))) + (inputs (list libmaa-1.3.2 zlib)) + (native-inputs (list libtool bison flex)) + (arguments + (list + #:test-target "test")) + (build-system gnu-build-system) + (synopsis "@command{dict}, @command{dictd} and @command{dictfmt} programs") + (description + "The DICT Interchange Format (DICF) is a human-readable + format for the interchange of dictionary databases for the use with +DICT protocol client/server software. + +This package provides a client @command{dict} and a server program +@command{dictd} for the DICT protocol, as well as a utility +@command{dictfmt} to convert various dictionary formats into +dictionaries that can be served by @command{dictd} or @command{dicos}") + (home-page "https://sourceforge.net/projects/dict/") + (license gpl2+))) From patchwork Mon Nov 18 05:56:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Runciter X-Patchwork-Id: 70494 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 653DD27BBE2; Mon, 18 Nov 2024 05:57:34 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0173027BBE9 for ; Mon, 18 Nov 2024 05:57:30 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tCul0-0003pG-Oh; Mon, 18 Nov 2024 00:57:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tCukx-0003oU-Vi for guix-patches@gnu.org; Mon, 18 Nov 2024 00:57:04 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tCukx-00007f-Mh for guix-patches@gnu.org; Mon, 18 Nov 2024 00:57:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:From:Date:To:In-Reply-To:References:Subject; bh=PF+K21MbY1tTaoymT27H2uRvi6g9yUx41t+Kuq0mzMo=; b=QOIaRtrmDcfxMd825fe3hafGIZplrYKuSTBTa3fn34Fo62x0C+5tcKQJoLAWK7XuZkdLi91RjG8wgYHWXO4nQgoDx3Vz09H0WoWZfZ7dB0jVUfi79AwpgOV8hNFSCAnFEiWoSjwNdNzZHYQ70q9m4aQf/rjW5GVhmRt8wtH1ubjwOAWwAMm4MMWFxrv7XgcM0CUkJV243hYWrkWJhIStLDpwzywvKq80+gR6+SROTyDwIxcbtdasdvHGox4tHSxtm9yExCYfSpWJNaHD7Kk50TEWwhnLYmOmHZGayp6OxRIwzq0Bz8lv9sWtpmH38b+QG7GU85KlhPM/ybpkN19KLA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tCukx-000617-IH for guix-patches@gnu.org; Mon, 18 Nov 2024 00:57:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74411] [PATCH 3/4] gnu: Add freedict-tools-0.6.0. References: In-Reply-To: Resent-From: Runciter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 18 Nov 2024 05:57:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74411 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74411@debbugs.gnu.org Cc: Runciter Received: via spool by 74411-submit@debbugs.gnu.org id=B74411.173190940323067 (code B ref 74411); Mon, 18 Nov 2024 05:57:03 +0000 Received: (at 74411) by debbugs.gnu.org; 18 Nov 2024 05:56:43 +0000 Received: from localhost ([127.0.0.1]:59599 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCukc-0005zx-VO for submit@debbugs.gnu.org; Mon, 18 Nov 2024 00:56:43 -0500 Received: from mail-4022.proton.ch ([185.70.40.22]:31419) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCukb-0005zh-2e for 74411@debbugs.gnu.org; Mon, 18 Nov 2024 00:56:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whispers-vpn.org; s=protonmail; t=1731909394; x=1732168594; bh=PF+K21MbY1tTaoymT27H2uRvi6g9yUx41t+Kuq0mzMo=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector: List-Unsubscribe:List-Unsubscribe-Post; b=ZjSApMSKv1CbhVCaaSFlo+DyN0SPCQRh0Kmm3mux6mHJ+/4vIEum2ROa57pVa/aRl cHyHatJwl52Iu26vdILT/vNcH6kIc86ZLBUJiXVD2heFZAd9nsPBEzeep39iPZ+l3u YE0OvDp5iKRSq6OudAH1dSq+0nLc0yf40fhXsbTp8UpVynyKmacNOepxVOXblY9AYI 2VzoXzHW26LXtQUYI5hrnBi5jhI8ztUVRmhZXIvOeU8LVl8iM2OvnIaTCUMTQyL8QK oWaQ6stcCaZn14wjQ82soReZHnwLK3ZYr96ln4malswQNRKdP8YbUJhdjQkyJU69AJ 6Pg0/FwXxGuQA== Date: Mon, 18 Nov 2024 05:56:31 +0000 Message-ID: <3c3b92a78f2097a22688bbcd86eda33fe0751305.1731747114.git.runciter@whispers-vpn.org> Feedback-ID: 119317227:user:proton X-Pm-Message-ID: 35b6f937c18b245cf5bc0bb168ad20888d8bfc78 MIME-Version: 1.0 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 X-Patchwork-Original-From: Runciter via Guix-patches via From: Runciter Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/dictionaries.scm (freedict-tools-0.6.0): New variable. Signed-off-by: Runciter --- gnu/packages/dictionaries.scm | 55 ++++++++++++++++++++++++++++++++++- 1 file changed, 54 insertions(+), 1 deletion(-) diff --git a/gnu/packages/dictionaries.scm b/gnu/packages/dictionaries.scm index 3f9b59c960..3470d8d945 100644 --- a/gnu/packages/dictionaries.scm +++ b/gnu/packages/dictionaries.scm @@ -28,6 +28,7 @@ (define-module (gnu packages dictionaries) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) + #:use-module (guix gexp) #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix build-system gnu) @@ -55,7 +56,10 @@ (define-module (gnu packages dictionaries) #:use-module (gnu packages compression) #:use-module (gnu packages tcl) #:use-module (gnu packages web) - #:use-module (gnu packages xml)) + #:use-module (gnu packages xml) + #:use-module (gnu packages dictd) + #:use-module (gnu packages speech) + #:use-module (gnu packages perl)) (define-public vera @@ -466,3 +470,52 @@ (define-public skk-jisyo for SKK Japanese input systems, and various dictionary files. @file{SKK-JISYO.L} can be used with @code{emacs-ddskk} or @code{uim} package.") (license license:gpl2+)))) + +(define-public freedict-tools-0.6.0 + (package + (name "freedict-tools") + (version "0.6.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/freedict/tools") + (commit "3596640e6e0582cc5fb76a342e5d8e7413aa4b34"))) + (sha256 + (base32 "1raayynvn1j8x0ck8pnbbljl6zxnsyzzil7y54xz03dpj7k9w7mk")))) + (inputs (list espeak-ng + python + perl + gzip + tar + libxslt + dictd-1.13.1 + perl-libxml)) + (arguments + (list + #:tests? #f + #:phases #~(modify-phases %standard-phases + (delete 'configure) + (add-before 'build 'set-prefix-in-makefile + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "Makefile" + (("PREFIX \\?=.*") + (string-append "PREFIX = " + #$output "\n"))) + (substitute* "mk/dicts.mk" + (("available_platforms := src dictd slob") + "available_platforms := dictd"))))))) + (build-system gnu-build-system) + (synopsis "FreeDict tools to import, export (build) and manage FreeDict +dictionaries") + (description + "FreeDict is a project that offers over 140 free + dictionaries in about 45 languages, with the right to study, change and + modify them. You can use them offline on your computer or mobile phone + and export them to any format and application. + +In order to limit store size and build complexity, only the build +targets that build dictionaries in dictd format are retained when this +Guix package is installed.") + (home-page "https://freedict.org") + (license license:gpl2+))) From patchwork Mon Nov 18 05:56:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Runciter X-Patchwork-Id: 70496 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C1CA727BBEA; Mon, 18 Nov 2024 05:57:44 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7350D27BBE2 for ; Mon, 18 Nov 2024 05:57:44 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tCul0-0003pH-Oy; Mon, 18 Nov 2024 00:57:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tCuky-0003oj-GG for guix-patches@gnu.org; Mon, 18 Nov 2024 00:57:04 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tCuky-00007m-7d for guix-patches@gnu.org; Mon, 18 Nov 2024 00:57: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:From:Date:To:In-Reply-To:References:Subject; bh=qXiVKYrhNx03PZlv3dTZLC5WI3nXSaowfG2TyFNTnMQ=; b=U1ckkOkbiI5ag3X9ygQxPspMdQC5nhYXqYUIMQ/T6leatc+XyOYYkU7p3fld209GyAWLfwqgf4eND0n07OC0N0SzagCtL0cjeLVAnnbFOPIPORz/dAstkshdv9hFYGxBFsS5G+7Urji14SnxpfTQH2rW3GGl2RwjgmceDacvveCf2DleUPs5p54Gd+04RIdB0cOPQsJ6CbOqPOUHgdkj11yrwgpUcHfzHfZmdPKXB+64kPNen53gmvXvSj+Tyw1eWztuUT8KaZDOPeCKOgfiSriCBmu2UUj2JiDX/gs9Ff5ItB/EY47Ogy9gjArafbbcc/dBhp1fkw5eQcRAFLwomA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tCuky-00061F-2c for guix-patches@gnu.org; Mon, 18 Nov 2024 00:57:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74411] [PATCH 4/4] gnu: Add freedict-dictionaries. References: In-Reply-To: Resent-From: Runciter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 18 Nov 2024 05:57:04 +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.173190941423093 (code B ref 74411); Mon, 18 Nov 2024 05:57:04 +0000 Received: (at 74411) by debbugs.gnu.org; 18 Nov 2024 05:56:54 +0000 Received: from localhost ([127.0.0.1]:59603 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCukn-00060O-Jh for submit@debbugs.gnu.org; Mon, 18 Nov 2024 00:56:53 -0500 Received: from mail-4022.proton.ch ([185.70.40.22]:24815) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCukk-000608-VQ for 74411@debbugs.gnu.org; Mon, 18 Nov 2024 00:56:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whispers-vpn.org; s=protonmail; t=1731909405; x=1732168605; bh=qXiVKYrhNx03PZlv3dTZLC5WI3nXSaowfG2TyFNTnMQ=; 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=KXsnIvKQHFwPAhbRYtYGDBSguCaxZFvG5MlZt00P1Y6GKFFAMrvWx/1E1L2tuHY2C mmR30wZzaDSp7gzVX+XUSZXuJkwsIcfFlzKJaGL5GLc2Or77G2b+bo/JEBOYgPyrcZ bFe7u5W92WbVzPcZOayOssyEJ7JIwD4I9U8iyX5u2bQWUOIuG9YZsaqa7HRK3tZDPI cDS3L0l8A8m4tOxMg4HMtR0iGkplWiTVGR4UyngJsPJwR6yryNZFTqJ0W5vONquukG wz7TOakxa760wlygVoiG4ranPIPs7LpOZD1bQwqjXRM4aFMNE9sWzdAz9D2YOEKvqi tPEwbu2l7VZsA== Date: Mon, 18 Nov 2024 05:56:41 +0000 Message-ID: Feedback-ID: 119317227:user:proton X-Pm-Message-ID: e822ef394d608b94cf71e96d7e5032c37bc4b38d MIME-Version: 1.0 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 X-Patchwork-Original-From: Runciter via Guix-patches via From: Runciter Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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 © 2019 Pierre Langlois ;;; Copyright © 2020 Lu hux ;;; Copyright © 2022 ROCKTAKEY +;;; Copyright © 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=" + #$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 \\?= ../tools") + (string-append "export FREEDICT_TOOLS = " + #$(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+)))