From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:700:3204::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id KOXSJJwXmGWmBgAAkFu2QA (envelope-from ) for ; Fri, 05 Jan 2024 15:52:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id yAaDHJwXmGXiGAEAe85BDQ (envelope-from ) for ; Fri, 05 Jan 2024 15:52:12 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704466332; 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; bh=l7Pq5fuMn4XBxQRod6IocR20jnfuaqUTkUWH0c4knK8=; b=G4/EKjaO32UoLIyYokblVyQwFjznyD9Wf3sihDsWAOv6Q7/PrOuvGxHqMce7+JUPJXP+kB t8ma341Ipepbk7hZz/TK71n2ZYLF3S+q74RjbkghxnlIheeo+iudV/cCa7rTN/T2xOl16q TWD4K++niNCt8QD/t0ZaNfQ3nlma7qrVL1h/Qrvqnt2K9CUaldgC0zJyPDlEJebphxf1qv 1OcKVsGH/74g5UbrPHdu2Pihv2Gfwa9gsI57wCN0VYNIIRWIeWrC8Tcj7o6F9DE+DfoTX7 Q6jzbbYH6Vo5oL1672K3dvCirL6HAnYxrv4U6xu/NYh7AAFFU03X8H5/x77v8A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704466332; a=rsa-sha256; cv=none; b=HiNMY56k1hsi62T+nGmF1WdKBULTvGxUubQ1EQFjvjYQH/6rEv2+obAVJmjShahZ8dORPq HPCIdVriQ2wtXODgMC1jo6K4/hCJNQRf57tpAEbLreDM1HorYAO5rMcSay347IPMOPrePv QHdK7Ggkfj/GbIIiyHAgRsydni2QlMtcTwVm/VATgvkso4MWY0n0c2PP19YMmWKpnaok4u sGw7+axFOdSu2IFNShitOXbeiUlR1TVUhu61RhfYxD7K+xVJBRf3JnCX/86gfaDtGcpqdM trYxl2Xqa5cZjo9fQqvmrR+j4Q+Euh8CgcN5FYi1nz+120zYpGoUKJTzJjNNxg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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"; dmarc=none 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 F029E58063 for ; Fri, 5 Jan 2024 15:52:11 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rLlYG-0002sl-A9; Fri, 05 Jan 2024 09:52:00 -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 1rLlYE-0002o5-J1 for guix-patches@gnu.org; Fri, 05 Jan 2024 09:51:58 -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 1rLlYE-0000hf-6N for guix-patches@gnu.org; Fri, 05 Jan 2024 09:51:58 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rLlYH-0007sr-NG; Fri, 05 Jan 2024 09:52:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68263] [PATCH 2/2] gnu: fwupd: Depend on libsmbios only on supported systems. Resent-From: Simon South Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, vagrant@debian.org, guix-patches@gnu.org Resent-Date: Fri, 05 Jan 2024 14:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68263 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68263@debbugs.gnu.org Cc: Efraim Flashner , Vagrant Cascadian X-Debbugs-Original-Xcc: Efraim Flashner , Vagrant Cascadian Received: via spool by 68263-submit@debbugs.gnu.org id=B68263.170446627130219 (code B ref 68263); Fri, 05 Jan 2024 14:52:01 +0000 Received: (at 68263) by debbugs.gnu.org; 5 Jan 2024 14:51:11 +0000 Received: from localhost ([127.0.0.1]:56745 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rLlXS-0007rL-U5 for submit@debbugs.gnu.org; Fri, 05 Jan 2024 09:51:11 -0500 Received: from mailout.easymail.ca ([64.68.200.34]:33960) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rLlXP-0007qs-3h for 68263@debbugs.gnu.org; Fri, 05 Jan 2024 09:51:09 -0500 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 2E641E5835 for <68263@debbugs.gnu.org>; Fri, 5 Jan 2024 14:50:57 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo08-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo08-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iUw1G4UdjmEp for <68263@debbugs.gnu.org>; Fri, 5 Jan 2024 14:50:56 +0000 (UTC) Received: from jupiter.smallsystems.net (23-233-96-210.cpe.pppoe.ca [23.233.96.210]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id D8463E54CA for <68263@debbugs.gnu.org>; Fri, 5 Jan 2024 14:50:56 +0000 (UTC) From: Simon South Date: Fri, 5 Jan 2024 09:50:41 -0500 Message-ID: <45f369ba488116d0845966373c8ef03752dbc624.1704463873.git.simon@simonsouth.net> X-Mailer: git-send-email 2.41.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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.97 X-Spam-Score: -4.97 X-Migadu-Queue-Id: F029E58063 X-Migadu-Scanner: mx11.migadu.com X-TUID: dO0PAy6LkjMw * gnu/packages/firmware.scm (fwupd)[inputs]: Add libsmbios conditionally. Change-Id: Id34135b180f5ee6e7abd2fd4eb10e0d3c6308e06 --- gnu/packages/firmware.scm | 34 +++++++++++++++++++--------------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm index 5cebf515bf..c3e6d20987 100644 --- a/gnu/packages/firmware.scm +++ b/gnu/packages/firmware.scm @@ -283,21 +283,25 @@ (define-public fwupd `(,glib "bin") help2man gettext-minimal)) - (inputs (list bash-completion - libgudev - libxmlb - sqlite - polkit - eudev - libelf - tpm2-tss - cairo - efivar - pango - protobuf-c - mingw-w64-tools - libsmbios - gnu-efi)) + (inputs (append (list bash-completion + libgudev + libxmlb + sqlite + polkit + eudev + libelf + tpm2-tss + cairo + efivar + pango + protobuf-c + mingw-w64-tools + gnu-efi) + (if (supported-package? libsmbios + (or (%current-target-system) + (%current-system))) + (list libsmbios) + '()))) ;; In Requires of fwupd*.pc. (propagated-inputs (list curl gcab -- 2.41.0