all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jean-Pierre De Jesus Diaz <jean@foundation.xyz>
To: 72998@debbugs.gnu.org
Subject: [bug#72998] [PATCH] gnu: ocaml-cairo2: Fix compilation.
Date: Tue, 3 Sep 2024 08:51:01 +0000	[thread overview]
Message-ID: <CAG1gdUqqMvFv-jcJZe2gw8SpoKg=CGeqAtDznYqnqohq0uanPA@mail.gmail.com> (raw)

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




             reply	other threads:[~2024-09-03  8:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-03  8:51 Jean-Pierre De Jesus Diaz [this message]
2024-09-03 10:06 ` [bug#72998] [PATCH] gnu: ocaml-cairo2: Fix compilation 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAG1gdUqqMvFv-jcJZe2gw8SpoKg=CGeqAtDznYqnqohq0uanPA@mail.gmail.com' \
    --to=jean@foundation.xyz \
    --cc=72998@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.