Commit Graph

25 Commits

Author SHA1 Message Date
Samuel Dionne-Riel
1ba2080046 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.
2021-03-25 14:17:40 -04:00
Thomas Tuegel
bd2cf10c0c
Merge pull request #107476 from CertainLach/kwin-wayland-wrapper
kwin: allow using wrapper for qpa
2021-03-24 16:15:17 -05:00
Yaroslav Bolyukin
dc3fa33f47
kwin: add pipewire dependency
Required for window thumbnails on wayland

Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
2021-02-26 05:47:27 +03:00
Yaroslav Bolyukin
d7f5ac9b50
kwin: allow using wrapper for qpa
Signed-off-by: Yaroslav  Bolyukin <iam@lach.pw>
2020-12-23 18:41:10 +03:00
Andreas
c6cf4b8e79
Plasma 5.20.4 + some build fixes (dependencies, patches, ..) 2020-12-12 16:05:44 -06:00
Tom Hall
a604b073b7
plasma5: 5.18.5 -> 5.20.3 2020-12-12 16:05:44 -06:00
Vladimír Čunát
55ac5df242
kwin: fixup build by upstream patch 2020-11-04 21:48:35 +01:00
V
79921889a0 treewide: convert patch series files to Nix expressions
Nix expressions provide all the features that Quilt series files have,
so using those instead is pointless. Also, lib.readPathsFromFile
(the function used to read series files) has the following warning:

> NOTE: This function is not performant and should be avoided.

This also removes some orphaned series files, and unused references to
copyPathsToStore (which were probably missed in previous commits
where calls to lib.readPathsFromFile were removed)
2020-09-03 19:15:05 +02:00
Thomas Tuegel
59e5dc4cb5
kwin: add qtquickcontrols2 and qtvirtualkeyboard inputs 2020-09-01 05:33:37 -05:00
Eugene Shatsky
aa0574e394 plasma5.kwin: add mesa dependency
mesa provides libgbm required to build kwin_wayland drm backend with hw accel (compositing&clients)
2020-05-03 00:14:28 +03:00
Thomas Tuegel
35f0c972fa
kwin: Update patches for 5.17.5 2020-01-28 04:49:06 -06:00
Bastian Köcher
af44ab8400 plasma.kwin: Adds libdrm depdency
Libdrm is required to enable the DRM backend that is used by Wayland.
2018-07-26 23:28:29 +02:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Bastian Köcher
79f6c57558 plasma5: 5.12 -> 5.13 2018-06-12 14:30:48 +02:00
adisbladis
1de98e8568
plasma: 5.11.5 -> 5.12.1 2018-02-14 17:24:20 +08:00
Vladimír Čunát
ac3b8fe91a
kwin: fixup build with cmake-3.10 via upstream patch 2018-01-28 17:54:51 +01:00
adisbladis
ec9ae46684
kwin: Fix build with qt 5.10 2018-01-16 21:38:35 +08:00
Tuomas Tynkkynen
fd29f6685f qt5, plasma-5: Make 'bin' output the first one
Stay consistent with other multiple output packages.
2017-10-24 23:48:49 +03:00
Thomas Tuegel
8538d75734
plasma5: fixup inputs and outputs 2017-06-18 08:44:45 -05:00
Thomas Tuegel
7f95d4834f
kwin: pass path to Xwayland through preprocessor macro 2017-06-18 08:44:45 -05:00
Thomas Tuegel
eaa644a5af
plasma5: rename plasmaPackage to mkDerivation 2017-06-18 08:42:20 -05:00
Thomas Tuegel
a53f129c45
kwin: install service type aliases for broken packages
Some package(s) refer to kwin service types by the wrong names. I would prefer
to patch those packages, but I cannot find them!
2017-04-28 05:49:33 -05:00
Thomas Tuegel
c93c57b8ac
plasma5: 5.8.6 -> 5.9.3 2017-03-04 15:08:47 -06:00
Thomas Tuegel
127bf18a35
extra-cmake-modules: Lift Qt dependency 2017-02-27 11:49:46 -06:00
Thomas Tuegel
7f84ad5f4c
plasma5: Move to desktops/plasma-5 2017-02-27 11:49:12 -06:00