Skip to content

Fix macOS app launcher schema setup#63

Merged
cgasgarth merged 1 commit into
mainfrom
fix/macos-launcher-gsettings
Apr 12, 2026
Merged

Fix macOS app launcher schema setup#63
cgasgarth merged 1 commit into
mainfrom
fix/macos-launcher-gsettings

Conversation

@cgasgarth
Copy link
Copy Markdown
Owner

Summary

  • add a macOS app launcher wrapper that points GTK at the bundle's own schema and share directories before starting darktable-bin
  • keep the real GUI binary as darktable-bin in both macOS packaging flows and update post-processing steps to target that binary
  • prevent bundled darktable from crashing when GTK creates the native file chooser without Homebrew GLib paths in the ambient environment

Verification

  • bash -n darktable/packaging/macosx/darktable-launcher.sh
  • bash -n darktable/packaging/macosx/make-app-bundle
  • bash -n darktable/packaging/macosx/3_make_hb_darktable_package.sh

Launch the bundled app through a wrapper that points GTK at the bundle's own schema and share directories. This prevents file chooser startup from aborting when Homebrew GLib paths are missing from the environment.
@cgasgarth cgasgarth merged commit e34978e into main Apr 12, 2026
2 checks passed
@cgasgarth cgasgarth deleted the fix/macos-launcher-gsettings branch April 12, 2026 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant