Skip to content

darwin.graphics_cmds: fix issues identified in #565702 - #571979

Merged
reckenrode merged 3 commits into
NixOS:staging-nextfrom
reckenrode:push-qpvwtmnptmsk
Oct 13, 2026
Merged

reckenrode merged 3 commits into
NixOS:staging-nextfrom
reckenrode:push-qpvwtmnptmsk

Conversation

@reckenrode

Copy link
Copy Markdown
Contributor

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

@nixpkgs-ci
nixpkgs-ci Bot requested a review from a team October 9, 2026 04:17
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. labels Oct 9, 2026
@ofborg ofborg Bot added the 6.topic: darwin Running or building packages on Darwin label Oct 10, 2026
@nixpkgs-ci nixpkgs-ci Bot added 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. and removed 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. labels Oct 10, 2026
@nixpkgs-ci nixpkgs-ci Bot removed the 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. label Oct 10, 2026
@reckenrode

Copy link
Copy Markdown
Contributor Author

The latest push fixes the identified issues and adds support for BigTIFF.

@nixpkgs-ci nixpkgs-ci Bot added the 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. label Oct 13, 2026

@booxter booxter left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Should this be @grep@? (Which also made me notice that the pre-existing seq below is also not properly enclosed.)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yeah. I’ll fix both of those then merge when the checks pass.

@nixpkgs-ci nixpkgs-ci Bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Oct 13, 2026
@reckenrode reckenrode mentioned this pull request Oct 13, 2026
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
reckenrode added this pull request to the merge queue Oct 13, 2026
Merged via the queue into NixOS:staging-next with commit 34b5746 Oct 13, 2026
27 checks passed
@reckenrode
reckenrode deleted the push-qpvwtmnptmsk branch October 13, 2026 04:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: darwin Running or building packages on Darwin 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants