xdg-desktop-portal-gtk: stop depending on gnome-settings-daemon at runtime
On my Plasma 6 desktop this removed those dependencies: colord: 1.4.6 → ∅, -3742.9 KiB gcr: 4.3.1 → ∅, -2077.1 KiB geocode-glib: 3.26.4 → ∅, -218.7 KiB gnome-session-ctl: 47.0.1 → ∅, -37.6 KiB gnome-settings-daemon: 47.2 → 47.2-gsettings, -6814.5 KiB libgnomekbd: 3.28.1 → ∅, -689.5 KiB libgweather: 4.4.4 → ∅, -23408.9 KiB libxklavier: 5.4 → ∅, -158.8 KiB
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
glib,
|
||||
wrapGAppsHook3,
|
||||
gsettings-desktop-schemas,
|
||||
runCommand,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
@@ -38,7 +39,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
xdg-desktop-portal
|
||||
gsettings-desktop-schemas # settings exposed by settings portal
|
||||
gnome-desktop
|
||||
gnome-settings-daemon # schemas needed for settings api (mostly useless now that fonts were moved to g-d-s, just mouse and xsettings)
|
||||
# schemas needed for settings api (mostly useless now that fonts were moved to g-d-s, just mouse and xsettings)
|
||||
(runCommand "gnome-settings-daemon-${gnome-settings-daemon.version}-gsettings-schemas" { } ''
|
||||
mkdir -p $out/share
|
||||
cp -r ${gnome-settings-daemon}/share/gsettings-schemas/ $out/share/
|
||||
'')
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
Reference in New Issue
Block a user