From patchwork Sat Sep 3 16:43:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: M X-Patchwork-Id: 42169 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 A0C9527BBEA; Sat, 3 Sep 2022 17:50:49 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0600027BBE9 for ; Sat, 3 Sep 2022 17:50:49 +0100 (BST) Received: from localhost ([::1]:47666 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oUWM4-0003Py-50 for patchwork@mira.cbaines.net; Sat, 03 Sep 2022 12:50:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49348) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUWLK-0003Ok-JO for guix-patches@gnu.org; Sat, 03 Sep 2022 12:50:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54092) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oUWLK-0003Ol-BK for guix-patches@gnu.org; Sat, 03 Sep 2022 12:50:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oUWLK-0004QC-6Z for guix-patches@gnu.org; Sat, 03 Sep 2022 12:50:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54539] [PATCH v2 26/30] gnu: ruby: Autoload unless used by Guix. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 03 Sep 2022 16:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54539 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54539@debbugs.gnu.org Cc: Maxime Devos Received: via spool by 54539-submit@debbugs.gnu.org id=B54539.166222377016941 (code B ref 54539); Sat, 03 Sep 2022 16:50:02 +0000 Received: (at 54539) by debbugs.gnu.org; 3 Sep 2022 16:49:30 +0000 Received: from localhost ([127.0.0.1]:42790 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUWKn-0004P6-HH for submit@debbugs.gnu.org; Sat, 03 Sep 2022 12:49:29 -0400 Received: from riemann.telenet-ops.be ([195.130.137.80]:56252) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUWKl-0004Oo-53 for 54539@debbugs.gnu.org; Sat, 03 Sep 2022 12:49:27 -0400 Received: from xavier.telenet-ops.be (xavier.telenet-ops.be [IPv6:2a02:1800:120:4::f00:14]) by riemann.telenet-ops.be (Postfix) with ESMTPS id 4MKgZy69qqz4x2vP for <54539@debbugs.gnu.org>; Sat, 3 Sep 2022 18:43:38 +0200 (CEST) Received: from localhost.localdomain ([IPv6:2a02:1811:8c09:9d00:5dba:d409:33f7:a16]) by xavier.telenet-ops.be with bizsmtp id FUjb2800820ykKC01UjeB7; Sat, 03 Sep 2022 18:43:38 +0200 From: Maxime Devos Date: Sat, 3 Sep 2022 18:43:28 +0200 Message-Id: <20220903164332.6848-26-maximedevos@telenet.be> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220903164332.6848-1-maximedevos@telenet.be> References: <20220903164332.6848-1-maximedevos@telenet.be> MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1662223418; bh=ci2qpGBeQrBRqBzN3Zf8nA+1cT/hnrJdsbwvdVEd6vI=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=KJcGO2/q7RtFi7Tyj2DTFoHLzYSthtEa0sPIVJHBKg+74XwTKtiypN+5YjzeGzCCJ QjJX7oL6rcLOhpSw/4ImugySQkFSKwd8Yaa7VNGbb4tf244bS9fjm3DJV0s094xHdl 5hMGRQiQtFMfb/RPqBXLhJR+xD+FjbH03oCZcQ7h2TxvCrKauIno+VorIbADsDyLTn zw5zfJV1AYE7Y91BcyGz5XIwNG1gCEgQoS+qWqnDzHdCsJs0C+6uI0Y+/TGVhptIF3 PhSslbJSvxwkPbgLqpyoQeH2+qDb8oh/My+2PLlm5V96hth6NrxhZHtGERqunTG7bC LqgowMy1K5dGw== 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches See first commit in the series for the procedure. This helps with, but is not sufficient for, avoiding Java. --- gnu/packages/ruby.scm | 64 +++++++++++++++++++++---------------------- 1 file changed, 31 insertions(+), 33 deletions(-) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index cc95bd8d6e..f4883db0ab 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -48,45 +48,43 @@ (define-module (gnu packages ruby) #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages) - #:use-module (gnu packages base) - #:use-module (gnu packages bison) - #:use-module (gnu packages c) - #:use-module (gnu packages check) - #:use-module (gnu packages compression) - #:use-module (gnu packages crypto) - #:use-module (gnu packages curl) - #:use-module (gnu packages databases) - #:use-module (gnu packages dbm) - #:use-module (gnu packages rails) - #:use-module (gnu packages readline) - #:use-module (gnu packages autotools) - #:use-module (gnu packages haskell-xyz) - #:use-module (gnu packages java) - #:use-module (gnu packages libffi) - #:use-module (gnu packages libidn) - #:use-module (gnu packages linux) - #:use-module (gnu packages lsof) - #:use-module (gnu packages man) - #:use-module (gnu packages maths) - #:use-module (gnu packages ncurses) - #:use-module (gnu packages networking) - #:use-module (gnu packages node) - #:use-module (gnu packages protobuf) - #:use-module (gnu packages python) - #:use-module (gnu packages python-xyz) - #:use-module (gnu packages ragel) - #:use-module (gnu packages rsync) - #:use-module (gnu packages sqlite) - #:use-module (gnu packages tls) - #:use-module (gnu packages version-control) + #:use-module (gnu packages base) ; required by "guix build -d guix" + #:autoload (gnu packages bison) (bison) + #:autoload (gnu packages c) (unifdef) + #:use-module (gnu packages compression) ; required by "guix build -d guix" + #:autoload (gnu packages crypto) (libsodium) + #:autoload (gnu packages curl) (curl) + #:use-module (gnu packages databases) ; required by "guix build -d guix" + #:use-module (gnu packages dbm) ; required by "guix build -d guix" + #:use-module (gnu packages rails) ; required by "guix build -d guix" + #:use-module (gnu packages readline) ; required by "guix build -d guix" + #:use-module (gnu packages autotools) ; required by "guix build -d guix" + #:autoload (gnu packages haskell-xyz) (pandoc) + #:autoload (gnu packages java) (icedtea) + #:use-module (gnu packages libffi) ; required by "guix build -d guix" + #:use-module (gnu packages libidn) ; required by "guix build -d guix" + #:use-module (gnu packages linux) ; required by "guix build -d guix" + #:use-module (gnu packages lsof) ; required by "guix build -d guix" + #:autoload (gnu packages man) (txt2man) + #:autoload (gnu packages maths) (itex2mml ruby-asciimath) + #:autoload (gnu packages ncurses) (ncurses) + #:autoload (gnu packages networking) (czmq zeromq) + #:autoload (gnu packages node) (node) + #:autoload (gnu packages protobuf) (ruby-protobuf-cucumber) + #:autoload (gnu packages python-xyz) (python-ipython python-pygments) + #:use-module (gnu packages ragel) ; required by "guix build -d guix" + #:autoload (gnu packages rsync) (rsync) + #:use-module (gnu packages sqlite) ; required by "guix build -d guix" + #:use-module (gnu packages tls) ; required by "guix build -d guix" + #:autoload (gnu packages version-control) (git libgit2) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix gexp) #:use-module (guix utils) #:use-module (guix build-system gnu) - #:use-module (gnu packages xml) - #:use-module (gnu packages web) + #:use-module (gnu packages xml) ; required by "guix build -d guix" + #:autoload (gnu packages web) (gumbo-parser libsass) #:use-module (guix build-system ruby) #:use-module ((srfi srfi-1) #:select (alist-delete)))