[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/10: gnu: flatpak: Fix certificate error from p11-kit.
From: |
guix-commits |
Subject: |
07/10: gnu: flatpak: Fix certificate error from p11-kit. |
Date: |
Mon, 25 Oct 2021 15:11:05 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit d407c107f363c36feecbf1d55735479add59d799
Author: John Kehayias <john.kehayias@protonmail.com>
AuthorDate: Fri Oct 8 14:54:46 2021 -0400
gnu: flatpak: Fix certificate error from p11-kit.
* gnu/packages/package-management.scm (flatpak)[inputs]: Add p11-kit-next.
[arguments]: Add new 'p11-kit-fix phase to patch source to use p11-kit-next
input instead of an implicit p11-kit from dependencies.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/package-management.scm | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/gnu/packages/package-management.scm
b/gnu/packages/package-management.scm
index 6530978..e8f8ee1 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -1565,6 +1565,16 @@ cp -r /tmp/locale/*/en_US.*")))
(("/bin/kill") (which "kill"))
(("/usr/bin/python3") (which "python3")))
#t))
+ (add-after 'unpack 'p11-kit-fix
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((p11-path (string-append (assoc-ref inputs "p11-kit-next")
+ "/bin/p11-kit")))
+ (substitute* "session-helper/flatpak-session-helper.c"
+ (("\"p11-kit\",")
+ (string-append "\"" p11-path "\","))
+ (("if \\(g_find_program_in_path \\(\"p11-kit\"\\)\\)")
+ (string-append "if (g_find_program_in_path (\""
+ p11-path "\"))"))))))
;; Many tests fail for unknown reasons, so we just run a few basic
;; tests.
(replace 'check
@@ -1603,6 +1613,7 @@ cp -r /tmp/locale/*/en_US.*")))
("libsoup" ,libsoup)
("libxau" ,libxau)
("libxml2" ,libxml2)
+ ("p11-kit-next" ,p11-kit-next)
("util-linux" ,util-linux)
("xdg-dbus-proxy" ,xdg-dbus-proxy)))
(home-page "https://flatpak.org")
- branch master updated (4aa41a3 -> b0735c7), guix-commits, 2021/10/25
- 02/10: gnu: xdg-desktop-portal: Update to 1.10.1., guix-commits, 2021/10/25
- 01/10: gnu: libportal: Update to 0.4., guix-commits, 2021/10/25
- 04/10: gnu: Add p11-kit 0.24.0., guix-commits, 2021/10/25
- 03/10: gnu: xdg-desktop-portal-gtk: Update to 1.10.0., guix-commits, 2021/10/25
- 07/10: gnu: flatpak: Fix certificate error from p11-kit.,
guix-commits <=
- 09/10: gnu: xdg-desktop-portal-gtk: Propagate xdg-desktop-portal., guix-commits, 2021/10/25
- 08/10: gnu: flatpak: Add patch to fix paths., guix-commits, 2021/10/25
- 06/10: gnu: flatpak: Update to 1.12.1., guix-commits, 2021/10/25
- 05/10: gnu: p11-kit@0.24.0: Use certificates from /etc/ssl/certs., guix-commits, 2021/10/25
- 10/10: gnu: p11-kit: Update home page., guix-commits, 2021/10/25