[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/07: gnu: mescc-tools: Update to 1.2.0.
From: |
guix-commits |
Subject: |
03/07: gnu: mescc-tools: Update to 1.2.0. |
Date: |
Mon, 26 Jul 2021 07:36:40 -0400 (EDT) |
civodul pushed a commit to branch core-updates
in repository guix.
commit 114a9f1f803b53bd295c44b3719c1ed5dd288e40
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Sun Jul 25 22:24:21 2021 +0200
gnu: mescc-tools: Update to 1.2.0.
Fixes <https://issues.guix.gnu.org/49515>.
* gnu/packages/mes.scm (mescc-tools-0.5.2): Remove.
(mescc-tools): Update to 1.2.0. Use 'git-fetch'.
* gnu/packages/make-bootstrap.scm (%mescc-tools-static): Inherit from
MESCC-TOOLS rather than MESCC-TOOLS-0.5.2.
(%mes-minimal): Inherit from MES rather than MES-0.19.
[arguments]: Remove 'delete-file-recursively' for /mes/scaffold.
---
gnu/packages/make-bootstrap.scm | 7 ++--
gnu/packages/mes.scm | 89 ++++++++++++++---------------------------
2 files changed, 32 insertions(+), 64 deletions(-)
diff --git a/gnu/packages/make-bootstrap.scm b/gnu/packages/make-bootstrap.scm
index 32542f6..9f4f5bb 100644
--- a/gnu/packages/make-bootstrap.scm
+++ b/gnu/packages/make-bootstrap.scm
@@ -585,11 +585,11 @@ for `sh' in $PATH, and without nscd, and with static NSS
modules."
(define %mescc-tools-static
;; A statically linked MesCC Tools.
(package
- (inherit mescc-tools-0.5.2)
+ (inherit mescc-tools)
(name "mescc-tools-static")
(arguments
`(#:system "i686-linux"
- ,@(substitute-keyword-arguments (package-arguments mescc-tools-0.5.2)
+ ,@(substitute-keyword-arguments (package-arguments mescc-tools)
((#:make-flags flags)
`(cons "CC=gcc -static" ,flags)))))))
@@ -624,7 +624,7 @@ for `sh' in $PATH, and without nscd, and with static NSS
modules."
(define-public %mes-minimal
;; A minimal Mes without documentation.
(package
- (inherit mes-0.19)
+ (inherit mes)
(name "mes-minimal")
(native-inputs
`(("guile" ,guile-2.2)))
@@ -641,7 +641,6 @@ for `sh' in $PATH, and without nscd, and with static NSS
modules."
(share (string-append out "/share")))
(delete-file-recursively (string-append out "/lib/guile"))
(delete-file-recursively (string-append share "/guile"))
- (delete-file-recursively (string-append share "/mes/scaffold"))
(for-each delete-file
(find-files
diff --git a/gnu/packages/mes.scm b/gnu/packages/mes.scm
index ebaf4f5..71083b5 100644
--- a/gnu/packages/mes.scm
+++ b/gnu/packages/mes.scm
@@ -164,7 +164,7 @@ parsers to allow execution with Guile as extension
languages.")))
"15h4yhaywdc0djpjlin2jz1kzahpqxfki0r0aav1qm9nxxmnp1l0"))))
(build-system gnu-build-system)
(supported-systems '("i686-linux" "x86_64-linux"))
- (propagated-inputs (list mescc-tools-0.5.2 nyacc-0.86))
+ (propagated-inputs (list mescc-tools nyacc-0.86))
(native-inputs
`(("guile" ,guile-2.2)
,@(let ((target-system (or (%current-target-system)
@@ -295,69 +295,38 @@ Guile.")
(lambda _
(invoke "sh" "install.sh"))))))))
-(define-public mescc-tools-0.5.2
- ;; Mescc-tools used for bootstrap.
- (let ((commit "bb062b0da7bf2724ca40f9002b121579898d4ef7")
- (revision "0")
- (version "0.5.2"))
- (package
- (name "mescc-tools")
- (version (git-version version revision commit))
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://git.savannah.nongnu.org/r/mescc-tools.git")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1nc6rnax66vmhqsjg0kgx23pihdcxmww6v325ywf59vsq1jqjvff"))))
- (build-system gnu-build-system)
- (supported-systems '("i686-linux" "x86_64-linux"))
- (arguments
- `(#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs
"out")))
- #:test-target "test"
- #:phases (modify-phases %standard-phases
- (delete 'configure))))
- (synopsis "Tools for the full source bootstrapping process")
- (description
- "Mescc-tools is a collection of tools for use in a full source
-bootstrapping process. It consists of the M1 macro assembler, the hex2
-linker, the blood-elf symbol table generator, the kaem shell, exec_enable and
-get_machine.")
- (home-page "https://savannah.nongnu.org/projects/mescc-tools")
- (license gpl3+))))
-
(define-public mescc-tools
(package
- (inherit mescc-tools-0.5.2)
(name "mescc-tools")
- (version "0.7.0")
- (source
- (origin
- (method url-fetch)
- (uri (string-append
- "http://git.savannah.nongnu.org/cgit/mescc-tools.git/snapshot/"
- name "-Release_" version
- ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "1p1ijia4rm3002f5sypidl9v5gq0mlch9b0n61rpxkdsaaxjqax3"))))
- (supported-systems '("armhf-linux" "aarch64-linux"
- "i686-linux" "x86_64-linux"))
+ (version "1.2.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.savannah.nongnu.org/r/mescc-tools.git")
+ (commit (string-append "Release_" version))
+ (recursive? #t))) ;for M2libc
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1xkn5sspfxldy4wm8fq8gd8kwn46578zhfl12c16pq74x21zb198"))))
+ (build-system gnu-build-system)
+ (supported-systems '("i686-linux" "x86_64-linux"
+ "armhf-linux" "aarch64-linux"
+ "powerpc64le-linux"))
(arguments
- (substitute-keyword-arguments (package-arguments mescc-tools-0.5.2)
- ((#:make-flags _)
- `(list (string-append "PREFIX=" (assoc-ref %outputs "out"))
- "CC=gcc"))
- ((#:phases phases)
- `(modify-phases ,phases
- (add-after 'unpack 'patch-prefix
- (lambda _
- (substitute* "sha256.sh"
- (("/usr/bin/sha256sum") (which "sha256sum")))
- #t))))))))
+ `(#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
+ #:test-target "test"
+ #:phases (modify-phases %standard-phases
+ (delete 'configure))))
+ (native-inputs (list which))
+ (synopsis "Tools for the full source bootstrapping process")
+ (description
+ "Mescc-tools is a collection of tools for use in a full source
+bootstrapping process. It consists of the M1 macro assembler, the hex2
+linker, the blood-elf symbol table generator, the kaem shell, exec_enable and
+get_machine.")
+ (home-page "https://savannah.nongnu.org/projects/mescc-tools")
+ (license gpl3+)))
(define-public m2-planet
(package
- branch core-updates updated (0236013 -> e2690a8), guix-commits, 2021/07/26
- 06/07: gnu: mes-minimal-stripped: Explicitly disallow references., guix-commits, 2021/07/26
- 04/07: gnu: mes: Switch to Guile 3.0., guix-commits, 2021/07/26
- 03/07: gnu: mescc-tools: Update to 1.2.0.,
guix-commits <=
- 07/07: gnu: mes-rb5: Remove., guix-commits, 2021/07/26
- 05/07: gnu: mes: Remove 0.19., guix-commits, 2021/07/26
- 02/07: gnu: m2-planet: Update to 1.8.0., guix-commits, 2021/07/26
- 01/07: gnu: mes-minimal: Remove unused variable., guix-commits, 2021/07/26