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
adoptopenjdk-bin, graalvm11-ce, graalvm8-ce, zulu, zulu8: add support for GTK+ Look and Feel #107784
Conversation
5606f00
to
5a1022c
Compare
While I prefer style that put |
# runtime dependencies | ||
, cups | ||
# runtime dependencies for GTK+ Look and Feel | ||
, enableGTK ? true |
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.
I have seen other packages in nixpkgs call these kinds of flags eg gtkSupport
- I wonder if there's an official style guide for this?
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.
@taku0 ^
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.
or enableGTKSupport. I don't think there is any style for that.
0788f84
to
078f323
Compare
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.
Fixed per review comments.
078f323
to
011197d
Compare
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.
Fixed per review comments.
011197d
to
9d58b8e
Compare
/rebase-staging |
@taku0 mind rebasing this? |
9d58b8e
to
43c1ed7
Compare
Rebased. Should we wait for #105815 to be merged? That will conflict with this PR. |
Yeah, probably for the best. |
43c1ed7
to
af850f5
Compare
#105815 is merged. I have rebased on the |
af850f5
to
e2248c3
Compare
Fixed warnings. |
e2248c3
to
e558dd1
Compare
Fixed conflicts. |
e558dd1
to
4f05e5d
Compare
Fixed conflicts. |
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.
I am trying to build the packages mentioned in the title tomorrow.
Adds needed libraries with `autoPatchelfHook`. This ensures required libraries are linked for future.
4f05e5d
to
26fb8f9
Compare
Applied suggestions. |
This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch). Result of 5 packages built:
The following issues got detected with the above build packages.
adoptopenjdk-bin:
Near pkgs/development/compilers/adoptopenjdk-bin/jdk-linux-base.nix:63:3:
See: https://github.com/jtojnar/nixpkgs-hammering/blob/master/explanations/missing-phase-hooks.md
Near pkgs/development/compilers/graalvm/community-edition.nix:152:9:
See: https://github.com/jtojnar/nixpkgs-hammering/blob/master/explanations/missing-phase-hooks.md
Near pkgs/development/compilers/graalvm/community-edition.nix:152:9:
See: https://github.com/jtojnar/nixpkgs-hammering/blob/master/explanations/missing-phase-hooks.md
Near pkgs/development/compilers/zulu/8.nix:100:5:
See: https://github.com/jtojnar/nixpkgs-hammering/blob/master/explanations/unclear-gpl.md Near pkgs/development/compilers/zulu/8.nix:51:3:
See: https://github.com/jtojnar/nixpkgs-hammering/blob/master/explanations/build-tools-in-build-inputs.md Near pkgs/development/compilers/zulu/8.nix:69:3:
See: https://github.com/jtojnar/nixpkgs-hammering/blob/master/explanations/missing-phase-hooks.md
Near pkgs/development/compilers/zulu/default.nix:100:5:
See: https://github.com/jtojnar/nixpkgs-hammering/blob/master/explanations/unclear-gpl.md Near pkgs/development/compilers/zulu/default.nix:52:3:
See: https://github.com/jtojnar/nixpkgs-hammering/blob/master/explanations/build-tools-in-build-inputs.md Near pkgs/development/compilers/zulu/default.nix:71:3:
See: https://github.com/jtojnar/nixpkgs-hammering/blob/master/explanations/missing-phase-hooks.md |
Maybe it is worth to think about output splitting for the future:
|
Motivation for this change
This adds Swing support and optional GTK+ theme for JDK packages.
See also #106716.
To test the packages, you can use https://github.com/taku0/swing-set-2:
Then choose
Look & Feel
→GTK Style Look & Feel
from the menu (Linux only).Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)