nixpkgs icon indicating copy to clipboard operation
nixpkgs copied to clipboard

gradia: 1.4.3 -> 1.5.0

Open Cameo007 opened this issue 6 months ago • 1 comments

This PR updates Gradia to v1.5.0

Upstream changelog:

- A settings menu with options for the recent screenshots folder, image format, and more.
- A refreshed design for the gradient picker.
- An option to automatically balance the borders of certain images.
- Support for launching with image input from stdin.

Things done

  • Built on platform(s)
    • [x] x86_64-linux
    • [ ] aarch64-linux
    • [ ] x86_64-darwin
    • [ ] aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • [ ] sandbox = relaxed
    • [ ] sandbox = true
  • [ ] Tested, as applicable:
  • [ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • [x] Tested basic functionality of all binary files (usually in ./result/bin/)
  • Nixpkgs 25.11 Release Notes (or backporting 24.11 and 25.05 Nixpkgs Release notes)
    • [ ] (Package updates) Added a release notes entry if the change is major or breaking
  • NixOS 25.11 Release Notes (or backporting 24.11 and 25.05 NixOS Release notes)
    • [ ] (Module updates) Added a release notes entry if the change is significant
    • [ ] (Module addition) Added a release notes entry if adding a new NixOS module
  • [x] Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other contributing documentation in corresponding paths.

Add a :+1: reaction to pull requests you find important.

Cameo007 avatar Jun 22 '25 21:06 Cameo007

When running, the following logs appear

Error loading preset image /be/alexandervanhee/gradia/images/preset1.avif: gdk-pixbuf-error-quark: Unrecognized image file format (3)
Error loading preset image /be/alexandervanhee/gradia/images/preset2.avif: gdk-pixbuf-error-quark: Unrecognized image file format (3)
Error loading preset image /be/alexandervanhee/gradia/images/preset3.avif: gdk-pixbuf-error-quark: Unrecognized image file format (3)
Error loading preset image /be/alexandervanhee/gradia/images/preset4.avif: gdk-pixbuf-error-quark: Unrecognized image file format (3)
Error loading preset image /be/alexandervanhee/gradia/images/preset5.avif: gdk-pixbuf-error-quark: Unrecognized image file format (3)
Error loading preset image /be/alexandervanhee/gradia/images/preset6.avif: gdk-pixbuf-error-quark: Unrecognized image file format (3)

The preset-chooser is not showing the presets (even if they work; you can select them blindly and they're then applied)

Nixpkgs

Bildschirmfoto vom 2025-06-22 23-17-56

Flatpak

Bildschirmfoto vom 2025-06-27 19-14-52

Cameo007 avatar Jun 22 '25 21:06 Cameo007

When running, the following logs appear

Error loading preset image /be/alexandervanhee/gradia/images/preset1.avif: gdk-pixbuf-error-quark: Unrecognized image file format (3)
Error loading preset image /be/alexandervanhee/gradia/images/preset2.avif: gdk-pixbuf-error-quark: Unrecognized image file format (3)
Error loading preset image /be/alexandervanhee/gradia/images/preset3.avif: gdk-pixbuf-error-quark: Unrecognized image file format (3)
Error loading preset image /be/alexandervanhee/gradia/images/preset4.avif: gdk-pixbuf-error-quark: Unrecognized image file format (3)
Error loading preset image /be/alexandervanhee/gradia/images/preset5.avif: gdk-pixbuf-error-quark: Unrecognized image file format (3)
Error loading preset image /be/alexandervanhee/gradia/images/preset6.avif: gdk-pixbuf-error-quark: Unrecognized image file format (3)

The preset-chooser is not showing the presets (even if they work; you can select them blindly and they're then applied)

Nixpkgs

Bildschirmfoto vom 2025-06-22 23-17-56

Flatpak

Bildschirmfoto vom 2025-06-27 19-14-52

This is fixed now. I looked how other programs set GDK_PIXBUF_MODULE_FILE and adopted tuba's approach.

Cameo007 avatar Jun 27 '25 17:06 Cameo007

Works well! image

Henry-Hiles avatar Jun 28 '25 18:06 Henry-Hiles

Successfully created backport PR for release-25.05:

  • #420932

nixpkgs-ci[bot] avatar Jun 29 '25 06:06 nixpkgs-ci[bot]