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

ddcui: init at 0.1.1 #91627

Merged
merged 1 commit into from Jun 27, 2020
Merged

ddcui: init at 0.1.1 #91627

merged 1 commit into from Jun 27, 2020

Conversation

nh2
Copy link
Contributor

@nh2 nh2 commented Jun 26, 2020

Motivation for this change

GUI for ddcutil, allows adjusting monitor hardware settings:

image

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.

I tested it running on Ubuntu with sudo ddcui after building on NixOS.

FYI @rnhmjoj (maintainer of ddcutil)

# file is not currently written to support PREFIX installations.
cmake
pkg-config
wrapQtAppsHook
Copy link
Member

Choose a reason for hiding this comment

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

You can remove wrapQtAppsHook and qtbase from inputs using proper Qt wrapping, see #65399.

Copy link
Contributor Author

@nh2 nh2 Jun 27, 2020

Choose a reason for hiding this comment

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

You can remove wrapQtAppsHook

Great!

You can remove [...] qtbase

That's a bit surprising, given that the manual gives it as the main example:

https://hydra.nixos.org/build/96804884/download/1/nixpkgs/manual.html#sec-language-qt

So is it now recommended to include it, or not?

Copy link
Member

Choose a reason for hiding this comment

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

Well, I don't know why it is recommended to include in the manual. I just see a lot of packages without explicit qtbase input.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OK, then I'll stick with including it for now to be as close to the manual as possible.

nh2 added a commit to nh2/nixpkgs that referenced this pull request Jun 27, 2020
As I learned in the review of NixOS#91627.
@nh2 nh2 mentioned this pull request Jun 27, 2020
10 tasks
@nh2 nh2 merged commit a3013da into NixOS:master Jun 27, 2020
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

3 participants