all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#34406] [PATCH] gnu: flatpak: Add missing dependencies
@ 2019-02-09 17:12 Emiel Wiedijk
  2019-02-09 18:16 ` [bug#34406] Other approaches Emiel Wiedijk
  2019-03-08 10:58 ` bug#34406: [PATCH] gnu: flatpak: Add missing dependencies Rutger Helling
  0 siblings, 2 replies; 3+ messages in thread
From: Emiel Wiedijk @ 2019-02-09 17:12 UTC (permalink / raw)
  To: 34406

* 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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#34406] Other approaches
  2019-02-09 17:12 [bug#34406] [PATCH] gnu: flatpak: Add missing dependencies Emiel Wiedijk
@ 2019-02-09 18:16 ` Emiel Wiedijk
  2019-03-08 10:58 ` bug#34406: [PATCH] gnu: flatpak: Add missing dependencies Rutger Helling
  1 sibling, 0 replies; 3+ messages in thread
From: Emiel Wiedijk @ 2019-02-09 18:16 UTC (permalink / raw)
  To: 34406

[-- Attachment #1: Type: text/plain, Size: 248 bytes --]

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?

[-- Attachment #2: Type: text/html, Size: 274 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#34406: [PATCH] gnu: flatpak: Add missing dependencies
  2019-02-09 17:12 [bug#34406] [PATCH] gnu: flatpak: Add missing dependencies Emiel Wiedijk
  2019-02-09 18:16 ` [bug#34406] Other approaches Emiel Wiedijk
@ 2019-03-08 10:58 ` Rutger Helling
  1 sibling, 0 replies; 3+ messages in thread
From: Rutger Helling @ 2019-03-08 10:58 UTC (permalink / raw)
  To: 34406-done, me

[-- Attachment #1: Type: text/plain, Size: 55 bytes --]

Pushed along with another missing dependency, thanks!

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-03-08 11:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-09 17:12 [bug#34406] [PATCH] gnu: flatpak: Add missing dependencies Emiel Wiedijk
2019-02-09 18:16 ` [bug#34406] Other approaches Emiel Wiedijk
2019-03-08 10:58 ` bug#34406: [PATCH] gnu: flatpak: Add missing dependencies Rutger Helling

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.