Skip to content

djv: 2.0.8-unstable-2021-07-31 -> 3.1.1#455551

Merged
GaetanLepage merged 6 commits intoNixOS:masterfrom
yzx9:djv-3-1-1
Nov 4, 2025
Merged

djv: 2.0.8-unstable-2021-07-31 -> 3.1.1#455551
GaetanLepage merged 6 commits intoNixOS:masterfrom
yzx9:djv-3-1-1

Conversation

@yzx9
Copy link
Contributor

@yzx9 yzx9 commented Oct 25, 2025

Tracking: #445447

close #426523

close #455325

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. labels Oct 25, 2025
@yzx9 yzx9 requested a review from liberodark October 25, 2025 14:30
@yzx9

This comment was marked as outdated.

@nixpkgs-ci nixpkgs-ci bot added the 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. label Oct 25, 2025
@yzx9
Copy link
Contributor Author

yzx9 commented Oct 25, 2025

nixpkgs-review result

Generated using nixpkgs-review-gha

Command: nixpkgs-review pr 455551
Commit: 59556e196494a3b72aa1181cf2d9bb94f8e3bdc2 (subsequent changes)
Merge: b7e171db75c3cf14282a661d2c8d3588397f733d

Logs: https://github.com/yzx9/nixpkgs-review-gha/actions/runs/18804538852


x86_64-linux

✅ 5 packages built:
  • djv
  • feather-tk
  • nativefiledialog-extended
  • nativefiledialog-extended.dev
  • tlrender

aarch64-linux

✅ 5 packages built:
  • djv
  • feather-tk
  • nativefiledialog-extended
  • nativefiledialog-extended.dev
  • tlrender

x86_64-darwin (sandbox = true)

✅ 2 packages built:
  • nativefiledialog-extended
  • nativefiledialog-extended.dev

aarch64-darwin (sandbox = true)

✅ 2 packages built:
  • nativefiledialog-extended
  • nativefiledialog-extended.dev

@yzx9 yzx9 marked this pull request as ready for review October 25, 2025 14:59
@nix-owners nix-owners bot requested a review from blitz October 25, 2025 15:00
@yzx9
Copy link
Contributor Author

yzx9 commented Oct 27, 2025

Resolve conflicts

@yzx9
Copy link
Contributor Author

yzx9 commented Oct 27, 2025

@luzpaz @liberodark I’d appreciate a review from you, as you were the issue submitter / a recent committer.

Copy link
Contributor

@liberodark liberodark left a comment

Choose a reason for hiding this comment

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

Diff LGTM

@liberodark
Copy link
Contributor

liberodark commented Oct 29, 2025

Hi,

Good job this look good to me.
But you can rebase your PR ?
Also you have try djv ?

Also can you change for tlrender :

 # doCheck = enableTests;
  #
  # nativeCheckInputs = lib.optionals (enableTests && stdenv.isLinux) [
  #   xorg.xvfb-run
  # ];
  #
  # checkPhase = lib.optionalString enableTests ''
  #   runHook preCheck
  #
  #   cd feather-tk/src/feather-tk-build
  #   ${if stdenv.isLinux then "xvfb-run" else ""} ctest --verbose -C Release
  #
  #   runHook postCheck
  # '';

@GaetanLepage can you make a review when you have time ?

Best Regards

@nixpkgs-ci nixpkgs-ci bot added 2.status: merge conflict This PR has merge conflicts with the target branch 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. labels Oct 29, 2025
@GaetanLepage
Copy link
Contributor

Git conflict.

@nixpkgs-ci nixpkgs-ci bot removed 2.status: merge conflict This PR has merge conflicts with the target branch 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. labels Oct 30, 2025
@GaetanLepage
Copy link
Contributor

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 455551
Commit: 4a9128ca699bf2b122874f34941852dc646095f3


x86_64-linux

✅ 5 packages built:
  • djv
  • feather-tk
  • nativefiledialog-extended
  • nativefiledialog-extended.dev
  • tlrender

aarch64-linux

✅ 5 packages built:
  • djv
  • feather-tk
  • nativefiledialog-extended
  • nativefiledialog-extended.dev
  • tlrender

x86_64-darwin

❌ 3 packages failed to build:
  • djv
  • feather-tk
  • tlrender
✅ 2 packages built:
  • nativefiledialog-extended
  • nativefiledialog-extended.dev

aarch64-darwin

❌ 3 packages failed to build:
  • djv
  • feather-tk
  • tlrender
✅ 2 packages built:
  • nativefiledialog-extended
  • nativefiledialog-extended.dev

Error logs: `x86_64-darwin`
feather-tk
      | ^
/nix/var/nix/builds/nix-24025-183988086/source/lib/feather-tk/core/FileUnix.cpp:38:9: warning: 'FSRefMakePath' is deprecated: first deprecated in macOS 10.8 [-Wdeprecated-declarations]
   38 |         FSRefMakePath(&ref, (UInt8*)&path, PATH_MAX);
      |         ^
/nix/store/4mn3pvf8ahm21qjdh4r2w1lf90gcv9yq-apple-sdk-11.3/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:4086:18: note: 'FSRefMakePath' has been explicitly marked deprecated here
 4086 | extern OSStatus  FSRefMakePath(const FSRef *ref, UInt8 *path, UInt32 pathBufferSize)     __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_8, __IPHONE_NA, __IPHONE_NA);
      |                  ^
2 warnings generated.
[ 60%] Building CXX object lib/feather-tk/core/CMakeFiles/feather-tk-core.dir/TimeUnix.cpp.o
[ 60%] Linking CXX shared library libfeather-tk-core.dylib
Undefined symbols for architecture x86_64:
  "_FSFindFolder", referenced from:
      feather_tk::getUserPath(feather_tk::UserPath) in FileUnix.cpp.o
  "_FSRefMakePath", referenced from:
      feather_tk::getUserPath(feather_tk::UserPath) in FileUnix.cpp.o
ld: symbol(s) not found for architecture x86_64
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/feather-tk/core/CMakeFiles/feather-tk-core.dir/build.make:728: lib/feather-tk/core/libfeather-tk-core.dylib] Error 1
make[1]: *** [CMakeFiles/Makefile2:304: lib/feather-tk/core/CMakeFiles/feather-tk-core.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

Error logs: `aarch64-darwin`
feather-tk
      | ^
/nix/var/nix/builds/nix-22086-816052136/source/lib/feather-tk/core/FileUnix.cpp:38:9: warning: 'FSRefMakePath' is deprecated: first deprecated in macOS 10.8 [-Wdeprecated-declarations]
   38 |         FSRefMakePath(&ref, (UInt8*)&path, PATH_MAX);
      |         ^
/nix/store/ybygcq3s191f07bwgxbqpgqv0ak4h17k-apple-sdk-11.3/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:4086:18: note: 'FSRefMakePath' has been explicitly marked deprecated here
 4086 | extern OSStatus  FSRefMakePath(const FSRef *ref, UInt8 *path, UInt32 pathBufferSize)     __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_8, __IPHONE_NA, __IPHONE_NA);
      |                  ^
2 warnings generated.
[ 60%] Building CXX object lib/feather-tk/core/CMakeFiles/feather-tk-core.dir/TimeUnix.cpp.o
[ 60%] Linking CXX shared library libfeather-tk-core.dylib
Undefined symbols for architecture arm64:
  "_FSFindFolder", referenced from:
      feather_tk::getUserPath(feather_tk::UserPath) in FileUnix.cpp.o
  "_FSRefMakePath", referenced from:
      feather_tk::getUserPath(feather_tk::UserPath) in FileUnix.cpp.o
ld: symbol(s) not found for architecture arm64
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/feather-tk/core/CMakeFiles/feather-tk-core.dir/build.make:728: lib/feather-tk/core/libfeather-tk-core.dylib] Error 1
make[1]: *** [CMakeFiles/Makefile2:304: lib/feather-tk/core/CMakeFiles/feather-tk-core.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

@yzx9
Copy link
Contributor Author

yzx9 commented Oct 31, 2025

feather-tk was broken on darwin (grizzlypeak3d/feather-tk#1)

@nixpkgs-ci nixpkgs-ci bot added the 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. label Oct 31, 2025
@GaetanLepage
Copy link
Contributor

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 455551
Commit: 8280a272060111fb8fe91552884d5839706035f8


x86_64-linux

✅ 5 packages built:
  • djv
  • feather-tk
  • nativefiledialog-extended
  • nativefiledialog-extended.dev
  • tlrender

aarch64-linux

✅ 5 packages built:
  • djv
  • feather-tk
  • nativefiledialog-extended
  • nativefiledialog-extended.dev
  • tlrender

x86_64-darwin

✅ 2 packages built:
  • nativefiledialog-extended
  • nativefiledialog-extended.dev

aarch64-darwin

✅ 2 packages built:
  • nativefiledialog-extended
  • nativefiledialog-extended.dev

@yzx9 yzx9 force-pushed the djv-3-1-1 branch 2 times, most recently from ebb98f2 to 7fb5e40 Compare November 3, 2025 06:37
Comment on lines 97 to 98
# Broken on darwin with latest SDK, see https://github.com/darbyjohnston/feather-tk/issues/1
broken = stdenv.hostPlatform.isDarwin;
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
# Broken on darwin with latest SDK, see https://github.com/darbyjohnston/feather-tk/issues/1
broken = stdenv.hostPlatform.isDarwin;
badPlatforms = [
# Broken on darwin with latest SDK, see https://github.com/darbyjohnston/feather-tk/issues/1
lib.systems.inspect.patterns.isDarwin
];

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think it’s only temporarily unbuildable, since the issue has actually been fixed. However, because the code has changed significantly, the patch probably can’t be applied directly (if anyone’s interested, feel free to backport it).

But it’s clear that we can resolve this in the next release, so I prefer to mark it as broken for now.

Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry, I didn't explain myself.
Adding "broken" platforms to badPlatforms is preferable compared to setting broken = isDarwin.
The error message is slightly more helpful.
The fact that it is only temporary does not change my initial suggestion.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for your explanation! I've applied your suggestion.

@yzx9 yzx9 force-pushed the djv-3-1-1 branch 2 times, most recently from d47b0e8 to acd72aa Compare November 3, 2025 12:33
@@ -93,5 +94,9 @@ stdenv.mkDerivation (finalAttrs: {
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ liberodark ];
platforms = lib.platforms.linux ++ lib.platforms.darwin;
badPlatforms = [
# Broken on darwin with latest SDK, see https://github.com/darbyjohnston/feather-tk/issues/1
stdenv.hostPlatform.isDarwin
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
stdenv.hostPlatform.isDarwin
lib.systems.inspect.patterns.isDarwin

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch! I never knew there was such an option.

@GaetanLepage
Copy link
Contributor

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 455551
Commit: 859e4771871bf8b263be8ebc22f5b2d306877793


x86_64-linux

✅ 5 packages built:
  • djv
  • feather-tk
  • nativefiledialog-extended
  • nativefiledialog-extended.dev
  • tlrender

aarch64-linux

✅ 5 packages built:
  • djv
  • feather-tk
  • nativefiledialog-extended
  • nativefiledialog-extended.dev
  • tlrender

x86_64-darwin

✅ 2 packages built:
  • nativefiledialog-extended
  • nativefiledialog-extended.dev

aarch64-darwin

✅ 2 packages built:
  • nativefiledialog-extended
  • nativefiledialog-extended.dev

Copy link
Contributor

@GaetanLepage GaetanLepage left a comment

Choose a reason for hiding this comment

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

Well done @yzx9!
I force pushed a change in tlrender's description (removal of the "An" at the beginning), see https://nixos.org/manual/nixpkgs/unstable/#var-meta-description.

@nixpkgs-ci nixpkgs-ci bot added 12.approvals: 2 This PR was reviewed and approved by two persons. and removed 12.approvals: 1 This PR was reviewed and approved by one person. labels Nov 4, 2025
@GaetanLepage GaetanLepage added this pull request to the merge queue Nov 4, 2025
Merged via the queue into NixOS:master with commit eefbcd1 Nov 4, 2025
28 of 32 checks passed
@yzx9 yzx9 deleted the djv-3-1-1 branch November 4, 2025 09:58
@Sigmanificient Sigmanificient mentioned this pull request Jan 3, 2026
13 tasks
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. 12.approvals: 2 This PR was reviewed and approved by two persons. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update Request: djv 2.0.8 → 3.0.0

3 participants