Commit Graph

64 Commits

Author SHA1 Message Date
K900
7be965b73d kwin: remove unused input 2023-07-08 11:53:29 +03:00
Alyssa Ross
6abae5cbb5 xwayland: set meta.mainProgram 2023-05-27 15:00:40 +00:00
K900
62d6cdcf99 kwin: drop gcc12stdenv on aarch64 hack 2023-03-06 17:04:16 +03:00
K900
06ca9b6bd8 kwin: force gcc12Stdenv on aarch64 2023-02-14 14:15:58 +03:00
K900
d5210b6725 kwin: stop reverting c++20 things 2023-02-14 14:15:58 +03:00
K900
4d28accf12 kwin: fixup patch 2023-02-14 14:15:57 +03:00
Yuriy Taraday
eb7e411506 kwin: Fix building on aarch64-linux
Revert this commit to avoid dependency on <span> that is not providede
by GCC 9 that we currently use on aarch64:

9a34ebbffc

Part of NixOS/nixpkgs#191357
2022-10-12 17:15:57 +03:00
K900
13961bf28e pkgs/desktops/plasma-5: nixpkgs-fmt the whole thing 2022-10-12 17:15:56 +03:00
Alois Wohlschlager
f238a0a093
kwin: don't leak CAP_SYS_NICE
The capability wrapper raises CAP_SYS_NICE into the ambient set. As a
result, not only is kwin_wayland itself granted that capability, but
also all applications started by it (even transitively, i.e. the entire
desktop environment). While CAP_SYS_NICE is not a particularly dangerous
capability, that behaviour is still not great; furthermore it's annoying
because it breaks programs checking that they are not granted any
capabilities (e.g. bubblewrap).

Fix this behaviour by adding a patch that causes kwin_wayland to lower
CAP_SYS_NICE from the ambient capability set at startup. That way,
expected upstream behaviour is restored.
2022-08-07 19:12:37 +02:00
Josef Kemetmüller
1ca04aa9f1 treewide: Stop setting CMAKE_SKIP_BUILD_RPATH=OFF
This is now the new default and thus doesn't need to be set manually
anymore.
2022-07-04 03:49:01 +03:00
Andreas
08555e82ba kwin: fix build for 5.24.90 2022-06-15 14:53:40 +08:00
github-actions[bot]
8e01330277
Merge master into staging-next 2022-03-07 12:01:33 +00:00
Felix Buehler
e728776b56 plasma5: rename name to pname 2022-03-06 22:28:59 +01:00
André Vitor de Lima Matos
217b65f690 kde/plasma5: adjust patches to 5.24 2022-02-15 22:59:28 -03:00
Kerstin Humm
bb799694db
epoxy: rename to libepoxy
https://github.com/NixOS/nixpkgs/issues/145040
2021-11-11 05:55:32 +01:00
Sandro Jäckel
d849eaee70
plasma5Packages.kwin: fix expected output 2021-11-10 01:23:53 +01:00
Thomas Tuegel
55475be41a
Merge pull request #143842 from oxalica/fix/kwin-envvar
kwin: bypass environment variables from ld.so
2021-11-07 06:29:15 -06:00
Artturin
5caf1c3bd3 kwin: add optional dependency libqaccessibilityclient
fixes
-- The following OPTIONAL packages have not been found:
 * QAccessibilityClient, KDE client-side accessibility library, <https://www.kde.org>
   Required to enable accessibility features
2021-11-03 18:43:56 +02:00
oxalica
fa80fb5cf4
kwin: bypass environment variables from ld.so
Missing `TZDIR` would break plasmashell.
2021-11-03 05:55:41 +08:00
Yaroslav Bolyukin
1b1dcd94e5
kwin: remove outdated patches
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
2021-10-22 23:22:07 +03:00
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