From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 WOjUEhBb+mOqewAAbAwnHQ (envelope-from ) for ; Sat, 25 Feb 2023 20:01:36 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 4Nz0ERBb+mOz7QAAG6o9tA (envelope-from ) for ; Sat, 25 Feb 2023 20:01:36 +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 03C381DA80 for ; Sat, 25 Feb 2023 20:01:36 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pVznO-0003tt-TL; Sat, 25 Feb 2023 14:01:23 -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 1pVzn4-0003IZ-G6 for guix-patches@gnu.org; Sat, 25 Feb 2023 14:01:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pVzn4-0001MK-7J for guix-patches@gnu.org; Sat, 25 Feb 2023 14:01:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pVzn4-00085x-2m; Sat, 25 Feb 2023 14:01:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61790] [PATCH core-updates 1/5] gnu: guile: Remove input labels. References: <20230225185544.5152-1-ludo@gnu.org> In-Reply-To: <20230225185544.5152-1-ludo@gnu.org> Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: andreas@enge.fr, guix-patches@gnu.org Resent-Date: Sat, 25 Feb 2023 19:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61790 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61790@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , andreas@enge.fr X-Debbugs-Original-Xcc: andreas@enge.fr Received: via spool by 61790-submit@debbugs.gnu.org id=B61790.167735164931055 (code B ref 61790); Sat, 25 Feb 2023 19:01:02 +0000 Received: (at 61790) by debbugs.gnu.org; 25 Feb 2023 19:00:49 +0000 Received: from localhost ([127.0.0.1]:41521 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVzmq-00084f-BS for submit@debbugs.gnu.org; Sat, 25 Feb 2023 14:00:49 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51824) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVzmo-00084F-Jq for 61790@debbugs.gnu.org; Sat, 25 Feb 2023 14:00:47 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pVzmi-0001D3-64; Sat, 25 Feb 2023 14:00:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=zTkMcAnWGSyvhB4YSbxKX5Egx5MKSQADg6HuuuQqPlQ=; b=OPr/IhXJOyFDmk dKazUOToDC3XqhQ7QoUqU/jKEqxqm4CHXFAV5y/vrucWB0PhnhVOA6XOJjJIU6ZB8TjLz6qzFlsPZ WTHmpdl65oGbdZ6WUbdWENEPk3DyA9NuR5JI0sie0n5PlfnU+xpKkvKJcTQFW/TSZAxBxyhxx8ffV I5J4fx2oCBdMAYbK5lPfX9VGsLoonhFGYqA+uvszdBeZ0dshHLJc3uBCD0uZMAFtU8rlQ5U1GeYGh 5UQp76wzsuLxVWDQOxnTZYV2rzU4irh/c6ZA2iUEwDkWfFkRs37HnX0RGrUzL7tAb3IP1WE1WYr0O MF5QATNw6N2u9UjkCbPA==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pVzmh-0005iV-NB; Sat, 25 Feb 2023 14:00:39 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Sat, 25 Feb 2023 20:00:26 +0100 Message-Id: <20230225190030.5289-1-ludo@gnu.org> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677351696; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: 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=zTkMcAnWGSyvhB4YSbxKX5Egx5MKSQADg6HuuuQqPlQ=; b=e+ndk8k7xmDd5C5fjg5Pe43Hp65U+/kScK9mZcEN0WJHKJ0JBHuw7DMsO4NZuD9SHK/Zkl b8C6OiOE0SUFfrbahDQU6TmT56rMc8ykrcgnmG8Buic9ej55yEXEW7XZ94tOcWYP8pfHq1 79T19l/tU1pOZq7ErTg4wfcC9mgUv6n+itZ1lf97HdK4isfarOjrsfEwnH5ezZYPJtPG5+ GjYaWhpMfTWKAAV13UnIgr1zlmpyVmL1Gbe1sTqSJnK51UwRZ2YwPBI3aSJ6vn11/9f82P JJvZFS4UBYI1kWYLjxa+1EFa9GUP475V+PbQrGeOhqMoO1ENUqNu9bJ7DMWv8A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="OPr/IhXJ"; dmarc=pass (policy=none) header.from=gnu.org; 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=1677351696; a=rsa-sha256; cv=none; b=OIQnbClQ1nF/quKjBSIlP7oJ5SyjCpxUHAQPnVHFFHZoQdPK72nW7CwJeSmT133WeficC1 0WT1Bt0RrWV49IMM5t/IHSDGIAsGsBvfV/ImCRSyxE6Wx8A0SQj13KoTcmj3IQBq4MlzbT MCOJIyZpnlJiKwjZLcB+AlFAdycJDgjdR+yjGwZZHpYwA/8qjHZ6BoPVr9Nd2BDsv2jsoK SAD6bIDO+H0DC+tbThW5zCrc52mbckVn9mHFV8Iyoyg6ri0oyKhn5OJDcWsmcm7Eqp8/vq j1e6ixRTRWhDq9eAegDM52Iar5yUQbgEHn+0yq3pq9ipTuZjnetCcnYrYvoxGg== X-Spam-Score: -3.08 X-Migadu-Queue-Id: 03C381DA80 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="OPr/IhXJ"; dmarc=pass (policy=none) header.from=gnu.org; 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.08 X-TUID: Q08MydRx2Qou * gnu/packages/base.scm (libiconv-if-needed): Remove input label. * gnu/packages/guile.scm (guile-2.0)[native-inputs, inputs] [propagated-inputs]: Remove labels. (guile-next)[native-inputs]: Change "self" to "guile". (make-guile-readline): Adjust 'inputs' and 'propagated-inputs' accordingly. --- gnu/packages/base.scm | 4 +-- gnu/packages/guile.scm | 60 ++++++++++++++++++++++-------------------- 2 files changed, 33 insertions(+), 31 deletions(-) diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm index 558abf8492..2fcb02ffd9 100644 --- a/gnu/packages/base.scm +++ b/gnu/packages/base.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2012-2022 Ludovic Courtès +;;; Copyright © 2012-2023 Ludovic Courtès ;;; Copyright © 2014, 2019 Andreas Enge ;;; Copyright © 2012 Nikita Karetnikov ;;; Copyright © 2014, 2015, 2016, 2018 Mark H Weaver @@ -1546,7 +1546,7 @@ (define* (libiconv-if-needed #:optional (target (%current-target-system))) ;; POSIX C libraries provide iconv. Platforms with an incomplete libc ;; without iconv, such as MinGW, must return the then clause. (if (target-mingw? target) - `(("libiconv" ,libiconv)) + (list libiconv) '())) (define-public (canonical-package package) diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm index 92658a2d69..c2ffbefeec 100644 --- a/gnu/packages/guile.scm +++ b/gnu/packages/guile.scm @@ -157,32 +157,35 @@ (define-public guile-2.0 (build-system gnu-build-system) ;; When cross-compiling, a native version of Guile itself is needed. - (native-inputs `(,@(if (%current-target-system) - `(("self" ,this-package)) - '()) - ("pkgconfig" ,pkg-config))) - (inputs `(("libffi" ,libffi) - ,@(libiconv-if-needed) + (native-inputs + (append (list pkg-config) + (if (%current-target-system) + (list this-package) + '()))) + (inputs + (append (list libffi) + (libiconv-if-needed) - ;; We need Bash when cross-compiling because some of the scripts - ;; in bin/ refer to it. Use 'bash-minimal' because we don't need - ;; an interactive Bash with Readline and all. - ,@(if (target-mingw?) '() `(("bash" ,bash-minimal))))) + ;; We need Bash when cross-compiling because some of the scripts + ;; in bin/ refer to it. Use 'bash-minimal' because we don't need + ;; an interactive Bash with Readline and all. + (if (target-mingw?) '() (list bash-minimal)))) (propagated-inputs - `( ;; These ones aren't normally needed here, but since `libguile-2.0.la' - ;; reads `-lltdl -lunistring', adding them here will add the needed - ;; `-L' flags. As for why the `.la' file lacks the `-L' flags, see - ;; . - ("libunistring" ,libunistring) + (list + ;; These ones aren't normally needed here, but since `libguile-2.0.la' + ;; reads `-lltdl -lunistring', adding them here will add the needed + ;; `-L' flags. As for why the `.la' file lacks the `-L' flags, see + ;; . + libunistring - ;; Depend on LIBLTDL, not LIBTOOL. That way, we avoid some the extra - ;; dependencies that LIBTOOL has, which is helpful during bootstrap. - ("libltdl" ,libltdl) + ;; Depend on LIBLTDL, not LIBTOOL. That way, we avoid some the extra + ;; dependencies that LIBTOOL has, which is helpful during bootstrap. + libltdl - ;; The headers and/or `guile-2.0.pc' refer to these packages, so they - ;; must be propagated. - ("bdw-gc" ,libgc) - ("gmp" ,gmp))) + ;; The headers and/or `guile-2.0.pc' refer to these packages, so they + ;; must be propagated. + libgc + gmp)) (outputs '("out" "debug")) @@ -247,7 +250,8 @@ (define-public guile-2.0 (license license:lgpl3+))) (define-public guile-2.2 - (package (inherit guile-2.0) + (package + (inherit guile-2.0) (name "guile") (version "2.2.7") (source (origin @@ -453,7 +457,7 @@ (define-public guile-next gnu-gettext texinfo gperf) - (replace "self" this-package))) + (replace "guile" this-package))) (synopsis "Development version of GNU Guile")))) (define* (make-guile-readline guile #:optional (name "guile-readline")) @@ -501,11 +505,9 @@ (define* (make-guile-readline guile #:optional (name "guile-readline")) #t))))) (home-page (package-home-page guile)) (native-inputs (package-native-inputs guile)) - (inputs - `(,@(package-inputs guile) ;to placate 'configure' - ,@(package-propagated-inputs guile) - ("guile" ,guile) - ("readline" ,readline))) + (propagated-inputs (package-propagated-inputs guile)) + (inputs (modify-inputs (package-inputs guile) + (prepend guile readline))) (synopsis "Line editing support for GNU Guile") (description "This module provides line editing support via the Readline library for -- 2.39.1