[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
212/249: gnu: caribou: Fix build with gcc-14.
From: |
guix-commits |
Subject: |
212/249: gnu: caribou: Fix build with gcc-14. |
Date: |
Mon, 6 Jan 2025 07:51:51 -0500 (EST) |
janneke pushed a commit to branch core-packages-team
in repository guix.
commit f03f08ac15c8474c7d6c6aeb91273968d00c5961
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Sun Jan 5 12:07:08 2025 +0100
gnu: caribou: Fix build with gcc-14.
* gnu/packages/gnome.scm (caribou)[arguments]: Use G-Expressions. Add
CFLAGS
to #:configure-flags to relax gcc-14's strictness.
Change-Id: I78bf5b03029112aa17977b2947e5446e90150f11
---
gnu/packages/gnome.scm | 35 +++++++++++++++++------------------
1 file changed, 17 insertions(+), 18 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 5364679208..b9330d2fd0 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -8435,31 +8435,30 @@ Evolution (hence the name), but is now used by other
packages as well.")
"0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
(build-system glib-or-gtk-build-system)
(arguments
- '(#:phases
- (modify-phases %standard-phases
- (add-before
- 'build 'pre-build
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- ;; Use absolute shared library path in Caribou-1.0.typelib.
- (substitute* "libcaribou/Makefile"
- (("--shared-library=libcaribou.so")
- (string-append "--shared-library="
- out "/lib/libcaribou.so")))
- #t)))
+ (list
+ #:configure-flags
+ #~(list "CFLAGS=-g -O2 -Wno-error=incompatible-pointer-types")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before
+ 'build 'pre-build
+ (lambda _
+ ;; Use absolute shared library path in Caribou-1.0.typelib.
+ (substitute* "libcaribou/Makefile"
+ (("--shared-library=libcaribou.so")
+ (string-append "--shared-library="
+ #$output "/lib/libcaribou.so")))))
(add-after 'install 'wrap-programs
(lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (python-path (getenv "GUIX_PYTHONPATH"))
- (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
+ (let ((python-path (getenv "GUIX_PYTHONPATH"))
+ (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
(for-each
(lambda (prog)
(wrap-program prog
`("GUIX_PYTHONPATH" ":" prefix (,python-path))
`("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
- (list (string-append out "/bin/caribou-preferences")
- (string-append out "/libexec/antler-keyboard"))))
- #t)))))
+ (list (string-append #$output "/bin/caribou-preferences")
+ (string-append #$output
"/libexec/antler-keyboard")))))))))
(native-inputs
`(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
("gobject-introspection" ,gobject-introspection)
- 241/249: DRAFT gnu: gcc: Update gcc, gcc-toolchain, libgccjit to 14., (continued)
- 241/249: DRAFT gnu: gcc: Update gcc, gcc-toolchain, libgccjit to 14., guix-commits, 2025/01/06
- 243/249: gnu: clang-runtime-18: Build with gcc-12., guix-commits, 2025/01/06
- 244/249: gnu: clang-runtime-18: Build with gcc-13., guix-commits, 2025/01/06
- 59/249: gnu: libedit: Use -Wno-error= for cross-build., guix-commits, 2025/01/06
- 152/249: gnu: freeipmi: Fix build with gcc-14., guix-commits, 2025/01/06
- 180/249: gnu: perl-tk: Fix build with gcc-14., guix-commits, 2025/01/06
- 187/249: gnu: python-pythran: Update to 0.17.0., guix-commits, 2025/01/06
- 196/249: gnu: xdg-desktop-portal-1.16.0: Fix build., guix-commits, 2025/01/06
- 201/249: gnu: vorbis-tools: Fix build with gcc-14., guix-commits, 2025/01/06
- 206/249: gnu: python-cython-next: Build with gcc-13., guix-commits, 2025/01/06
- 212/249: gnu: caribou: Fix build with gcc-14.,
guix-commits <=
- 215/249: gnu: gsequencer: Update to 7.4.12; fixes build with gcc-14., guix-commits, 2025/01/06
- 220/249: gnu: gnome-boxes: Fix buildi with gcc-14., guix-commits, 2025/01/06
- 232/249: gnu: beancount: Fix build., guix-commits, 2025/01/06
- 231/249: gnu: python-pydantic: Fix build., guix-commits, 2025/01/06
- 238/249: guix: build-system: cmake: Rework cross compilation., guix-commits, 2025/01/06
- 240/249: gexp: Improve support of Unicode characters., guix-commits, 2025/01/06
- 247/249: REMOVEME Revert "gexp: Improve support of Unicode characters." -- avoid world rebuild at this time., guix-commits, 2025/01/06
- 248/249: REMOVEME gnu: python2, pytchon2-minimal: Avoid world rebuild., guix-commits, 2025/01/06
- 191/249: gnu: ghc-8.0.2: Build with gcc-13., guix-commits, 2025/01/06
- 162/249: gnu: cura-engine: Fix build with gcc-14., guix-commits, 2025/01/06