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

* [bug#72998] [PATCH] gnu: ocaml-cairo2: Fix compilation.
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Guillaume Le Vaillant via Guix-patches @ 2024-09-03 10:06 UTC (permalink / raw)
  To: Jean-Pierre De Jesus Diaz; +Cc: 72998

[-- Attachment #1: Type: text/plain, Size: 608 bytes --]

Jean-Pierre De Jesus Diaz <jean@foundation.xyz> skribis:

> 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.
>
> [...]
> +     (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"))

A fix for lablgtk was pushed yesterday in
0aa66ec0b0bef39591ddae3d8d06ac0fa71f03bb, so ocaml-cairo2 should build
now.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

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

* [bug#72998] [PATCH] gnu: ocaml-cairo2: Fix compilation.
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Jean-Pierre De Jesus Diaz @ 2024-09-03 10:23 UTC (permalink / raw)
  To: Guillaume Le Vaillant; +Cc: 72998

Hello,

Sorry for the noise then, didn't notice a fix was already there.

I'm still a bit of a noob with Debbugs, so is there a way to close the
issue from my side?

On Tue, Sep 3, 2024 at 10:06 AM Guillaume Le Vaillant <glv@posteo.net> wrote:
>
> Jean-Pierre De Jesus Diaz <jean@foundation.xyz> skribis:
>
> > 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.
> >
> > [...]
> > +     (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"))
>
> A fix for lablgtk was pushed yesterday in
> 0aa66ec0b0bef39591ddae3d8d06ac0fa71f03bb, so ocaml-cairo2 should build
> now.




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

* bug#72998: [PATCH] gnu: ocaml-cairo2: Fix compilation.
  2024-09-03 10:23   ` Jean-Pierre De Jesus Diaz
@ 2024-09-03 11:11     ` Guillaume Le Vaillant via Guix-patches
  0 siblings, 0 replies; 4+ messages in thread
From: Guillaume Le Vaillant via Guix-patches @ 2024-09-03 11:11 UTC (permalink / raw)
  To: Jean-Pierre De Jesus Diaz; +Cc: 72998-close

[-- Attachment #1: Type: text/plain, Size: 423 bytes --]

Jean-Pierre De Jesus Diaz <jean@foundation.xyz> skribis:

> Hello,
>
> Sorry for the noise then, didn't notice a fix was already there.
>
> I'm still a bit of a noob with Debbugs, so is there a way to close the
> issue from my side?

No problem. To close an issue, you can just send an email to
<nnnnnn-done@debbugs.gnu.org> or <nnnnnn-close@debbugs.gnu.org> (where
nnnnnn is the issue number), like I did with this email.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

^ permalink raw reply	[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.