Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plasma5: 5.21.5 -> 5.22 #127389

Merged
merged 22 commits into from
Aug 5, 2021
Merged
Show file tree
Hide file tree
Changes from 21 commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion nixos/modules/services/x11/desktop-managers/plasma5.nix
Original file line number Diff line number Diff line change
Expand Up @@ -271,13 +271,14 @@ in
kmenuedit
kscreen
kscreenlocker
ksysguard
ksystemstats
kwayland
kwin
kwrited
libkscreen
libksysguard
milou
plasma-systemmonitor
plasma-browser-integration
plasma-integration
polkit-kde-agent
Expand Down
3 changes: 2 additions & 1 deletion pkgs/applications/office/calligra/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
, kcontacts, akonadi, akonadi-calendar, akonadi-contacts
, eigen, git, gsl, ilmbase, kproperty, kreport, lcms2, marble, pcre, libgit2, libodfgen
, librevenge, libvisio, libwpd, libwpg, libwps, okular, openexr, openjpeg, phonon
, poppler, pstoedit, qca-qt5, vc
, poppler, pstoedit, qca-qt5, vc, fontconfig
# TODO: package Spnav, m2mml LibEtonyek, Libqgit2
}:

Expand All @@ -32,6 +32,7 @@ mkDerivation rec {
kcontacts akonadi akonadi-calendar akonadi-contacts
eigen git gsl ilmbase kproperty kreport lcms2 marble pcre libgit2 libodfgen librevenge
libvisio libwpd libwpg libwps okular openexr openjpeg phonon poppler qca-qt5 vc
fontconfig
];

propagatedUserEnvPkgs = [ kproperty ];
Expand Down
4 changes: 3 additions & 1 deletion pkgs/desktops/plasma-5/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,14 @@ let
kscreen = callPackage ./kscreen.nix {};
kscreenlocker = callPackage ./kscreenlocker.nix {};
ksshaskpass = callPackage ./ksshaskpass.nix {};
ksysguard = callPackage ./ksysguard.nix {};
CertainLach marked this conversation as resolved.
Show resolved Hide resolved
ksysguard = throw "ksysguard has been replaced with plasma-systemmonitor";
ksystemstats = callPackage ./ksystemstats.nix {};
kwallet-pam = callPackage ./kwallet-pam.nix {};
kwayland-integration = callPackage ./kwayland-integration.nix {};
kwayland-server = callPackage ./kwayland-server {};
kwin = callPackage ./kwin {};
kwrited = callPackage ./kwrited.nix {};
layer-shell-qt = callPackage ./layer-shell-qt.nix {};
libkscreen = callPackage ./libkscreen {};
libksysguard = callPackage ./libksysguard {};
milou = callPackage ./milou.nix {};
Expand Down
2 changes: 1 addition & 1 deletion pkgs/desktops/plasma-5/fetch.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
WGET_ARGS=( https://download.kde.org/stable/plasma/5.21.5/ -A '*.tar.xz' )
WGET_ARGS=( https://download.kde.org/stable/plasma/5.22.3/ -A '*.tar.xz' )
4 changes: 2 additions & 2 deletions pkgs/desktops/plasma-5/kdeplasma-addons.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
mkDerivation,
extra-cmake-modules, kdoctools,
kconfig, kconfigwidgets, kcoreaddons, kcmutils, kholidays,
kio, knewstuff, kpurpose, kross, krunner, kservice, ksysguard,
kio, knewstuff, kpurpose, kross, krunner, kservice,
kunitconversion, ibus, plasma-framework, plasma-workspace, qtdeclarative,
qtwebengine, qtx11extras
}:
Expand All @@ -12,7 +12,7 @@ mkDerivation {
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [
kconfig kconfigwidgets kcoreaddons kcmutils kholidays kio
knewstuff kpurpose kross krunner kservice ksysguard kunitconversion ibus
knewstuff kpurpose kross krunner kservice kunitconversion ibus
plasma-framework plasma-workspace qtdeclarative qtwebengine qtx11extras
];
}
3 changes: 2 additions & 1 deletion pkgs/desktops/plasma-5/kscreenlocker.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
extra-cmake-modules, kdoctools,
kcmutils, kcrash, kdeclarative, kglobalaccel, kidletime,
kwayland, libXcursor, pam, plasma-framework, qtbase, qtdeclarative, qtx11extras,
wayland,
wayland, layer-shell-qt,
}:

mkDerivation {
Expand All @@ -12,6 +12,7 @@ mkDerivation {
buildInputs = [
kcmutils kcrash kdeclarative kglobalaccel kidletime kwayland
libXcursor pam plasma-framework qtdeclarative qtx11extras wayland
layer-shell-qt
];
outputs = [ "out" "dev" ];
}
17 changes: 0 additions & 17 deletions pkgs/desktops/plasma-5/ksysguard.nix

This file was deleted.

11 changes: 11 additions & 0 deletions pkgs/desktops/plasma-5/ksystemstats.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{ mkDerivation, lib
, extra-cmake-modules
, libksysguard, libnl, lm_sensors, networkmanager-qt
}:

mkDerivation {
name = "ksystemstats";
NIX_CFLAGS_COMPILE = [ "-I${libksysguard.bin}/share" ];
ttuegel marked this conversation as resolved.
Show resolved Hide resolved
nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ libksysguard libnl lm_sensors networkmanager-qt ];
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ file in-use according to the kernel!

Wrappers cannot affect the `/proc/.../exe` symlink!
---
service_utils.h | 28 +++++++++++++++++++++++++++-
src/service_utils.h | 28 +++++++++++++++++++++++++++-
1 file changed, 27 insertions(+), 1 deletion(-)

diff --git a/service_utils.h b/service_utils.h
diff --git a/src/service_utils.h b/src/service_utils.h
index 8a70c1fad..6674f553b 100644
--- a/service_utils.h
+++ b/service_utils.h
--- a/src/service_utils.h
+++ b/src/service_utils.h
@@ -26,8 +26,34 @@ namespace KWin
const static QString s_waylandInterfaceName = QStringLiteral("X-KDE-Wayland-Interfaces");
const static QString s_dbusRestrictedInterfaceName = QStringLiteral("X-KDE-DBUS-Restricted-Interfaces");
Expand Down
8 changes: 4 additions & 4 deletions pkgs/desktops/plasma-5/kwin/0001-follow-symlinks.patch
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ Date: Mon, 27 Jan 2020 05:31:13 -0600
Subject: [PATCH 1/3] follow symlinks

---
plugins/kdecorations/aurorae/src/aurorae.cpp | 2 +-
src/plugins/kdecorations/aurorae/src/aurorae.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/kdecorations/aurorae/src/aurorae.cpp b/plugins/kdecorations/aurorae/src/aurorae.cpp
diff --git a/src/plugins/kdecorations/aurorae/src/aurorae.cpp b/src/plugins/kdecorations/aurorae/src/aurorae.cpp
index 5242cb7..2e4ddae 100644
--- a/plugins/kdecorations/aurorae/src/aurorae.cpp
+++ b/plugins/kdecorations/aurorae/src/aurorae.cpp
--- a/src/plugins/kdecorations/aurorae/src/aurorae.cpp
+++ b/src/plugins/kdecorations/aurorae/src/aurorae.cpp
@@ -201,7 +201,7 @@ void Helper::init()
// so let's try to locate our plugin:
QString pluginPath;
Expand Down
8 changes: 4 additions & 4 deletions pkgs/desktops/plasma-5/kwin/0002-xwayland.patch
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ Date: Mon, 27 Jan 2020 05:31:23 -0600
Subject: [PATCH 2/3] xwayland

---
xwl/xwayland.cpp | 2 +-
src/xwl/xwayland.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xwl/xwayland.cpp b/xwl/xwayland.cpp
diff --git a/src/xwl/xwayland.cpp b/src/xwl/xwayland.cpp
index 57efdde..a211a58 100644
--- a/xwl/xwayland.cpp
+++ b/xwl/xwayland.cpp
--- a/src/xwl/xwayland.cpp
+++ b/src/xwl/xwayland.cpp
@@ -124,7 +124,7 @@ void Xwayland::start()

m_xwaylandProcess = new Process(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ Subject: [PATCH 3/3] plugins/qpa: allow using nixos wrapper

Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
---
plugins/qpa/main.cpp | 2 +-
src/plugins/qpa/main.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/qpa/main.cpp b/plugins/qpa/main.cpp
diff --git a/src/plugins/qpa/main.cpp b/src/plugins/qpa/main.cpp
index efd236b..a69c046 100644
--- a/plugins/qpa/main.cpp
+++ b/plugins/qpa/main.cpp
--- a/src/plugins/qpa/main.cpp
+++ b/src/plugins/qpa/main.cpp
@@ -23,7 +23,7 @@ public:
QPlatformIntegration *KWinIntegrationPlugin::create(const QString &system, const QStringList &paramList)
{
Expand Down
10 changes: 10 additions & 0 deletions pkgs/desktops/plasma-5/layer-shell-qt.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{ mkDerivation, lib
, extra-cmake-modules
, kguiaddons, kidletime, kwayland, kwindowsystem, qtbase, wayland-scanner, wayland, wayland-protocols
}:

mkDerivation {
name = "layer-shell-qt";
nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ kguiaddons kidletime kwindowsystem kwayland qtbase wayland-scanner wayland wayland-protocols ];
}
4 changes: 2 additions & 2 deletions pkgs/desktops/plasma-5/libksysguard/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
extra-cmake-modules,
kauth, kcompletion, kconfig, kconfigwidgets, kcoreaddons, ki18n, kiconthemes,
knewstuff, kservice, kwidgetsaddons, kwindowsystem, plasma-framework,
qtbase, qtscript, qtwebengine, qtx11extras
qtbase, qtscript, qtwebengine, qtx11extras, libnl
}:

mkDerivation {
Expand All @@ -15,7 +15,7 @@ mkDerivation {
buildInputs = [
kauth kconfig ki18n kiconthemes kwindowsystem kcompletion kconfigwidgets
kcoreaddons kservice kwidgetsaddons plasma-framework qtscript qtx11extras
qtwebengine knewstuff
qtwebengine knewstuff libnl
];
outputs = [ "bin" "dev" "out" ];
}
6 changes: 3 additions & 3 deletions pkgs/desktops/plasma-5/plasma-desktop/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
attica, baloo, kaccounts-integration, kactivities, kactivities-stats, kauth,
kcmutils, kdbusaddons, kdeclarative, kded, kdelibs4support, kemoticons,
kglobalaccel, ki18n, kitemmodels, knewstuff, knotifications, knotifyconfig,
kpeople, krunner, kscreenlocker, ksysguard, kwallet, kwin, phonon,
kpeople, krunner, kscreenlocker, kwallet, kwin, phonon,
plasma-framework, plasma-workspace, qqc2-desktop-style, xf86inputlibinput
}:

Expand All @@ -28,7 +28,7 @@ mkDerivation {
attica baloo kaccounts-integration kactivities kactivities-stats kauth
kcmutils kdbusaddons kdeclarative kded kdelibs4support kemoticons
kglobalaccel ki18n kitemmodels knewstuff knotifications knotifyconfig
kpeople krunner kscreenlocker ksysguard kwallet kwin plasma-framework
kpeople krunner kscreenlocker kwallet kwin plasma-framework
plasma-workspace qqc2-desktop-style
];

Expand All @@ -41,11 +41,11 @@ mkDerivation {
'';
CXXFLAGS = [
"-I${lib.getDev xorgserver}/include/xorg"
"-I${lib.getDev xf86inputsynaptics}/include/xorg"
''-DNIXPKGS_HWCLOCK=\"${lib.getBin util-linux}/sbin/hwclock\"''
];
cmakeFlags = [
"-DEvdev_INCLUDE_DIRS=${lib.getDev xf86inputevdev}/include/xorg"
"-DSynaptics_INCLUDE_DIRS=${lib.getDev xf86inputsynaptics}/include/xorg"
"-DXORGLIBINPUT_INCLUDE_DIRS=${lib.getDev xf86inputlibinput}/include/xorg"
];
postInstall = ''
Expand Down
17 changes: 7 additions & 10 deletions pkgs/desktops/plasma-5/plasma-vault/encfs-path.patch
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,18 @@ diff --git a/kded/engine/backends/encfs/encfsbackend.cpp b/kded/engine/backends/
index 628af7b..6edd38e 100644
--- a/kded/engine/backends/encfs/encfsbackend.cpp
+++ b/kded/engine/backends/encfs/encfsbackend.cpp
@@ -137,7 +137,7 @@ QProcess *EncFsBackend::encfs(const QStringList &arguments) const
@@ -100,12 +100,12 @@ QProcess *EncFsBackend::encfs(const QStringList &arguments) const
auto config = KSharedConfig::openConfig(PLASMAVAULT_CONFIG_FILE);
KConfigGroup backendConfig(config, "EncfsBackend");

- return process("encfs",
+ return process(NIXPKGS_ENCFS,
arguments + backendConfig.readEntry("extraMountOptions", QStringList{}),
{});

- return process("encfs", arguments + backendConfig.readEntry("extraMountOptions", QStringList{}), {});
+ return process(NIXPKGS_ENCFS, arguments + backendConfig.readEntry("extraMountOptions", QStringList{}), {});
}
@@ -146,7 +146,7 @@ QProcess *EncFsBackend::encfs(const QStringList &arguments) const


QProcess *EncFsBackend::encfsctl(const QStringList &arguments) const
{
- return process("encfsctl", arguments, {});
+ return process(NIXPKGS_ENCFSCTL, arguments, {});
}


} // namespace PlasmaVault
Loading