From patchwork Fri Dec 23 22:07:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Denis 'GNUtoo' Carikli X-Patchwork-Id: 1155 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 0738D27BBED; Fri, 23 Dec 2022 22:09:18 +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.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 C656927BBE9 for ; Fri, 23 Dec 2022 22:09:15 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p8qDw-0003FB-7q; Fri, 23 Dec 2022 17:09:04 -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 1p8qDu-0003F1-JY for guix-patches@gnu.org; Fri, 23 Dec 2022 17:09:02 -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 1p8qDu-0002YT-2s for guix-patches@gnu.org; Fri, 23 Dec 2022 17:09:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p8qDt-0002YN-Tb for guix-patches@gnu.org; Fri, 23 Dec 2022 17:09:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60288] [RESEND #2] [PATCH v1 0/2] Start adding ZIM file(s) Resent-From: Denis 'GNUtoo' Carikli Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 23 Dec 2022 22:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60288 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60288@debbugs.gnu.org Cc: Denis 'GNUtoo' Carikli X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16718332829789 (code B ref -1); Fri, 23 Dec 2022 22:09:01 +0000 Received: (at submit) by debbugs.gnu.org; 23 Dec 2022 22:08:02 +0000 Received: from localhost ([127.0.0.1]:39076 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p8qCw-0002Xm-29 for submit@debbugs.gnu.org; Fri, 23 Dec 2022 17:08:02 -0500 Received: from lists.gnu.org ([209.51.188.17]:38228) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p8qCu-0002Xc-3k for submit@debbugs.gnu.org; Fri, 23 Dec 2022 17:08: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 1p8qCt-0003AW-U4 for guix-patches@gnu.org; Fri, 23 Dec 2022 17:07:59 -0500 Received: from cyberdimension.org ([2001:910:1314:ffff::1] helo=gnutoo.cyberdimension.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1p8qCs-0002S5-C6 for guix-patches@gnu.org; Fri, 23 Dec 2022 17:07:59 -0500 Received: from gnutoo.cyberdimension.org (localhost [127.0.0.1]) by cyberdimension.org (OpenSMTPD) with ESMTP id 5f323909; Fri, 23 Dec 2022 22:03:41 +0000 (UTC) Received: from primary_laptop (localhost [::1]) by gnutoo.cyberdimension.org (OpenSMTPD) with ESMTP id ce71ce7d; Fri, 23 Dec 2022 22:03:41 +0000 (UTC) Date: Fri, 23 Dec 2022 23:07:31 +0100 From: Denis 'GNUtoo' Carikli Message-ID: <20221220052349.4965-1-GNUtoo@cyberdimension.org> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.30; i686-pc-linux-gnu) MIME-Version: 1.0 Received-SPF: pass client-ip=2001:910:1314:ffff::1; envelope-from=GNUtoo@cyberdimension.org; helo=gnutoo.cyberdimension.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Hi, Here are two small patches. The first one add #:substitutable? to the copy-build system. I don't know how to check if it works as intended though. It's similar to the commit d0050ea8ad1c32d94cf5ba6725a0fc961bb23f38 ("build-system/go: Add #:substitutable? argument.") so normally it shouldn't be an issue, but if someone can double check it it would be best as it would avoid keeping around substitutes of very big sizes. The second patch adds a ZIM file. I'll most likely send more patches to add additional ZIM files packages (about 10) later on. I prefer doing it this way as it avoids having to deal with potential rebases breaking if there is something wrong with my second patch. Denis 'GNUtoo' Carikli (2): build-system/copy: Add #:substitutable? argument. gnu: Add wikipedia_en_all_maxi gnu/local.mk | 1 + gnu/packages/zim-files.scm | 86 ++++++++++++++++++++++++++++++++++++++ guix/build-system/copy.scm | 4 +- 3 files changed, 90 insertions(+), 1 deletion(-) create mode 100644 gnu/packages/zim-files.scm base-commit: c193b5203b31246a6d74270c8086c45851561947