[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/17: DRAFT: Fix gjs build.
From: |
Mark H. Weaver |
Subject: |
13/17: DRAFT: Fix gjs build. |
Date: |
Mon, 23 Apr 2018 03:07:29 -0400 (EDT) |
mhw pushed a commit to branch reproduce-bug-29774
in repository guix.
commit 87022e2666c5e68e865eb160a4bd8e9cdcc1a955
Author: Mark H Weaver <address@hidden>
Date: Thu Mar 29 21:32:50 2018 -0400
DRAFT: Fix gjs build.
---
gnu/packages/gnome.scm | 20 ++++++++++++++++++--
1 file changed, 18 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index eb63601..bfe3db5 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -79,6 +79,7 @@
#:use-module (gnu packages enchant)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages game-development)
+ #:use-module (gnu packages gcc)
#:use-module (gnu packages gettext)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnupg)
@@ -4614,8 +4615,22 @@ configuration program to choose applications starting on
login.")
"04nkig077r7xq55dxg9v46w8i7p8zkkdyja92yv81grq9fx6apz8"))))
(build-system gnu-build-system)
(arguments
- '(#:phases
+ '(#:configure-flags
+ (list (string-append "CXXFLAGS=-idirafter "
+ (assoc-ref %build-inputs "libc")
+ "/include"))
+ #:phases
(modify-phases %standard-phases
+ (add-after 'set-paths 'adjust-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((libc-includes (string-append (assoc-ref inputs "libc")
+ "/include")))
+ (define (adjust var)
+ (let* ((items (string-split (getenv var) #\:))
+ (items* (delete libc-includes items)))
+ (setenv var (string-join items* ":"))))
+ (adjust "CPLUS_INCLUDE_PATH")
+ #t)))
(add-before
'check 'pre-check
(lambda _
@@ -4633,7 +4648,8 @@ configuration program to choose applications starting on
login.")
((".*expect\\(datestr\\).*") ""))
#t)))))
(native-inputs
- `(("glib:bin" ,glib "bin") ; for glib-compile-resources
+ `(("gcc" ,gcc-7)
+ ("glib:bin" ,glib "bin") ; for glib-compile-resources
("pkg-config" ,pkg-config)
("xmllint" ,libxml2)
;; For testing
- branch reproduce-bug-29774 created (now aa4c57d), Mark H. Weaver, 2018/04/23
- 04/17: gnu: tracker: Use openjpeg-2., Mark H. Weaver, 2018/04/23
- 03/17: LOCAL_ONLY: gnu: emacs: Remove imagemagick from inputs., Mark H. Weaver, 2018/04/23
- 02/17: LOCAL_ONLY: profiles: Use the canonical glibc-utf8-locales to build profiles., Mark H. Weaver, 2018/04/23
- 10/17: TEMPORARY_HACK: Disable tests for e2fsprogs., Mark H. Weaver, 2018/04/23
- 07/17: gnu: golly: More tweaks., Mark H. Weaver, 2018/04/23
- 09/17: BROKEN: gnu: e2fsprogs: Update to 1.44.1., Mark H. Weaver, 2018/04/23
- 12/17: TEMPORARY_HACK: gnu: modem-manager: Update to 1.7.991 [unstable branch!], Mark H. Weaver, 2018/04/23
- 11/17: TEMPORARY_HACK: gnu: python-pygobject: Disable tests., Mark H. Weaver, 2018/04/23
- 08/17: PRELIMINARY: Add support for hibernation., Mark H. Weaver, 2018/04/23
- 13/17: DRAFT: Fix gjs build.,
Mark H. Weaver <=
- 14/17: WIP: gnu: libnl: Use invoke., Mark H. Weaver, 2018/04/23
- 17/17: UNTESTED: records: Detect duplicate field initializers., Mark H. Weaver, 2018/04/23
- 06/17: gnu: golly: Use system lua., Mark H. Weaver, 2018/04/23
- 01/17: Merge branch 'master' into core-updates, Mark H. Weaver, 2018/04/23
- 16/17: DRAFT: gnu: vlc: Update to 3.0.1, and add more inputs., Mark H. Weaver, 2018/04/23
- 05/17: PRELIMINARY: Add celestia., Mark H. Weaver, 2018/04/23
- 15/17: WIP: gnu: Add icedove., Mark H. Weaver, 2018/04/23