GNU bug report logs - #34406
[PATCH] gnu: flatpak: Add missing dependencies

Previous Next

Package: guix-patches;

Reported by: Emiel Wiedijk <me <at> aimileus.nl>

Date: Sat, 9 Feb 2019 18:04:05 UTC

Severity: normal

Tags: patch

Done: Rutger Helling <rhelling <at> mykolab.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 34406 in the body.
You can then email your comments to 34406 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#34406; Package guix-patches. (Sat, 09 Feb 2019 18:04:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Emiel Wiedijk <me <at> aimileus.nl>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 09 Feb 2019 18:04:05 GMT) Full text and rfc822 format available.

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

From: Emiel Wiedijk <me <at> aimileus.nl>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: flatpak: Add missing dependencies
Date: Sat,  9 Feb 2019 18:12:43 +0100
* Add gnupg to propagated inputs: flatpak uses gpgme to verify
  repositories, this requires a gpg binary in $PATH, otherwise I get
  this error:
    "GPGME error: Invalid crypto engine"
* Add gsettings-desktop-schemas to propagated inputs: flatpak also
  depends on gsettings-desktop-schemas. Apparantly it is available by
  default on my GNOME desktop, so it works if I run it unprivileged.
  However, in a root prompt, it emits this error message:
    "(flatpak remote-add:19956): GLib-GIO-ERROR **: 09:05:00.003:
     Settings schema 'org.gnome.system.proxy' is not installed"
  The same error occurs, with the package in inputs. For me, flatpak as
  root only works with gsettings-desktop-schemas in propagated-inputs.
---
 gnu/packages/package-management.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm
index c3b195a64..0ab5ce652 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -50,6 +50,7 @@
   #:use-module (gnu packages gnupg)
   #:use-module (gnu packages gnuzilla)
   #:use-module (gnu packages graphviz)
+  #:use-module (gnu packages gnupg)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages guile)
   #:use-module (gnu packages guile-xyz)
@@ -980,6 +981,8 @@ the bootloader configuration.")
                          (string-append "--with-system-bubblewrap="
                                         (assoc-ref %build-inputs "bubblewrap")
                                         "/bin/bwrap"))))
+   (propagated-inputs `(("gnupg" ,gnupg)
+                        ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
    (native-inputs `(("bison" ,bison)
                     ("gettext" ,gnu-gettext)
                     ("glib:bin" ,glib "bin") ; for glib-mkenums + gdbus-codegen
-- 
2.20.1





Information forwarded to guix-patches <at> gnu.org:
bug#34406; Package guix-patches. (Sat, 09 Feb 2019 18:17:01 GMT) Full text and rfc822 format available.

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

From: Emiel Wiedijk <me <at> aimileus.nl>
To: 34406 <at> debbugs.gnu.org
Subject: Other approaches
Date: Sat, 9 Feb 2019 19:16:12 +0100
[Message part 1 (text/plain, inline)]
I am not sure whether adding gnupg and gsettings-desktop-schemas to
propagated-inputs is the correct approach. For example, I see that the
password-store package uses a wrapper script to add gnupg and git to $PATH.
Maybe that is the preferred way?
[Message part 2 (text/html, inline)]

Reply sent to Rutger Helling <rhelling <at> mykolab.com>:
You have taken responsibility. (Fri, 08 Mar 2019 11:00:02 GMT) Full text and rfc822 format available.

Notification sent to Emiel Wiedijk <me <at> aimileus.nl>:
bug acknowledged by developer. (Fri, 08 Mar 2019 11:00:03 GMT) Full text and rfc822 format available.

Message #13 received at 34406-done <at> debbugs.gnu.org (full text, mbox):

From: Rutger Helling <rhelling <at> mykolab.com>
To: 34406-done <at> debbugs.gnu.org, me <at> aimileus.nl
Subject: [PATCH] gnu: flatpak: Add missing dependencies
Date: Fri, 8 Mar 2019 11:58:49 +0100
[Message part 1 (text/plain, inline)]
Pushed along with another missing dependency, thanks!
[Message part 2 (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 05 Apr 2019 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 23 days ago.

Previous Next


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