From b6e5e1b738d39792ed597bf6d04603a63b85aee2 Mon Sep 17 00:00:00 2001 From: Federico Beffa Date: Tue, 13 Jan 2015 08:29:06 +0100 Subject: gnu: eudev: Update to 2.1.1. * gnu/packages/linux.scm (eudev): Update to 2.1.1. --- gnu/packages/linux.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/linux.scm') diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 972c5891b1..952b9d1dc5 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -1429,7 +1429,7 @@ (define-public eudev ;; The post-systemd fork, maintained by Gentoo. (package (name "eudev") - (version "1.10") + (version "2.1.1") (source (origin (method url-fetch) (uri (string-append @@ -1437,7 +1437,7 @@ (define-public eudev version ".tar.gz")) (sha256 (base32 - "1l907bvz6dcykvaq8d4iklvfpb9fyrnh1a29g3c28gkx2hlyn7j0")) + "0shf5vqiz9fdxl95aa1a8vh0xjxwim3psc39wr2xr8lnahf11vva")) (patches (list (search-patch "eudev-rules-directory.patch"))) (modules '((guix build utils))) (snippet -- cgit v1.2.3 From 31aa437987e325808b7ed308601c4615c395e3f8 Mon Sep 17 00:00:00 2001 From: Federico Beffa Date: Tue, 13 Jan 2015 16:25:29 +0100 Subject: gnu: eudev: Add pre-build phase. * gnu/packages/linux.scm (eudev): Add 'pre-build phase to fix compilation with 'gobject-introspection' 1.42.0. --- gnu/packages/linux.scm | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'gnu/packages/linux.scm') diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 952b9d1dc5..d48a8e9633 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -3,6 +3,7 @@ ;;; Copyright © 2013, 2014 Andreas Enge ;;; Copyright © 2012 Nikita Karetnikov ;;; Copyright © 2014, 2015 Mark H Weaver +;;; Copyright © 2015 Federico Beffa ;;; ;;; This file is part of GNU Guix. ;;; @@ -1474,7 +1475,18 @@ (define-public eudev ;; Work around undefined reference to ;; 'mq_getattr' in sc-daemon.c. - "LDFLAGS=-lrt"))) + "LDFLAGS=-lrt") + #:phases + (alist-cons-before + 'build 'pre-build + ;; The program 'g-ir-scanner' (part of the package + ;; 'gobject-introspection'), to generate .gir files, makes some + ;; library pre-processing. During that phase it looks for the C + ;; compiler as either 'cc' or as defined by the environment variable + ;; 'CC' (with code in 'giscanner/dumper.py'). + (lambda* _ + (setenv "CC" "gcc")) + %standard-phases))) (home-page "http://www.gentoo.org/proj/en/eudev/") (synopsis "Userspace device management") (description "Udev is a daemon which dynamically creates and removes -- cgit v1.2.3