[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
197/290: gnu: caribou: Fix build with gcc-14.
From: |
guix-commits |
Subject: |
197/290: gnu: caribou: Fix build with gcc-14. |
Date: |
Wed, 26 Mar 2025 18:37:42 -0400 (EDT) |
janneke pushed a commit to branch core-packages-team
in repository guix.
commit 7c72f81f7b7f02ca6144738382ee1edf184e80b0
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 1f8972cd75..1ae3cce32a 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -8556,31 +8556,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)
- 279/290: gnu: guile: Add GUILE_EXTENSIONS_PATH to native-search-paths., (continued)
- 279/290: gnu: guile: Add GUILE_EXTENSIONS_PATH to native-search-paths., guix-commits, 2025/03/26
- 86/290: gnu: jamvm-1-bootstrap: Fix build with gcc-14., guix-commits, 2025/03/26
- 129/290: gnu: Add icu4c-71., guix-commits, 2025/03/26
- 137/290: gnu: texlive-bin: Fix build with gcc-14., guix-commits, 2025/03/26
- 150/290: gnu: libjxr: Fix build with gcc-14., guix-commits, 2025/03/26
- 154/290: gnu: cura-engine: Fix build with gcc-14., guix-commits, 2025/03/26
- 184/290: gnu: telepathy-glib: Fix build with gcc-14., guix-commits, 2025/03/26
- 186/290: gnu: vorbis-tools: Fix build with gcc-14., guix-commits, 2025/03/26
- 190/290: gnu: sdl-image-1.2.12: Fix build with gcc-14., guix-commits, 2025/03/26
- 192/290: gnu: cogl: Fix build with gcc-14., guix-commits, 2025/03/26
- 197/290: gnu: caribou: Fix build with gcc-14.,
guix-commits <=
- 200/290: gnu: gsequencer: Update to 7.4.12; fixes build with gcc-14., guix-commits, 2025/03/26
- 202/290: gnu: gnome-recipes: Fix build with gcc-14., guix-commits, 2025/03/26
- 207/290: gnu: cheese: Fix build with gcc-14., guix-commits, 2025/03/26
- 210/290: gnu: freerdp: Fix build with gcc-14., guix-commits, 2025/03/26
- 214/290: gnu: netcdf: Fix build with gcc-14., guix-commits, 2025/03/26
- 215/290: gnu: gcc: Update gcc, gcc-toolchain, libgccjit to 14., guix-commits, 2025/03/26
- 217/290: gnu: clang-runtime-18: Build with gcc-12., guix-commits, 2025/03/26
- 221/290: gnu: gettext: Update to 0.23.1., guix-commits, 2025/03/26
- 226/290: gnu: glibc: Update to 2.40., guix-commits, 2025/03/26
- 231/290: gnu: libatomic-ops: Update to 7.8.2., guix-commits, 2025/03/26