gnome3.mutter: clean up
* upower no longer used – fa9e330f2c
* only libcanbera, not libcanberra-gtk is used
* cogl has been in-tree for ages
* geocode-glib has not been used ever?
* no need to have zenity in buildInputs, it is only needed in patch
* move patches attr after src
This commit is contained in:
parent
b491020081
commit
4a48684965
@ -6,14 +6,12 @@
|
|||||||
, gnome3
|
, gnome3
|
||||||
, gettext
|
, gettext
|
||||||
, gobject-introspection
|
, gobject-introspection
|
||||||
, upower
|
|
||||||
, cairo
|
, cairo
|
||||||
, pango
|
, pango
|
||||||
, cogl
|
|
||||||
, json-glib
|
, json-glib
|
||||||
, libstartup_notification
|
, libstartup_notification
|
||||||
, zenity
|
, zenity
|
||||||
, libcanberra-gtk3
|
, libcanberra
|
||||||
, ninja
|
, ninja
|
||||||
, xkeyboard_config
|
, xkeyboard_config
|
||||||
, libxkbfile
|
, libxkbfile
|
||||||
@ -24,7 +22,6 @@
|
|||||||
, glib
|
, glib
|
||||||
, gtk3
|
, gtk3
|
||||||
, gnome-desktop
|
, gnome-desktop
|
||||||
, geocode-glib
|
|
||||||
, pipewire
|
, pipewire
|
||||||
, libgudev
|
, libgudev
|
||||||
, libwacom
|
, libwacom
|
||||||
@ -53,6 +50,17 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0p3jglw6f2h67kwk89qz1rz23y25lip8m2mp2xshf2vrg4a930as";
|
sha256 = "0p3jglw6f2h67kwk89qz1rz23y25lip8m2mp2xshf2vrg4a930as";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Drop inheritable cap_sys_nice, to prevent the ambient set from leaking
|
||||||
|
# from mutter/gnome-shell, see https://github.com/NixOS/nixpkgs/issues/71381
|
||||||
|
./drop-inheritable.patch
|
||||||
|
|
||||||
|
(substituteAll {
|
||||||
|
src = ./fix-paths.patch;
|
||||||
|
inherit zenity;
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
mesonFlags = [
|
mesonFlags = [
|
||||||
"-Degl_device=true"
|
"-Degl_device=true"
|
||||||
"-Dinstalled_tests=false" # TODO: enable these
|
"-Dinstalled_tests=false" # TODO: enable these
|
||||||
@ -85,16 +93,14 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
cairo
|
cairo
|
||||||
cogl
|
|
||||||
egl-wayland
|
egl-wayland
|
||||||
geocode-glib
|
|
||||||
glib
|
glib
|
||||||
gnome-desktop
|
gnome-desktop
|
||||||
gnome-settings-daemon
|
gnome-settings-daemon
|
||||||
gobject-introspection
|
gobject-introspection
|
||||||
gsettings-desktop-schemas
|
gsettings-desktop-schemas
|
||||||
gtk3
|
gtk3
|
||||||
libcanberra-gtk3
|
libcanberra
|
||||||
libgudev
|
libgudev
|
||||||
libinput
|
libinput
|
||||||
libstartup_notification
|
libstartup_notification
|
||||||
@ -104,25 +110,11 @@ stdenv.mkDerivation rec {
|
|||||||
pango
|
pango
|
||||||
pipewire
|
pipewire
|
||||||
sysprof
|
sysprof
|
||||||
upower
|
|
||||||
xkeyboard_config
|
xkeyboard_config
|
||||||
xwayland
|
xwayland
|
||||||
zenity
|
|
||||||
zenity
|
|
||||||
wayland-protocols
|
wayland-protocols
|
||||||
];
|
];
|
||||||
|
|
||||||
patches = [
|
|
||||||
# Drop inheritable cap_sys_nice, to prevent the ambient set from leaking
|
|
||||||
# from mutter/gnome-shell, see https://github.com/NixOS/nixpkgs/issues/71381
|
|
||||||
./drop-inheritable.patch
|
|
||||||
|
|
||||||
(substituteAll {
|
|
||||||
src = ./fix-paths.patch;
|
|
||||||
inherit zenity;
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
patchShebangs src/backends/native/gen-default-modes.py
|
patchShebangs src/backends/native/gen-default-modes.py
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user