mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
distro: Switch to Linux-Libre.
* distro/packages/base.scm (linux-headers): Rename to... (linux-libre-headers): ... this. Change `name', `source', and `description', and `home-page' accordingly. Update users. (linux-headers-boot0): Rename to... (linux-libre-headers-boot0): ... this. Update users.
This commit is contained in:
parent
ac5aa28889
commit
124b17673b
1 changed files with 16 additions and 16 deletions
|
@ -1256,8 +1256,8 @@ (define-public guile-2.0
|
||||||
(home-page "http://www.gnu.org/software/guile/")
|
(home-page "http://www.gnu.org/software/guile/")
|
||||||
(license "LGPLv3+")))
|
(license "LGPLv3+")))
|
||||||
|
|
||||||
(define-public linux-headers
|
(define-public linux-libre-headers
|
||||||
(let* ((version* "3.3.5")
|
(let* ((version* "3.3.8")
|
||||||
(build-phase
|
(build-phase
|
||||||
'(lambda* (#:key outputs #:allow-other-keys)
|
'(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(setenv "ARCH" "x86_64") ; XXX
|
(setenv "ARCH" "x86_64") ; XXX
|
||||||
|
@ -1276,16 +1276,16 @@ (define-public linux-headers
|
||||||
(lambda (p)
|
(lambda (p)
|
||||||
(format p "~a-default~%" ,version*))))))))
|
(format p "~a-default~%" ,version*))))))))
|
||||||
(package
|
(package
|
||||||
(name "linux-headers")
|
(name "linux-libre-headers")
|
||||||
(version version*)
|
(version version*)
|
||||||
(source (origin ; TODO: use Linux-Libre
|
(source (origin
|
||||||
(method http-fetch)
|
(method http-fetch)
|
||||||
(uri (string-append
|
(uri (string-append
|
||||||
"http://www.kernel.org/pub/linux/kernel/v3.x/linux-"
|
"http://linux-libre.fsfla.org/pub/linux-libre/releases/3.3.8-gnu/linux-libre-"
|
||||||
version ".tar.xz"))
|
version "-gnu.tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0i74jn47f6vs5kcvk8abvz3k08z32c9bbqw0sdjkdxwvr4jbczpv"))))
|
"0jkfh0z1s6izvdnc3njm39dhzp1cg8i06jv06izwqz9w9qsprvnl"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(native-inputs `(("perl" ,perl)))
|
(native-inputs `(("perl" ,perl)))
|
||||||
(arguments
|
(arguments
|
||||||
|
@ -1298,10 +1298,10 @@ (define-public linux-headers
|
||||||
'install ,install-phase
|
'install ,install-phase
|
||||||
(alist-delete 'configure %standard-phases)))
|
(alist-delete 'configure %standard-phases)))
|
||||||
#:tests? #f))
|
#:tests? #f))
|
||||||
(description "Linux kernel headers")
|
(description "GNU Linux-Libre kernel headers")
|
||||||
(long-description "Headers of the Linux kernel.")
|
(long-description "Headers of the Linux-Libre kernel.")
|
||||||
(license "GPLv2")
|
(license "GPLv2")
|
||||||
(home-page "http://kernel.org/"))))
|
(home-page "http://www.gnu.org/software/linux-libre/"))))
|
||||||
|
|
||||||
(define-public glibc
|
(define-public glibc
|
||||||
(package
|
(package
|
||||||
|
@ -1318,7 +1318,7 @@ (define-public glibc
|
||||||
|
|
||||||
;; Glibc's <limits.h> refers to <linux/limit.h>, for instance, so glibc
|
;; Glibc's <limits.h> refers to <linux/limit.h>, for instance, so glibc
|
||||||
;; users should automatically pull Linux headers as well.
|
;; users should automatically pull Linux headers as well.
|
||||||
(propagated-inputs `(("linux-headers" ,linux-headers)))
|
(propagated-inputs `(("linux-headers" ,linux-libre-headers)))
|
||||||
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:out-of-source? #t
|
`(#:out-of-source? #t
|
||||||
|
@ -1636,11 +1636,11 @@ (define gcc-boot0
|
||||||
("libc-native" ,@(assoc-ref %boot0-inputs "libc"))
|
("libc-native" ,@(assoc-ref %boot0-inputs "libc"))
|
||||||
,@(alist-delete "libc" %boot0-inputs)))))
|
,@(alist-delete "libc" %boot0-inputs)))))
|
||||||
|
|
||||||
(define linux-headers-boot0
|
(define linux-libre-headers-boot0
|
||||||
(package (inherit linux-headers)
|
(package (inherit linux-libre-headers)
|
||||||
(arguments `(#:guile ,%bootstrap-guile
|
(arguments `(#:guile ,%bootstrap-guile
|
||||||
#:implicit-inputs? #f
|
#:implicit-inputs? #f
|
||||||
,@(package-arguments linux-headers)))
|
,@(package-arguments linux-libre-headers)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(let ((perl (package-with-explicit-inputs perl
|
(let ((perl (package-with-explicit-inputs perl
|
||||||
%boot0-inputs
|
%boot0-inputs
|
||||||
|
@ -1682,8 +1682,8 @@ (define-public glibc-final
|
||||||
;; native compiler. See also
|
;; native compiler. See also
|
||||||
;; <http://sourceware.org/ml/libc-alpha/2012-03/msg00325.html>.
|
;; <http://sourceware.org/ml/libc-alpha/2012-03/msg00325.html>.
|
||||||
"--disable-obsolete-rpc")
|
"--disable-obsolete-rpc")
|
||||||
,flags))))))
|
,flags))))))
|
||||||
(propagated-inputs `(("linux-headers" ,linux-headers-boot0)))
|
(propagated-inputs `(("linux-headers" ,linux-libre-headers-boot0)))
|
||||||
(inputs `(;; A native GCC is needed to build `cross-rpcgen'.
|
(inputs `(;; A native GCC is needed to build `cross-rpcgen'.
|
||||||
("native-gcc" ,@(assoc-ref %boot0-inputs "gcc"))
|
("native-gcc" ,@(assoc-ref %boot0-inputs "gcc"))
|
||||||
,@%boot1-inputs))))
|
,@%boot1-inputs))))
|
||||||
|
|
Loading…
Reference in a new issue