Commit Graph

15 Commits

Author SHA1 Message Date
Dmitry Kalinkin
60055478c9
wrapQtAppsHook: fix a typo 2021-09-29 14:54:51 -04:00
Dmitry Kalinkin
1327726568
wrapQtAppsHook: add extra paths for macOS applications 2021-09-29 14:51:50 -04:00
Dmitry Kalinkin
ee33a90c56
qt: use isELF and isMachO in wrapQtAppsHook 2021-09-28 10:13:44 -04:00
Thomas Tuegel
67b7cffaec
wrapQtAppsHook: only run the hook once 2021-01-25 15:56:15 -06:00
Bjørn Forsman
9e144d5527 wrap-qt-apps-hook.sh: wrap binaries in ./sbin/
wrap-qt-apps-hook.sh runs before move-sbin.sh, so programs in ./sbin are
currently not wrapped. Fix it.
2019-12-08 20:44:29 +01:00
John Ericson
ef43c5f5d9 wrap-qt-apps-hook: qtWrapperArgs may be undefined 2019-11-17 15:48:39 -05:00
John Ericson
2811b032d6 treewide: Make still dont* Variables are optional in most cases
Go beyond the obvious setup hooks now, with a bit of sed, with a skipped case:

 - cc-wrapper's `dontlink`, because it already is handled.

Also, in nix files escaping was manually added.

EMP
2019-11-01 14:44:44 -04:00
worldofpeace
15e99a06a8 wrapQtAppsHook: correct skip directories heuristic 2019-09-20 19:10:02 -04:00
Bjørn Forsman
d6e65ec4a0 wrapQtAppsHook: skip directories
Prevents messages like this in the build log:

  grep: <PATH>/bin: Is a directory
2019-09-13 16:53:11 +02:00
Bjørn Forsman
c6d516dfc4 wrapQtAppsHook: use patchelf --print-interpreter instead of isELFExec
Some executables are built as PIEs (e.g. keepassxc) and are technically
isELFDyn, not isELFExec. Without this change those executables will not
be wrapped.
2019-09-13 16:53:11 +02:00
Florian Klink
88146a095f wrapQtAppsHook: use isELFExec
This ensures we only wrap executables, not shared libraries
2019-08-17 16:45:57 +02:00
worldofpeace
7d6ab0ad7a wrapQtAppsHook: use isELF
We should still prevent things like
scripts from being wrapped.
2019-07-17 15:53:15 -04:00
worldofpeace
4908d382ae wrapQtAppsHook: remove isQtApp
This was preventing dolphin from being wrapped.
2019-07-16 20:37:43 -04:00
worldofpeace
6c057aea5c wrapQtAppsHook: wrap binaries in libexec 2019-07-16 17:26:17 -04:00
Thomas Tuegel
f79fd2e826
wrapQtAppsHook: wrap Qt applications for runtime dependencies 2019-07-05 10:41:41 -05:00