Commit Graph

29 Commits

Author SHA1 Message Date
Christian Hohnstaedt
4b29d5f31e Mac OS: apply the qsqlmysql patch automatically 2025-03-28 11:53:14 +01:00
Christian Hohnstaedt
ff9d5fcf56 Also compile and include PostgreSQL driver 2025-03-28 11:53:08 +01:00
Christian Hohnstaedt
955cc638a0 Optimize building of zstd 2025-03-28 11:51:51 +01:00
Christian Hohnstaedt
fbed31eb1c Update libraries 2025-03-28 11:51:51 +01:00
Christian Hohnstaedt
2cc90b8ac6 Close #642: macOS MariaDB plugin requires SSL
Add
 - MYSQL_OPT_SSL_ENFORCE
 - MYSQL_OPT_SSL_VERIFY_SERVER_CERT
 - MARIADB_OPT_TLS_PEER_FP
 - MARIADB_OPT_TLS_PEER_FP_LIST

options to control the SSL behavior.

Especially to disable SSL you need to set
MYSQL_OPT_SSL_VERIFY_SERVER_CERT to false on macosx.
2025-03-28 11:51:51 +01:00
Christian Hohnstaedt
58b2d713a1 Close #640: Fix mysql on Mac OSX
Replace the @rpath/libmariadb.3.dylib by "$INSTALL_DIR"/lib/libmariadb.3.dylib
in the self compiled plugin "libqsqlmysql.dylib" after installation in the
QTDIR plugin directory.

This provokes macdeployqt to install libmariadb.3.dylib to take
libmariadb.3.dylib into account and also install it and resolve all
referenced library paths.

Finally the absolute path will be replaced by the @rpath when
creating the xca.app.

Add tests for my HOME dir inside the installed binaries to
detect errors in the future.
2025-03-28 11:51:49 +01:00
Christian Hohnstaedt
ba7ba02b20 Prepare Release 2.8.0 2024-10-13 14:18:12 +02:00
Christian Hohnstaedt
fee6235724 Close #306 #537 Allow Database-driver options in config file
XCA tries to read Database-driver specific options from
configurartion files in the getUserSettingsDir()
named after the driver and the host.
2024-10-03 10:44:54 +02:00
Christian Hohnstaedt
b2869e0152 Close #537: macos: Compile mariadb-connector and qsqlmysql
Some checks failed
CMake / build (build/xca-*-Linux.tar.gz, Unix Makefiles, linux, /usr, ubuntu, 5.15.2, ubuntu-latest) (push) Has been cancelled
CMake / build (build/xca-*-Linux.tar.gz, Unix Makefiles, linux, /usr, ubuntu, 6.6.2, ubuntu-latest) (push) Has been cancelled
CMake / build (build/xca-*.dmg, Unix Makefiles, mac, /opt/homebrew/opt/openssl, macos, 6.6.2, macos-latest) (push) Has been cancelled
CMake / build (build/xca-*.msi build/xca-portable-*.zip , MinGW Makefiles, windows, D:\msys2\msys64\mingw64, windows, 5.15.2, windows-2019, win64_mingw81) (push) Has been cancelled
and include them into the app.
This enables Mariadb/Mysql for Mac OSX

Related to #285
2024-10-01 23:20:04 +02:00
Christian Hohnstaedt
60c9eb5e1b Update shipped openssl libs to 3.3.2
Some checks are pending
CMake / build (build/xca-*-Linux.tar.gz, Unix Makefiles, linux, /usr, ubuntu, 5.15.2, ubuntu-latest) (push) Waiting to run
CMake / build (build/xca-*-Linux.tar.gz, Unix Makefiles, linux, /usr, ubuntu, 6.6.2, ubuntu-latest) (push) Waiting to run
CMake / build (build/xca-*.dmg, Unix Makefiles, mac, /opt/homebrew/opt/openssl, macos, 6.6.2, macos-latest) (push) Waiting to run
CMake / build (build/xca-*.msi build/xca-portable-*.zip , MinGW Makefiles, windows, D:\msys2\msys64\mingw64, windows, 5.15.2, windows-2019, win64_mingw81) (push) Waiting to run
2024-09-30 09:11:39 +02:00
Christian Hohnstaedt
7b9d75b97d Close #590: MacOS OpenSSL legacy provider not loaded
Compile-in the legacy module for windows and macos.
I compile the libraries anyway for the releases of those platforms.
2024-09-30 09:05:12 +02:00
Christian Hohnstaedt
ee48266625 Update OpenSSL versions
Stay with QT 6.6.3 on Windows, because windeployqt
does not deploy the gcc libs with QT 6.7.2
Stay with QT 6.6.3 on MacOS, because the info/warning
message does not show an icon
2024-08-20 11:00:21 +02:00
Christian Hohnstaedt
9d92318389 Fix ITMS-90886: Cannot be used with TestFlight
Add the name from the "provisionprofile" to the
entitlements to silence the error and allow
testflights.

Extend legacy.dylib to also include the x86_64 binary

Bump patch version to get new versions
even with commit amending.
2024-07-17 23:32:36 +02:00
Christian Hohnstaedt
b21221304b Windows/Mac build: switch to QT 6.6.3
and fix a minor typo
2024-07-17 23:32:36 +02:00
Christian Hohnstaedt
1725863325 Macos: Build on Github with SDK-10.15 and Qt5
For official builds go to SDK 11, since Qt-6.6
only supports SDK 11 anyway.

Switch to QT 6.6.2
2024-03-10 19:31:43 +01:00
Christian Hohnstaedt
a97229ae26 Update OpenSSL version for builds
INSTALL.mac is outdated. Its information is merged into
release/build-mac.sh and README.md
2024-02-14 22:33:05 +01:00
Christian Hohnstaedt
5b90728fd2 Update Openssl to 3.1.4 2023-10-30 00:42:38 +01:00
Christian Hohnstaedt
23a044f5ea Support different OSX SDK versions as LSMinimumSystemVersion
Also reduce the minimum SDK to 10.15 for the official build.
2023-10-10 21:03:40 +02:00
Christian Hohnstaedt
6dd1ceb7f3 Rename calculated VERSION.txt in BINARY_DIR
Otherwise if BINDIR == SRCDIR this would overwrite
the original VERSION.txt.
2023-10-01 20:47:26 +02:00
Christian Hohnstaedt
be31b6e22e Make XCA AppStore compliant with -DAPPSTORE_COMPLIANT=ON
APPSTORE_COMPLIANT = ON:
 - Turns off the File menu and moves the language selector to
   the "Extra" Menu. "Options" and "Exit" are at the xca-macos
   special-menu anyway.
 - Switches the signing key from "Developer ID Application" to
   "3rd Party Mac Developer Application"
 - Sets the database name to "default.xdb"
 - Adds "-appstore-compliant" option to macdeployqt
 - Picks the "entitlement-appstore-compliant.plist"
 - Disables the "Token" menu and "PKCS#11 provider" tab
   in the option dialog
2023-09-30 11:24:18 +02:00
Christian Hohnstaedt
cc9245b14c Fix release scripts after release ... 2023-09-24 22:11:04 +02:00
Christian Hohnstaedt
5e346353e6 Document the attempt to build universal mysql plugin
It only builds "x86_64":
$ file build-sqlplugins/plugins/sqldrivers/libqsqlmysql.dylib
build-sqlplugins/plugins/sqldrivers/libqsqlmysql.dylib: Mach-O 64-bit bundle x86_64

Building with -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" has no effect.
Neither has './configure -- -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64"'
Even './configure -- -DCMAKE_OSX_ARCHITECTURES="arm64"' only builds
x86_64 plugins.
2023-09-17 09:01:02 +02:00
Christian Hohnstaedt
5cdd1e134c Improve database plugin detection
Drivers that fail with "Driver not loaded"
are skipped silently.
2023-09-15 21:45:08 +02:00
Christian Hohnstaedt
3261dc85e8 Update version of QT to 6.6.0 2023-09-15 09:46:02 +02:00
Christian Hohnstaedt
9fd0be4bdc Switch to 6.5.1 and drop "Messagebox Workaround" 2023-05-25 23:49:25 +02:00
Christian Hohnstaedt
780225198d macos CMake defaults for local arch, SDK and brew-Qt
The universal binary with older SDK and aqt-Qt will be
built by the release/build-mac.sh script
2023-05-25 21:23:48 +02:00
Christian Hohnstaedt
d6d6d7d9d4 Update copyright years and adapt build scripts 2023-05-16 10:35:14 +02:00
Christian Hohnstädt
f7a6c39219 Support building with xcodebuild
Link that helped:

https://www.hotzi.com/blog/20210306-cmake-xcode-archive-problem/
2022-08-07 22:30:32 +02:00
Christian Hohnstaedt
957bdbaa72 Put release related files into an own sub-directory
git.release.something ->
   Create any git release with a tag to test package (debian/rpm) build

git.release -> Create required changes and tags for the next release
git.publish -> Finalize the release (github release)
gen-binary-hash / binary-hashes.json -> keep track of release hashes
2021-05-09 12:22:53 +02:00