* [PATCH] gnu: hurd: Add hurd-core-headers package.
@ 2016-05-24 18:00 Manolis Ragkousis
2016-05-25 21:56 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Manolis Ragkousis @ 2016-05-24 18:00 UTC (permalink / raw)
To: guix-devel
[-- Attachment #1: Type: text/plain, Size: 333 bytes --]
Hello everyone,
This patch already exists in wip-hurd, but this is a modified version
for master. I changed the name to hurd-core-headers instead of
hurd-kernel-headers because the old name implied that the Hurd was a
kernel, which is not, and we should avoid confusion.
If you are okay with it, I will push it to master.
Manolis
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-hurd-Add-hurd-core-headers-package.patch --]
[-- Type: text/x-patch; name="0001-gnu-hurd-Add-hurd-core-headers-package.patch", Size: 2337 bytes --]
From 00e9667898fbe8d81bc2ad374750de8f85e801af Mon Sep 17 00:00:00 2001
From: Manolis Ragkousis <manolis837@gmail.com>
Date: Tue, 24 May 2016 20:42:59 +0300
Subject: [PATCH] gnu: hurd: Add hurd-core-headers package.
* gnu/packages/hurd.scm (hurd-core-headers): New variable.
---
gnu/packages/hurd.scm | 28 +++++++++++++++++++++++++++-
1 file changed, 27 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm
index 7a0a158..8a4d0a3 100644
--- a/gnu/packages/hurd.scm
+++ b/gnu/packages/hurd.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2014, 2015 Manolis Fragkiskos Ragkousis <manolis837@gmail.com>
+;;; Copyright © 2014, 2015, 2016 Manolis Fragkiskos Ragkousis <manolis837@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -22,6 +22,7 @@
#:use-module (guix packages)
#:use-module (gnu packages)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system trivial)
#:use-module (gnu packages flex)
#:use-module (gnu packages bison)
#:use-module (gnu packages perl)
@@ -185,3 +186,28 @@ Library and other user programs.")
"This package provides libihash, needed to build the GNU C
Library for GNU/Hurd.")
(license gpl2+)))
+
+(define-public hurd-core-headers
+ (package
+ (name "hurd-core-headers")
+ (version (package-version hurd-headers))
+ (source #f)
+ (build-system trivial-build-system)
+ (arguments
+ '(#:modules ((guix build union))
+ #:builder (begin
+ (use-modules (ice-9 match)
+ (guix build union))
+ (match %build-inputs
+ (((names . directories) ...)
+ (union-build (assoc-ref %outputs "out")
+ directories))))))
+ (inputs `(("gnumach-headers" ,gnumach-headers)
+ ("hurd-headers" ,hurd-headers)
+ ("hurd-minimal" ,hurd-minimal)))
+ (synopsis "Union of the Hurd headers and libs")
+ (description
+ "A union of the Mach and Hurd headers and the Hurd-minimal package
+which are needed for both glibc and gcc.")
+ (home-page (package-home-page hurd-headers))
+ (license (package-license hurd-headers))))
--
2.8.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] gnu: hurd: Add hurd-core-headers package.
2016-05-24 18:00 [PATCH] gnu: hurd: Add hurd-core-headers package Manolis Ragkousis
@ 2016-05-25 21:56 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2016-05-25 21:56 UTC (permalink / raw)
To: Manolis Ragkousis; +Cc: guix-devel
Manolis Ragkousis <manolis837@gmail.com> skribis:
> From 00e9667898fbe8d81bc2ad374750de8f85e801af Mon Sep 17 00:00:00 2001
> From: Manolis Ragkousis <manolis837@gmail.com>
> Date: Tue, 24 May 2016 20:42:59 +0300
> Subject: [PATCH] gnu: hurd: Add hurd-core-headers package.
>
> * gnu/packages/hurd.scm (hurd-core-headers): New variable.
[...]
> + (inputs `(("gnumach-headers" ,gnumach-headers)
> + ("hurd-headers" ,hurd-headers)
> + ("hurd-minimal" ,hurd-minimal)))
> + (synopsis "Union of the Hurd headers and libs")
s/libs/libraries/
But it’s only libihash and perhaps libstore, right? It’s a bit
surprising to find them in a “headers” package.
> + (description
> + "A union of the Mach and Hurd headers and the Hurd-minimal package
^
“This package contains the union…”
> +which are needed for both glibc and gcc.")
s/gcc/GCC/
OK for master with these changes!
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-05-25 21:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-24 18:00 [PATCH] gnu: hurd: Add hurd-core-headers package Manolis Ragkousis
2016-05-25 21:56 ` Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).