xfce4-screensaver: init at 4.16.0

A simple screen saver and locker for the Xfce desktop environment.
This commit is contained in:
Erik Jensen 2021-11-19 02:11:08 -08:00 committed by Guillaume Girol
parent 1d08ea2bd8
commit e0d0ff64b2
5 changed files with 62 additions and 0 deletions

View File

@ -1611,6 +1611,13 @@
desktop environments as needed.
</para>
</listitem>
<listitem>
<para>
<literal>services.xserver.desktopManager.xfce</literal> now
includes Xfces screen locker,
<literal>xfce4-screensaver</literal>.
</para>
</listitem>
<listitem>
<para>
The <literal>hadoop</literal> package has added support for

View File

@ -576,6 +576,8 @@ In addition to numerous new and upgraded packages, this release has the followin
- The polkit service, available at `security.polkit.enable`, is now disabled by default. It will automatically be enabled through services and desktop environments as needed.
- `services.xserver.desktopManager.xfce` now includes Xfce's screen locker, `xfce4-screensaver`.
- The `hadoop` package has added support for `aarch64-linux` and `aarch64-darwin` as of 3.3.1 ([#158613](https://github.com/NixOS/nixpkgs/pull/158613)).
- The `R` package now builds again on `aarch64-darwin` ([#158992](https://github.com/NixOS/nixpkgs/pull/158992)).

View File

@ -99,6 +99,7 @@ in
ristretto
xfce4-appfinder
xfce4-notifyd
xfce4-screensaver
xfce4-screenshooter
xfce4-session
xfce4-settings
@ -168,5 +169,6 @@ in
xfce4-notifyd
];
security.pam.services.xfce4-screensaver.unixAuth = true;
};
}

View File

@ -0,0 +1,49 @@
{ mkXfceDerivation
, dbus-glib
, garcon
, glib
, gtk3
, libX11
, libXScrnSaver
, libXrandr
, libwnck
, libxfce4ui
, libxklavier
, pam
, systemd
, xfconf
, lib
}:
mkXfceDerivation {
category = "apps";
pname = "xfce4-screensaver";
version = "4.16.0";
sha256 = "1vblqhhzhv85yd5bz1xg14yli82ys5qrjdcabg3l53glbk61n99p";
buildInputs = [
dbus-glib
garcon
glib
gtk3
libX11
libXScrnSaver
libXrandr
libwnck
libxfce4ui
libxklavier
pam
systemd
xfconf
];
configureFlags = [ "--without-console-kit" ];
makeFlags = [ "DBUS_SESSION_SERVICE_DIR=$(out)/etc" ];
meta = {
description = "Screensaver for Xfce";
maintainers = with lib.maintainers; [ symphorien ];
};
}

View File

@ -82,6 +82,8 @@ lib.makeScope pkgs.newScope (self: with self; {
xfce4-terminal = callPackage ./applications/xfce4-terminal { };
xfce4-screensaver = callPackage ./applications/xfce4-screensaver { };
xfce4-screenshooter = callPackage ./applications/xfce4-screenshooter {
inherit (pkgs.gnome) libsoup;
};