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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Jelle Licht <jlicht <at> fsfe.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#61145: closed ([PATCH] Added libcap to the native inputs of
 mako.)
Date: Thu, 09 Feb 2023 14:30:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 09 Feb 2023 15:29:00 +0100
with message-id <878rh6kj4j.fsf <at> fsfe.org>
and subject line Mako build fixed
has caused the debbugs.gnu.org bug report #61145,
regarding [PATCH] Added libcap to the native inputs of mako.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
61145: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61145
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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



[Message part 3 (message/rfc822, inline)]
From: Jelle Licht <jlicht <at> fsfe.org>
To: 61191-close <at> debbugs.gnu.org, 61145-close <at> debbugs.gnu.org,
 61262-close <at> debbugs.gnu.org
Subject: Mako build fixed
Date: Thu, 09 Feb 2023 15:29:00 +0100
I went ahead and pushed the solution posted with issue #61213 to master,
but thanks everyone and anyone who {reported,fixed} this issue!

- Jelle


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.