From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id AMTvLbkvTWWeIgAAauVa8A:P1 (envelope-from ) for ; Thu, 09 Nov 2023 20:15:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id AMTvLbkvTWWeIgAAauVa8A (envelope-from ) for ; Thu, 09 Nov 2023 20:15:05 +0100 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 6FA7D11A7C for ; Thu, 9 Nov 2023 20:15:05 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=WapV8Knc; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1699557305; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=1h1g/AZcxuM9XBy28eqA00yvvx1I6CXHb8w/1Pq3J60=; b=LOtDtqEPClYI5t8rjEq4MHnQATCvrpuFcz0XYnDKY2VF3OxXnS3bkg0JQpBHORc2dofaWK qwdJ0fzR/Jwjx16PIo3liLWRhUkbq9qh0PSX7aqggFkddWAUczcB27hrX9Jl4sCP/eXxiY zJmgrQEovy2ryhrbCHvcXc43g6biUz8p952wv1arN+/pRll0oOKwBSi3lku68lBM3NAEKD IzYHKq5xFu5TWs65BnCGL5LDZVqCMkzmzzXna2bYfVrwnJFDxfHtTk2G1sHIvuXG/qFRXf U/09rGFOHvx3Wq19SZGOK98e5/T4J7m66horTzxxIxGXSX6VqLx+XhcxSEngjg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=WapV8Knc; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1699557305; a=rsa-sha256; cv=none; b=A8mqoHySn63u70pRidJgRGxBSNjfjy2TNPAcS/5wrhfDzZvSUFq2wNoujBw24xC7/bC9FY LK6YHnDOyjAgPXP9VQL3ozJqXIV7fJNyG5OlVa5Df/oN4YBUbX47B232VUkO6WteZcoclW G6Agjd7ZNnTPJJXd4A19a1xy14s6lvGuGiT2EsEKt7oGbumK6ebjmcIA13ex0Lo2ZlqZEH q2KXxhFYQ/vzngZObn3CC4P/eVRw+aUaHQ8atdAuRKmcCuc9ykRKRj9MUCAkmdSeI7hsnw uu0L1GAu6RS1YhWGsM9ygpgD7v9ZgJcQlbGf5gBhxo/Y4rZwOmdzaAMzkuiOCw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r1AUD-000417-KP; Thu, 09 Nov 2023 14:14:42 -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 1r1ATv-0003rG-Of for guix-patches@gnu.org; Thu, 09 Nov 2023 14:14:28 -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 1r1ATv-0002Cm-A4 for guix-patches@gnu.org; Thu, 09 Nov 2023 14:14:23 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r1AUY-0005pK-IV for guix-patches@gnu.org; Thu, 09 Nov 2023 14:15:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67026] [PATCH 2/3] gnu: java-openjfx-graphics: Make java-swt optional. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 09 Nov 2023 19:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67026 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67026@debbugs.gnu.org Received: via spool by 67026-submit@debbugs.gnu.org id=B67026.169955724822303 (code B ref 67026); Thu, 09 Nov 2023 19:15:02 +0000 Received: (at 67026) by debbugs.gnu.org; 9 Nov 2023 19:14:08 +0000 Received: from localhost ([127.0.0.1]:48758 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r1ATg-0005ne-IP for submit@debbugs.gnu.org; Thu, 09 Nov 2023 14:14:08 -0500 Received: from lepiller.eu ([2a00:5884:8208::1]:42472 helo=hermes.lepiller.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r1ATY-0005mb-Oi for 67026@debbugs.gnu.org; Thu, 09 Nov 2023 14:14:04 -0500 Received: from hermes.lepiller.eu (localhost [127.0.0.1]) by hermes.lepiller.eu (OpenSMTPD) with ESMTP id 2361c6ab for <67026@debbugs.gnu.org>; Thu, 9 Nov 2023 19:13:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=dkim; bh=kxZwUG/cxqj2gm3aLWQnZDfJr bDxKNmzAAwuwMhNtEA=; b=WapV8Knce1jMztdVR4U8S6TBRBx9y6T036DNRnCTC hN5y5IpxrLU3aaZR5Ki/I/oquli2espo2THyhoCOngU6O0eDNEOOCqu6GIytEa3y ikiG9qAkchIjVBfQqz4d4rQK5EwbgMZB4nVs2Updt0jzo58L+JbM4Sza8vfKPPRJ K34xTgOqAhmxu+9BwUbe0KYcYN/f4dV9huUu9ySJUhA7mInuWABtFBxxDYVGe6ej 3ou2CDxy2buP5mnfOKcqpRc/94wAm1SZHdR7Hh6rTkDYLvvQInFK8BvgDTmrok3A ogfY5u9wFXcJjzMHAFqwNGRx904dxcWNj4PTprmCySSLA== Received: by hermes.lepiller.eu (OpenSMTPD) with ESMTPSA id b7e57fdc (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for <67026@debbugs.gnu.org>; Thu, 9 Nov 2023 19:13:16 +0000 (UTC) From: Julien Lepiller Date: Thu, 9 Nov 2023 20:13:08 +0100 Message-ID: <20231109191309.6876-2-julien@lepiller.eu> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231109191309.6876-1-julien@lepiller.eu> References: <20231109191309.6876-1-julien@lepiller.eu> 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 4.39 X-Spam-Score: 4.39 X-Migadu-Queue-Id: 6FA7D11A7C X-Migadu-Scanner: mx10.migadu.com X-TUID: qG/ZzlXK36UN It is used for an optional part of openjfx and not used by current packages in Guix. Swt has a reference to a library in the JDK and has a huge closure size because of that. This reduces closure by 1GB for this package and dependents (including josm). * gnu/packages/java.scm (java-openjfx-graphics)[native-inputs]: Move java-swt... [inputs]: ...to here. Change-Id: I7d8cb14569d5a9f451944695225a2dff143bf190 --- gnu/packages/java.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index eded386a03..d73550c042 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -2311,7 +2311,9 @@ (define-public java-openjfx-graphics (string-append target new-name)))) (find-files "netbeans" "\\.so$")))))))) (propagated-inputs - (list java-openjfx-base java-swt)) + (list java-openjfx-base)) + (inputs + (list java-swt)) ;; XXX: for unknown reasons ;; modules/graphics/src/main/native-prism-sw/JNativeSurface.c is missing ;; in this revision. -- 2.41.0