[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
151/211: gnu: Add diffutils-mesboot 2.7.
From: |
Jan Nieuwenhuizen |
Subject: |
151/211: gnu: Add diffutils-mesboot 2.7. |
Date: |
Sat, 8 Sep 2018 11:09:47 -0400 (EDT) |
janneke pushed a commit to branch wip-bootstrap
in repository guix.
commit ffe2af2bba41a48fc273234fdf04031607a0d8be
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 6c21ab8..bbb470c 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
- 95/211: gnu: binutils-boot: Update to 2.20.1a., (continued)
- 95/211: gnu: binutils-boot: Update to 2.20.1a., Jan Nieuwenhuizen, 2018/09/08
- 186/211: gnu: gcc-mesboot0: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 175/211: gnu: glibc-mesboot: Remove %bootstrap-glibc., Jan Nieuwenhuizen, 2018/09/08
- 187/211: gnu: make-mesboot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 178/211: gnu: tcc-boot0: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 164/211: gnu: Add gcc-mesboot-wrapper 4.7.4., Jan Nieuwenhuizen, 2018/09/08
- 167/211: gnu: gcc-mesboot: Enable c++ too., Jan Nieuwenhuizen, 2018/09/08
- 152/211: gnu: make-mesboot: Update to 3.80., Jan Nieuwenhuizen, 2018/09/08
- 144/211: gnu: bootstrap-tarballs: Update inputs for i686-linux., Jan Nieuwenhuizen, 2018/09/08
- 91/211: gnu: gcc-core-boot: Install libgcc2.a too., Jan Nieuwenhuizen, 2018/09/08
- 151/211: gnu: Add diffutils-mesboot 2.7.,
Jan Nieuwenhuizen <=
- 168/211: gnu: gcc-mesboot-wrapper: Wrap g++ too., Jan Nieuwenhuizen, 2018/09/08
- 200/211: gnu: findutils-boot0: Remove bootstrap leaks., Jan Nieuwenhuizen, 2018/09/08
- 176/211: mescc-tools-boot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 166/211: gnu: file-boot0: Do not strip binaries or validate-runpath., Jan Nieuwenhuizen, 2018/09/08
- 124/211: gnu: gcc-core-mesboot: Revise dependencies., Jan Nieuwenhuizen, 2018/09/08
- 161/211: gnu: make-boot0: Set LOADLIBES for i686-linux., Jan Nieuwenhuizen, 2018/09/08
- 97/211: gnu: gcc-boot: build with %cheat-binutils?, Jan Nieuwenhuizen, 2018/09/08
- 107/211: gnu: Add gcc-mesboot 4.1.0., Jan Nieuwenhuizen, 2018/09/08
- 156/211: Revert "gnu: Add %bootstrap-make.", Jan Nieuwenhuizen, 2018/09/08
- 149/211: gnu: tcc-boot: Update for mes 0.17.1., Jan Nieuwenhuizen, 2018/09/08