[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
151/163: gnu: Add diffutils-mesboot 2.7.
From: |
Jan Nieuwenhuizen |
Subject: |
151/163: gnu: Add diffutils-mesboot 2.7. |
Date: |
Thu, 30 Aug 2018 01:03:40 -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
- 130/163: gnu: %tinycc-seed: Update for mes 0.17., (continued)
- 130/163: gnu: %tinycc-seed: Update for mes 0.17., Jan Nieuwenhuizen, 2018/08/30
- 132/163: gnu: tcc-boot0: Update for mes 0.17., Jan Nieuwenhuizen, 2018/08/30
- 137/163: gnu: tcc-boot: Use gnu-build-system., Jan Nieuwenhuizen, 2018/08/30
- 138/163: gnu: Add %make-static, %make-static-stripped, %make-bootstrap-tarball., Jan Nieuwenhuizen, 2018/08/30
- 144/163: gnu: bootstrap-tarballs: Update inputs for i686-linux., Jan Nieuwenhuizen, 2018/08/30
- 147/163: gnu: %tinycc-seed: Update for mes 0.18. WIP, Jan Nieuwenhuizen, 2018/08/30
- 155/163: Revert "gnu: Add %diffutils-static, %diffutils-static-stripped, %diffutils-bootstrap-tarball.", Jan Nieuwenhuizen, 2018/08/30
- 112/163: gnu: tcc-boot: Package with bootstrap-guile., Jan Nieuwenhuizen, 2018/08/30
- 134/163: gnu: mescc-tools-boot: Use gnu-build-system., Jan Nieuwenhuizen, 2018/08/30
- 149/163: gnu: tcc-boot: Update for mes 0.18. WIP, Jan Nieuwenhuizen, 2018/08/30
- 151/163: gnu: Add diffutils-mesboot 2.7.,
Jan Nieuwenhuizen <=
- 159/163: gcc-mesboot: use package-full-name "-" :-), Jan Nieuwenhuizen, 2018/08/30
- 157/163: Revert "gnu: Add %make-static, %make-static-stripped, %make-bootstrap-tarball.", Jan Nieuwenhuizen, 2018/08/30
- 153/163: bootstrap: Remove dependency on %bootstrap-make, %bootstrap-diffutils., Jan Nieuwenhuizen, 2018/08/30
- 161/163: gnu: make-boot0: Set LOADLIBES for i686-linux., Jan Nieuwenhuizen, 2018/08/30
- 145/163: bootstrap: Integrate mes bootstrap for i686-linux., Jan Nieuwenhuizen, 2018/08/30
- 65/163: gnu: binutils-boot: Update to 2.25., Jan Nieuwenhuizen, 2018/08/30
- 162/163: gnu: Add glibc-mesboot 2.3.6. WIP, Jan Nieuwenhuizen, 2018/08/30
- 68/163: Revert "gnu: binutils-boot: Update to 2.25.", Jan Nieuwenhuizen, 2018/08/30