Skip to content

Conversation

@ddogfoodd
Copy link
Contributor

replace imagemagick with resvg
for reference see:
#397092 (comment)

SVG preview still works for me, additional testing would be appreciated

Things done

  • Built on platform(s)
    • 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
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (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
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@ddogfoodd ddogfoodd mentioned this pull request Apr 8, 2025
13 tasks
@github-actions github-actions bot added 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Apr 8, 2025
@XYenon
Copy link
Member

XYenon commented Apr 8, 2025

imagemagick should be reserved for processing images in other formats

@khaneliman
Copy link
Contributor

khaneliman commented Apr 8, 2025

imagemagick should be reserved for processing images in other formats

Yeah, looks like magick is still used https://github.com/sxyazi/yazi/blob/99ea3b74c4260a724b43af812df0f68ef59395b7/yazi-config/preset/yazi-default.toml#L101 and https://github.com/sxyazi/yazi/blob/99ea3b74c4260a724b43af812df0f68ef59395b7/yazi-plugin/preset/plugins/magick.lua#L50

herbetom and others added 3 commits April 8, 2025 18:04
replace imagemagick with resvg
for reference see:
NixOS#397092 (comment)

yazi: add optional dependency `resvg`
This reverts commit aa7fc651bb09f2654398a501c6b67a12cc2b05b1.
@ddogfoodd
Copy link
Contributor Author

ddogfoodd commented Apr 8, 2025

um that's not what I wanted git to do (thanks, random stackoverflow answer)

@ddogfoodd
Copy link
Contributor Author

ddogfoodd commented Apr 8, 2025

Sorry I don't get git. Follow up #397166.

@ddogfoodd ddogfoodd closed this Apr 8, 2025
@ddogfoodd ddogfoodd deleted the yazi-svg branch April 8, 2025 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants