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

plata-theme: 0.9.8 -> 0.9.9 #101093

Merged
merged 2 commits into from Aug 12, 2021
Merged

plata-theme: 0.9.8 -> 0.9.9 #101093

merged 2 commits into from Aug 12, 2021

Conversation

tadfisher
Copy link
Contributor

Motivation for this change
  • Drop unneeded buildInputs as this derivation produces static files with no binary dependencies.
  • Add gtk2 and gtk-engine-murrine to propagatedUserEnvPkgs for GTK2 support at runtime.
  • Bump package version to 0.9.9.
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.

Comment on lines -45 to -47
buildInputs = [
gdk-pixbuf
librsvg
Copy link
Contributor

Choose a reason for hiding this comment

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

From reading https://gitlab.com/tista500/plata-theme#installation-from-git-source, I would expect librsvg to be needed for generating images or something. So it should probably go to nativeBuildInputs.

But here it looks like gdk-pixbuf is needed as a library: https://gitlab.com/tista500/plata-theme/-/blob/1dd0953f1d6a35777388d39f46e2428c038042be/configure.ac#L42

Copy link
Contributor Author

Choose a reason for hiding this comment

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

librsvg is not needed or mentioned anywhere in the repo; inkscape is used to generate images.

gdk-pixbuf seems to be a sanity check, there's not really a reason to require it to build the theme. I added it to nativeBuildInputs just in case it causes an error.

@jtojnar
Copy link
Contributor

jtojnar commented Oct 30, 2020

@SuperSandro2000
Copy link
Member

Result of nixpkgs-review pr 101093 run on x86_64-linux 1

1 package built:
  • plata-theme

@IvarWithoutBones
Copy link
Member

@tadfisher would you mind rebasing this? :)

@tadfisher
Copy link
Contributor Author

@IvarWithoutBones Rebased, thanks.

librsvg
# GTK2 engines must be on the system path at runtime to be loaded.
propagatedUserEnvPkgs = [
gtk2
Copy link
Member

Choose a reason for hiding this comment

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

afaik only gtk-engine-murrine needs to be in propagatedUserEnvPkgs, if so gtk2 should be in buildInputs

Copy link
Contributor

Choose a reason for hiding this comment

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

And probably gtk_engines instead of gtk2.

@Artturin Artturin merged commit b08ed41 into NixOS:master Aug 12, 2021
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

6 participants