From patchwork Mon Dec 13 06:00:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philip McGrath X-Patchwork-Id: 495 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 5EA5427BBEA; Mon, 13 Dec 2021 06:03:19 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,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 2DC6B27BBE9 for ; Mon, 13 Dec 2021 06:03:18 +0000 (GMT) Received: from localhost ([::1]:39408 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mweQe-0000p2-UP for patchwork@mira.cbaines.net; Mon, 13 Dec 2021 01:03:16 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40682) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mweQQ-0000nK-3p for guix-patches@gnu.org; Mon, 13 Dec 2021 01:03:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42155) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mweQP-000748-RU for guix-patches@gnu.org; Mon, 13 Dec 2021 01:03:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mweQP-0002R0-Lv for guix-patches@gnu.org; Mon, 13 Dec 2021 01:03:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v4 00/45] guix: node-build-system: Support compiling add-ons with node-gyp. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 13 Dec 2021 06:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51838 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51838@debbugs.gnu.org Cc: Timothy Sample , Pierre Langlois , Jelle Licht , Philip McGrath , Liliana Marie Prikler Received: via spool by 51838-submit@debbugs.gnu.org id=B51838.16393753299189 (code B ref 51838); Mon, 13 Dec 2021 06:03:01 +0000 Received: (at 51838) by debbugs.gnu.org; 13 Dec 2021 06:02:09 +0000 Received: from localhost ([127.0.0.1]:53676 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mwePZ-0002O8-3i for submit@debbugs.gnu.org; Mon, 13 Dec 2021 01:02:09 -0500 Received: from mail-ua1-f51.google.com ([209.85.222.51]:43951) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mwePU-0002Nd-OA for 51838@debbugs.gnu.org; Mon, 13 Dec 2021 01:02:08 -0500 Received: by mail-ua1-f51.google.com with SMTP id n9so8326944uaq.10 for <51838@debbugs.gnu.org>; Sun, 12 Dec 2021 22:02:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=philipmcgrath.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=bHtKzZxESzm2iXjWnUND/mnhM/iHVNo3pkLp+MLU2HU=; b=V6T26ewsYaVHrYS680YjzalMLye437VKfcVWAuVMcwfAieqcJMT5aKtkhIY66ZbHfw S4sKqLXxNdyQ+7MenJLa7sKyknQl/kt3K1Y++jyB2KJP1Pu2Z54vpm80Jb0zg2WuAjuc AoQzwQzJ3YkXM7KqVBg/oRKO1qKaxNyvsmtPX85xKRb4Fj03l4yzbey3YNGheSZ1aq5t eVx1iR2M/hHyW9OlFJ2haRZJZwTmQbCNZedzvV5KF17rGXHaE+apc2VUtLsjeTcLYM7i 0wAwCitwIR9kjwDkxlib8/PNH/sKhboFo4lMTyRhJTfoR3UKlh+iCRGflGeIpWD+NpCf ooSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=bHtKzZxESzm2iXjWnUND/mnhM/iHVNo3pkLp+MLU2HU=; b=a1u5lFoltbdWfhEmXgFRRlZ9BmjVUiAordNk1oYBomTPlVLyZ3Mhg1MY1eEJuSufZ3 wucGe3NgEZPQq/3p4V7pqiGxx5GK86gJZDwQqJoBUSi2TVte2pFXdIAsqm7gq6NN8zPL SskybSu12cWG8nlE59RSHux/zi0B8qs9f+8oeeMXkp2C8s2rQzaAQBLUXi2NPD13Tssn e4fw7UquOCt4o3S6vw03ksnDND9g60OOw5rtw3II55PGv17VJAr+DmC2Z7vOt2KGvVoS IiwVo33Ke407epL3ISHWyY9Ut+wg2YojObwqBl+06bMYgZCTEN/UZ1SzePkkUI2JeSCc nl4w== X-Gm-Message-State: AOAM532+kHdToukRr8e3yOJqMTuvQcHSuf1M6tx9Ywv38zIBg1WB0/yJ H8Y2G+y010m6IP/RzugA1H/ElSLeWba4PwZjGlE= X-Google-Smtp-Source: ABdhPJyjKS7uhjIXh1kbitlej55J2ufPmSIEmU4/4BRItB7Jr955kWlUvMReUjHqBdlt9OUQvmvuHg== X-Received: by 2002:a67:d58f:: with SMTP id m15mr25298378vsj.34.1639375318981; Sun, 12 Dec 2021 22:01:58 -0800 (PST) Received: from localhost (c-73-125-89-242.hsd1.fl.comcast.net. [73.125.89.242]) by smtp.gmail.com with ESMTPSA id z188sm3564094vsz.12.2021.12.12.22.01.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 12 Dec 2021 22:01:58 -0800 (PST) From: Philip McGrath Date: Mon, 13 Dec 2021 01:00:22 -0500 Message-Id: <20211213060107.129223-1-philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <5c62c3ce-dd50-5dcd-00ed-ff1524be4e0b@philipmcgrath.com> References: <46a042bc08eb72a068b1e8c69bfe28cf2d4b2e53.camel@gmail.com> <20211208202838.752542-1-philip@philipmcgrath.com> <20211208202838.752542-5-philip@philipmcgrath.com> <877dc924h7.fsf@gmx.com> <5c62c3ce-dd50-5dcd-00ed-ff1524be4e0b@philipmcgrath.com> MIME-Version: 1.0 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 Hi! Here is v4 of the patch series: I've also put it up at . -Philip Philip McGrath (45): gnu: node: Avoid duplicating build phases. gnu: node: Update to 10.24.1 for bootstrapping. gnu: node: Patch shebangs in node_modules. gnu: node: Add an npmrc file to set nodedir. guix: node-build-system: Add delete-lockfiles phase. guix: node-build-system: Refactor patch-dependencies phase. guix: node-build-system: Add #:absent-dependencies argument. gnu: node-semver-bootstrap: Use #:absent-dependencies. gnu: node-ms-bootstrap: Use #:absent-dependencies. gnu: node-binary-search-bootstrap: Use #:absent-dependencies. gnu: node-debug-bootstrap: Use #:absent-dependencies. gnu: node-llparse-builder-bootstrap: Use #:absent-dependencies. gnu: node-llparse-frontend-bootstrap: Use #:absent-dependencies. gnu: node-llparse-bootstrap: Use #:absent-dependencies. gnu: node-semver: Use #:absent-dependencies. gnu: node-wrappy: Use #:absent-dependencies. gnu: node-once: Use #:absent-dependencies. gnu: node-irc-colors: Use #:absent-dependencies. gnu: node-irc: Use #:absent-dependencies. guix: node-build-system: Add implicit libuv input. guix: node-build-system: Add avoid-node-gyp-rebuild phase. gnu: Add node-inherits. gnu: Add node-safe-buffer. gnu: Add node-string-decoder. gnu: Add node-readable-stream. gnu: Add node-nan. gnu: Add node-openzwave-shared. gnu: Add node-addon-api. gnu: Add node-sqlite3. gnu: Add node-file-uri-to-path. gnu: Add node-bindings. gnu: Add node-segfault-handler. gnu: Add node-ms. gnu: Add node-debug. gnu: Add node-serialport-binding-abstract. gnu: Add node-serialport-parser-delimiter. gnu: Add node-serialport-parser-readling. gnu: Add node-serialport-bindings. gnu: Add node-serialport-parser-regex. gnu: Add node-serialport-parser-ready. gnu: Add node-serialport-parser-inter-byte-timeout. gnu: Add node-serialport-parser-cctalk. gnu: Add node-serialport-parser-byte-length. gnu: Add node-serialport-stream. gnu: Add node-serialport. gnu/packages/node-xyz.scm | 932 ++++++++++++++++++++++++++++++- gnu/packages/node.scm | 222 ++++---- gnu/packages/zwave.scm | 69 +++ guix/build-system/node.scm | 28 +- guix/build/node-build-system.scm | 129 ++++- 5 files changed, 1225 insertions(+), 155 deletions(-)