From bc17b33471454e8bce6edf92de8030a121c15dbd Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Wed, 2 Apr 2025 01:05:57 +0200 Subject: [PATCH] gimp: Switch back go GIMP 2 Temporarily, rename `gimp` to `gimp3` and `gimp2` back to `gimp`. Revert once GIMP 3 works on Darwin again and performance regressions are debugged. --- doc/release-notes/rl-2505.section.md | 2 +- pkgs/top-level/all-packages.nix | 36 ++++++++++++++-------------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/doc/release-notes/rl-2505.section.md b/doc/release-notes/rl-2505.section.md index 71689e45fb8c..10ec2a0a023b 100644 --- a/doc/release-notes/rl-2505.section.md +++ b/doc/release-notes/rl-2505.section.md @@ -62,7 +62,7 @@ - [testers.shellcheck](https://nixos.org/manual/nixpkgs/unstable/#tester-shellcheck) now warns when `name` is not provided. The `name` argument will become mandatory in a future release. -- `gimp` has been upgraded to [GIMP 3.0](https://www.gimp.org/news/2025/03/16/gimp-3-0-released/). Most plug-ins are not compatible so the old version has been preserved as `gimp2`, `gimp2Plugins` and `gimp2-with-plugins`. +- [GIMP 3.0](https://www.gimp.org/news/2025/03/16/gimp-3-0-released/) available as `gimp3`. - `grafana-agent` and `services.grafana-agent` have been removed in favor of Grafana Alloy (`grafana-alloy` and `services.alloy`), as they depend on an EOL compiler version diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9e81417d38f8..0c9af914fbf6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14543,7 +14543,24 @@ with pkgs; inherit (xorg) xlsfonts; - gimp = callPackage ../applications/graphics/gimp { + gimp3 = callPackage ../applications/graphics/gimp { + lcms = lcms2; + inherit (darwin.apple_sdk.frameworks) AppKit Cocoa; + }; + + gimp3-with-plugins = callPackage ../applications/graphics/gimp/wrapper.nix { + gimpPlugins = gimp3Plugins; + plugins = null; # All packaged plugins enabled, if not explicit plugin list supplied + }; + + gimp3Plugins = recurseIntoAttrs ( + callPackage ../applications/graphics/gimp/plugins { + gimp = gimp3; + } + ); + + gimp = callPackage ../applications/graphics/gimp/2.0 { + autoreconfHook = buildPackages.autoreconfHook269; lcms = lcms2; inherit (darwin.apple_sdk.frameworks) AppKit Cocoa; }; @@ -14554,23 +14571,6 @@ with pkgs; gimpPlugins = recurseIntoAttrs (callPackage ../applications/graphics/gimp/plugins { }); - gimp2 = callPackage ../applications/graphics/gimp/2.0 { - autoreconfHook = buildPackages.autoreconfHook269; - lcms = lcms2; - inherit (darwin.apple_sdk.frameworks) AppKit Cocoa; - }; - - gimp2-with-plugins = callPackage ../applications/graphics/gimp/wrapper.nix { - gimpPlugins = gimp2Plugins; - plugins = null; # All packaged plugins enabled, if not explicit plugin list supplied - }; - - gimp2Plugins = recurseIntoAttrs ( - callPackage ../applications/graphics/gimp/plugins { - gimp = gimp2; - } - ); - girara = callPackage ../applications/misc/girara { gtk = gtk3; };