GNU bug report logs - #61145
[PATCH] Added libcap to the native inputs of mako.

Previous Next

Package: guix-patches;

Reported by: Samuel Fadel <samuel <at> nihil.ws>

Date: Sun, 29 Jan 2023 11:18:01 UTC

Severity: normal

Tags: patch

Done: Jelle Licht <jlicht <at> fsfe.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Samuel Fadel <samuel <at> nihil.ws>
To: guix-patches <at> gnu.org
Cc: Samuel Fadel <samuel <at> nihil.ws>
Subject: [PATCH] Added libcap to the native inputs of mako.
Date: Sun, 29 Jan 2023 12:15:22 +0100
Hi Guix,

I have prepared this patch to fix the build of mako 1.7.1. Here is the failed build log:
http://ci.guix.gnu.org/build/370206/details

I'm not sure if this is the correct way to address this issue, but in my local tests it fixes the build.

Samuel

***

This allows pkg-config to detect libcap during the build of mako. This is used
by meson to generate cargs for basu (a dependency of mako), which in turn
needs libcap.

* gnu/packages/wm.scm (mako)[native-inputs]: Added libcap
---
 gnu/packages/wm.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 2fd70af07f..f17bc0af3f 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -1858,7 +1858,7 @@ (define-public mako
                        (search-input-file inputs "bin/jq")
                        " "))))))))
     (inputs (list basu cairo gdk-pixbuf jq pango wayland))
-    (native-inputs (list pkg-config scdoc wayland-protocols))
+    (native-inputs (list libcap pkg-config scdoc wayland-protocols))
     (home-page "https://wayland.emersion.fr/mako")
     (synopsis "Lightweight Wayland notification daemon")
     (description "Mako is a lightweight notification daemon for Wayland
-- 
2.39.1





This bug report was last modified 2 years and 106 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.