New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pinentry: add GNOME frontend #27468
pinentry: add GNOME frontend #27468
Conversation
As previously, the
I am installing Using the following override {
nixpkgs.config.packageOverrides = {
gnupg = gnupg.override {
pinentry = pinentry_gnome;
};
};
} I see this when building:
cc @ttuegel |
Yes, you have to set the path in |
@ttuegel Oh, I forgot I have created Now, do you have any idea why Travis Darwin build fails?
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just built it. Works fine and fixes a problem for me, that the gtk2 version has.
just built it locally. Seems to work :-) |
cb03147
to
1778372
Compare
Rebased. It looks like it previously built |
1778372
to
afbf54b
Compare
d66c239
to
4571a35
Compare
eedce4a
to
e19da58
Compare
The pinentry_gnome package requires gcr. Unfortunately, when configure asks about the library (or `pkg-config --libs gcr-base-3` is used) it fails because glib is not in scope. ``` $ pkg-config --libs gcr-base-3 Package glib-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `glib-2.0.pc' to the PKG_CONFIG_PATH environment variable Package 'glib-2.0', required by 'gcr-base-3', not found ``` This commit moves glib and gtk to `propagatedBuildInputs` so pkgconfig could find them. See also 38b58ba
pinentry 0.9.6 changed the `qt4` flag to just `qt`. Additionally, the `--with-x` option has not been there for a while. This commit renames and removes the flags, respectively.
libsecret is used for cacheing passwords.
When overriding gnupg to uss pinentry gnome3 frontend, there is a dependency cycle: gnupg → pinentry_gnome → gcr → gnupg This commit overrides the gnupg required by gcr to not build GUI.
e19da58
to
3f7e3db
Compare
This breaks the gpg-agent user service for me. It seems there is some dbus stuff missing that the gnome3 version needs. Reverted 3f7e3db for now. |
@fpletz Could you provide some more details (desktop environment, journal log, configuration.nix)? I am unable to reproduce it. |
On 17.09 with the revert reverted, I can reproduce this issue on my system Here is the relevant portion from the journal:
The relevant settings from my NixOS config:
|
This pull request introduces GNOME 3 frontend for pinentry,
pinentry_gnome
. Becausegnupg
depends onpinentry
andpinentry_gnome
depends ongnupg
viagcr
, I had to modifygcr
to prevent building GUI. I also added libsecret dependency for caching passwords.Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)