From unknown Tue Aug 12 08:32:36 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#74411] [PATCH 0/4] Add DICT and FreeDict projects packages Resent-From: Runciter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 18 Nov 2024 05:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74411 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74411@debbugs.gnu.org Cc: Runciter X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.173190629714016 (code B ref -1); Mon, 18 Nov 2024 05:05:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 Nov 2024 05:04:57 +0000 Received: from localhost ([127.0.0.1]:59504 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCtwW-0003dz-LK for submit@debbugs.gnu.org; Mon, 18 Nov 2024 00:04:57 -0500 Received: from lists.gnu.org ([209.51.188.17]:56136) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCjfs-0006sq-I6 for submit@debbugs.gnu.org; Sun, 17 Nov 2024 13:07: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 1tCjfr-0003Li-Fz for guix-patches@gnu.org; Sun, 17 Nov 2024 13:07:04 -0500 Received: from mail-4022.proton.ch ([185.70.40.22]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tCjfo-0004JH-Nq for guix-patches@gnu.org; Sun, 17 Nov 2024 13:07:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whispers-vpn.org; s=protonmail; t=1731866815; x=1732126015; bh=4q50P3gPCRlCmGAmzExY1dEl3pOs0IA8y4QYZw3p4Jw=; 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=hNUD/KPfPnXNqsMFBsVxCdTWV0aPy1MrmnAe+iTJUWkczpSvZyG938rRjnvrfmyvA h9m9kJLtxLo+xty9sqwa8LBqeIk8ro3v76ugD9o4RqF66YKaUfojHkiJi7lGGAvg9p K4nKadUpL0TfP1CNaZ/uMC3cCUEacXHc0uxU/bsKrDZIGyNqzWqrQ2g65dVR5R3aw4 y9k/jcRch+In+DA9pC7EvS7EZKyMELp62+IyF0H564gOZC/oUUwfjMgMlUNc5NRHAG cWFMMVcxH56tzBp7nzInQDmLMgNsRelIoNpQSpTD1XQ9XgvdRWOYmHALwYP/2p/mwg aDT90fPUHF1sA== Date: Sun, 17 Nov 2024 18:06:50 +0000 From: Runciter Message-ID: Feedback-ID: 119317227:user:proton X-Pm-Message-ID: 2ebf8c9c86dac4c96ee710258f22bb72ca542777 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.22; envelope-from=runciter@whispers-vpn.org; helo=mail-4022.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_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_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-Mailman-Approved-At: Mon, 18 Nov 2024 00:04:55 -0500 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 (--) Add the dictd package from the DICT project along with its library dependen= cy libmaa. Add the human-written bilingual dictionaries from the FreeDict projects freedict-dictionaries, with its toolchain dependency freedict-tools. Runciter (4): gnu: Add (gnu packages dictd). gnu: Add dictd-1.13.1. gnu: Add freedict-tools-0.6.0. gnu: Add freedict-dictionaries. gnu/local.mk | 2 + gnu/packages/dictd.scm | 98 ++++++++++++++++++++++++++++++++ gnu/packages/dictionaries.scm | 103 +++++++++++++++++++++++++++++++++- 3 files changed, 202 insertions(+), 1 deletion(-) create mode 100644 gnu/packages/dictd.scm base-commit: b790db7589858fc77989b4d1f369c52bca6d6e7c --=20 2.46.0 From unknown Tue Aug 12 08:32:36 2025 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 From: Runciter Message-ID: Feedback-ID: 119317227:user:proton X-Pm-Message-ID: a498de23e735438cdc71dcccc59f4aced31385da 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@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 (-) * 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 =C2=A9 2024 David Elsing # Copyright =C2=A9 2024 Ashish SHUKLA # Copyright =C2=A9 2024 Fabio Natali +# Copyright =C2=A9 2024 Runciter # # This file is part of GNU Guix. # @@ -239,6 +240,7 @@ GNU_SYSTEM_MODULES =3D=09=09=09=09\ %D%/packages/decker.scm=09=09=09\ %D%/packages/dhall.scm=09=09=09\ %D%/packages/dico.scm=09=09=09=09\ + %D%/packages/dictd.scm=09=09=09\ %D%/packages/dictionaries.scm=09=09=09\ %D%/packages/diffoscope.scm=09=09=09\ %D%/packages/digest.scm=09=09=09\ 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 =C2=A9 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=3D-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+))) --=20 2.46.0 From unknown Tue Aug 12 08:32:36 2025 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 From: Runciter Message-ID: Feedback-ID: 119317227:user:proton X-Pm-Message-ID: 228e3d9c3e9f3e82b7caa1192c5699148b073669 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@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 (-) * 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)) =20 (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} progr= ams") + (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+))) --=20 2.46.0 From unknown Tue Aug 12 08:32:36 2025 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 From: Runciter Message-ID: <3c3b92a78f2097a22688bbcd86eda33fe0751305.1731747114.git.runciter@whispers-vpn.org> Feedback-ID: 119317227:user:proton X-Pm-Message-ID: 35b6f937c18b245cf5bc0bb168ad20888d8bfc78 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@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 (-) * 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)) =20 =20 (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} packa= ge.") (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 \\?=3D.*") + (string-append "PREFIX =3D " + #$output "\n"))) + (substitute* "mk/dicts.mk" + (("available_platforms :=3D src dictd slob") + "available_platforms :=3D dictd"))))))) + (build-system gnu-build-system) + (synopsis "FreeDict tools to import, export (build) and manage FreeDic= t +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+))) --=20 2.46.0 From unknown Tue Aug 12 08:32:36 2025 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 From: Runciter Message-ID: Feedback-ID: 119317227:user:proton X-Pm-Message-ID: e822ef394d608b94cf71e96d7e5032c37bc4b38d 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@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 (-) * gnu/packages/dictionaries (freedict-dictionaries): New variable. Signed-off-by: Runciter --- gnu/packages/dictionaries.scm | 48 +++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/gnu/packages/dictionaries.scm b/gnu/packages/dictionaries.scm index 3470d8d945..3e5d991890 100644 --- a/gnu/packages/dictionaries.scm +++ b/gnu/packages/dictionaries.scm @@ -9,6 +9,7 @@ ;;; Copyright =C2=A9 2019 Pierre Langlois ;;; Copyright =C2=A9 2020 Lu hux ;;; Copyright =C2=A9 2022 ROCKTAKEY +;;; Copyright =C2=A9 2022 Runciter ;;; ;;; This file is part of GNU Guix. ;;; @@ -519,3 +520,50 @@ (define-public freedict-tools-0.6.0 Guix package is installed.") (home-page "https://freedict.org") (license license:gpl2+))) + +(define-public freedict-dictionaries + (package + (name "freedict-dictionaries") + (version "914b5f7") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/freedict/fd-dictionaries") + (commit "914b5f754b695e9422bf951837b0682a077e244e"))) + (sha256 + (base32 "0a8k5rq94rl1nmz0354sx2gmyqica0yjavirh5v5wdybkfq8nv83")))) + (inputs (list espeak-ng + python + perl + gzip + tar + libxslt + dictd-1.13.1 + perl-libxml + freedict-tools-0.6.0)) + (arguments + (list + #:tests? #f + #:make-flags #~(list (string-append "PREFIX=3D" + #$output)) + #:phases #~(modify-phases %standard-phases + (delete 'configure) + (add-before 'build 'set-tools-prefix-in-makefile + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "Makefile" + (("FREEDICT_TOOLS \\?=3D ../tools") + (string-append "export FREEDICT_TOOLS =3D " + #$(file-append + freedict-tools-0.6.0 + "/share/freedict"))))))))) + (build-system gnu-build-system) + (synopsis "Freedict multilingual dictionaries compiled to the dictd +format") + (description + "FreeDict is a project that offers over 140 free + dictionaries in about 45 languages, with the right to study, change and + modify them. You can use them offline on your computer or mobile phone + and export them to any format and application.") + (home-page "https://freedict.org") + (license license:gpl2+))) --=20 2.46.0 From unknown Tue Aug 12 08:32:36 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#74411] freedict-dictionaries build non-deterministic References: In-Reply-To: Resent-From: Runciter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 18 Nov 2024 06:38:01 +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 Received: via spool by 74411-submit@debbugs.gnu.org id=B74411.173191187231345 (code B ref 74411); Mon, 18 Nov 2024 06:38:01 +0000 Received: (at 74411) by debbugs.gnu.org; 18 Nov 2024 06:37:52 +0000 Received: from localhost ([127.0.0.1]:59676 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCvOS-00089V-Gu for submit@debbugs.gnu.org; Mon, 18 Nov 2024 01:37:52 -0500 Received: from mail-4317.proton.ch ([185.70.43.17]:33215) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCvOO-00089F-PB for 74411@debbugs.gnu.org; Mon, 18 Nov 2024 01:37:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whispers-vpn.org; s=protonmail; t=1731911861; x=1732171061; bh=rD3fqKcEscQ+9evhNGgNV0gfNnVgX4MvLN/rIb7UaKw=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector: List-Unsubscribe:List-Unsubscribe-Post; b=e0Na6f9bUk2ATracxULAyIVMIod1pDI1Rdl8rrVIkuDvMQvU78JWZt/rpjMjGRFMs UsHPuu9SxLAoncbe0HSzTUTveAzCTR+XvOKPD7O0vDEb17PKd/kitLqvBDbu77tXgv BKJt+o7XBkBQPotV+bnRRgC5kp0e+JdvuJfG/Qx7y8LCOSu7wX8y/dT/ruu45kt4X1 44AnCbSBrWeOuFOrnzPpaH49UtlFYQEP789sC3aEzrG8yzNE42alx2E1tavlXjetRL dOQoEVF5fntWtSEzerSysxijBjkJGK+uo5CMwf7trudhcS0gcLWM0ZzcWda3C5B0Fx 8YQMODxodDziQ== Date: Mon, 18 Nov 2024 06:37:39 +0000 From: Runciter Message-ID: <8734jp82ts.fsf@whispers-vpn.org> Feedback-ID: 119317227:user:proton X-Pm-Message-ID: 06a3632f8e673ad880aa4663e048dc81550464c3 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@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 (-) The build of the package freedict-dictionaries is non-deterministic, at least because the output dictionaries are compressed by the utility dictzip, which includes a timestamp in the compressed file headers. I have not confirmed it yet but I think I could fix it: it would involve a patch to the freedict-tools package, and then output dictionaries of freedict-dictionaries would not be compressed. The maintainers should just tell me if it's worth it to fix non-determinism in this way: we have to carry forward a patch (unless a better idea comes up), and we lose the benefit of compressing the outputs. From unknown Tue Aug 12 08:32:36 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#74411] freedict-dictionaries build non-deterministic Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 19 Nov 2024 08:44:01 +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: Runciter , 74411@debbugs.gnu.org Received: via spool by 74411-submit@debbugs.gnu.org id=B74411.17320058126237 (code B ref 74411); Tue, 19 Nov 2024 08:44:01 +0000 Received: (at 74411) by debbugs.gnu.org; 19 Nov 2024 08:43:32 +0000 Received: from localhost ([127.0.0.1]:40996 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDJpc-0001cX-9r for submit@debbugs.gnu.org; Tue, 19 Nov 2024 03:43:32 -0500 Received: from 15.mo550.mail-out.ovh.net ([188.165.38.232]:45505) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDJpY-0001cM-GI for 74411@debbugs.gnu.org; Tue, 19 Nov 2024 03:43:30 -0500 Received: from director2.ghost.mail-out.ovh.net (unknown [10.108.17.147]) by mo550.mail-out.ovh.net (Postfix) with ESMTP id 4Xsygz1cCVz1SMt for <74411@debbugs.gnu.org>; Tue, 19 Nov 2024 08:43:27 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-wjrct (unknown [10.110.188.135]) by director2.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 8281F1FD6A; Tue, 19 Nov 2024 08:43:26 +0000 (UTC) Received: from ngraves.fr ([37.59.142.98]) by ghost-submission-5b5ff79f4f-wjrct with ESMTPSA id 3PIWFa5PPGchOQAA9bcMRw (envelope-from ); Tue, 19 Nov 2024 08:43:26 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-98R00232bb7a6c-e516-426e-9802-933699953d3b, 9D5F92B39B1411DA07333534545EDFC8D0A6424A) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.92.117.144 From: Nicolas Graves In-Reply-To: <8734jp82ts.fsf@whispers-vpn.org> References: <8734jp82ts.fsf@whispers-vpn.org> Date: Tue, 19 Nov 2024 09:43:26 +0100 Message-ID: <87ttc3mx5d.fsf@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain X-Ovh-Tracer-Id: 5741526575577227934 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrfedugdduvddvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvffujghffffkgggtsehttdertddttddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepieejgfffffduieevgfduiefhtdfgleejhfdvvefhgeekjeevtdfhtdefleejhefgnecukfhppeduvdejrddtrddtrddupdeltddrledvrdduudejrddugeegpdefjedrheelrddugedvrdelkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeeggeduudesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheehtdgmpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=XGu7q1js8Qe2jxHh8wl0u35dDOPsMq1D+I4ws+hhvrs=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1732005807; v=1; b=1Is3sdjHfere2KJ657799eCWaJ3C6eAXmoT+Pjatnln+rnvBI++xWXYaZqrJDXus6ZR1zgDC bM+Rell5wG6OhClCUPmTAN1FR9cVUnW/9dgZuVe2ih/SQD0NRzV39ueRXRJegHguxgwI4WkS+se bQvtzxx+17x2LdiCOnEjZPAQdcQ87o+Epsp+2LT5mxGGfIlX8lbsUucEQvfXw6ig3pLRPdQT/rz mZ51kmzzMsBPOoyfOb4cPmr0iFHHI+bAH+MbXNdErPtIugsjZMHEpEFlH/TDpagRMBUHWtYG5xo MsUL9K44LrQ+ruu+APfRbNGxNF5GNT6PijBcqpGTOXjfg== X-Spam-Score: 0.0 (/) 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 (-) On 2024-11-18 06:37, Runciter via Guix-patches via wrote: > The build of the package freedict-dictionaries is non-deterministic, at > least because the output dictionaries are compressed by the utility > dictzip, which includes a timestamp in the compressed file headers. Are you sure there are no options at compression time to force determinism on the archive? Usually, there are some, see tar invocations for instance: (invoke "tar" "cvfa" (string-append this-file ".tar") "--mtime=1" "--owner=root:0" "--group=root:0" ; determinism "--sort=name" ".") The sort is here for determinism too. > > I have not confirmed it yet but I think I could fix it: it would involve > a patch to the freedict-tools package, and then output dictionaries of > freedict-dictionaries would not be compressed. > > The maintainers should just tell me if it's worth it to fix > non-determinism in this way: we have to carry forward a patch (unless a > better idea comes up), and we lose the benefit of compressing the outputs. -- Best regards, Nicolas Graves From unknown Tue Aug 12 08:32:36 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#74411] freedict-dictionaries build non-deterministic References: In-Reply-To: Resent-From: Runciter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 19 Nov 2024 15:14:01 +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: Nicolas Graves Cc: 74411@debbugs.gnu.org Received: via spool by 74411-submit@debbugs.gnu.org id=B74411.173202920311062 (code B ref 74411); Tue, 19 Nov 2024 15:14:01 +0000 Received: (at 74411) by debbugs.gnu.org; 19 Nov 2024 15:13:23 +0000 Received: from localhost ([127.0.0.1]:43639 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDPus-0002sL-IJ for submit@debbugs.gnu.org; Tue, 19 Nov 2024 10:13:22 -0500 Received: from mail-40136.proton.ch ([185.70.40.136]:46961) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDPuo-0002s3-FW for 74411@debbugs.gnu.org; Tue, 19 Nov 2024 10:13:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whispers-vpn.org; s=protonmail; t=1732029190; x=1732288390; bh=z8eQwFPmQsTueFe3YtY1hOBW3c9IrFZaE5rUy0YgAo4=; 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=bAg1CzKtf6AgnN870S4deT9hZFakX5GyRuQx4qK8rozXGETR343vBfASLm/I4pHsE 8MUNxH7Phuy0RwRsviDsgbhJZupeI7+O87PIh8fOFjS+ACqe9SwfNPh15weJ7yhkFE QQY6SeSKDMPjr4SiiYpcZIZNoUL9mTE4NWHziZNjzOH/pxPw/XBYw5hfJioZJh1WrW UP5YT8h4o/G2x2LzNMgztLnvDPMI8x51Ng69IHB5r/Z8yDZd2YhTG2PsaUVpKHy/5U s3JDIXa5NQqTUk/k1SsRCPPfrWOdPgAaHhTzL14LLCW7ssc+0PTrC2XI39ztBiHP10 ShwfOg1wh5V6Q== Date: Tue, 19 Nov 2024 15:13:06 +0000 From: Runciter Message-ID: <871pz76yv7.fsf@whispers-vpn.org> Feedback-ID: 119317227:user:proton X-Pm-Message-ID: 80ce89d9ca239d47d3308c9106eb181cbf4e6b13 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@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 (-) "Nicolas Graves" writes: > On 2024-11-18 06:37, Runciter via Guix-patches via wrote: > >> The build of the package freedict-dictionaries is non-deterministic, at >> least because the output dictionaries are compressed by the utility >> dictzip, which includes a timestamp in the compressed file headers. > > Are you sure there are no options at compression time to force > determinism on the archive? > I'm as sure as one can be when one has read the man page of dictzip. That is to say, not sure about undocumented features. Independently of dictzip capabilities, one problem actually is having to patch the freedict-tools package if one wants to change anything to the output compression of freedict-dictionaries. From what I found online, FreeDict does not document how to fine-tune or disable dictzip compression within its build system. In the place where it's done at compile-time, I don't see any handles I could use; you can look if you want, it's in the source of the freedict-tools package, the 'install-base' target found in the file mk/dicts.mk. Now that I think about it I figure, IF a patch has to be done, then surely anyway some command-line hack could be inserted into the target from the patch that would make up for the lack of a usable command-line switch in dictzip... It's lame to have to create, setup and maintain a patch, but if it has to be done we might as well enjoy the flexibility. Incidentally, gzip as a subsitute for dictzip is documented to work in dictd, some dictd optimizations would be lost though, I guess gzipped dictionaries may also work in dicod and I also guess, dicod probably does not bother to make detailed optimizations tailored to the dictzip format specifics. This and other considerations makes it potentially worthwhile to experiment a little by creating a dictd service in my system, if that is practical, as well as playing around with the relevant dicod handler. Let me study in those directions until the end of the week and get back to you. Regards, From unknown Tue Aug 12 08:32:36 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#74411] [PATCH v2 1/5] gnu: Add (gnu packages dictd). References: In-Reply-To: Resent-From: Runciter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 21 Nov 2024 00:51: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.17321502066748 (code B ref 74411); Thu, 21 Nov 2024 00:51:02 +0000 Received: (at 74411) by debbugs.gnu.org; 21 Nov 2024 00:50:06 +0000 Received: from localhost ([127.0.0.1]:48407 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDvOW-0001kL-SW for submit@debbugs.gnu.org; Wed, 20 Nov 2024 19:50:05 -0500 Received: from mail-4317.proton.ch ([185.70.43.17]:48443) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDvOT-0001iu-Aq for 74411@debbugs.gnu.org; Wed, 20 Nov 2024 19:50:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whispers-vpn.org; s=protonmail; t=1732150193; x=1732409393; bh=TVf9YFmeKw5Pvx4HIhz6BIb+gnIPH/oYv2Et0YPowrc=; 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=Pnt+87zfwGlpbD7JtlRlHEwN4yZSmSKh1QwhsPm1W6LWbLHRH16dHB3FULq47BE9r yKk2UrYuCTROWqiRhQOhPb7dfkGY+4WVaoiQ6IHFC60+CUaMu9j8SZfcKeq9YNyIuk 4OI/+iIOwDEGXSzqAbnNoQBB+QMd70vjsO+0wHZ149XO+aTtkj7ZIF2trQc57INEUt /9AHAs/x1d6RGUfp/sBNIHXZLxJ2wp80xD+5XI+C6N6paAzJmf1aSYoa+AzZHDEuBx txTnPv7Od9II//zQP+bh/IzyPztP16Cwp8/N6rt0jXQelq+6Wn8CIvXcWzrmi3Y0wc u5mR/1/NPlq/A== Date: Thu, 21 Nov 2024 00:49:51 +0000 From: Runciter Message-ID: Feedback-ID: 119317227:user:proton X-Pm-Message-ID: 3b0441a252f5d0027cf73299f3e06ca7e84fe14e 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@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 (-) * 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 =C2=A9 2024 David Elsing # Copyright =C2=A9 2024 Ashish SHUKLA # Copyright =C2=A9 2024 Fabio Natali +# Copyright =C2=A9 2024 Runciter # # This file is part of GNU Guix. # @@ -239,6 +240,7 @@ GNU_SYSTEM_MODULES =3D=09=09=09=09\ %D%/packages/decker.scm=09=09=09\ %D%/packages/dhall.scm=09=09=09\ %D%/packages/dico.scm=09=09=09=09\ + %D%/packages/dictd.scm=09=09=09\ %D%/packages/dictionaries.scm=09=09=09\ %D%/packages/diffoscope.scm=09=09=09\ %D%/packages/digest.scm=09=09=09\ 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 =C2=A9 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=3D-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+))) base-commit: b790db7589858fc77989b4d1f369c52bca6d6e7c --=20 2.46.0 From unknown Tue Aug 12 08:32:36 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#74411] [PATCH v2 2/5] gnu: Add dictd-1.13.1. Resent-From: Runciter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 21 Nov 2024 00:51: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.17321502127042 (code B ref 74411); Thu, 21 Nov 2024 00:51:02 +0000 Received: (at 74411) by debbugs.gnu.org; 21 Nov 2024 00:50:12 +0000 Received: from localhost ([127.0.0.1]:48414 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDvOd-0001pP-Tt for submit@debbugs.gnu.org; Wed, 20 Nov 2024 19:50:12 -0500 Received: from mail-4018.proton.ch ([185.70.40.18]:12893) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDvOb-0001k3-RE for 74411@debbugs.gnu.org; Wed, 20 Nov 2024 19:50:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whispers-vpn.org; s=protonmail; t=1732150203; x=1732409403; bh=LTdokqQHnw2rrZwqnCAyHAw2M8R6+lZPYfTESbBx6Mw=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=LH0Bo3utCAQge9vGkOriGp6rLt9lBPmpFhIcFetIMVQjut++itz+NMTtaxY5Pu8G9 M9nB8eVwKRJIdaGFvrXLjEIkdaaBlNmrvGYl3VVD3gK9gScctKRWbSDFRhtq8wXYTv uFcTv2sivbUD9ZMDzaHhKV52ayXG1GOr42gW0Q1BDDCqsxT7GP9EJWUCQK+pPl11qp n+c5b9sLz5jGiRgsUEjQKImBoCiRumcLIoRQeoL0IKnOfHLTGVtbjIJ6ZLtHTfyFsf sC/v5bZd5xD8SebhG/itZROm7TtDrgmwReUjJ9uqMj26vOiWGgQCIdiLDXIkXHnhw3 +WOBXbGAkFuMQ== Date: Thu, 21 Nov 2024 00:49:59 +0000 From: Runciter Message-ID: In-Reply-To: References: Feedback-ID: 119317227:user:proton X-Pm-Message-ID: affea22045fc1eb68935e53506988b6b938e2d44 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@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 (-) * 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)) =20 (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} progr= ams") + (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+))) --=20 2.46.0 From unknown Tue Aug 12 08:32:36 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#74411] [PATCH v2 3/5] gnu: Add freedict-tools-0.6.0. Resent-From: Runciter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 21 Nov 2024 00:51:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74411 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74411@debbugs.gnu.org Cc: Runciter Received: via spool by 74411-submit@debbugs.gnu.org id=B74411.17321502167070 (code B ref 74411); Thu, 21 Nov 2024 00:51:03 +0000 Received: (at 74411) by debbugs.gnu.org; 21 Nov 2024 00:50:16 +0000 Received: from localhost ([127.0.0.1]:48419 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDvOh-0001py-EE for submit@debbugs.gnu.org; Wed, 20 Nov 2024 19:50:15 -0500 Received: from mail-4317.proton.ch ([185.70.43.17]:37397) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDvOf-0001mI-Pw for 74411@debbugs.gnu.org; Wed, 20 Nov 2024 19:50:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whispers-vpn.org; s=protonmail; t=1732150207; x=1732409407; bh=wKEn7CY3lfEDwh/9XpQT4BZR9A4XdZSE8/w0vx4cpk4=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=JP4MGM5f57dkE5S0dKY7CBu8F2ixxXMzxtuelvJ9DhsB66Y5zjswIPK7U87HBTj+P 5QgfYG7mF1TtwvHciA9YslpL1l+Wh9GHznlAbl4/xCNRhvjn3iHC5cL68lzSLAr+D6 qQN1JoQqABAB90BYjwgaMJhjyUgPPQpK+snxkejP/I3hcVZKMuH5aDAZ+SfWT0kYGI 2I6TTnjClQVhes86F/rDZ5raYxz7Lz5wHNo4vrxzsYkABpZgt2AiDPP4ALug/Ypanw J88OKRx51PGatuzytGf3zyDqHGfb6GhXrTn6cdCdTjn+OKOt7jb7mrLx9WRFHs3sA7 A6ZZreuptYcaQ== Date: Thu, 21 Nov 2024 00:50:05 +0000 From: Runciter Message-ID: <97e68e5bd9933f46b34309dc6dccda8ce9cec646.1732150157.git.runciter@whispers-vpn.org> In-Reply-To: References: Feedback-ID: 119317227:user:proton X-Pm-Message-ID: 86aaf9292c1d27c044a04a67c6f57c674d03d669 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@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 (-) * 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)) =20 =20 (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} packa= ge.") (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 \\?=3D.*") + (string-append "PREFIX =3D " + #$output "\n"))) + (substitute* "mk/dicts.mk" + (("available_platforms :=3D src dictd slob") + "available_platforms :=3D dictd"))))))) + (build-system gnu-build-system) + (synopsis "FreeDict tools to import, export (build) and manage FreeDic= t +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+))) --=20 2.46.0 From unknown Tue Aug 12 08:32:36 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#74411] [PATCH v2 4/5] gnu: Add freedict-dictionaries. Resent-From: Runciter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 21 Nov 2024 00:51:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74411 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74411@debbugs.gnu.org Cc: Runciter Received: via spool by 74411-submit@debbugs.gnu.org id=B74411.17321502217090 (code B ref 74411); Thu, 21 Nov 2024 00:51:03 +0000 Received: (at 74411) by debbugs.gnu.org; 21 Nov 2024 00:50:21 +0000 Received: from localhost ([127.0.0.1]:48423 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDvOm-0001qH-Vy for submit@debbugs.gnu.org; Wed, 20 Nov 2024 19:50:21 -0500 Received: from mail-4317.proton.ch ([185.70.43.17]:14035) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDvOk-0001po-P3 for 74411@debbugs.gnu.org; Wed, 20 Nov 2024 19:50:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whispers-vpn.org; s=protonmail; t=1732150212; x=1732409412; bh=cP7TwCi20WYvMl+V8vl72RNvfzaCyMORVKA1qOQ58NM=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=fUcvFwlQoGcjfA1Lg1EssRQtvWiIHYk3qaJOPH4lZ+Nwc7aUne5fYbCcUgpxRLnog vk1kUvRpGXhptHfSF6sqpYC4J864tpHAT5EVSoE0Bq1vxDN/e4xkNer80fC9ekFcqj OrQR/lSqRqEY7FlmIy1bt2GgaE21Wj24vWeTT00L6BwJG7uab+zbDilg27PD93CHgK h9Ig1KyweaMCplUi8XpxPUUCzVaqAdULIWYYg4hAGWWerneJW1G0NRAuLsf5eEvUhZ Nn87LGm6Z+v6wLk75S5ULMUwe61ICXfUUqGmdyiElB6UYt3tLNny4SYGubtXq8TQss GeyQRqXSB/+7w== Date: Thu, 21 Nov 2024 00:50:10 +0000 From: Runciter Message-ID: <1dcd87131c679a4d7e80d9d4c9c44807fb00cf0a.1732150157.git.runciter@whispers-vpn.org> In-Reply-To: References: Feedback-ID: 119317227:user:proton X-Pm-Message-ID: c0bee939c1a6952a9d4f098d90834a3296d58c37 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) 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 (-) * gnu/packages/dictionaries (freedict-dictionaries): New variable. Signed-off-by: Runciter --- gnu/packages/dictionaries.scm | 48 +++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/gnu/packages/dictionaries.scm b/gnu/packages/dictionaries.scm index 3470d8d945..3e5d991890 100644 --- a/gnu/packages/dictionaries.scm +++ b/gnu/packages/dictionaries.scm @@ -9,6 +9,7 @@ ;;; Copyright =C2=A9 2019 Pierre Langlois ;;; Copyright =C2=A9 2020 Lu hux ;;; Copyright =C2=A9 2022 ROCKTAKEY +;;; Copyright =C2=A9 2022 Runciter ;;; ;;; This file is part of GNU Guix. ;;; @@ -519,3 +520,50 @@ (define-public freedict-tools-0.6.0 Guix package is installed.") (home-page "https://freedict.org") (license license:gpl2+))) + +(define-public freedict-dictionaries + (package + (name "freedict-dictionaries") + (version "914b5f7") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/freedict/fd-dictionaries") + (commit "914b5f754b695e9422bf951837b0682a077e244e"))) + (sha256 + (base32 "0a8k5rq94rl1nmz0354sx2gmyqica0yjavirh5v5wdybkfq8nv83")))) + (inputs (list espeak-ng + python + perl + gzip + tar + libxslt + dictd-1.13.1 + perl-libxml + freedict-tools-0.6.0)) + (arguments + (list + #:tests? #f + #:make-flags #~(list (string-append "PREFIX=3D" + #$output)) + #:phases #~(modify-phases %standard-phases + (delete 'configure) + (add-before 'build 'set-tools-prefix-in-makefile + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "Makefile" + (("FREEDICT_TOOLS \\?=3D ../tools") + (string-append "export FREEDICT_TOOLS =3D " + #$(file-append + freedict-tools-0.6.0 + "/share/freedict"))))))))) + (build-system gnu-build-system) + (synopsis "Freedict multilingual dictionaries compiled to the dictd +format") + (description + "FreeDict is a project that offers over 140 free + dictionaries in about 45 languages, with the right to study, change and + modify them. You can use them offline on your computer or mobile phone + and export them to any format and application.") + (home-page "https://freedict.org") + (license license:gpl2+))) --=20 2.46.0 From unknown Tue Aug 12 08:32:36 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#74411] [PATCH v2 5/5] gnu: freedict-tools: Fix non-determinism of dictzip compressed file headers. Resent-From: Runciter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 21 Nov 2024 00:51: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.17321502307111 (code B ref 74411); Thu, 21 Nov 2024 00:51:04 +0000 Received: (at 74411) by debbugs.gnu.org; 21 Nov 2024 00:50:30 +0000 Received: from localhost ([127.0.0.1]:48427 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDvOv-0001qd-HV for submit@debbugs.gnu.org; Wed, 20 Nov 2024 19:50:29 -0500 Received: from mail-10627.protonmail.ch ([79.135.106.27]:23375) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDvOt-0001qI-89 for 74411@debbugs.gnu.org; Wed, 20 Nov 2024 19:50:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whispers-vpn.org; s=protonmail; t=1732150220; x=1732409420; bh=o1fuGecQbM04OSgkUDhyZjq6I6YPNE0bmaH+q9XNUVk=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=FwSVAnMVImy0GOLgiljQr+hVF7OlVEFVgu0enVNBadvwtW4iRGi6PFnx4i3fOSuCs BSRyGmdalfaXXDu0i6cgTAQH3ovynMfyYgZjDaFMxWLmV41vZYA8Zq78iDqf1zIdvA 8PoWapTKg3+2LfIPoo5LwU1ir6ReJ9tlIG8vDonc+Cqtz4mJxhAuAltvsQ3mTYajbA yX5sxxQ/mjQ1lgg8CjY6WYp7VRtjTyOH6Fz87Xmhi7kPxLM1MhewTA8hqgwN7SN1xr GQ75vmEJC2Zf4HGfgltVj3o6njQU+KPXiOUjauQ1JFxIs30xv5OhP0z7OVOf+y+194 lC94f0I1BdOqg== Date: Thu, 21 Nov 2024 00:50:17 +0000 From: Runciter Message-ID: In-Reply-To: References: Feedback-ID: 119317227:user:proton X-Pm-Message-ID: 06e5889d7cdcb3e3a95ea9adbd2cbd8d10c49031 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@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 (-) Reset .dict file mtime to start of the epoch before compressing with dictzi= p. * gnu/packages/patches/freedict-tools-fix-determinism.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/dictionaries.scm (freedict-tools): Use it. Signed-off-by: Runciter --- gnu/local.mk | 1 + gnu/packages/dictionaries.scm | 3 ++- .../freedict-tools-fix-determinism.patch | 22 +++++++++++++++++++ 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 gnu/packages/patches/freedict-tools-fix-determinism.pat= ch diff --git a/gnu/local.mk b/gnu/local.mk index 7004d02547..f6b465441a 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1291,6 +1291,7 @@ dist_patch_DATA =3D=09=09=09=09=09=09\ %D%/packages/patches/fpc-glibc-2.34-compat.patch=09=09\ %D%/packages/patches/fpm-newer-clamp-fix.patch=09=09\ %D%/packages/patches/freecad-vtk-9.3.patch=09=09\ + %D%/packages/patches/freedict-tools-fix-determinism.patch=09\ %D%/packages/patches/freedink-engine-fix-sdl-hints.patch=09\ %D%/packages/patches/freeimage-libtiff-compat.patch=09=09\ %D%/packages/patches/freeimage-libraw-0.21-compat.patch=09\ diff --git a/gnu/packages/dictionaries.scm b/gnu/packages/dictionaries.scm index 3e5d991890..a6daf209e3 100644 --- a/gnu/packages/dictionaries.scm +++ b/gnu/packages/dictionaries.scm @@ -483,7 +483,8 @@ (define-public freedict-tools-0.6.0 (url "https://github.com/freedict/tools") (commit "3596640e6e0582cc5fb76a342e5d8e7413aa4b34"))) (sha256 - (base32 "1raayynvn1j8x0ck8pnbbljl6zxnsyzzil7y54xz03dpj7k9w7mk")))) + (base32 "1raayynvn1j8x0ck8pnbbljl6zxnsyzzil7y54xz03dpj7k9w7mk")) + (patches (search-patches "freedict-tools-fix-determinism.patch")))) (inputs (list espeak-ng python perl diff --git a/gnu/packages/patches/freedict-tools-fix-determinism.patch b/gn= u/packages/patches/freedict-tools-fix-determinism.patch new file mode 100644 index 0000000000..ad100bbba9 --- /dev/null +++ b/gnu/packages/patches/freedict-tools-fix-determinism.patch @@ -0,0 +1,22 @@ +The compression utility dictzip writes the compressed file's mtime in a he= ader +of the compressed file. No command-line switch is documented to control or +suppress this behavior. This makes the build of packages relying on +freedict-tools such as freedict-dictionaries non-deterministic. + +This patch sets the mtime of the .dict file to be compressed by dictzip to= the +start of the epoch on the Greenwich meridian, restoring build determinism. + +diff --git a/mk/dicts.mk b/mk/dicts.mk +index 08e8923..e671cf3 100644 +--- a/mk/dicts.mk ++++ b/mk/dicts.mk +@@ -265,7 +265,8 @@ $(BUILD_DICTD)/%.dict $(BUILD_DICTD)/%.index: $(BUILD_= DICTD)/%.c5 query-dictd + =09=09dictfmt --without-time -t --headword-separator %%% $(DICTFMTFLAGS) = $* < $(notdir $<) +=20 + $(BUILD_DICTD)/%.dict.dz: $(BUILD_DICTD)/%.dict +-=09dictzip -k $< ++=09touch -m -d "$$(date -u -R -d @0)" $< && \ ++=09=09dictzip -k $< +=20 + # prevent make from removing our precious file + .PRECIOUS: $(BUILD_DICTD)/$(dictname).dict --=20 2.46.0 From unknown Tue Aug 12 08:32:36 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#74411] patch v2 non-determinism fix References: In-Reply-To: Resent-From: Runciter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 21 Nov 2024 01:16:01 +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 Received: via spool by 74411-submit@debbugs.gnu.org id=B74411.173215176011515 (code B ref 74411); Thu, 21 Nov 2024 01:16:01 +0000 Received: (at 74411) by debbugs.gnu.org; 21 Nov 2024 01:16:00 +0000 Received: from localhost ([127.0.0.1]:48467 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDvnc-0002ze-AR for submit@debbugs.gnu.org; Wed, 20 Nov 2024 20:16:00 -0500 Received: from mail-40136.proton.ch ([185.70.40.136]:43423) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDvna-0002zK-05 for 74411@debbugs.gnu.org; Wed, 20 Nov 2024 20:15:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whispers-vpn.org; s=protonmail; t=1732151750; x=1732410950; bh=BFxHG2wocf+tj9DfxEQZQQEyDcCoxbAxln6lJwsaAwY=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector: List-Unsubscribe:List-Unsubscribe-Post; b=L/7oOX97p7BQP9m7oYDkZV4nNnAVVnfB0Vuy+68Nb+qD1w4fT8XA4dTV2MYjfG/pA CLunzmbtkP05LYT9PZnL84OGkdoKy8b4usiL2JzL59qCxJJOKz2679wuTWST7YDqkQ 3b1mmzIxFAJL2JqwKjaVOrLXnKPPyLIUD8/hkUmVHCGT8dYWWhxPswP3A8nZKPo2qZ kaTNcHUDmJGYmPs7WY6jddjqW/e/cPLBi/Y9gqPhozoRxDUA2ekXS7KZoGE2dBGVtx tmPIhMwKuhdBw455M3rlxNAxytTVDvjClSPOJdoy+dWzGcjWsOhcmAqoEte3c1cxlN mCEUetVcBur0A== Date: Thu, 21 Nov 2024 01:15:47 +0000 From: Runciter Message-ID: <87plmptmin.fsf@whispers-vpn.org> Feedback-ID: 119317227:user:proton X-Pm-Message-ID: 0ffa83fd03f349da64b9b2a4e09d09fa60c22d8d 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@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 (-) Version 2 of the patch is a change to the freedict-tools package which is a fix for the non-determinism of dictzip headers. Before compressing .dict files, a shell command involving touch and date sets the file's mtime to the start of the epoch taken on the Greenwich meridian. The build is now repeatable on my machine, and probably on any single machine. As for reproducibility across machines, well, good chance it'll be reproducible: the design intent is that the compressed file headers should be insensitive to the system's configured time zone. This will need to be assured by challenging a substitutes build from a computer which is configured on a timezone different from its substitute server. Runciter From unknown Tue Aug 12 08:32:36 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#74411] [PATCH v2 1/5] gnu: Add (gnu packages dictd). Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 29 Nov 2024 13:12:01 +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: Runciter Cc: 74411@debbugs.gnu.org Received: via spool by 74411-submit@debbugs.gnu.org id=B74411.173288586229461 (code B ref 74411); Fri, 29 Nov 2024 13:12:01 +0000 Received: (at 74411) by debbugs.gnu.org; 29 Nov 2024 13:11:02 +0000 Received: from localhost ([127.0.0.1]:41457 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tH0ly-0007f7-7t for submit@debbugs.gnu.org; Fri, 29 Nov 2024 08:11:02 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50994) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tH0lv-0007ea-PM for 74411@debbugs.gnu.org; Fri, 29 Nov 2024 08:11:00 -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 ) id 1tH0lq-0002dh-9D; Fri, 29 Nov 2024 08:10:54 -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=P/Xvxwsr/tFakCiJJslIkggn2pcgdLzuGUGdXRiLVJg=; b=Wf0A8JCn4mxyvJ1in3xl eszhDJd+Tf0bGEyMBAeNhRZlsbj4M2tGdq0YRrqS5p12BhnDtMFbv9rBT11neHW5OEFTNs5amTlk+ 5N9ZBXjE1Esi4Rp0truxlWbqhM1gwnI0pRdwRSR2wb0f4hJkqrtPYuS3s2rG8J61ZgPOJSQCQe+8T +PoED1Q6CcdH9TfcSPxztM1nQ3+KJID/Ts3B4/21Dc5lamYFVPK+QeemadlRaa5vXc3H+0D9Z1s3B 3/QdUSt5twwT4ER2qo3EBJ1iYPob1Y0U/u4PC2I6EwnCDjNxqtAdoG4aJqdyAtSZXOoeDOusd45g1 RBSfAHNEJZT/Dw==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: (runciter@whispers-vpn.org's message of "Thu, 21 Nov 2024 00:49:51 +0000") References: Date: Fri, 29 Nov 2024 14:10:52 +0100 Message-ID: <871pyu2nj7.fsf@gnu.org> 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@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, Thanks for these patches! Overall it LGTM, I only have minor comments and suggestions: Runciter skribis: > * gnu/packages/dictd.scm: New file. > * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. > > Signed-off-by: Runciter [...] > +(define-public libmaa-1.3.2 Unless there=E2=80=99s a good reason (such as future patches adding specific versions), I=E2=80=99d call it =E2=80=98libmaa=E2=80=99. > + (native-inputs (list libtool)) I suspect you don=E2=80=99t need Libtool here (it would be needed if you we= re building from a checkout instead of from a tarball). > + (arguments > + (list > + #:make-flags #~'("CFLAGS=3D-DHAVE_CONFIG_H -Wall -Wno-error -g -O= 2 $(VERCFLAGS) -I. -I${srcdir}") Could you add a comment (one or two lines) explaining why these flags are needed? > + The memory management routines are especially helpful for improving ^ Extra space. :-) From unknown Tue Aug 12 08:32:36 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#74411] [PATCH v2 2/5] gnu: Add dictd-1.13.1. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 29 Nov 2024 13:13: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: Runciter Cc: 74411@debbugs.gnu.org Received: via spool by 74411-submit@debbugs.gnu.org id=B74411.173288592629594 (code B ref 74411); Fri, 29 Nov 2024 13:13:02 +0000 Received: (at 74411) by debbugs.gnu.org; 29 Nov 2024 13:12:06 +0000 Received: from localhost ([127.0.0.1]:41462 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tH0mz-0007hG-Lt for submit@debbugs.gnu.org; Fri, 29 Nov 2024 08:12:05 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57802) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tH0mx-0007gc-BE for 74411@debbugs.gnu.org; Fri, 29 Nov 2024 08:12:04 -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 ) id 1tH0mm-0002y2-Mq; Fri, 29 Nov 2024 08:11:58 -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=zgTdnsDNL7+kNF3w0fJEsli55jjMiin66idGF/da05Q=; b=UnVTp0hGbQ1mLBa07lK0 EW6o5LZOBn2vRQ75D54381srjC9IPBW18x+h7ink/5zTlv2+8Yl3vGASoC3RYxa81AhdGctUAxeYg fQwDUNvxZmyjmAYwQ1NuxY2c3/zIjzMNDQeiltYh499y58G9we39MRJsbmDh0uoA6pbaGoZzVmR93 v7QERz8Je+JKl+VDNbSngUyDl6X1zexooBZjZoHV5BfEvsxqQOL2pRKKFhVIpZkn4M2G2nKoYz3pU mMXkocxJ/8xFjiky+b8rh0ohw4w4qu/kkxEwWrhL6i2sba/BAxrtFAVYZjO0Dm+ZI/WJ6lV8hkfZW sIb9eiUjwMKpjg==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: (runciter@whispers-vpn.org's message of "Thu, 21 Nov 2024 00:49:59 +0000") References: Date: Fri, 29 Nov 2024 14:11:23 +0100 Message-ID: <87wmgm18xw.fsf@gnu.org> 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@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 (---) Runciter skribis: > * gnu/packages/dictd.scm (dictd-1.13.1): New variable. > > Signed-off-by: Runciter [...] > +(define-public dictd-1.13.1 Likewise, just =E2=80=98dictd=E2=80=99. From unknown Tue Aug 12 08:32:36 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#74411] [PATCH v2 3/5] gnu: Add freedict-tools-0.6.0. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 29 Nov 2024 13:15: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: Runciter Cc: 74411@debbugs.gnu.org Received: via spool by 74411-submit@debbugs.gnu.org id=B74411.173288606629872 (code B ref 74411); Fri, 29 Nov 2024 13:15:02 +0000 Received: (at 74411) by debbugs.gnu.org; 29 Nov 2024 13:14:26 +0000 Received: from localhost ([127.0.0.1]:41467 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tH0pG-0007lk-5L for submit@debbugs.gnu.org; Fri, 29 Nov 2024 08:14:26 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33428) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tH0pE-0007lX-Rx for 74411@debbugs.gnu.org; Fri, 29 Nov 2024 08:14:25 -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 ) id 1tH0p9-0003cm-LQ; Fri, 29 Nov 2024 08:14:19 -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=DaweOlQFbH9UFfkN1m3uBUz+he8F+gODI8E7yMNeZoY=; b=NAbrwM1FV78cbKc7ZtzV S7w3WGk/06pI4dl4OYGZKPLg8QNAZE5YatZTz2o2GtNrllZ58ZJzlcN3Z559do/rue9D0WVvC8Xhr 6HGMRIHD0LaPzucXR+a3E7npvG+5aU42QxmmOKS9hn29y22EABVv6G84pkDo9aLFZNEjOaKe9fYnK 7bjeSPNCqfn+gtmWBlHXOGhtTysF44KYGDqsWPMHEukwmhuJlm5oGVA67mubh2MvcNHtdfayDAMrc YS6ihAYpJbxZp+bKIAKv1LomqldYl/1B6w4/KiW1OD2EWeYYVZvPftgwJ04n55rcbIffKpzSArCho rlWfMgP6PVRKFg==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <97e68e5bd9933f46b34309dc6dccda8ce9cec646.1732150157.git.runciter@whispers-vpn.org> (runciter@whispers-vpn.org's message of "Thu, 21 Nov 2024 00:50:05 +0000") References: <97e68e5bd9933f46b34309dc6dccda8ce9cec646.1732150157.git.runciter@whispers-vpn.org> Date: Fri, 29 Nov 2024 14:14:16 +0100 Message-ID: <87sera18t3.fsf@gnu.org> 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@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 (---) Runciter skribis: > * gnu/packages/dictionaries.scm (freedict-tools-0.6.0): New variable. > > Signed-off-by: Runciter [...] > +(define-public freedict-tools-0.6.0 =E2=80=98freedict-tools=E2=80=99 > + (synopsis "FreeDict tools to import, export (build) and manage FreeD= ict > +dictionaries") Or just =E2=80=9CBuild and manage FreeDict dictionaries=E2=80=9D. > + "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. ^ Extra space. :-) From unknown Tue Aug 12 08:32:36 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#74411] [PATCH v2 4/5] gnu: Add freedict-dictionaries. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 29 Nov 2024 13:29:01 +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: Runciter Cc: 74411@debbugs.gnu.org Received: via spool by 74411-submit@debbugs.gnu.org id=B74411.173288690332565 (code B ref 74411); Fri, 29 Nov 2024 13:29:01 +0000 Received: (at 74411) by debbugs.gnu.org; 29 Nov 2024 13:28:23 +0000 Received: from localhost ([127.0.0.1]:41483 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tH12k-0008T9-Ju for submit@debbugs.gnu.org; Fri, 29 Nov 2024 08:28:22 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59670) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tH12g-0008Su-UV for 74411@debbugs.gnu.org; Fri, 29 Nov 2024 08:28:21 -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 ) id 1tH12b-00017c-41; Fri, 29 Nov 2024 08:28:13 -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=Mq49vPvZ+nPBJ252Wl0Db70wAY8AeyovR4hUTjX6SYk=; b=Fs2r2RF37mxz6dBuxZ96 B7EdZwULn/b97yzBMSfhDFgL3cJddZuGcg220UDlDeotLv9vZrVTNZc45baaE8bPOAqiPCzdDW0zB ie6yIcU6Gx0umz/ghBAqmQ1Ez+CjQEphF/uwElni1dx4CJd53LrjVm7K2Ldf2PdbBc/PiFO/tmabK BrQVyQ/Pd0LiWHoOT8J6WAi1U0DTmBKc43VKzJZogxmW/LQx8OgzxDzpAL+iDNOXMNRlAQjGnff1J HLCW+8dcPbg+tfg+jHNrwE1zWZUxLMFnrhOCdE41nJt8VKf7/6e+Tc+bK1VTGiCdGm11XPxewQbd7 uSi5CYIe0Fo23Q==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <1dcd87131c679a4d7e80d9d4c9c44807fb00cf0a.1732150157.git.runciter@whispers-vpn.org> (runciter@whispers-vpn.org's message of "Thu, 21 Nov 2024 00:50:10 +0000") References: <1dcd87131c679a4d7e80d9d4c9c44807fb00cf0a.1732150157.git.runciter@whispers-vpn.org> Date: Fri, 29 Nov 2024 14:28:08 +0100 Message-ID: <87jzcm185z.fsf@gnu.org> 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@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 (---) Runciter skribis: > * gnu/packages/dictionaries (freedict-dictionaries): New variable. > > Signed-off-by: Runciter [...] > +(define-public freedict-dictionaries > + (package > + (name "freedict-dictionaries") > + (version "914b5f7") Regarding the version number of Git snapshots, see . > + (inputs (list espeak-ng > + python > + perl > + gzip > + tar > + libxslt > + dictd-1.13.1 > + perl-libxml > + freedict-tools-0.6.0)) You can remove =E2=80=98tar=E2=80=99 and =E2=80=98gzip=E2=80=99, they=E2=80= =99re provided by =E2=80=98gnu-build-system=E2=80=99. =E2=80=98python=E2=80=99 and =E2=80=98perl=E2=80=99 should probably be in = =E2=80=98native-inputs=E2=80=99, assuming they=E2=80=99re used at build-time. > + (arguments > + (list > + #:tests? #f Please add a short comment explaining why the test suite is skipped (such as =E2=80=9Cno tests=E2=80=9D). > + (synopsis "Freedict multilingual dictionaries compiled to the dictd > +format") Maybe: =E2=80=9CMultilingual dictionaries compiled to the DICT format=E2=80= =9D (the format is =E2=80=9CDICT=E2=80=9D, right?). From unknown Tue Aug 12 08:32:36 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#74411] [PATCH v2 5/5] gnu: freedict-tools: Fix non-determinism of dictzip compressed file headers. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 29 Nov 2024 13:35: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: Runciter Cc: 74411@debbugs.gnu.org Received: via spool by 74411-submit@debbugs.gnu.org id=B74411.17328872931361 (code B ref 74411); Fri, 29 Nov 2024 13:35:02 +0000 Received: (at 74411) by debbugs.gnu.org; 29 Nov 2024 13:34:53 +0000 Received: from localhost ([127.0.0.1]:41513 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tH193-0000Ls-0N for submit@debbugs.gnu.org; Fri, 29 Nov 2024 08:34:53 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44798) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tH190-0000Ld-MI for 74411@debbugs.gnu.org; Fri, 29 Nov 2024 08:34:51 -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 ) id 1tH18v-0003e4-0Y; Fri, 29 Nov 2024 08:34:45 -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=eIoQvqcDtEd8uO6TDyYiGeQwzkGa/eczdBbfRzBK5Wc=; b=qYlTaYKeTz5WDLmRQOnx ZtecrEoSRn/y6OodrgHYmjrD8hvCtEV1QQPmVHxSssTTLwk1OLnSXokGWb8MGLQyFWX954jflcGg0 kZpNmXs+yh19y7JxZMp66V5vgFMKppldMVOm6UKA6Bj3t11kCFn8wCCwNcOQVjI0e2rVIs5RFIiqo suHuwP+6resI9/fbDSytYWlLuZnAGiF7LlF0/ht+eECvH21g5Yhj6IJ9ouC56ak0ron/zg+2QgO8z 4gGR8UKwsYEx1qgKEXq17fEr9wJbXcnnLgc6Zzl9t+qPjwoheIYHDjYrgd6TV1B0qGqbL9ZZxaiBi TwlnWfHdVpaqRw==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: (runciter@whispers-vpn.org's message of "Thu, 21 Nov 2024 00:50:17 +0000") References: Date: Fri, 29 Nov 2024 14:34:41 +0100 Message-ID: <87frna17v2.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) 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 (---) Runciter skribis: > Reset .dict file mtime to start of the epoch before compressing with dictzip. > > * gnu/packages/patches/freedict-tools-fix-determinism.patch: New file. > * gnu/local.mk (dist_patch_DATA): Add it. > * gnu/packages/dictionaries.scm (freedict-tools): Use it. > > Signed-off-by: Runciter Nice, LGTM! From unknown Tue Aug 12 08:32:36 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#74411] [PATCH v2 1/5] gnu: Add (gnu packages dictd). References: In-Reply-To: Resent-From: Runciter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 01 Dec 2024 20:42:01 +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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 74411@debbugs.gnu.org Received: via spool by 74411-submit@debbugs.gnu.org id=B74411.173308571728548 (code B ref 74411); Sun, 01 Dec 2024 20:42:01 +0000 Received: (at 74411) by debbugs.gnu.org; 1 Dec 2024 20:41:57 +0000 Received: from localhost ([127.0.0.1]:53208 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHqlR-0007QO-8m for submit@debbugs.gnu.org; Sun, 01 Dec 2024 15:41:57 -0500 Received: from mail-10624.protonmail.ch ([79.135.106.24]:25809) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHqlN-0007Py-GC for 74411@debbugs.gnu.org; Sun, 01 Dec 2024 15:41:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whispers-vpn.org; s=protonmail; t=1733085706; x=1733344906; bh=52GfO6/7et4YLr3cI09VuSgPh9jWM+M7nbQKGTQ70yk=; 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=A/XSpqoxH4I6YewiApYnXV2KSAhbXa+KAnEb+s2g7umvP71R6Z2PIqh9uyL6Uzjqp DemNoE46pMkpkaFiwWY0SddYfls5Cc90lmr8WvSHrpovZ4fhuYS9M6l6raoVLgDdXj xGGNQUh8N8oxTGmDP2wAhT6jhLUDk9MMf4iPTn4mrC9LoTHRmlDniOFiklQrtqn+ty o7gOJf8DcF3T5TetYdESvPxp/AVVEAaKGdIgn5ztakhv/naybidWqTGNEhK4hwuQ04 Aw+IDDLGXUbcaaBmsRisCC+dzPedtYG6dZDQG0FmgcgzyLsyYmtep/gZrpyBsE7cz2 EmPXaQiFWsemg== Date: Sun, 01 Dec 2024 20:41:41 +0000 From: Runciter Message-ID: <874j3nxhj4.fsf@whispers-vpn.org> Feedback-ID: 119317227:user:proton X-Pm-Message-ID: 5f6ecc3bc29998d1b67fc9d9b94f6cef91c55d09 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@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, I'll send a revised patch series in a few minutes. Thanks for review and feedback, I tried to follow all the advice and may have succeeded except for 3 items for which the packages pose specific difficulties. Ludovic Court=C3=A8s writes: >> + (native-inputs (list libtool)) > > I suspect you don=E2=80=99t need Libtool here (it would be needed if you = were > building from a checkout instead of from a tarball). I tried to remove the libtool native input but the test phase failed. Regards, Runciter From unknown Tue Aug 12 08:32:36 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#74411] [PATCH v2 4/5] gnu: Add freedict-dictionaries. References: In-Reply-To: Resent-From: Runciter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 01 Dec 2024 20:54: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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 74411@debbugs.gnu.org Received: via spool by 74411-submit@debbugs.gnu.org id=B74411.173308640730697 (code B ref 74411); Sun, 01 Dec 2024 20:54:02 +0000 Received: (at 74411) by debbugs.gnu.org; 1 Dec 2024 20:53:27 +0000 Received: from localhost ([127.0.0.1]:53238 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHqwY-0007z3-WB for submit@debbugs.gnu.org; Sun, 01 Dec 2024 15:53:27 -0500 Received: from mail-40136.proton.ch ([185.70.40.136]:59603) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHqwX-0007yo-2H for 74411@debbugs.gnu.org; Sun, 01 Dec 2024 15:53:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whispers-vpn.org; s=protonmail; t=1733086398; x=1733345598; bh=IE8Cw7PblcKpuxPsog6fj+JY6uhEm0iKZD9jRwm+k0E=; 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=AfgRuUdy0OodrpDH9vhyaWMGkbX0HogZE6/iPaVIW4aUL8KeLq0TO2W8S0RlRIprr wqXQXsXXK0jindtWphr2hzkw+MaL3a1+RyWEL45AfvV2RP8GbKln2rwReXEJl2ppis +QQVpLqiQ+adPHqfFMgYpT+yirsqWS81dU6HC6bLy9BaH+OgTd6iQ8uxtaHVDhFbo4 inxgW/DKN/40tg8OrRDZRYYc40/F5B7/1XwD6iL+F08Lw/RCAWqUvNldMcGNfYoRCO Pm+K5BNk5E/ygxf+t8HhY0DuaZzb4ZbpAZg4jWlTjK/c5x845nOO1QCKYA8/qESf3v a0kdan5EcOeag== Date: Sun, 01 Dec 2024 20:53:15 +0000 From: Runciter Message-ID: <87zflfw2fd.fsf@whispers-vpn.org> Feedback-ID: 119317227:user:proton X-Pm-Message-ID: 00b57426e7a214d317bb540be9d7a5a018521e5c 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@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 (-) Ludovic Court=C3=A8s writes: >> +(define-public freedict-dictionaries >> + (package >> + (name "freedict-dictionaries") >> + (version "914b5f7") > > Regarding the version number of Git snapshots, see > . I don't find anything that looks like an overall upstream version for the whole freedict-dictionaries package. It seems only individual dictionaries are (partially?) versioned. Therefore at this time I don't have a unique and correct argument I could feed to git-version. >> + (arguments >> + (list >> + #:tests? #f > > Please add a short comment explaining why the test suite is skipped > (such as =E2=80=9Cno tests=E2=80=9D). Actually There is a "validation" target that could be considered for the test phase. It lints a xml source file for each dictionary. However it fails because of a hard-coded "/usr/bin/xmllint" path in freedict-tools. I added a comment to mention this issue. This might be fixable; I'll try if requested by a maintainer. I have not tried yet because it would probably require an extra special measure, in the form of either a patch or regexp substitution. Regards, Runciter From unknown Tue Aug 12 08:32:36 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#74411] [PATCH v3 1/5] gnu: Add (gnu packages dictd). References: In-Reply-To: Resent-From: Runciter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 01 Dec 2024 21:00: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.173308679031781 (code B ref 74411); Sun, 01 Dec 2024 21:00:03 +0000 Received: (at 74411) by debbugs.gnu.org; 1 Dec 2024 20:59:50 +0000 Received: from localhost ([127.0.0.1]:53246 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHr2j-0008GW-Ss for submit@debbugs.gnu.org; Sun, 01 Dec 2024 15:59:50 -0500 Received: from mail-4022.proton.ch ([185.70.40.22]:28023) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHr2e-0008GC-Vg for 74411@debbugs.gnu.org; Sun, 01 Dec 2024 15:59:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whispers-vpn.org; s=protonmail; t=1733086778; x=1733345978; bh=CjNgtTvn/JF31IY906/ca36EfCChHzuGTFesRRrbsh8=; 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=L3HC6MIV+7bL/yeTpIXR2NB9Wl3uhaxMfdzex3thzmFPVw+/jR+rWgWUUU5N05xso mQKZAz/2rZ2P9fX147E+lJUdCnV+PdyLg8VHeuc4cyVG85uXv8iq6DdJ3Ytt3fVjGc 7IpbOY+OylbT9AH5Zucs5/xL5L1Mkw9+1QhwMFGWh+EF3iJKjLjQCEiEe3YrwskMSE nntP63EHUHDccWxs88a8BFvSLQ2F/IMmV/l2uK8DCvS51BiepAffRn8Xy4E/jEBNgW uO1S22jegg59wtcITSdmF2JdeDwJsqC/QLPIpB6DLxlRjh2ZRNRy6Df4RJ+qPUtwCY npXw+EcuxpIHg== Date: Sun, 01 Dec 2024 20:59:35 +0000 From: Runciter Message-ID: <5aeac28fdf163ab55801c6185c0dc47f35e649ef.1733086737.git.runciter@whispers-vpn.org> Feedback-ID: 119317227:user:proton X-Pm-Message-ID: 3cdb9b807519d4ed84791ecdcd36b0fc517bbb2a 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@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 (-) * 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 | 63 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 65 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 =C2=A9 2024 David Elsing # Copyright =C2=A9 2024 Ashish SHUKLA # Copyright =C2=A9 2024 Fabio Natali +# Copyright =C2=A9 2024 Runciter # # This file is part of GNU Guix. # @@ -239,6 +240,7 @@ GNU_SYSTEM_MODULES =3D=09=09=09=09\ %D%/packages/decker.scm=09=09=09\ %D%/packages/dhall.scm=09=09=09\ %D%/packages/dico.scm=09=09=09=09\ + %D%/packages/dictd.scm=09=09=09\ %D%/packages/dictionaries.scm=09=09=09\ %D%/packages/diffoscope.scm=09=09=09\ %D%/packages/digest.scm=09=09=09\ diff --git a/gnu/packages/dictd.scm b/gnu/packages/dictd.scm new file mode 100644 index 0000000000..8e025a2f04 --- /dev/null +++ b/gnu/packages/dictd.scm @@ -0,0 +1,63 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright =C2=A9 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 + (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 + ;; Change -Werror to -Wno-error, reproduce other default flags + ;; Do not error out on warnings related to snprintf function + #:make-flags #~'("CFLAGS=3D-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+))) base-commit: b790db7589858fc77989b4d1f369c52bca6d6e7c --=20 2.46.0 From unknown Tue Aug 12 08:32:36 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#74411] [PATCH v3 2/5] gnu: Add dictd. Resent-From: Runciter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 01 Dec 2024 21:01:01 +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.173308680631955 (code B ref 74411); Sun, 01 Dec 2024 21:01:01 +0000 Received: (at 74411) by debbugs.gnu.org; 1 Dec 2024 21:00:06 +0000 Received: from localhost ([127.0.0.1]:53252 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHr2z-0008J4-Hh for submit@debbugs.gnu.org; Sun, 01 Dec 2024 16:00:06 -0500 Received: from mail-4317.proton.ch ([185.70.43.17]:14507) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHr2x-0008Gp-Ac for 74411@debbugs.gnu.org; Sun, 01 Dec 2024 16:00:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whispers-vpn.org; s=protonmail; t=1733086797; x=1733345997; bh=TdW9KUINRg0S/HPaYKzY5IJKruUqP0tddOHYY8Svhd8=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=Ok0L1V3aiEi1rKTlLSx02pSLoKVdu4k3OoMNVSEBtDGqEVcdD1yVlErKM7NVFGsAQ 1tvfyxkm1kW3O2wBsnAVf2Ve56zDlcCIdJYV95OCEkYHtrdHbnExJsGpjW+KzSjW1r Dz+oDNx6ZKAboylJrskRXWXPOm7rIUT4OFWtvZaQMnixbLn0kvusa03F4+SPjfWNK9 U8DJK6DbB5u4OGMem4sCdHRVsCU8A2uknYP7bazM8mDaM16eN894jAvAvGaVgsCMap F+K3K/pTBAwhVkf3/l0sAzHhiDJ9btuV7b1+2br9M8nh+gXP0BQtpnKu3lNXF04lMe KV/l0JcfdXrsw== Date: Sun, 01 Dec 2024 20:59:53 +0000 From: Runciter Message-ID: <6784ab4908bc9c1217cabf7f54c96d91e1915364.1733086737.git.runciter@whispers-vpn.org> In-Reply-To: <5aeac28fdf163ab55801c6185c0dc47f35e649ef.1733086737.git.runciter@whispers-vpn.org> References: <5aeac28fdf163ab55801c6185c0dc47f35e649ef.1733086737.git.runciter@whispers-vpn.org> Feedback-ID: 119317227:user:proton X-Pm-Message-ID: 9899438f873e1df5f40070a2e79cf5bd2be5e684 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@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 (-) * 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 8e025a2f04..5456b39d9b 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)) =20 (define-public libmaa (package @@ -61,3 +64,37 @@ (define-public libmaa performance of memory-intensive applications.") (home-page "https://sourceforge.net/projects/dict/") (license gpl2+))) + +(define-public dictd + (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 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} progr= ams") + (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+))) --=20 2.46.0 From unknown Tue Aug 12 08:32:36 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#74411] [PATCH v3 3/5] gnu: Add freedict-tools. Resent-From: Runciter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 01 Dec 2024 21:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74411 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74411@debbugs.gnu.org Cc: Runciter Received: via spool by 74411-submit@debbugs.gnu.org id=B74411.173308681932350 (code B ref 74411); Sun, 01 Dec 2024 21:01:02 +0000 Received: (at 74411) by debbugs.gnu.org; 1 Dec 2024 21:00:19 +0000 Received: from localhost ([127.0.0.1]:53261 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHr3D-0008Pd-9G for submit@debbugs.gnu.org; Sun, 01 Dec 2024 16:00:19 -0500 Received: from mail-4317.proton.ch ([185.70.43.17]:43843) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHr3B-0008O0-3U for 74411@debbugs.gnu.org; Sun, 01 Dec 2024 16:00:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whispers-vpn.org; s=protonmail; t=1733086811; x=1733346011; bh=uG0dDk/raJ3grzOOJUWMfN4KhjjzZnSK/cNbzS/BspU=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=kCD5xoPsnSrCDY3Kwn+sT8WEcfMQ1uhZM1BavbbV8oKKWEmS24HUuj8jpB9TcCDhX zjPADOLMUgk9qhR2toVon39E4A+S79RH3tizjrJ4z0EJTiRRhKN+chnY+mjOGElqFc hgCm8dfvuX0B6+TL3czVwiEP2UqE8vEsxqkTJdi6QcaMHLdlVSIRtl2yvrNptgt5eV Iac+HQQWm5ZfVoF8+4rchTp6s7H0dmMBrNvGyAj0mfsYsC4LJ0V1OXDIsRWjHf55zz AumZ7Vc/Yyi8DIqJwEHfo8eSaxAxBvzVYmzEIQMhFNmdo3PLslqFe8ey6lDkP36ME7 lqByhcrtOjUEQ== Date: Sun, 01 Dec 2024 21:00:05 +0000 From: Runciter Message-ID: <8e0e8a272dfabae8164a9662089f6370dc6f51ad.1733086737.git.runciter@whispers-vpn.org> In-Reply-To: <5aeac28fdf163ab55801c6185c0dc47f35e649ef.1733086737.git.runciter@whispers-vpn.org> References: <5aeac28fdf163ab55801c6185c0dc47f35e649ef.1733086737.git.runciter@whispers-vpn.org> Feedback-ID: 119317227:user:proton X-Pm-Message-ID: 2e2fcd3ccaad0f4ceeb8b61c497f4a8748d7440a 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@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 (-) * gnu/packages/dictionaries.scm (freedict-tools-0.6.0): New variable. Signed-off-by: Runciter --- gnu/packages/dictionaries.scm | 54 ++++++++++++++++++++++++++++++++++- 1 file changed, 53 insertions(+), 1 deletion(-) diff --git a/gnu/packages/dictionaries.scm b/gnu/packages/dictionaries.scm index 3f9b59c960..3141d6d46d 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)) =20 =20 (define-public vera @@ -466,3 +470,51 @@ (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} packa= ge.") (license license:gpl2+)))) + +(define-public freedict-tools + (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 + 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 \\?=3D.*") + (string-append "PREFIX =3D " + #$output "\n"))) + (substitute* "mk/dicts.mk" + (("available_platforms :=3D src dictd slob") + "available_platforms :=3D dictd"))))))) + (build-system gnu-build-system) + (synopsis "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+))) --=20 2.46.0 From unknown Tue Aug 12 08:32:36 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#74411] [PATCH v3 4/5] gnu: Add freedict-dictionaries. Resent-From: Runciter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 01 Dec 2024 21:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74411 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74411@debbugs.gnu.org Cc: Runciter Received: via spool by 74411-submit@debbugs.gnu.org id=B74411.173308682932375 (code B ref 74411); Sun, 01 Dec 2024 21:01:02 +0000 Received: (at 74411) by debbugs.gnu.org; 1 Dec 2024 21:00:29 +0000 Received: from localhost ([127.0.0.1]:53265 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHr3M-0008Q7-Py for submit@debbugs.gnu.org; Sun, 01 Dec 2024 16:00:29 -0500 Received: from mail-4317.proton.ch ([185.70.43.17]:32971) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHr3K-0008Ps-6R for 74411@debbugs.gnu.org; Sun, 01 Dec 2024 16:00:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whispers-vpn.org; s=protonmail; t=1733086820; x=1733346020; bh=KA7MoKEu5zZGMzujDHwzyBZla8mbyNRRI/zqtc541aQ=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=gtVZuxrqAP6sikMxQEkznP01xrxRPEUoTZweMrAjsfwgfoqaN+jG3Ydb5WJ0egDEm XnodgnoLZaTy2+wOfofVS+x0pXjudWSuKu2b6iY/f67mqtocyoK5hJqy4oEgocBZEi lPuBJRtAcWcZFBD88+gGBrnV9HhFimoeiGfC3rllmUMkdzw9vAecjPs+lEaSV7PEhI eWV59xW7rV1hcCVjDDFBcin+17yOcwJRlUebqIBSxNYzETfXmQCwsLlxwgzk1enuep a9SRtR5WmNU4hdhx0UkJbb4X/lYGEobo9mCV7H+lsWhptMv2iqR52V/POb0202h5tU 3Sd5igiUQTY0Q== Date: Sun, 01 Dec 2024 21:00:16 +0000 From: Runciter Message-ID: In-Reply-To: <5aeac28fdf163ab55801c6185c0dc47f35e649ef.1733086737.git.runciter@whispers-vpn.org> References: <5aeac28fdf163ab55801c6185c0dc47f35e649ef.1733086737.git.runciter@whispers-vpn.org> Feedback-ID: 119317227:user:proton X-Pm-Message-ID: 62e30861744716e1a8cd4c3a29c27bd023fc20fd MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) 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 (-) * gnu/packages/dictionaries (freedict-dictionaries): New variable. Signed-off-by: Runciter --- gnu/packages/dictionaries.scm | 42 +++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/dictionaries.scm b/gnu/packages/dictionaries.scm index 3141d6d46d..e6f9f7f5a8 100644 --- a/gnu/packages/dictionaries.scm +++ b/gnu/packages/dictionaries.scm @@ -9,6 +9,7 @@ ;;; Copyright =C2=A9 2019 Pierre Langlois ;;; Copyright =C2=A9 2020 Lu hux ;;; Copyright =C2=A9 2022 ROCKTAKEY +;;; Copyright =C2=A9 2022 Runciter ;;; ;;; This file is part of GNU Guix. ;;; @@ -518,3 +519,44 @@ (define-public freedict-tools Guix package is installed.") (home-page "https://freedict.org") (license license:gpl2+))) + +(define-public freedict-dictionaries + (package + (name "freedict-dictionaries") + (version "914b5f7") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/freedict/fd-dictionaries") + (commit "914b5f754b695e9422bf951837b0682a077e244e"))) + (sha256 + (base32 "0a8k5rq94rl1nmz0354sx2gmyqica0yjavirh5v5wdybkfq8nv83")))) + (inputs (list espeak-ng libxslt dictd perl-libxml freedict-tools)) + (native-inputs (list python perl)) + (arguments + (list + ;; "validation" target fails because of hardcoded + ;; path /usr/bin/xmllint in freedict-tools + #:tests? #f + #:make-flags #~(list (string-append "PREFIX=3D" + #$output)) + #:phases #~(modify-phases %standard-phases + (delete 'configure) + (add-before 'build 'set-tools-prefix-in-makefile + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "Makefile" + (("FREEDICT_TOOLS \\?=3D ../tools") + (string-append "export FREEDICT_TOOLS =3D " + #$(file-append + freedict-tools + "/share/freedict"))))))))) + (build-system gnu-build-system) + (synopsis "Multilingual dictionaries compiled to the DICT format") + (description + "FreeDict is a project that offers over 140 free + dictionaries in about 45 languages, with the right to study, change and + modify them. You can use them offline on your computer or mobile phone + and export them to any format and application.") + (home-page "https://freedict.org") + (license license:gpl2+))) --=20 2.46.0 From unknown Tue Aug 12 08:32:36 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#74411] [PATCH v3 5/5] gnu: freedict-tools: Fix non-determinism of dictzip compressed file headers. Resent-From: Runciter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 01 Dec 2024 21:01: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.173308684332407 (code B ref 74411); Sun, 01 Dec 2024 21:01:03 +0000 Received: (at 74411) by debbugs.gnu.org; 1 Dec 2024 21:00:43 +0000 Received: from localhost ([127.0.0.1]:53269 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHr3b-0008Qd-90 for submit@debbugs.gnu.org; Sun, 01 Dec 2024 16:00:43 -0500 Received: from mail-10625.protonmail.ch ([79.135.106.25]:61411) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHr3Z-0008QN-40 for 74411@debbugs.gnu.org; Sun, 01 Dec 2024 16:00:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whispers-vpn.org; s=protonmail; t=1733086834; x=1733346034; bh=cpozZIQMH2y9OYC+MWEyuWScUeC5l5rvw4+4wYnWQ2Q=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=aMPk+Uj8VFDhyrgHrSTJ+oQIkYRFT4JcjicFqX59hqvd7YetPfigUnqzG05VoHwfm S2jBU7lTeeWwsMp4ijVYn9d0TMs38UTAaSCxrbbQhzbnhCifMxniSoz52tdhfxzSl/ l+ZqYTNoaQIzGsqli4EMbNqTIe+VzqKw4N2AJBVqDkuhzQNtqP99zemVjgE15qWfYO c0vP3pl2r2ZvRyKyJRWRhsPvd+hR52Z2C3IzmH3UWEOEPTJzkP9LfkX+y2WNumqRI0 882Y+7BMSJCe3Bxs/xNwPbCh1W1JmYoaE6nKmZiqOEAP2l4M4b60n9KBEYAOPsp3mg 2DaEPZOBJ1/GA== Date: Sun, 01 Dec 2024 21:00:29 +0000 From: Runciter Message-ID: <7eff2fc08e8f01e7f696b40d4addcd1646fd65e4.1733086737.git.runciter@whispers-vpn.org> In-Reply-To: <5aeac28fdf163ab55801c6185c0dc47f35e649ef.1733086737.git.runciter@whispers-vpn.org> References: <5aeac28fdf163ab55801c6185c0dc47f35e649ef.1733086737.git.runciter@whispers-vpn.org> Feedback-ID: 119317227:user:proton X-Pm-Message-ID: 7d828cfd997610de88867c9599943bf9e96c66dd 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@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 (-) Reset .dict file mtime to start of the epoch before compressing with dictzi= p. * gnu/packages/patches/freedict-tools-fix-determinism.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/dictionaries.scm (freedict-tools): Use it. Signed-off-by: Runciter --- gnu/local.mk | 1 + gnu/packages/dictionaries.scm | 3 ++- .../freedict-tools-fix-determinism.patch | 22 +++++++++++++++++++ 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 gnu/packages/patches/freedict-tools-fix-determinism.pat= ch diff --git a/gnu/local.mk b/gnu/local.mk index 7004d02547..f6b465441a 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1291,6 +1291,7 @@ dist_patch_DATA =3D=09=09=09=09=09=09\ %D%/packages/patches/fpc-glibc-2.34-compat.patch=09=09\ %D%/packages/patches/fpm-newer-clamp-fix.patch=09=09\ %D%/packages/patches/freecad-vtk-9.3.patch=09=09\ + %D%/packages/patches/freedict-tools-fix-determinism.patch=09\ %D%/packages/patches/freedink-engine-fix-sdl-hints.patch=09\ %D%/packages/patches/freeimage-libtiff-compat.patch=09=09\ %D%/packages/patches/freeimage-libraw-0.21-compat.patch=09\ diff --git a/gnu/packages/dictionaries.scm b/gnu/packages/dictionaries.scm index e6f9f7f5a8..da86b4f797 100644 --- a/gnu/packages/dictionaries.scm +++ b/gnu/packages/dictionaries.scm @@ -483,7 +483,8 @@ (define-public freedict-tools (url "https://github.com/freedict/tools") (commit "3596640e6e0582cc5fb76a342e5d8e7413aa4b34"))) (sha256 - (base32 "1raayynvn1j8x0ck8pnbbljl6zxnsyzzil7y54xz03dpj7k9w7mk")))) + (base32 "1raayynvn1j8x0ck8pnbbljl6zxnsyzzil7y54xz03dpj7k9w7mk")) + (patches (search-patches "freedict-tools-fix-determinism.patch")))) (inputs (list espeak-ng python perl diff --git a/gnu/packages/patches/freedict-tools-fix-determinism.patch b/gn= u/packages/patches/freedict-tools-fix-determinism.patch new file mode 100644 index 0000000000..ad100bbba9 --- /dev/null +++ b/gnu/packages/patches/freedict-tools-fix-determinism.patch @@ -0,0 +1,22 @@ +The compression utility dictzip writes the compressed file's mtime in a he= ader +of the compressed file. No command-line switch is documented to control or +suppress this behavior. This makes the build of packages relying on +freedict-tools such as freedict-dictionaries non-deterministic. + +This patch sets the mtime of the .dict file to be compressed by dictzip to= the +start of the epoch on the Greenwich meridian, restoring build determinism. + +diff --git a/mk/dicts.mk b/mk/dicts.mk +index 08e8923..e671cf3 100644 +--- a/mk/dicts.mk ++++ b/mk/dicts.mk +@@ -265,7 +265,8 @@ $(BUILD_DICTD)/%.dict $(BUILD_DICTD)/%.index: $(BUILD_= DICTD)/%.c5 query-dictd + =09=09dictfmt --without-time -t --headword-separator %%% $(DICTFMTFLAGS) = $* < $(notdir $<) +=20 + $(BUILD_DICTD)/%.dict.dz: $(BUILD_DICTD)/%.dict +-=09dictzip -k $< ++=09touch -m -d "$$(date -u -R -d @0)" $< && \ ++=09=09dictzip -k $< +=20 + # prevent make from removing our precious file + .PRECIOUS: $(BUILD_DICTD)/$(dictname).dict --=20 2.46.0 From unknown Tue Aug 12 08:32:36 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Runciter Subject: bug#74411: closed (Re: [bug#74411] [PATCH v3 1/5] gnu: Add (gnu packages dictd).) Message-ID: References: <87bjxt4x14.fsf@gnu.org> X-Gnu-PR-Message: they-closed 74411 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 74411@debbugs.gnu.org Date: Mon, 02 Dec 2024 21:05:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1733173502-29962-1" This is a multi-part message in MIME format... ------------=_1733173502-29962-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #74411: [PATCH 0/4] Add DICT and FreeDict projects packages 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 74411@debbugs.gnu.org. --=20 74411: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D74411 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1733173502-29962-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 74411-done) by debbugs.gnu.org; 2 Dec 2024 21:04:25 +0000 Received: from localhost ([127.0.0.1]:56728 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIDai-0007m5-Oa for submit@debbugs.gnu.org; Mon, 02 Dec 2024 16:04:24 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55848) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIDag-0007lZ-R7 for 74411-done@debbugs.gnu.org; Mon, 02 Dec 2024 16:04:23 -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 ) id 1tIDaX-00046M-RD; Mon, 02 Dec 2024 16:04:14 -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=KIiocQjfxp4u6L9qL+rrTwIg/prY/K5PYLgPb2JFcwk=; b=M1fi6GuBfww2NsVc+Opf MCZWCJfTJLnhtO50iTJK6N/rPW14DtO7s0eTvQ8IuCLA4g7HgtW2ybOkEodSbkewiEFj20mEDGQRJ nkeBAs/CWr0v5gijAgLBDAF5/o2Tqmn/g/9C1OUYo21lzNIku67tBraDb+hZ32CFW/2UkTFWNZnbB rDlWqtYoHoPv9CV+v1YeeRAsbOdgRUqlLdcoEW96nn3k6qPpm4d+U+p+QftiNKa6rRu3j6XFzXgHc dtXcew0vf2j39g00zGD42yKklofDX1c9I4z1p79BxCB9Du3lUewdy17TsqfadaV7d/8BMTo9QkobZ hMuD7n0ec+nACQ==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Runciter Subject: Re: [bug#74411] [PATCH v3 1/5] gnu: Add (gnu packages dictd). In-Reply-To: <5aeac28fdf163ab55801c6185c0dc47f35e649ef.1733086737.git.runciter@whispers-vpn.org> (runciter@whispers-vpn.org's message of "Sun, 01 Dec 2024 20:59:35 +0000") References: <5aeac28fdf163ab55801c6185c0dc47f35e649ef.1733086737.git.runciter@whispers-vpn.org> Date: Mon, 02 Dec 2024 22:04:07 +0100 Message-ID: <87bjxt4x14.fsf@gnu.org> 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: 74411-done Cc: 74411-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, Applied with minor changes: the =E2=80=98freedict-dictionaries=E2=80=99 ver= sion string and adding =E2=80=98file-name=E2=80=99 fields to =E2=80=98git-fetch=E2=80= =99 origins as reported by =E2=80=98guix lint=E2=80=99. Thanks! Ludo=E2=80=99. ------------=_1733173502-29962-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 18 Nov 2024 05:04:57 +0000 Received: from localhost ([127.0.0.1]:59504 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCtwW-0003dz-LK for submit@debbugs.gnu.org; Mon, 18 Nov 2024 00:04:57 -0500 Received: from lists.gnu.org ([209.51.188.17]:56136) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCjfs-0006sq-I6 for submit@debbugs.gnu.org; Sun, 17 Nov 2024 13:07: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 1tCjfr-0003Li-Fz for guix-patches@gnu.org; Sun, 17 Nov 2024 13:07:04 -0500 Received: from mail-4022.proton.ch ([185.70.40.22]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tCjfo-0004JH-Nq for guix-patches@gnu.org; Sun, 17 Nov 2024 13:07:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whispers-vpn.org; s=protonmail; t=1731866815; x=1732126015; bh=4q50P3gPCRlCmGAmzExY1dEl3pOs0IA8y4QYZw3p4Jw=; 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=hNUD/KPfPnXNqsMFBsVxCdTWV0aPy1MrmnAe+iTJUWkczpSvZyG938rRjnvrfmyvA h9m9kJLtxLo+xty9sqwa8LBqeIk8ro3v76ugD9o4RqF66YKaUfojHkiJi7lGGAvg9p K4nKadUpL0TfP1CNaZ/uMC3cCUEacXHc0uxU/bsKrDZIGyNqzWqrQ2g65dVR5R3aw4 y9k/jcRch+In+DA9pC7EvS7EZKyMELp62+IyF0H564gOZC/oUUwfjMgMlUNc5NRHAG cWFMMVcxH56tzBp7nzInQDmLMgNsRelIoNpQSpTD1XQ9XgvdRWOYmHALwYP/2p/mwg aDT90fPUHF1sA== Date: Sun, 17 Nov 2024 18:06:50 +0000 To: guix-patches@gnu.org From: Runciter Subject: [PATCH 0/4] Add DICT and FreeDict projects packages Message-ID: Feedback-ID: 119317227:user:proton X-Pm-Message-ID: 2ebf8c9c86dac4c96ee710258f22bb72ca542777 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.22; envelope-from=runciter@whispers-vpn.org; helo=mail-4022.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_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_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 X-Mailman-Approved-At: Mon, 18 Nov 2024 00:04:55 -0500 Cc: Runciter 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 (--) Add the dictd package from the DICT project along with its library dependen= cy libmaa. Add the human-written bilingual dictionaries from the FreeDict projects freedict-dictionaries, with its toolchain dependency freedict-tools. Runciter (4): gnu: Add (gnu packages dictd). gnu: Add dictd-1.13.1. gnu: Add freedict-tools-0.6.0. gnu: Add freedict-dictionaries. gnu/local.mk | 2 + gnu/packages/dictd.scm | 98 ++++++++++++++++++++++++++++++++ gnu/packages/dictionaries.scm | 103 +++++++++++++++++++++++++++++++++- 3 files changed, 202 insertions(+), 1 deletion(-) create mode 100644 gnu/packages/dictd.scm base-commit: b790db7589858fc77989b4d1f369c52bca6d6e7c --=20 2.46.0 ------------=_1733173502-29962-1--