From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kJFzOHaK3mJvvAAAbAwnHQ (envelope-from ) for ; Mon, 25 Jul 2022 14:20:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id CDQsOHaK3mKhPgAAauVa8A (envelope-from ) for ; Mon, 25 Jul 2022 14:20:06 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C05DE1C2B2 for ; Mon, 25 Jul 2022 14:20:05 +0200 (CEST) Received: from localhost ([::1]:50066 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oFx48-0000vb-PN for larch@yhetil.org; Mon, 25 Jul 2022 08:20:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47790) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oFx3B-0008Ow-Ur for guix-patches@gnu.org; Mon, 25 Jul 2022 08:19:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59712) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oFx3B-0005PK-Hz for guix-patches@gnu.org; Mon, 25 Jul 2022 08:19:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oFx3B-0002ye-Dq for guix-patches@gnu.org; Mon, 25 Jul 2022 08:19:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56759] [PATCH 20/20] gnu: anystyle: Use GDBM by default. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 25 Jul 2022 12:19:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56759 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56759@debbugs.gnu.org Cc: Philip McGrath Received: via spool by 56759-submit@debbugs.gnu.org id=B56759.165875152411345 (code B ref 56759); Mon, 25 Jul 2022 12:19:05 +0000 Received: (at 56759) by debbugs.gnu.org; 25 Jul 2022 12:18:44 +0000 Received: from localhost ([127.0.0.1]:49450 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFx2q-0002ws-0e for submit@debbugs.gnu.org; Mon, 25 Jul 2022 08:18:44 -0400 Received: from mail-qv1-f52.google.com ([209.85.219.52]:45733) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFx2l-0002vY-61 for 56759@debbugs.gnu.org; Mon, 25 Jul 2022 08:18:39 -0400 Received: by mail-qv1-f52.google.com with SMTP id h18so8218373qvr.12 for <56759@debbugs.gnu.org>; Mon, 25 Jul 2022 05:18:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=philipmcgrath.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=PFJY8xPip6BwS3Y8J/oFD0copn4H1K1xlm91kWbRyPs=; b=R6EERBIA3temaXBUvZLde6cXuDN9A45ZDMoHFjefL834M/TMprlBd5MOXHLLkT6wGo bVTon3iOAMRl8mqi+kUKATTCOYRhHbtiwQPuHiyvHNIC/jCObJc+vODHl+CxRs0hBCr5 QsVmm3hFqM76ZFcgn6Ajrx02ve74UIE2QIMcVpMFxMznjp3ON1IzKzmjTRTMzIpTWf+U zLoHbSRNf3ZcE/u5UWyJeqmSvP4znVpkNTRXa4j5FRfDR0fZKd/lZAx7BwgzCHlpqZdJ 9OFv1FDXImlmFgYrCVs6E/6zHKu/yWgETSIt1EEZfcV+K8sa3LLsA+VsiOmiy1xME2f0 wxqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=PFJY8xPip6BwS3Y8J/oFD0copn4H1K1xlm91kWbRyPs=; b=Jw+QP0V/LARJf7wYUP+FhnfL8paq6PYbBCPthv/FIFcLanAgpOLaSZd7ozJzuU+iQL rpGRUlYGuAIbzKE/KzHlfcQu9Pws+Plb7rmR699FYhM/6/7Uznto2SeakNIIgMcjDabL t+1z7nzKUswLqdELzL1jBsVxMHFmrZPiIoUToh3VbGNMR5UaNXWoeQW9u5ZZXYqP37Vm 8QrMoQMxXNBKpMsaPPrDMBmYoRJz0mrg1SUWZmuDCue7nWwWGnKPsNVRMj6ZBqksMeMv c4dun/nlaxPkFq5uzImqd+9c09xBaiY1Uj/G3XgjejByHQtvpqsUEvRmE3eOHpKe8Elb 1VDw== X-Gm-Message-State: AJIora/H1CsvTQSTm7ALKZdt1RJ38zn0huZvlV6yy3oFSxzof+NaxCQZ MuJiszMbepNZzECBzsMk5zFLIDnp4Xj78eA+ X-Google-Smtp-Source: AGRyM1sSaGKlrqOJnv/i/Q/yXM9KmGQ87FFl0ze5ae4a7TqtqDZwOwQXPQql8QQQkqE9l6JtEwqjdw== X-Received: by 2002:a05:6214:238b:b0:473:358:ddf4 with SMTP id fw11-20020a056214238b00b004730358ddf4mr10363606qvb.66.1658751518792; Mon, 25 Jul 2022 05:18:38 -0700 (PDT) Received: from localhost (c-73-125-98-51.hsd1.fl.comcast.net. [73.125.98.51]) by smtp.gmail.com with UTF8SMTPSA id h4-20020a37de04000000b006b58aa4e0e0sm8547394qkj.24.2022.07.25.05.18.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 25 Jul 2022 05:18:38 -0700 (PDT) From: Philip McGrath Date: Mon, 25 Jul 2022 08:16:35 -0400 Message-Id: <00b611997823e6108278d44565bd0287f4fe7ebb.1658750358.git.philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1658751605; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=PFJY8xPip6BwS3Y8J/oFD0copn4H1K1xlm91kWbRyPs=; b=KTwUiwrbjsJS4MG8YPjC1eWNfs8E6pZPgFkr4CjjAhBgW/lhwX2Oc99onCzIam504Ys8Qr Kl608vn9ELxkjIXxrlEBdQVwE0zXimFWbffGey4JHNsKqx2aIgjX1P03/TtzvxuaSxLSna ET92olka0wTKzBUJ29Ssx3Pc2WD0iNWobLxNj+CcBit9qND7m+184t+uOUIFNU37jbF0X8 Eza+G6L+BD9QgxguAJ+zcMoBFymUQfB1fSp/kSbdYmAzNzy8sdggkQ+JYX/Jh9f4AvdLjC eGuEWsgRM6U1x9W9AkW9m86T98HI4aCp/rQlIBPXPpDlUbBskHO+4KiBBf6hdw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658751605; a=rsa-sha256; cv=none; b=H77foMQw6GnSuyL5/qkUkjkPN1sC1KHxbJIBGItFNS25tmlwAaxsL7bLRp+maykYSJIiKq 9rmFakY21VeZ48PUYJFF10b9mSXdcqNaJlz03iYB2twPFCTJOK594+IEURh3hWxtuZzRZy 5Rrwsf+bPoOX7M+asXkKGJn5anHV+GvgiOjK3HPqEOdNiQs6L8aNZ+C7qB/mvlcdEJviI7 8tvr6smSOlZ3jsYniWqdDB9gyNrqciu9IuWF9VMeXqwngUlXox2nxIdj9okp4VSI7h6noy v0g/ddaI8/KfcOUaIE/suzblZrkRLe8FDXsu+EHn9bDMU96a5YGJq7pbPpgWvw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=R6EERBIA; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 3.57 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=R6EERBIA; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: C05DE1C2B2 X-Spam-Score: 3.57 X-Migadu-Scanner: scn0.migadu.com X-TUID: ddFqhb8K4eLS Since we have GDBM available, it offers a smaller memory footprint and faster start-up. * gnu/packages/ruby.scm (anystyle)[arguments]<#:phases>: Add phase 'change-default-dictionary-adapter'. --- gnu/packages/ruby.scm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 8991eb0927..655f49e725 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -13620,6 +13620,14 @@ (define-public anystyle (substitute* "anystyle-cli.gemspec" (("'bibtex-ruby', '[^']*'") "'bibtex-ruby'")))) + (add-before 'build 'change-default-dictionary-adapter + (lambda args + ;; Since we always have gdbm available, using it will give a + ;; faster startup time, which is particularly worth-while for + ;; a command-line tool. + (substitute* "bin/anystyle" + (("default_value: 'ruby',") + "default_value: 'gdbm', # patched for Guix")))) (replace 'check (lambda* (#:key tests? #:allow-other-keys) ;; There are no tests, but let's use this opportunity to do a -- 2.32.0