[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
211/246: gnu: caribou: Fix build with gcc-14.
From: |
guix-commits |
Subject: |
211/246: gnu: caribou: Fix build with gcc-14. |
Date: |
Sun, 12 Jan 2025 10:21:48 -0500 (EST) |
janneke pushed a commit to branch core-packages-team
in repository guix.
commit f48fb750dbad033dee88af7d62c76bb57b7de8be
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 49966f5db3..d1080f9cbb 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -8439,31 +8439,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)
- 189/246: gnu: libedit: Fix build with gcc-14., (continued)
- 189/246: gnu: libedit: Fix build with gcc-14., guix-commits, 2025/01/12
- 190/246: gnu: ghc-8.0.2: Build with gcc-13., guix-commits, 2025/01/12
- 197/246: gnu: autofs: Update to 5.1.9 and fix build with gcc-14., guix-commits, 2025/01/12
- 193/246: gnu: Add autoconf-2.72., guix-commits, 2025/01/12
- 206/246: gnu: cogl: Fix build with gcc-14., guix-commits, 2025/01/12
- 207/246: gnu: libcdio: Fix build with gcc-14., guix-commits, 2025/01/12
- 202/246: gnu: mplayer: Fix build with gcc-14., guix-commits, 2025/01/12
- 204/246: gnu: sdl-image-1.2.12: Fix build with gcc-14., guix-commits, 2025/01/12
- 201/246: gnu: gtksourceview-3.24.11: Fix build with gcc-14., guix-commits, 2025/01/12
- 203/246: gnu: ffmpeg-3.4.13: Fix build with gcc-14., guix-commits, 2025/01/12
- 211/246: gnu: caribou: Fix build with gcc-14.,
guix-commits <=
- 210/246: gnu: gucharmap: Fix build with gcc-14., guix-commits, 2025/01/12
- 219/246: gnu: gnome-boxes: Fix build with gcc-14., guix-commits, 2025/01/12
- 222/246: gnu: icedtea-8: Fix build with gcc-14., guix-commits, 2025/01/12
- 223/246: gnu: libunwind: Fix build with gcc-14 for i686-linux., guix-commits, 2025/01/12
- 224/246: gnu: freerdp: Fix build with gcc-14., guix-commits, 2025/01/12
- 225/246: gnu: freeipmi: Fix build with gcc-14., guix-commits, 2025/01/12
- 226/246: gnu: openmpi-4: Fix build with gcc-14., guix-commits, 2025/01/12
- 231/246: gnu: beancount: Fix build., guix-commits, 2025/01/12
- 228/246: gnu: netcdf: Fix build with gcc-14., guix-commits, 2025/01/12
- 229/246: gnu: python-bokeh: Fix build., guix-commits, 2025/01/12