[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
151/176: gnu: Add diffutils-mesboot 2.7.
From: |
Jan Nieuwenhuizen |
Subject: |
151/176: gnu: Add diffutils-mesboot 2.7. |
Date: |
Fri, 31 Aug 2018 11:20:31 -0400 (EDT) |
janneke pushed a commit to branch wip-bootstrap
in repository guix.
commit 87453f24460375eab20fc075b17020a915e8c053
Author: Jan Nieuwenhuizen <address@hidden>
Date: Mon Aug 27 01:30:02 2018 +0200
gnu: Add diffutils-mesboot 2.7.
* gnu/packages/commencement.scm (diffutils-mesboot): New variable.
---
gnu/packages/commencement.scm | 49 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 6fc37f1..c1f3d32 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -601,6 +601,55 @@
(bin (string-append out "/bin")))
(install-file "make" bin))))))))))
+(define-public diffutils-mesboot
+ (package-with-bootstrap-guile
+ (package
+ (inherit diffutils)
+ (name "diffutils-mesboot")
+ (version "2.7")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://gnu/diffutils/diffutils-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1mirn5i825bn5w7rh6mgn0r8aj9xqanav95dwcl1b8sn82f4iwnm"))))
+ (supported-systems '("i686-linux"))
+ (inputs '())
+ (propagated-inputs '())
+ (native-inputs `(("mes" ,mes-boot)
+ ("tcc" ,tcc-boot)
+
+ ("bash" ,%bootstrap-coreutils&co)
+ ("coreutils" ,%bootstrap-coreutils&co)
+ ("make" ,%bootstrap-make)))
+ (arguments
+ `(#:implicit-inputs? #f
+ #:guile ,%bootstrap-guile
+ ;;FIXME: why doesn't this work?
+ ;;#:make-flags '("PROGRAMS=\"cmp diff\"")
+ #:tests? #f ; check is naive, also checks non-built PROGRAMS
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'configure 'remove-diff3-sdiff
+ (lambda* (#:key outputs #:allow-other-keys)
+ (substitute* "Makefile.in"
+ (("PROGRAMS = .*" all) "PROGRAMS = cmp diff"))))
+ (replace 'configure
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (unsetenv "C_INCLUDE_PATH")
+ (unsetenv "LIBRARY_PATH")
+ (setenv "CONFIG_SHELL" (string-append
+ (assoc-ref %build-inputs "bash")
+ "/bin/sh"))
+ (setenv "CC" "tcc -static")
+ (setenv "CPP" "tcc -E")
+ (zero?
+ (system* "./configure"
+ (string-append "--prefix=" out))))))))))))
+
+
(define-public binutils-mesboot0
(package-with-bootstrap-guile
(package/inherit
- 100/176: gnu: m4:mesboot: Rename from m4-boot., (continued)
- 100/176: gnu: m4:mesboot: Rename from m4-boot., Jan Nieuwenhuizen, 2018/08/31
- 99/176: gnu: Remove binutils-boot0-cheat., Jan Nieuwenhuizen, 2018/08/31
- 91/176: gnu: gcc-core-boot: Install libgcc2.a too., Jan Nieuwenhuizen, 2018/08/31
- 95/176: gnu: binutils-boot: Update to 2.20.1a., Jan Nieuwenhuizen, 2018/08/31
- 104/176: gnu: gcc-mesboot: Rename from gcc-boot., Jan Nieuwenhuizen, 2018/08/31
- 111/176: gnu: m4-mesboot: Package with boostrap-guile., Jan Nieuwenhuizen, 2018/08/31
- 118/176: gnu: mescc-tools-boot: Revise dependencies., Jan Nieuwenhuizen, 2018/08/31
- 128/176: gnu: gcc-mesboot: Revise dependencies., Jan Nieuwenhuizen, 2018/08/31
- 150/176: gnu: Add make-mesboot 3.79., Jan Nieuwenhuizen, 2018/08/31
- 144/176: gnu: bootstrap-tarballs: Update inputs for i686-linux., Jan Nieuwenhuizen, 2018/08/31
- 151/176: gnu: Add diffutils-mesboot 2.7.,
Jan Nieuwenhuizen <=
- 146/176: gnu: %mes-seed: Update for mes 0.18. WIP, Jan Nieuwenhuizen, 2018/08/31
- 152/176: gnu: make-mesboot: Update to 3.80., Jan Nieuwenhuizen, 2018/08/31
- 67/176: Revert "gnu: binutils-boot: Update to 2.30.", Jan Nieuwenhuizen, 2018/08/31
- 106/176: Revert: gnu: binutils-boot0: Inject AR, LD from bootstrap-binaries., Jan Nieuwenhuizen, 2018/08/31
- 156/176: Revert "gnu: Add %bootstrap-make.", Jan Nieuwenhuizen, 2018/08/31
- 133/176: bootstrap: Move mes seeds to bootstrap.scm, Jan Nieuwenhuizen, 2018/08/31
- 122/176: gnu: tcc-boot: Revise dependencies., Jan Nieuwenhuizen, 2018/08/31
- 117/176: gnu: Remove gcc-mesboot-4.1.0., Jan Nieuwenhuizen, 2018/08/31
- 125/176: gnu: glibc-mesboot: Revise dependencies., Jan Nieuwenhuizen, 2018/08/31
- 120/176: gnu: mes-boot: Update to 0.16.1; revise dependencies., Jan Nieuwenhuizen, 2018/08/31