[digikam] [Bug 350446] Port MacOS PKG to Arm64 Apple Silicon.
Michael Miller
bugzilla_noreply at kde.org
Sat Aug 24 01:18:28 BST 2024
https://bugs.kde.org/show_bug.cgi?id=350446
--- Comment #22 from Michael Miller <michael_miller at msn.com> ---
Thank you Gilles. I've stopped exploring Craft, and I'm continuing with
Homebrew.
Update: I've given up trying to pin to a specific package variant with
Homebrew, and I'm now using the latest of each package. Three issues I've
found so far.
1. Some Homebrew bottles have the dynamic library paths hard coded to
/opt/homebrew instead of @rpath. If you try to use install_name_tool on them,
the code signature becomes invalid. You need to run the codesign tool to
update the signature, but since you didn't compile the binary yourself,
codesign fails. One way to fix this is to just build all the packages yourself
using "brew --build-from-source install XXXXX". This however takes a very long
time. An alternate solution is to install Homebrew to a custom directory. By
doing this, Homebrew will automatically build from source only the packages
(bottles) that are hard-coded to /opt/homebrew, so it is faster. This also has
the added benefit of not "polluting" an existing Homebrew installation.
2. Not all of the needed libraries are being packaged by 04-build-installer.sh.
This is slow work going through and finding the libraries that are missing.
3. I think not all the updated binaries are being re-signed by codesign.
Again, it's slow work going through them.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the kde-mac
mailing list