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

mate.mate-themes: 3.22.20 -> 3.22.21 #80925

Merged
merged 3 commits into from Feb 24, 2020
Merged

mate.mate-themes: 3.22.20 -> 3.22.21 #80925

merged 3 commits into from Feb 24, 2020

Conversation

romildo
Copy link
Contributor

@romildo romildo commented Feb 24, 2020

Motivation for this change

Update to version 3.22.21

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.

@romildo romildo changed the title mate-themes: 3.22.20 -> 3.22.21 mate.mate-themes: 3.22.20 -> 3.22.21 Feb 24, 2020
Copy link
Contributor

@jonringer jonringer left a comment

Choose a reason for hiding this comment

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

diff LGTM

https://github.com/NixOS/nixpkgs/pull/80925
1 package built:
mate.mate-themes

closure size is the same.

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.

I see there's some icon themes here

ContrastHigh  mate  mate-black

one of whichContrastHigh you generate an icon cache for.
You'll need to set dontDropIconThemeCache = true; so the gtk setup hook doesn't remove it.

Should we generate icon cache's for the other icon themes as well?


src = fetchurl {
url = "https://pub.mate-desktop.org/releases/themes/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0c3dhf8p9nc2maky4g9xr04iil9wwbdkmhpzynlc6lfg4ksqq2bx";
sha256 = "051g2vq817g84yrqzf7hjcqr4xrghnw1rprjd6jf5mhhzmwcas6n";
};

nativeBuildInputs = [ pkgconfig intltool gtk3 ];
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
nativeBuildInputs = [ pkgconfig intltool gtk3 ];
nativeBuildInputs = [ pkgconfig gettext gtk3 ];

migrate from intltool to gettext https://github.com/mate-desktop/mate-themes/releases/tag/v3.22.21

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

Set dontDropIconThemeCache so the gtk setup hook doesn't remove the
icon cache.
@romildo
Copy link
Contributor Author

romildo commented Feb 24, 2020

I see there's some icon themes here

ContrastHigh  mate  mate-black

one of whichContrastHigh you generate an icon cache for.
You'll need to set dontDropIconThemeCache = true; so the gtk setup hook doesn't remove it.

Done.

Should we generate icon cache's for the other icon themes as well?

I suppose no, because they are cursors only.

@worldofpeace worldofpeace merged commit b775f1f into NixOS:master Feb 24, 2020
@romildo romildo deleted the upd.mate branch February 24, 2020 13:19
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