cinnamon.cinnamon-session: 5.8.1 -> 6.0.1

https://github.com/linuxmint/cinnamon-session/compare/5.8.1...6.0.1

New cinnamon-session-quit dialog.
264a4d0a67
This commit is contained in:
Bobby Rong 2023-11-19 23:00:29 +08:00
parent 540072b8a1
commit b21bfd8b5d
No known key found for this signature in database

View File

@ -23,15 +23,22 @@
, pango , pango
}: }:
let
pythonEnv = python3.withPackages (pp: with pp; [
pp.xapp # don't omit `pp.`, see #213561
pygobject3
setproctitle
]);
in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "cinnamon-session"; pname = "cinnamon-session";
version = "5.8.1"; version = "6.0.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "linuxmint"; owner = "linuxmint";
repo = pname; repo = pname;
rev = version; rev = version;
hash = "sha256-NVoP1KYh/z96NKMi9LjL4RgkjJg32oSy5WHJ91+70DI="; hash = "sha256-9wdakMCW0RnsYdf9OmK/Q9o8m0g+5EfHVbjqvFY3d/w=";
}; };
patches = [ patches = [
@ -40,6 +47,7 @@ stdenv.mkDerivation rec {
buildInputs = [ buildInputs = [
# meson.build # meson.build
cinnamon-desktop
gtk3 gtk3
glib glib
libcanberra libcanberra
@ -57,12 +65,11 @@ stdenv.mkDerivation rec {
xorg.xtrans xorg.xtrans
# other (not meson.build) # other (not meson.build)
cinnamon-desktop
cinnamon-settings-daemon cinnamon-settings-daemon
dbus-glib dbus-glib
glib glib
gsettings-desktop-schemas gsettings-desktop-schemas
pythonEnv # for cinnamon-session-quit
]; ];
nativeBuildInputs = [ nativeBuildInputs = [
@ -81,8 +88,10 @@ stdenv.mkDerivation rec {
]; ];
postPatch = '' postPatch = ''
chmod +x data/meson_install_schemas.py # patchShebangs requires executable file # patchShebangs requires executable file
patchShebangs data/meson_install_schemas.py chmod +x data/meson_install_schemas.py cinnamon-session-quit/cinnamon-session-quit.py
patchShebangs --build data/meson_install_schemas.py
patchShebangs --host cinnamon-session-quit/cinnamon-session-quit.py
''; '';
preFixup = '' preFixup = ''