diff options
author | Bobby Rong <rjl931189261@126.com> | 2022-08-01 16:11:25 +0800 |
---|---|---|
committer | Bobby Rong <rjl931189261@126.com> | 2022-08-01 16:36:53 +0800 |
commit | bf53f154d1e83c269d01ebad3476b2b7b1779240 (patch) | |
tree | 15bf7b893b65604482e0aecf214b098cbbf5666a /pkgs/applications/display-managers | |
parent | 231631eb93aafcfcab8f549a8292b978a19c2513 (diff) |
lightdm-gtk-greeter: remove gtk2 support
Upstream has no gtk2 support since 1.9.0.
Diffstat (limited to 'pkgs/applications/display-managers')
-rw-r--r-- | pkgs/applications/display-managers/lightdm/gtk-greeter.nix | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/pkgs/applications/display-managers/lightdm/gtk-greeter.nix b/pkgs/applications/display-managers/lightdm/gtk-greeter.nix index 8f28b9ac180b2..c6bc34dac07e3 100644 --- a/pkgs/applications/display-managers/lightdm/gtk-greeter.nix +++ b/pkgs/applications/display-managers/lightdm/gtk-greeter.nix @@ -6,18 +6,13 @@ , intltool , linkFarm , wrapGAppsHook -, useGTK2 ? false -, gtk2 -, gtk3 # gtk3 seems better supported +, gtk3 , xfce4-dev-tools , at-spi2-core , librsvg , hicolor-icon-theme }: -#ToDo: bad icons with gtk2; -# avatar icon is missing in standard hicolor theme, I don't know where gtk3 takes it from - let ver_branch = "2.0"; version = "2.0.7"; @@ -32,15 +27,14 @@ stdenv.mkDerivation rec { }; nativeBuildInputs = [ pkg-config intltool xfce4-dev-tools wrapGAppsHook ]; - buildInputs = [ lightdm librsvg hicolor-icon-theme ] - ++ (if useGTK2 then [ gtk2 ] else [ gtk3 ]); + buildInputs = [ lightdm librsvg hicolor-icon-theme gtk3 ]; configureFlags = [ "--localstatedir=/var" "--sysconfdir=/etc" "--disable-indicator-services-command" "--sbindir=${placeholder "out"}/bin" # for wrapGAppsHook to wrap automatically - ] ++ lib.optional useGTK2 "--with-gtk2"; + ]; postPatch = '' # exo-csource has been dropped from exo, and replaced by xdt-csource from xfce4-dev-tools |