keepassxc/src
alcroito abfebea4f2 Fix rpath handling and deployment of macOS helper binaries
CPack by default invokes the 'make install' target to install
all project files into a staging area for further packaging.

The order of installation follows the order of install() commands.

One of the first install() commands is the one that installs the
KeePassXC.app bundle and all the contents inside of it,
which includes POST_BUILD copied binaries like keepassxc-cli
and keepassxc-proxy.

Subsequent install(TARGETS) commands would then override the
keepassxc-cli and keepassxc-proxy binaries inside the staging area
with the ones which didn't have macdeployqt run on them (the ones from
src/cli and src/proxy).
Launching the binaries would then fail because of missing rpath
adjustments.

The libkeepassxc-autotype-cocoa.so library was working fine because
there is no install(TARGETS) command for it in a WITH_APP_BUNDLE build,
so the POST_BUILD copy with the adjusted rpaths was preserved.

To fix the issue and make the handling consistent, macdeployqt is no
longer run at POST_BUILD time, but instead at 'make install' time,
after each binary is installed by install(TARGETS).

libkeepassxc-autotype-cocoa.so also has its install command run
unconditionally now.

The build dir binaries that are POST_BUILD copied into
src/KeePassXC.app continue to run because they use the build dir
rpaths that CMake embeds by default. They don't macdeployqt run for
them anymore, which slightly speeds up the build time.

Fixes: #7475
2022-03-05 11:03:50 -05:00
..
autotype Fix rpath handling and deployment of macOS helper binaries 2022-03-05 11:03:50 -05:00
browser Fix password generator responses (#7404) 2022-02-23 17:48:50 -05:00
cli Fix rpath handling and deployment of macOS helper binaries 2022-03-05 11:03:50 -05:00
core Add support for Windows Hello 2022-02-22 17:53:50 -05:00
crypto Add support for Windows Hello 2022-02-22 17:53:50 -05:00
fdosecrets Fix wildcard window title matching in Auto-Type 2022-01-28 19:38:30 -05:00
format Correctly set KDBX envelope version 2021-11-22 12:58:04 +01:00
gui Properly press AltGr key in Windows Auto-Type 2022-02-25 06:05:21 -05:00
keeshare Fix access denied errors when using KeeShare export/sync (#7322) 2022-01-28 21:28:01 -05:00
keys Add support for Windows Hello 2022-02-22 17:53:50 -05:00
proxy Fix rpath handling and deployment of macOS helper binaries 2022-03-05 11:03:50 -05:00
qrcode Removing QWidget dependency from src/core. 2021-11-12 07:41:30 -05:00
sshagent SSH Agent: Add support for OpenSSH 8.2 FIDO/U2F keys 2021-10-01 16:25:14 -04:00
streams Optimize includes across code base 2021-07-13 22:08:33 -04:00
thirdparty Improve Yubikey USB API 2021-09-05 09:11:04 -04:00
totp Optimize includes across code base 2021-07-13 22:08:33 -04:00
touchid Add support for Windows Hello 2022-02-22 17:53:50 -05:00
updatecheck Optimize includes across code base 2021-07-13 22:08:33 -04:00
winhello Add support for Windows Hello 2022-02-22 17:53:50 -05:00
zxcvbn Add support for Microsoft Visual Studio buildchain 2021-09-19 17:16:45 -04:00
CMakeLists.txt Add support for Windows Hello 2022-02-22 17:53:50 -05:00
config-keepassx.h.cmake Add support for Windows Hello 2022-02-22 17:53:50 -05:00
git-info.h.cmake Cleanup CMakeFiles prior to release 2019-01-30 15:03:03 -05:00
main.cpp Fix unlocking multiple databases with pw-stdin when input is a pipe 2021-09-28 07:05:50 -04:00