forked from mirrors/nixpkgs
Merge pull request #162293 from bobby285271/pantheon
Pantheon updates 2022-02-28
This commit is contained in:
commit
80d84b063b
|
@ -7,6 +7,7 @@
|
|||
, desktop-file-utils
|
||||
, elementary-icon-theme
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, flatpak
|
||||
, gettext
|
||||
, glib
|
||||
|
@ -38,6 +39,17 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "sha256-xktIHQHmz5gh72NEz9UQ9fMvBlj1BihWxHgxsHmTIB0=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix AppStream.PoolFlags being renamed
|
||||
# Though the API break has been fixed in latest appstream,
|
||||
# let's use the non-deprecated version anyway.
|
||||
# https://github.com/elementary/appcenter/pull/1794
|
||||
(fetchpatch {
|
||||
url = "https://github.com/elementary/appcenter/commit/84bc6400713484aa9365f0ba73f59c495da3f08b.patch";
|
||||
sha256 = "sha256-HNRCJ/5mRbEVjCq9nrXtdQOOk1Jj5jalApkghD8ecpk=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
appstream-glib
|
||||
dbus # for pkg-config
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, nix-update-script
|
||||
, linkFarm
|
||||
, substituteAll
|
||||
|
@ -31,13 +30,13 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "elementary-greeter";
|
||||
version = "6.0.1";
|
||||
version = "6.0.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "elementary";
|
||||
repo = "greeter";
|
||||
rev = version;
|
||||
sha256 = "1f606ds56sp1c58q8dblfpaq9pwwkqw9i4gkwksw45m2xkwlbflq";
|
||||
sha256 = "sha256-0chBM8JuCYgZXHneiSxSICZwBVm2Vgx+bas9wUjbnyg=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
@ -47,15 +46,6 @@ stdenv.mkDerivation rec {
|
|||
src = ./hardcode-fallback-background.patch;
|
||||
default_wallpaper = "${nixos-artwork.wallpapers.simple-dark-gray.gnomeFilePath}";
|
||||
})
|
||||
# https://github.com/NixOS/nixpkgs/issues/151609
|
||||
# https://github.com/elementary/greeter/issues/578#issuecomment-1030746697
|
||||
./fix-crash.patch
|
||||
# Fix build with meson 0.61
|
||||
# https://github.com/elementary/greeter/pull/590
|
||||
(fetchpatch {
|
||||
url = "https://github.com/elementary/greeter/commit/a4b25244058fce794a9f13f6b22a8ff7735ebde9.patch";
|
||||
sha256 = "sha256-qPXhdvmYG8YMDU/CjbEkfZ0glgRzxnu0TsOPtvWHxLY=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -80,7 +70,6 @@ stdenv.mkDerivation rec {
|
|||
libhandy
|
||||
lightdm
|
||||
mutter
|
||||
wingpanel-with-indicators
|
||||
];
|
||||
|
||||
mesonFlags = [
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
diff --git a/src/Cards/UserCard.vala b/src/Cards/UserCard.vala
|
||||
index 83df22c..8cd917e 100644
|
||||
--- a/src/Cards/UserCard.vala
|
||||
+++ b/src/Cards/UserCard.vala
|
||||
@@ -42,6 +42,7 @@ public class Greeter.UserCard : Greeter.BaseCard {
|
||||
private Gtk.Stack login_stack;
|
||||
private Greeter.PasswordEntry password_entry;
|
||||
|
||||
+ private SelectionCheck logged_in;
|
||||
private unowned Gtk.StyleContext logged_in_context;
|
||||
private weak Gtk.StyleContext main_grid_style_context;
|
||||
private weak Gtk.StyleContext password_entry_context;
|
||||
@@ -214,7 +215,7 @@ public class Greeter.UserCard : Greeter.BaseCard {
|
||||
};
|
||||
avatar_overlay.add (avatar);
|
||||
|
||||
- var logged_in = new SelectionCheck () {
|
||||
+ logged_in = new SelectionCheck () {
|
||||
halign = Gtk.Align.END,
|
||||
valign = Gtk.Align.END
|
||||
};
|
Loading…
Reference in a new issue