Skip to content
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

guvcview: fix gsettings filechooser errors #84449

Merged
merged 9 commits into from Apr 28, 2020

Conversation

doronbehar
Copy link
Contributor

@doronbehar doronbehar commented Apr 6, 2020

Motivation for this change

Fix this error:

(guvcview:8975): GLib-GIO-ERROR **: 10:38:24.106: Settings schema 'org.gtk.Settings.FileChooser' is not installed
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@grahamc
Copy link
Member

grahamc commented Apr 6, 2020

@GrahamcOfBorg eval

Copy link
Member

@symphorien symphorien left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I ran nix-review, and checked that the file dialog in guvcview works. If you feel brave, qstopmotion (a reverse dependency) is in need of wrapQTappsHook.

@doronbehar
Copy link
Contributor Author

I ran nix-review, and checked that the file dialog in guvcview works. If you feel brave, qstopmotion (a reverse dependency) is in need of wrapQTappsHook.

Nice thinking. Is there an open issue you've encountered regarding this?

The next set of commits introduces a little bit broader changes which I think would be appropriate under the approval of @leenaars - maintainer of qstopmotion, and @coreyoconnor - maintainer of guvcview. Let's hope they'll respond.

Copy link
Contributor

@worldofpeace worldofpeace left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In qstopmotion you should instead use the qt specific deriver mkDerivation, which automatically adds the hook.

@doronbehar
Copy link
Contributor Author

@worldofpeace I used qt5.mkDerivation I hope that's what you meant.

@symphorien
Copy link
Member

I built guvcview and qstopmotion with nix-review and they both seem to work (as in, a window shows up).

@doronbehar
Copy link
Contributor Author

/ping @worldofpeace .

@doronbehar
Copy link
Contributor Author

doronbehar commented Apr 25, 2020

/ping @worldofpeace 🙏

@worldofpeace
Copy link
Contributor

/ping @worldofpeace pray

Very close 😄 I can try to merge today.

@doronbehar
Copy link
Contributor Author

@worldofpeace most of ofborg's tests have passed besides the build of qstopmotion for Linux aarch64 for which I marked it as broken.

@doronbehar
Copy link
Contributor Author

👏 @worldofpeace 🙏.

@worldofpeace worldofpeace merged commit d85aabf into NixOS:master Apr 28, 2020
@worldofpeace
Copy link
Contributor

@doronbehar Was this an issue on 20.03?

@doronbehar
Copy link
Contributor Author

Thanks :]

@doronbehar Was this an issue on 20.03?

I'm using unstable so I don't know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants