From patchwork Mon Nov 18 05:55:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Runciter X-Patchwork-Id: 70495 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C517527BBEA; Mon, 18 Nov 2024 05:57:40 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 3DCA727BBE2 for ; Mon, 18 Nov 2024 05:57:40 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tCul0-0003pE-6K; Mon, 18 Nov 2024 00:57:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tCukx-0003o9-66 for guix-patches@gnu.org; Mon, 18 Nov 2024 00:57:04 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tCukw-000076-Og for guix-patches@gnu.org; Mon, 18 Nov 2024 00:57:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:From:Date:To:In-Reply-To:References:Subject; bh=A4mkMWSDVPMO4URFraV6hy499FVmqI6cOzNfC+CrlAM=; b=S1fKDw1dNleyVbW4wOHWAb9vOd02xXxAYRO2r7+ARS0T230UsD9EYaKMzDBdVdzkct/MRbQYKg+ASkL7R47S+qBgLWh3HxpwRLta439+yE6JKRFx8LAARvAdBt2lS/9pbf8SHL245HBeXWbS+G5HBEkEUbuGqmdYS6SMeN6tJmunm9Aw5gVjzjPq41vM7VT/4jy9WEwp1tv3vv9t1NelCTOrSfwi5Ko2+M89UN8Q+RqpX97USo8s3XgvqNOPj5pbrIFq/47RQ5ThragH0Fo5YSwl7Iz5/aN5gGK/ECdnf43qCbWZswAy0OkrjgMHmbx4XS1rCiNNSWh5ErsZWSHafA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tCukw-00060s-JJ for guix-patches@gnu.org; Mon, 18 Nov 2024 00:57:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74411] [PATCH 1/4] gnu: Add (gnu packages dictd). References: In-Reply-To: Resent-From: Runciter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 18 Nov 2024 05:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74411 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74411@debbugs.gnu.org Cc: Runciter Received: via spool by 74411-submit@debbugs.gnu.org id=B74411.173190936622995 (code B ref 74411); Mon, 18 Nov 2024 05:57:02 +0000 Received: (at 74411) by debbugs.gnu.org; 18 Nov 2024 05:56:06 +0000 Received: from localhost ([127.0.0.1]:59591 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCuk1-0005yo-TA for submit@debbugs.gnu.org; Mon, 18 Nov 2024 00:56:06 -0500 Received: from mail-4022.proton.ch ([185.70.40.22]:49301) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCujx-0005yH-4Y for 74411@debbugs.gnu.org; Mon, 18 Nov 2024 00:56:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whispers-vpn.org; s=protonmail; t=1731909354; x=1732168554; bh=A4mkMWSDVPMO4URFraV6hy499FVmqI6cOzNfC+CrlAM=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector: List-Unsubscribe:List-Unsubscribe-Post; b=KnbtbX114oxTkOtu1KDaa3WrBc6thjTgw+4toAvtH6JJmV7GzZntLyfgheB4dIQ6A qP2k5kG0+enSGZiDD9KLj463JovmiyUNQek/lOWlK/ooX58tpK7DeA8DZNDNMAodJu IT1EexMJZ7z+NoBTXojUD9INVxWDz/4w8WqxBWcLBccXU0vYTrvr/Mu77wI92800dU LGz+RLroExdZ2OI6x8RXJ+4mVM9LIBZVZhKjsfXANZ30rDVG6gemEKd/ewqvgQxOin k0JHuCh4+ji8LcY+QAwRXw8CBt0raCThteKxkObfxqznngWvUpFa7PkWxdDoXzonP6 LfjLWKnE70Tmw== Date: Mon, 18 Nov 2024 05:55:49 +0000 Message-ID: Feedback-ID: 119317227:user:proton X-Pm-Message-ID: a498de23e735438cdc71dcccc59f4aced31385da MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Runciter X-ACL-Warn: , Runciter via Guix-patches X-Patchwork-Original-From: Runciter via Guix-patches via From: Runciter Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/dictd.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. Signed-off-by: Runciter --- gnu/local.mk | 2 ++ gnu/packages/dictd.scm | 61 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 gnu/packages/dictd.scm diff --git a/gnu/local.mk b/gnu/local.mk index a97e988add..7004d02547 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -67,6 +67,7 @@ # Copyright © 2024 David Elsing # Copyright © 2024 Ashish SHUKLA # Copyright © 2024 Fabio Natali +# Copyright © 2024 Runciter # # This file is part of GNU Guix. # @@ -239,6 +240,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/decker.scm \ %D%/packages/dhall.scm \ %D%/packages/dico.scm \ + %D%/packages/dictd.scm \ %D%/packages/dictionaries.scm \ %D%/packages/diffoscope.scm \ %D%/packages/digest.scm \ diff --git a/gnu/packages/dictd.scm b/gnu/packages/dictd.scm new file mode 100644 index 0000000000..fed41def64 --- /dev/null +++ b/gnu/packages/dictd.scm @@ -0,0 +1,61 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2024 Runciter +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages dictd) + #:use-module (guix packages) + #:use-module (guix gexp) + #:use-module ((guix licenses) #:select (gpl2+)) + #:use-module (guix download) + #:use-module (guix build-system gnu) + #:use-module (gnu packages) + #:use-module (gnu packages autotools)) + +(define-public libmaa-1.3.2 + (package + (name "libmaa") + (version "1.3.2") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/dict/libmaa/" + "libmaa-" + version + "/libmaa-" + version + ".tar.gz")) + (sha256 + (base32 "1idi4c30pi79g5qfl7rr9s17krbjbg93bi8f2qrbsdlh78ga19ar")))) + (native-inputs (list libtool)) + (arguments + (list + #:make-flags #~'("CFLAGS=-DHAVE_CONFIG_H -Wall -Wno-error -g -O2 $(VERCFLAGS) -I. -I${srcdir}") + #:test-target "test")) + (build-system gnu-build-system) + (synopsis "Low-level data structures used by the dictd program") + (description + "The libmaa library provides many low-level +data structures which are helpful for writing compilers, including hash +tables, sets, lists, debugging support, and memory management. Although +libmaa was designed and implemented as a foundation for the Khepara +transformation system, the data structures are generally applicable to a +wide range of programming problems. + + The memory management routines are especially helpful for improving +the performance of memory-intensive applications.") + (home-page "https://sourceforge.net/projects/dict/") + (license gpl2+)))