Subject: [bug#73179] [PATCH 1/2] gnu: ocaml-cairo2: Only build cairo2 package, remove unneeded deps.

From: Josselin Poiret <[email-masked]>
Date: Wed, 11 Sep 2024 18:02:16 +0200

From: Josselin Poiret <[email-masked]>

* gnu/packages/ocaml.scm (ocaml-cairo2): Only build cairo2 and not other ocaml
packages alongside.  Remove unneeded dependencies gtk+-2 and lablgtk.

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

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 6ba5f5e374..804c51c5b0 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -8404,10 +8404,10 @@ (define-public ocaml-cairo2
                (base32
                 "06ag9b88ihhr7yd3s9l0ac7ysig02fmlmsswybbsvz71ni0mb105"))))
     (build-system dune-build-system)
+    (arguments
+     (list #:package "cairo2"))
     (inputs
-     `(("cairo" ,cairo)
-       ("gtk+-2" ,gtk+-2)
-       ("lablgtk" ,lablgtk)))
+     `(("cairo" ,cairo)))
     (native-inputs
      (list pkg-config))
     (home-page "https://github.com/Chris00/ocaml-cairo")
-- 
2.45.2