From patchwork Sat Sep 3 16:43:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: M X-Patchwork-Id: 42188 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 A663F27BBE9; Sat, 3 Sep 2022 17:57: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 5B86E27BBEA for ; Sat, 3 Sep 2022 17:57:47 +0100 (BST) Received: from localhost ([::1]:33896 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oUWSo-0000FJ-4Z for patchwork@mira.cbaines.net; Sat, 03 Sep 2022 12:57:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51826) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUWRC-000667-K8 for guix-patches@gnu.org; Sat, 03 Sep 2022 12:56:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54191) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oUWRC-0004kT-Bf for guix-patches@gnu.org; Sat, 03 Sep 2022 12:56:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oUWRC-0004fK-83 for guix-patches@gnu.org; Sat, 03 Sep 2022 12:56:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54539] [PATCH v2 15/30] gnu: icu4c: 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:56:06 +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.166222411717714 (code B ref 54539); Sat, 03 Sep 2022 16:56:06 +0000 Received: (at 54539) by debbugs.gnu.org; 3 Sep 2022 16:55:17 +0000 Received: from localhost ([127.0.0.1]:42856 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUWQP-0004bY-G4 for submit@debbugs.gnu.org; Sat, 03 Sep 2022 12:55:17 -0400 Received: from xavier.telenet-ops.be ([195.130.132.52]:40308) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUWF7-0004BI-Vo for 54539@debbugs.gnu.org; Sat, 03 Sep 2022 12:43:42 -0400 Received: from localhost.localdomain ([IPv6:2a02:1811:8c09:9d00:5dba:d409:33f7:a16]) by xavier.telenet-ops.be with bizsmtp id FUjb2800820ykKC01UjdAg; Sat, 03 Sep 2022 18:43:37 +0200 From: Maxime Devos Date: Sat, 3 Sep 2022 18:43:17 +0200 Message-Id: <20220903164332.6848-15-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=1662223417; bh=eaV2O1mDtx061xp5QROChv13dq4fPuLiwIsIgX8z9pU=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=gP2ypqDSMVKeG/3aqXlb9ml+5IW7f5ekH0UG6zYfA875d3Nu/UvCuoeDOsj3QQx7V 8Fy4I9W2MPcEpT4txjkjqsI0accC9f6bk32MTO31nhXSxBMTwDEnhk1mwMLnih63x6 KPMS/vpjnWuSNZBWEgnMgkAaooWcXVii1lBkP2zZrw0zKLd9DUOcPpjWScDvXteA1S bW3Y+h7mNBQoE/maRi877W8IbuSQAYAT6TfN5FfbrtsbMgQaPYLAkhCkE4Ha7+DfUT ve1gKt4QknMk0xe0Vmi5ldzdsvd21qEjBj7TjmMZRZ0pUvPkQCjBbcbdbwYBht0IKD B6u+0AVYt1DlQ== 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 loading the Java-related modules when only the guix package is required. --- gnu/packages/icu4c.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gnu/packages/icu4c.scm b/gnu/packages/icu4c.scm index 94a72fac15..ec4fa8354e 100644 --- a/gnu/packages/icu4c.scm +++ b/gnu/packages/icu4c.scm @@ -27,9 +27,10 @@ (define-module (gnu packages icu4c) #:use-module (gnu packages) - #:use-module (gnu packages java) - #:use-module (gnu packages perl) - #:use-module (gnu packages python) + #:autoload (gnu packages java) + (java-junit java-junitparams java-hamcrest-core) + #:use-module (gnu packages perl) ; required by "guix build -d guix" + #:use-module (gnu packages python) ; required by "guix build -d guix" #:use-module (guix gexp) #:use-module (guix licenses) #:use-module (guix packages)