GNU bug report logs - #64091
[guix-past] gnu: Add bakefile.

Previous Next

Package: guix-patches;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Fri, 16 Jun 2023 03:04:01 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: 64091 <at> debbugs.gnu.org
Cc: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>, efraim <at> flashner.co.il, rekado <at> elephly.net, andreas.enge <at> inria.fr
Subject: [bug#64091] [guix-past] gnu: Add bakefile.
Date: Thu, 15 Jun 2023 23:03:26 -0400
* 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

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 <maxim.cournoyer <at> gmail.com>
+;;;
+;;; 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 <http://www.gnu.org/licenses/>.
+
+(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)))

base-commit: 3b663890f53510fa268ae606dd62ca8a2afc5a1a
-- 
2.40.1





This bug report was last modified 2 years and 30 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.