Commit Graph

44 Commits

Author SHA1 Message Date
Yaroslav Bolyukin
60679c15e3
kwin: unwrap executable name for resource name
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
2021-09-25 19:53:59 +03:00
Ryan Burns
879de382a6 kwin: fix build against libglvnd 1.3.4+
https://hydra.nixos.org/build/153586964
https://bugs.kde.org/show_bug.cgi?id=440372
https://invent.kde.org/plasma/kwin/-/merge_requests/1404
https://invent.kde.org/plasma/kwin/-/merge_requests/1420
2021-09-19 11:36:13 -07:00
Yaroslav Bolyukin
473525a9f2 kwin: upgrade patches
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
2021-08-05 17:01:19 +09:00
Thomas Tuegel
2df0eaf41b
kwin: add optional dependencies 2021-05-14 05:45:20 -05:00
Thomas Tuegel
11702307c7
kwin: add optional krunner dependency 2021-05-14 05:45:19 -05:00
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
Thomas Tuegel
521fe0290a plasma5.thirdParty: move third-party addons here 2020-09-07 08:06:28 -05:00
Thomas Tuegel
a1b634bd7e
Merge pull request #97020 from samuelgrf/initpkg/dynamic-workspaces
kwin-dynamic-workspaces: init at 1.0.1
2020-09-04 08:42:00 -05:00
Peter Hoeg
0fd664e0b0
Merge pull request #97022 from samuelgrf/fix/kwin-scripts-typo
krohnkite,kwin-tiling: fix typo
2020-09-04 08:19:47 +08:00
Samuel Gräfenstein
d86a966d65
kwin-dynamic-workspaces: init at 1.0.1 2020-09-03 22:57:55 +02: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
Samuel Gräfenstein
31cb1dc755
kwin-tiling: fix typo 2020-09-03 16:15:09 +02:00
Samuel Gräfenstein
eda3730e6f
krohnkite: fix typo 2020-09-03 16:15:03 +02:00
Thomas Tuegel
59e5dc4cb5
kwin: add qtquickcontrols2 and qtvirtualkeyboard inputs 2020-09-01 05:33:37 -05:00
R. RyanTM
3a86622553 kwin-tiling: 2.2 -> 2.4 2020-07-31 02:53:45 +00: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
R. RyanTM
2d2ef3f984 krohnkite: 0.6.1 -> 0.7 2020-03-04 06:16:05 +00:00
R. RyanTM
a27ceaa565 krohnkite: 0.6 -> 0.6.1 2020-02-11 10:04:03 +00:00
Thomas Tuegel
1a903be2de
Merge pull request #79011 from ttuegel/update--plasma-5.17.5
Plasma 5.17.5
2020-02-06 09:59:51 -06:00
R. RyanTM
4024c84f04 krohnkite: 0.5 -> 0.6 2020-01-31 08:26:57 +00:00
Thomas Tuegel
35f0c972fa
kwin: Update patches for 5.17.5 2020-01-28 04:49:06 -06:00
Gürkan Gür
5d1933e242 krohnkite: init at 0.5 2019-11-27 19:30:52 +01:00
Peter Hoeg
4a83f6ba01 kwin-tiling: init at 2.2 2019-09-11 13:50:05 +08:00
nyanloutre
ea1131fc39 kwin: fix xwayland patch
The Xwayland code path was moved from ApplicationWayland to a dedicated
class
https://phabricator.kde.org/D15020
2019-08-16 11:26:17 +02: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