Commit Graph

21 Commits

Author SHA1 Message Date
Nadia Holmquist Pedersen c6cab9ed41 mac-libs.rb: Make bundling a bit smarter
* Resolve symlinks to avoid including the same thing twice (like
  version-numered dylib symlinks)
* Look in all Qt prefix paths for plugins - the package may not
  necessarily have the same path
* reduce install_name_tool invocations to make it a bit faster
* change dylib IDs to remove original source path
2024-08-13 07:53:09 +02:00
Nadia Holmquist Pedersen 9d56055afb mac-libs.rb: Make fallback rpaths less stupid, also shut up code
signature warnings
2022-08-31 21:39:32 +02:00
Rayyan Ansari 43b6ef1f60 Fix imports in mac-universal.py again 2022-08-31 18:35:10 +01:00
Rayyan Ansari 686aecb36c Make nested directories in mac-universal.py 2022-08-31 18:33:00 +01:00
Rayyan Ansari 21194375f8 Fix imports in mac-universal.py 2022-08-31 18:28:33 +01:00
Rayyan Ansari d1dbb1f51e Add self-hosted macOS ARM64 Universal Binary runner
Adds a workflow file for building a universal binary with a self hosted runner.
Also adds a Python script to assist with creating the universal binary
2022-08-31 17:50:03 +01:00
Nadia Holmquist Pedersen 7f4f17de63 macOS: fix bundling on Monterey
The behavior of flags for strip changed exactly like the man page warned
it would. Oops.
2022-05-16 18:09:39 +02:00
Rayyan Ansari 796d603332
Redesign the Input dialog (#1226) 2021-09-30 17:23:25 +00:00
Nadia Holmquist Pedersen f21ae77a01 Allow for using LLVM from Homebrew and include its libc++ 2021-09-15 22:13:04 +02:00
Nadia Holmquist Pedersen aed92e533a make extra extra extra EXTRA sure the goddamn libraries are writable 2021-09-01 17:05:26 +02:00
Nadia Holmquist Pedersen 65e9e161f3 mac-libs.rb: codesign the app + minor fixes 2021-04-27 01:06:57 +02:00
Nadia Holmquist Pedersen 00e4df7421 Strip Mac libraries 2021-04-25 10:06:19 +02:00
Nadia Holmquist Pedersen bc4a156a4d More 10.14 fixes also make the version check in cmakelists actually work 2021-04-25 03:51:04 +02:00
Nadia Holmquist Pedersen d3d5f45914 Rewrite mac-libs.sh, should work on 10.14 now finally 2021-04-25 03:06:50 +02:00
Nadia Holmquist Pedersen ede6e832d8 fark 2021-04-24 21:06:25 +02:00
Nadia Holmquist Pedersen 19a0eb4e56 mac-libs.sh: support macports 2021-04-24 10:41:00 +02:00
Nadia Holmquist Pedersen d1178a7514 Use -a when copying the bundle in the DMG so symlinks are preserved 2021-04-23 14:51:53 +02:00
Nadia Holmquist Pedersen ce6c3dbe38 Use UDBZ format for DMGs to make them smaller 2021-04-23 14:26:28 +02:00
Nadia Holmquist Pedersen 68f52dcc4e Fix various issues in mac-libs.sh
* pre-11.0 sed doesn't seem to understand \t so use a literal tab
* don't fail if we run the script on a package with libs already bundled
* delete header files in the bundled frameworks to save space
2021-04-23 14:15:47 +02:00
Nadia Holmquist Pedersen 9e20aa8a3e Make Mac builds a lot smaller by avoiding macdeployqt 2021-04-23 13:13:44 +02:00
Nadia Holmquist Pedersen 796ef95862
Improve macOS bundling (#1067)
* Improve macOS bundling
* Bundle libs for macOS CI
* Add MACOS_BUILD_DMG CMake option and make the CI upload the DMG so we don't lose executable permissions.
* Manually copy plugins if macdeployqt doesn't
* Ad-hoc codesign the app
2021-04-21 23:50:32 +02:00