[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/36: gnu: hurd: Build DDE libraries.
From: |
guix-commits |
Subject: |
12/36: gnu: hurd: Build DDE libraries. |
Date: |
Fri, 24 Apr 2020 08:14:08 -0400 (EDT) |
janneke pushed a commit to branch wip-hurd-vm
in repository guix.
commit 10738b98b5e0f8c9706a2d4b699787ddd3a1e6fd
Author: Ricardo Wurmus <address@hidden>
AuthorDate: Sat Apr 11 14:05:32 2020 +0200
gnu: hurd: Build DDE libraries.
* gnu/packages/hurd.scm (hurd)[native-inputs]: Add "dde-sources".
[inputs]: Add libpciaccess.
[arguments]: Add phase "prepare-dde".
---
gnu/packages/hurd.scm | 31 ++++++++++++++++++++++++++++++-
1 file changed, 30 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm
index 90e39a2..88af75c 100644
--- a/gnu/packages/hurd.scm
+++ b/gnu/packages/hurd.scm
@@ -4,6 +4,7 @@
;;; Copyright © 2020 Efraim Flashner <address@hidden>
;;; Copyright © 2020 Marius Bakke <address@hidden>
;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <address@hidden>
+;;; Copyright © 2020 Ricardo Wurmus <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -40,6 +41,7 @@
#:use-module (gnu packages base)
#:use-module (gnu packages bash)
#:use-module (gnu packages texinfo)
+ #:use-module (gnu packages xorg) ; libpciaccess
#:use-module (guix git-download)
#:export (hurd-system?
hurd-target?
@@ -362,6 +364,19 @@ boot, since this cannot be done from GNU/Linux."
(arguments
`(#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'prepare-dde
+ (lambda* (#:key native-inputs inputs #:allow-other-keys)
+ (substitute* "Makefile"
+ (("libbpf ")
+ "libbpf libmachdev libmachdevdde libddekit"))
+ (for-each make-file-writable (find-files "."))
+ (let ((dde (or (assoc-ref inputs "dde-sources")
+ (assoc-ref native-inputs "dde-sources"))))
+ (for-each (lambda (dir)
+ (copy-recursively
+ (string-append dde "/" dir ) dir))
+ '("libmachdev" "libmachdevdde" "libddekit")))
+ #t))
(add-before 'build 'pre-build
(lambda _
;; Don't change the ownership of any file at this time.
@@ -471,6 +486,7 @@ fsysopts / --writable\n"))
("libgcrypt" ,libgcrypt) ;for /hurd/random
("libdaemon" ,libdaemon) ;for /bin/console --daemonize
("unifont" ,unifont)
+ ("libpciaccess" ,libpciaccess)
;; Tools for the /libexec/* scripts.
("bash-minimal" ,bash-minimal)
@@ -491,7 +507,20 @@ fsysopts / --writable\n"))
(arguments `(#:system "i686-linux")))
mig))
("perl" ,perl)
- ("texinfo" ,texinfo-4)))
+ ("texinfo" ,texinfo-4)
+ ("dde-sources"
+ ;; This is the current tip of the dde branch
+ ,(let ((commit "ac1c7eb7a8b24b7469bed5365be38a968d59a136"))
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.savannah.gnu.org/git/hurd/incubator.git")
+ (commit commit)))
+ (sha256
+ (base32
+ "1vryinbg75xpydfrv9dbgfnds6knlh8l8bk2rxp32y9dc58z0692"))
+ (file-name (string-append "dde-checkout-"
+ (string-take commit 7))))))))
(supported-systems %hurd-systems)
(home-page "https://www.gnu.org/software/hurd/hurd.html")
(synopsis "The kernel servers for the GNU operating system")
- branch wip-hurd-vm created (now 6c9efcd), guix-commits, 2020/04/24
- 04/36: gnu: guix: Do not copy bootstrap-guile when cross-compiling., guix-commits, 2020/04/24
- 01/36: compile: Pre-load the compiler outside 'with-target'., guix-commits, 2020/04/24
- 09/36: gnu: guix: Cross-build fix: override compressors., guix-commits, 2020/04/24
- 07/36: gnu: guix: Cross-build fixup for wrap-program., guix-commits, 2020/04/24
- 05/36: gnu: guix: Indent `copy-bootstrap-guile' code., guix-commits, 2020/04/24
- 06/36: gnu: guix: Cross-build workaround: Run native guile for version., guix-commits, 2020/04/24
- 14/36: gnu: hurd: Use default Qemu guest ip: 10.0.2.15., guix-commits, 2020/04/24
- 10/36: gnu: guix: Run `make update-guix-package'., guix-commits, 2020/04/24
- 11/36: vm: Make the device node procedure a parameter., guix-commits, 2020/04/24
- 12/36: gnu: hurd: Build DDE libraries.,
guix-commits <=
- 17/36: gnu: hurd: Add NFS support., guix-commits, 2020/04/24
- 19/36: system: hurd: Add less, which to %base-packages/hurd., guix-commits, 2020/04/24
- 03/36: gnu: guix: Apply courage for the Hurd., guix-commits, 2020/04/24
- 15/36: gnu: Add dde-sources., guix-commits, 2020/04/24
- 16/36: gnu: Add netdde., guix-commits, 2020/04/24
- 13/36: gnu: hurd: Fix references to /bin/w., guix-commits, 2020/04/24
- 18/36: gnu: Add libtirpc/hurd., guix-commits, 2020/04/24
- 23/36: services: Add hurd-ttys-service-type., guix-commits, 2020/04/24
- 21/36: services: Add hurd., guix-commits, 2020/04/24
- 24/36: services: Add hurd-user-services-service-type., guix-commits, 2020/04/24