all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#72998] [PATCH] gnu: ocaml-cairo2: Fix compilation.
@ 2024-09-03  8:51 Jean-Pierre De Jesus Diaz
  2024-09-03 10:06 ` Guillaume Le Vaillant via Guix-patches
  0 siblings, 1 reply; 4+ messages in thread
From: Jean-Pierre De Jesus Diaz @ 2024-09-03  8:51 UTC (permalink / raw)
  To: 72998

This fixes the compilation of coq-ide, frama-c and why3.

* gnu/packages/ocaml.scm (ocaml-cairo2): Build only cairo2 dune package,
and remove lablgtk and gtk-2 from inputs.

Change-Id: I8ba1b6bc0bfd8a9dcddf43f34d767e7574ace49a
---
 gnu/packages/ocaml.scm | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 0e357bc891..d8f5eedb9e 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -8401,10 +8401,13 @@ (define-public ocaml-cairo2
                (base32
                 "06ag9b88ihhr7yd3s9l0ac7ysig02fmlmsswybbsvz71ni0mb105"))))
     (build-system dune-build-system)
+    (arguments
+     (list ;; FIXME: lablgtk@2 package does not build, so skip building the
+           ;; cairo-pango and cairo-gtk packages.  Once fixed, add lablgtk
+           ;; back to inputs and remove this.
+           #:package "cairo2"))
     (inputs
-     `(("cairo" ,cairo)
-       ("gtk+-2" ,gtk+-2)
-       ("lablgtk" ,lablgtk)))
+     (list cairo))
     (native-inputs
      (list pkg-config))
     (home-page "https://github.com/Chris00/ocaml-cairo")

base-commit: 3c21d0da62b3d6832dd1ab450d8ab50ab8d38f27
-- 
2.45.2




^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-09-03 11:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-03  8:51 [bug#72998] [PATCH] gnu: ocaml-cairo2: Fix compilation Jean-Pierre De Jesus Diaz
2024-09-03 10:06 ` Guillaume Le Vaillant via Guix-patches
2024-09-03 10:23   ` Jean-Pierre De Jesus Diaz
2024-09-03 11:11     ` bug#72998: " Guillaume Le Vaillant via Guix-patches

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.