summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorSamuel Dionne-Riel <samuel@dionne-riel.com>2021-03-16 15:09:32 -0400
committerSamuel Dionne-Riel <samuel@dionne-riel.com>2021-03-25 14:17:40 -0400
commit1ba208004689ecc15872b974dab1124916760be9 (patch)
tree67d36cc895489f2fe4f29dd45b2077427b39901a /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent06733bcf290555154666410f2fb30ee4a2aba6c0 (diff)
kwin: Unwrap executable name for desktop file search
KWin for wayland uses the `.desktop` file to determine whether a process is allowed to access some wayland services. This would be fine if there was a stable interface to map a process to a `.desktop` file. Since there is no such interface, they are scanning `.desktop` files for one where the executable path matches the resolved file "exe" from `/proc/$PID/exe`. This would be fine, if we didn't wrap many (most?) KDE/Plasma binaries. Since we are wrapping binaries, the `exe` symlink points to a wrapped binary. No `.desktop` file will match for the wrapped binary. The solution here is to peel away at the `.${name}-wrapped` layers until we have the intended name for the executable. It is expected that no `.desktop` file will ever point to a wrapped binary.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions