From patchwork Fri Jun 16 03:03:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 50955 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 4E7B527BBEA; Fri, 16 Jun 2023 04:04:15 +0100 (BST) 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_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,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 E0BAA27BBE2 for ; Fri, 16 Jun 2023 04:04:13 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q9zks-0006Au-HE; Thu, 15 Jun 2023 23:04:06 -0400 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 1q9zkr-0006AS-4B for guix-patches@gnu.org; Thu, 15 Jun 2023 23:04:05 -0400 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 1q9zkq-0001P2-Sa for guix-patches@gnu.org; Thu, 15 Jun 2023 23:04:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q9zkn-0002oC-Tm; Thu, 15 Jun 2023 23:04:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64091] [guix-past] gnu: Add bakefile. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, rekado@elephly.net, andreas.enge@inria.fr, guix-patches@gnu.org Resent-Date: Fri, 16 Jun 2023 03:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64091 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 64091@debbugs.gnu.org Cc: Maxim Cournoyer , efraim@flashner.co.il, rekado@elephly.net, andreas.enge@inria.fr X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: efraim@flashner.co.il, rekado@elephly.net, andreas.enge@inria.fr Received: via spool by submit@debbugs.gnu.org id=B.168688462710773 (code B ref -1); Fri, 16 Jun 2023 03:04:01 +0000 Received: (at submit) by debbugs.gnu.org; 16 Jun 2023 03:03:47 +0000 Received: from localhost ([127.0.0.1]:48288 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q9zkZ-0002nh-64 for submit@debbugs.gnu.org; Thu, 15 Jun 2023 23:03:47 -0400 Received: from lists.gnu.org ([209.51.188.17]:59930) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q9zkX-0002nZ-6M for submit@debbugs.gnu.org; Thu, 15 Jun 2023 23:03:45 -0400 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 1q9zkW-00069R-Qm for guix-patches@gnu.org; Thu, 15 Jun 2023 23:03:44 -0400 Received: from mail-qk1-x733.google.com ([2607:f8b0:4864:20::733]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q9zkU-0001Hw-VK for guix-patches@gnu.org; Thu, 15 Jun 2023 23:03:44 -0400 Received: by mail-qk1-x733.google.com with SMTP id af79cd13be357-7622a5f0998so23130185a.0 for ; Thu, 15 Jun 2023 20:03:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686884622; x=1689476622; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=99ojyqckbL9xZWm50oJara/v4kFbx6ioT+MbtnVXiT8=; b=CjHwFinZjIy4U5OvscwTsfneaQt4wJ0PdHn8Arw1fntqpqZUdkPBMLKLNblXC54VW6 ViebfFNK/Dj1thjWgpIbP3Nd8HAZYFv5g9VYIS2M09iqU9guMS2TBKWLb5G26+Va2s8x HZJ76XLodb0Dhvqip+IInFveRAjdJZbDudiN7l797A2DAo9cbV+rEgEWOzfvnoNktf6h qbK/OLI9rDC0rYj7xFPvaUxG4UQWOtflZZ/a/PHiYvwpp0GN0xd489JnQckINpkS1nzV lvW3zkm2ZdImRjvuZ+pSwUxvANef+d2cV7DkmAaeONe8Gjg8gKpcPgDm6dEIgQSlU3Wx wr3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686884622; x=1689476622; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=99ojyqckbL9xZWm50oJara/v4kFbx6ioT+MbtnVXiT8=; b=N3EgJv+XW4VbHwmAe5eZHrSst+J4ZCayeR5E1q4b8HwMnhPMDSfvLMR+hrskiKP7n2 pbEuhw3CZVO9hir8MykQzx/sgCXyOrGpydCehq0BWcvpgDk3wjRpctDKi8le1zTnjVBg WotSql/8Zo+C5Pv/VUhqC/DAYPoJI5yr1U/jJNj2VsovFgfKJqLAEveLxbvWXRzMgKvf +J9HhSrnfGp+9Tg38gDoxitzWTChy/0kb6GflhVe8PblGPzAp4RCmaNzx1e2nuSkNVeX qlg2DmRGthPXsmNcTfZIR9Vz2leoc3nIz/AQH3KNPxOKUe5yO4zPrU4T3dLBkiyGXpHH 77+w== X-Gm-Message-State: AC+VfDyO1dZq6jnRoJCGDNvUaRy+gTA0KGgC6Jg1rbG+tr6GWRiNjk6B Ryj+6uA7OoqljiUec1a62cg3HTBCKa+0Og== X-Google-Smtp-Source: ACHHUZ6rYuqDvJBU8ZfTnJsErbr16wCBigUXMA/i3x9tQPY8DL1vqgsFRdKMOZ+zN3xKyPsW86EbJQ== X-Received: by 2002:a05:620a:28c6:b0:762:212a:9f75 with SMTP id l6-20020a05620a28c600b00762212a9f75mr547707qkp.33.1686884621755; Thu, 15 Jun 2023 20:03:41 -0700 (PDT) Received: from localhost.localdomain (dsl-151-250.b2b2c.ca. [66.158.151.250]) by smtp.gmail.com with ESMTPSA id k4-20020a05620a142400b0075ceca53e84sm6040606qkj.15.2023.06.15.20.03.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Jun 2023 20:03:41 -0700 (PDT) From: Maxim Cournoyer Date: Thu, 15 Jun 2023 23:03:26 -0400 Message-Id: <20230616030326.13653-1-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::733; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qk1-x733.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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 * modules/past/packages/build-tools.scm: New file. --- modules/past/packages/build-tools.scm | 67 +++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 modules/past/packages/build-tools.scm base-commit: 3b663890f53510fa268ae606dd62ca8a2afc5a1a diff --git a/modules/past/packages/build-tools.scm b/modules/past/packages/build-tools.scm new file mode 100644 index 0000000..01cd42a --- /dev/null +++ b/modules/past/packages/build-tools.scm @@ -0,0 +1,67 @@ +;;; Guix Past --- Functional package management for GNU Guix. +;;; Copyright © 2023 Maxim Cournoyer +;;; +;;; This file is part of Guix Past. +;;; +;;; Guix Past is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; Guix Past is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with Guix Past. If not, see . + +(define-module (past packages build-tools) + #:use-module (guix build-system gnu) + #:use-module (guix gexp) + #:use-module (guix git-download) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (gnu packages autotools) + #:use-module (gnu packages docbook) + #:use-module (gnu packages python) + #:use-module (gnu packages swig) + #:use-module (gnu packages xml)) + +(define-public bakefile + (package + (name "bakefile") + ;; XXX: Use the "legacy" branch, which is still used and supported by + ;; wxWidgets, *and* has a proper build system (Autotools) and no bundled + ;; jar. + (version "0.2.13") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/vslavik/bakefile") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1mx3i4lywri9vg7p89r9768gjzqi752zjcrg9nzipgdj0r28yq8l")) + ;; Clean up the source from random binaries. + (snippet '(delete-file "build/mac-python2.3.tar.gz")))) + (build-system gnu-build-system) + (arguments (list #:configure-flags #~(list "--enable-maintainer-mode"))) + ;; No Python 3 support on the horizon (see: + ;; https://github.com/vslavik/bakefile/issues/109). + (native-inputs + (list autoconf + automake + docbook-xml-4.1.2 + docbook-xsl + libtool + libxml2 ;for XML_CATALOG_FILES + libxslt + python-2 + swig)) + (home-page "https://bakefile.org/") + (synopsis "Native makefiles generator") + (description "Bakefile takes compiler-independent description of build +tasks as its input and outputs native makefile(s) such as that of GNU Make, +Visual C++ project, etc.") + (license license:expat)))