Repository navigation
darwin.graphics_cmds: fix issues identified in #565702 - #571979
Merged
Merged
Conversation
booxter
requested changes
Oct 10, 2026
reckenrode
force-pushed
the
push-qpvwtmnptmsk
branch
from
October 11, 2026 00:38
4b835eb to
be07344
Compare
Contributor
Author
|
The latest push fixes the identified issues and adds support for BigTIFF. |
reckenrode
force-pushed
the
push-qpvwtmnptmsk
branch
from
October 11, 2026 11:08
be07344 to
186f5df
Compare
booxter
approved these changes
Oct 13, 2026
booxter
left a comment
Contributor
There was a problem hiding this comment.
There's a tiny bug buried here, but I doubt we care much about it.
| @exiftool@ -q -overwrite_original \ | ||
| -IFD$offset:XResolution=$dpi_x_num/$dpi_x_dem -IFD$offset:YResolution=$dpi_y_num/$dpi_y_dem -- "$out" | ||
| # Using exiftool allows for rationals to be set exactly, but it doesn’t support BigTIFF. | ||
| if @file@ "$out" | grep -q "Big TIFF"; then |
Contributor
There was a problem hiding this comment.
Should this be @grep@? (Which also made me notice that the pre-existing seq below is also not properly enclosed.)
Contributor
Author
There was a problem hiding this comment.
Yeah. I’ll fix both of those then merge when the checks pass.
reckenrode
force-pushed
the
push-qpvwtmnptmsk
branch
from
October 13, 2026 03:38
186f5df to
fb1706d
Compare
8 of 19 tasks
- Fix duplicate test body; - Handle rational X and Y resolutions; - Support files with different X and Y resolutions; and - Match Apple’s tiffutil behavior in the above case (swapping them).
reckenrode
force-pushed
the
push-qpvwtmnptmsk
branch
from
October 13, 2026 03:53
fb1706d to
0b6e7bc
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds additional fixes to graphics_cmds per feedback in #565702 (review). This is targeting staging-next because the cycle just started, and graphics_cmds hasn’t built on Darwin yet.
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.