From patchwork Fri Feb 14 12:51:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Neidhardt X-Patchwork-Id: 20246 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 EAE1927BBEA; Fri, 14 Feb 2020 12:52:13 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id BC93127BBE4 for ; Fri, 14 Feb 2020 12:52:13 +0000 (GMT) Received: from localhost ([::1]:38128 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j2aS5-0004hm-AT for patchwork@mira.cbaines.net; Fri, 14 Feb 2020 07:52:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42353) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j2aRw-0004fQ-UY for guix-patches@gnu.org; Fri, 14 Feb 2020 07:52:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j2aRv-0006zW-Ow for guix-patches@gnu.org; Fri, 14 Feb 2020 07:52:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54986) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j2aRv-0006xo-Iq for guix-patches@gnu.org; Fri, 14 Feb 2020 07:52:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j2aRu-00071t-Hn for guix-patches@gnu.org; Fri, 14 Feb 2020 07:52:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#39599] [PATCH 0/2] New build system: copy-build-system Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 14 Feb 2020 12:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39599 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 39599@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158168471327003 (code B ref -1); Fri, 14 Feb 2020 12:52:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 Feb 2020 12:51:53 +0000 Received: from localhost ([127.0.0.1]:60959 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2aRk-00071T-Li for submit@debbugs.gnu.org; Fri, 14 Feb 2020 07:51:52 -0500 Received: from lists.gnu.org ([209.51.188.17]:45696) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2aRi-00071L-Ts for submit@debbugs.gnu.org; Fri, 14 Feb 2020 07:51:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42265) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j2aRh-0004ZR-PR for guix-patches@gnu.org; Fri, 14 Feb 2020 07:51:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j2aRg-0006Jh-DQ for guix-patches@gnu.org; Fri, 14 Feb 2020 07:51:49 -0500 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:33407) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j2aRg-0006HH-7t for guix-patches@gnu.org; Fri, 14 Feb 2020 07:51:48 -0500 X-Originating-IP: 92.169.129.147 Received: from bababa.home (lfbn-idf2-1-1315-147.w92-169.abo.wanadoo.fr [92.169.129.147]) (Authenticated sender: mail@ambrevar.xyz) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 8D7AE240006 for ; Fri, 14 Feb 2020 12:51:45 +0000 (UTC) From: Pierre Neidhardt Date: Fri, 14 Feb 2020 13:51:44 +0100 Message-Id: <20200214125144.4185-1-mail@ambrevar.xyz> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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 This build system aims to be a more convenient alternative to the trivial-build-system for packages that only need mere copying around. Since it is based on the gnu-build-system, all packages necessary for archive extraction are already included. The new install-plan argument makes it particularly convenient to install batches of files. See discussion here: https://lists.gnu.org/archive/html/guix-devel/2020-01/msg00485.html. Pierre Neidhardt (2): build-system: Add copy-build-system. gnu: gcide: Use the copy-build-system. Makefile.am | 2 + doc/guix.texi | 57 +++++++++++ gnu/packages/dictionaries.scm | 22 +---- guix/build-system/copy.scm | 145 ++++++++++++++++++++++++++++ guix/build/copy-build-system.scm | 156 +++++++++++++++++++++++++++++++ 5 files changed, 364 insertions(+), 18 deletions(-) create mode 100644 guix/build-system/copy.scm create mode 100644 guix/build/copy-build-system.scm