[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/10: gnu: gtksheet: Fix build.
From: |
guix-commits |
Subject: |
04/10: gnu: gtksheet: Fix build. |
Date: |
Thu, 21 Oct 2021 17:57:29 -0400 (EDT) |
rekado pushed a commit to branch core-updates-frozen
in repository guix.
commit fc15512be494156f2ded624def679e2d1cc6cee7
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Oct 21 15:58:06 2021 +0000
gnu: gtksheet: Fix build.
* gnu/packages/gtk.scm (gtksheet)[arguments]: Pass -fcommon option to GCC;
rename phase 'rename-type to 'patch-for-compatibility and update a reference
to a renamed macro.
---
gnu/packages/gtk.scm | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 4b95392..2199c3b 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -2853,7 +2853,8 @@ library for drawing.")
(build-system gnu-build-system)
(arguments
`(#:configure-flags (list "--enable-glade"
- "--enable-introspection")
+ "--enable-introspection"
+ "CFLAGS=-fcommon")
#:phases
(modify-phases %standard-phases
;; The "configure" script is present, but otherwise the project is
@@ -2863,11 +2864,14 @@ library for drawing.")
(lambda _
(delete-file "configure")
#t))
- (add-after 'unpack 'rename-type
+ (add-after 'unpack 'patch-for-compatibility
(lambda _
(substitute* "glade/glade-gtksheet-editor.c"
(("GladeEditableIface") "GladeEditableInterface"))
- #t))
+ ;; Glade 3.37 renamed the macro GWA_GET_CLASS to
+ ;; GLADE_WIDGET_ADAPTOR_GET_ADAPTOR_CLASS.
+ (substitute* "glade/glade-gtksheet-editor.c"
+ (("GWA_GET_CLASS") "GLADE_WIDGET_ADAPTOR_GET_ADAPTOR_CLASS"))))
;; Fix glade install directories.
(add-before 'bootstrap 'configure-glade-directories
(lambda* (#:key outputs #:allow-other-keys)
- branch core-updates-frozen updated (727f05e -> bcad95d), guix-commits, 2021/10/21
- 01/10: gnu: peek: Add missing input., guix-commits, 2021/10/21
- 04/10: gnu: gtksheet: Fix build.,
guix-commits <=
- 05/10: gnu: geda-gaf: Update to 1.10.2., guix-commits, 2021/10/21
- 06/10: gnu: lepton-eda: Pass -fcommon., guix-commits, 2021/10/21
- 02/10: gnu: gerbv: Fix linker error by adding -fcommon to CFLAGS., guix-commits, 2021/10/21
- 03/10: gnu: gxtuner: Add phase to target specific glib API version., guix-commits, 2021/10/21
- 07/10: gnu: texlive-lh: Install more files., guix-commits, 2021/10/21
- 10/10: gnu: lilypond: Remove trailing #t from build phases., guix-commits, 2021/10/21
- 08/10: gnu: pdfpc: Update to 4.5.0., guix-commits, 2021/10/21
- 09/10: gnu: lilypond: Fix build with Ghostscript 9.54., guix-commits, 2021/10/21