gnome3.gnome-session: 3.28.1 → 3.30.1
This commit is contained in:
parent
dbddbb2635
commit
fd24e60d86
2 changed files with 5 additions and 10 deletions
|
@ -4,11 +4,11 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gnome-session-${version}";
|
||||
version = "3.28.1";
|
||||
version = "3.30.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gnome-session/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
||||
sha256 = "14nmbirgrp2nm16khbz109saqdlinlbrlhjnbjydpnrlimfgg4xq";
|
||||
sha256 = "0fbpq103md4g9gi67rxnwvha21629nxx7qazddy6q6494sbqbzpa";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
@ -38,11 +38,6 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
preFixup = ''
|
||||
for desktopFile in $(grep -rl "Exec=gnome-session" $out/share)
|
||||
do
|
||||
echo "Patching gnome-session path in: $desktopFile"
|
||||
sed -i "s,Exec=gnome-session,Exec=$out/bin/gnome-session," $desktopFile
|
||||
done
|
||||
wrapProgram "$out/bin/gnome-session" \
|
||||
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \
|
||||
--suffix XDG_DATA_DIRS : "$out/share:$GSETTINGS_SCHEMAS_PATH" \
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
--- a/gnome-session/gnome-session.in
|
||||
+++ b/gnome-session/gnome-session.in
|
||||
@@ -13,7 +13,7 @@
|
||||
@@ -13,7 +13,7 @@ if [ "x$XDG_SESSION_TYPE" = "xwayland" ] &&
|
||||
fi
|
||||
fi
|
||||
|
||||
-SETTING=$(gsettings get org.gnome.system.locale region)
|
||||
+SETTING=$(@gsettings@ get org.gnome.system.locale region)
|
||||
-SETTING=$(G_MESSAGES_DEBUG= gsettings get org.gnome.system.locale region)
|
||||
+SETTING=$(G_MESSAGES_DEBUG= @gsettings@ get org.gnome.system.locale region)
|
||||
REGION=${SETTING#\'}
|
||||
REGION=${REGION%\'}
|
||||
|
||||
|
|
Loading…
Reference in a new issue