diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2021-07-25 22:24:21 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2021-07-26 13:24:28 +0200 |
| commit | 114a9f1f803b53bd295c44b3719c1ed5dd288e40 (patch) | |
| tree | 3ad5fc3131b8031265e8678faa46bd0ff55837d2 /gnu | |
| parent | 0b9da8b5a2dd9bcb2800d60751eb462e3000fa73 (diff) | |
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.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/make-bootstrap.scm | 7 | ||||
| -rw-r--r-- | 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 32542f6da78..9f4f5bb4af5 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." | |||
| 585 | (define %mescc-tools-static | 585 | (define %mescc-tools-static |
| 586 | ;; A statically linked MesCC Tools. | 586 | ;; A statically linked MesCC Tools. |
| 587 | (package | 587 | (package |
| 588 | (inherit mescc-tools-0.5.2) | 588 | (inherit mescc-tools) |
| 589 | (name "mescc-tools-static") | 589 | (name "mescc-tools-static") |
| 590 | (arguments | 590 | (arguments |
| 591 | `(#:system "i686-linux" | 591 | `(#:system "i686-linux" |
| 592 | ,@(substitute-keyword-arguments (package-arguments mescc-tools-0.5.2) | 592 | ,@(substitute-keyword-arguments (package-arguments mescc-tools) |
| 593 | ((#:make-flags flags) | 593 | ((#:make-flags flags) |
| 594 | `(cons "CC=gcc -static" ,flags))))))) | 594 | `(cons "CC=gcc -static" ,flags))))))) |
| 595 | 595 | ||
| @@ -624,7 +624,7 @@ for `sh' in $PATH, and without nscd, and with static NSS modules." | |||
| 624 | (define-public %mes-minimal | 624 | (define-public %mes-minimal |
| 625 | ;; A minimal Mes without documentation. | 625 | ;; A minimal Mes without documentation. |
| 626 | (package | 626 | (package |
| 627 | (inherit mes-0.19) | 627 | (inherit mes) |
| 628 | (name "mes-minimal") | 628 | (name "mes-minimal") |
| 629 | (native-inputs | 629 | (native-inputs |
| 630 | `(("guile" ,guile-2.2))) | 630 | `(("guile" ,guile-2.2))) |
| @@ -641,7 +641,6 @@ for `sh' in $PATH, and without nscd, and with static NSS modules." | |||
| 641 | (share (string-append out "/share"))) | 641 | (share (string-append out "/share"))) |
| 642 | (delete-file-recursively (string-append out "/lib/guile")) | 642 | (delete-file-recursively (string-append out "/lib/guile")) |
| 643 | (delete-file-recursively (string-append share "/guile")) | 643 | (delete-file-recursively (string-append share "/guile")) |
| 644 | (delete-file-recursively (string-append share "/mes/scaffold")) | ||
| 645 | 644 | ||
| 646 | (for-each delete-file | 645 | (for-each delete-file |
| 647 | (find-files | 646 | (find-files |
diff --git a/gnu/packages/mes.scm b/gnu/packages/mes.scm index ebaf4f547df..71083b50615 100644 --- a/gnu/packages/mes.scm +++ b/gnu/packages/mes.scm | |||
| @@ -164,7 +164,7 @@ parsers to allow execution with Guile as extension languages."))) | |||
| 164 | "15h4yhaywdc0djpjlin2jz1kzahpqxfki0r0aav1qm9nxxmnp1l0")))) | 164 | "15h4yhaywdc0djpjlin2jz1kzahpqxfki0r0aav1qm9nxxmnp1l0")))) |
| 165 | (build-system gnu-build-system) | 165 | (build-system gnu-build-system) |
| 166 | (supported-systems '("i686-linux" "x86_64-linux")) | 166 | (supported-systems '("i686-linux" "x86_64-linux")) |
| 167 | (propagated-inputs (list mescc-tools-0.5.2 nyacc-0.86)) | 167 | (propagated-inputs (list mescc-tools nyacc-0.86)) |
| 168 | (native-inputs | 168 | (native-inputs |
| 169 | `(("guile" ,guile-2.2) | 169 | `(("guile" ,guile-2.2) |
| 170 | ,@(let ((target-system (or (%current-target-system) | 170 | ,@(let ((target-system (or (%current-target-system) |
| @@ -295,69 +295,38 @@ Guile.") | |||
| 295 | (lambda _ | 295 | (lambda _ |
| 296 | (invoke "sh" "install.sh")))))))) | 296 | (invoke "sh" "install.sh")))))))) |
| 297 | 297 | ||
| 298 | (define-public mescc-tools-0.5.2 | ||
| 299 | ;; Mescc-tools used for bootstrap. | ||
| 300 | (let ((commit "bb062b0da7bf2724ca40f9002b121579898d4ef7") | ||
| 301 | (revision "0") | ||
| 302 | (version "0.5.2")) | ||
| 303 | (package | ||
| 304 | (name "mescc-tools") | ||
| 305 | (version (git-version version revision commit)) | ||
| 306 | (source (origin | ||
| 307 | (method git-fetch) | ||
| 308 | (uri (git-reference | ||
| 309 | (url "https://git.savannah.nongnu.org/r/mescc-tools.git") | ||
| 310 | (commit commit))) | ||
| 311 | (file-name (git-file-name name version)) | ||
| 312 | (sha256 | ||
| 313 | (base32 | ||
| 314 | "1nc6rnax66vmhqsjg0kgx23pihdcxmww6v325ywf59vsq1jqjvff")))) | ||
| 315 | (build-system gnu-build-system) | ||
| 316 | (supported-systems '("i686-linux" "x86_64-linux")) | ||
| 317 | (arguments | ||
| 318 | `(#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))) | ||
| 319 | #:test-target "test" | ||
| 320 | #:phases (modify-phases %standard-phases | ||
| 321 | (delete 'configure)))) | ||
| 322 | (synopsis "Tools for the full source bootstrapping process") | ||
| 323 | (description | ||
| 324 | "Mescc-tools is a collection of tools for use in a full source | ||
| 325 | bootstrapping process. It consists of the M1 macro assembler, the hex2 | ||
| 326 | linker, the blood-elf symbol table generator, the kaem shell, exec_enable and | ||
| 327 | get_machine.") | ||
| 328 | (home-page "https://savannah.nongnu.org/projects/mescc-tools") | ||
| 329 | (license gpl3+)))) | ||
| 330 | |||
| 331 | (define-public mescc-tools | 298 | (define-public mescc-tools |
| 332 | (package | 299 | (package |
| 333 | (inherit mescc-tools-0.5.2) | ||
| 334 | (name "mescc-tools") | 300 | (name "mescc-tools") |
| 335 | (version "0.7.0") | 301 | (version "1.2.0") |
| 336 | (source | 302 | (source (origin |
| 337 | (origin | 303 | (method git-fetch) |
| 338 | (method url-fetch) | 304 | (uri (git-reference |
| 339 | (uri (string-append | 305 | (url "https://git.savannah.nongnu.org/r/mescc-tools.git") |
| 340 | "http://git.savannah.nongnu.org/cgit/mescc-tools.git/snapshot/" | 306 | (commit (string-append "Release_" version)) |
| 341 | name "-Release_" version | 307 | (recursive? #t))) ;for M2libc |
| 342 | ".tar.gz")) | 308 | (file-name (git-file-name name version)) |
| 343 | (file-name (string-append name "-" version ".tar.gz")) | 309 | (sha256 |
| 344 | (sha256 | 310 | (base32 |
| 345 | (base32 | 311 | "1xkn5sspfxldy4wm8fq8gd8kwn46578zhfl12c16pq74x21zb198")))) |
| 346 | "1p1ijia4rm3002f5sypidl9v5gq0mlch9b0n61rpxkdsaaxjqax3")))) | 312 | (build-system gnu-build-system) |
| 347 | (supported-systems '("armhf-linux" "aarch64-linux" | 313 | (supported-systems '("i686-linux" "x86_64-linux" |
| 348 | "i686-linux" "x86_64-linux")) | 314 | "armhf-linux" "aarch64-linux" |
| 315 | "powerpc64le-linux")) | ||
| 349 | (arguments | 316 | (arguments |
| 350 | (substitute-keyword-arguments (package-arguments mescc-tools-0.5.2) | 317 | `(#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))) |
| 351 | ((#:make-flags _) | 318 | #:test-target "test" |
| 352 | `(list (string-append "PREFIX=" (assoc-ref %outputs "out")) | 319 | #:phases (modify-phases %standard-phases |
| 353 | "CC=gcc")) | 320 | (delete 'configure)))) |
| 354 | ((#:phases phases) | 321 | (native-inputs (list which)) |
| 355 | `(modify-phases ,phases | 322 | (synopsis "Tools for the full source bootstrapping process") |
| 356 | (add-after 'unpack 'patch-prefix | 323 | (description |
| 357 | (lambda _ | 324 | "Mescc-tools is a collection of tools for use in a full source |
| 358 | (substitute* "sha256.sh" | 325 | bootstrapping process. It consists of the M1 macro assembler, the hex2 |
| 359 | (("/usr/bin/sha256sum") (which "sha256sum"))) | 326 | linker, the blood-elf symbol table generator, the kaem shell, exec_enable and |
| 360 | #t)))))))) | 327 | get_machine.") |
| 328 | (home-page "https://savannah.nongnu.org/projects/mescc-tools") | ||
| 329 | (license gpl3+))) | ||
| 361 | 330 | ||
| 362 | (define-public m2-planet | 331 | (define-public m2-planet |
| 363 | (package | 332 | (package |
