[digikam] [Bug 491042] MariaDB (MySQL) embedded files missing in fresh install
Michael Miller
bugzilla_noreply at kde.org
Wed Sep 18 02:31:00 BST 2024
https://bugs.kde.org/show_bug.cgi?id=491042
--- Comment #9 from Michael Miller <michael_miller at msn.com> ---
Hi Gilles and Maik,
New Homebrew MariaDB bundling is waiting for MR approval. There's more cleanup
that could be done to reduce the final package size, but this works well. The
MariaDB install is also portable so it can be run from anywhere as long as it
keeps it relative location in the DK bundle. There are 4 changes to Macports
needed to make this work, if you want to use it.
1.
https://invent.kde.org/graphics/digikam/-/blob/9b08d1df1f6917a0493d63c0e2a87476b6a6ab16/project/bundles/homebrew/04mm-build-installer.sh#L154
2.
https://invent.kde.org/graphics/digikam/-/blob/9b08d1df1f6917a0493d63c0e2a87476b6a6ab16/project/bundles/homebrew/04mm-build-installer.sh#L457
3.
https://invent.kde.org/graphics/digikam/-/blob/9b08d1df1f6917a0493d63c0e2a87476b6a6ab16/project/bundles/homebrew/04mm-build-installer.sh#L723
4.
https://invent.kde.org/graphics/digikam/-/blob/9b08d1df1f6917a0493d63c0e2a87476b6a6ab16/core/app/utils/digikam_globals_bundles.cpp#L176
Please note, the relative path in the bundle at runtime for MariaDB is derived
from
https://invent.kde.org/graphics/digikam/-/blob/9b08d1df1f6917a0493d63c0e2a87476b6a6ab16/core/app/utils/digikam_globals_bundles.cpp#L194
which is #ifdef to Homebrew. I don't see any harm in making this change for
all MacOS builds, and not just Homebrew since both statements will evaluate to
the same value once DK is installed.
I'm using my custom tool to rebase the rpaths in the binaries, but I think
adding @executable_path/../../.. rpaths should be enough, and it's already
being done in the Macports 04 script, so you may be able to remove my rebasing
loop.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the kde-mac
mailing list