unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: John Kehayias via Guix-patches via <guix-patches@gnu.org>
To: "51100@debbugs.gnu.org" <51100@debbugs.gnu.org>
Subject: [bug#51100] [PATCH 6/8] Update and fix Flatpak and portals
Date: Fri, 08 Oct 2021 20:04:48 +0000	[thread overview]
Message-ID: <kK9H3ftVx0f0w0yDP5e4Pz9XlWw9CSCNiZq46TrogS05C9HMYNVm8tsQoP1vEZqgjRtxOkYydcCI61tnwOATNGjKYimeM1PcQI29KfWlOlI=@protonmail.com> (raw)
In-Reply-To: <lpowEmXjyv7zz2_8D9v5jkIv8YGZur3iKtVrU0oY-j8T2HCTepBAYgzLJyzv4z8G3m5obtqDnmt6RIwSpMNxwsh7lgixsqrlJnrgKUNayBc=@protonmail.com>

From 764539e068d76ea5d0aea8a5e40677de9c3d9bb2 Mon Sep 17 00:00:00 2001
From: John Kehayias <john.kehayias@protonmail.com>
Date: Fri, 8 Oct 2021 14:54:46 -0400
Subject: [PATCH 6/8] 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.
---
 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 eb2249c423..589d3b0311 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")
--
2.33.0




  reply	other threads:[~2021-10-08 20:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-08 19:52 [bug#51100] [PATCH 0/8] Update and fix Flatpak and portals John Kehayias via Guix-patches via
2021-10-08 20:00 ` [bug#51100] [PATCH 1/8] " John Kehayias via Guix-patches via
2021-10-08 20:02 ` [bug#51100] [PATCH 2/8] " John Kehayias via Guix-patches via
2021-10-08 20:02 ` [bug#51100] [PATCH 3/8] " John Kehayias via Guix-patches via
2021-10-08 20:03   ` [bug#51100] [PATCH 4/8] " John Kehayias via Guix-patches via
2021-10-08 20:04     ` [bug#51100] [PATCH 5/8] " John Kehayias via Guix-patches via
2021-10-08 20:04       ` John Kehayias via Guix-patches via [this message]
2021-10-08 20:05         ` [bug#51100] [PATCH 7/8] " John Kehayias via Guix-patches via
2021-10-08 20:05           ` [bug#51100] [PATCH 8/8] " John Kehayias via Guix-patches via
2021-10-25 19:15             ` bug#51100: [PATCH 0/8] " Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='kK9H3ftVx0f0w0yDP5e4Pz9XlWw9CSCNiZq46TrogS05C9HMYNVm8tsQoP1vEZqgjRtxOkYydcCI61tnwOATNGjKYimeM1PcQI29KfWlOlI=@protonmail.com' \
    --to=guix-patches@gnu.org \
    --cc=51100@debbugs.gnu.org \
    --cc=john.kehayias@protonmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).