mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
epiphany: Fix startup crash on Pantheon
* gdk_display_manager_get() was called before gtk_init() * gtk_menu_button_set_icon_name: assertion 'GTK_IS_MENU_BUTTON (menu_button)' failed
This commit is contained in:
parent
e06158e58f
commit
353c718f02
1 changed files with 17 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
|||
ninja,
|
||||
gettext,
|
||||
fetchurl,
|
||||
fetchpatch,
|
||||
pkg-config,
|
||||
gtk4,
|
||||
glib,
|
||||
|
@ -44,6 +45,22 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
hash = "sha256-2ilT5+K3O/dHPAozl5EE15NieVKV6qCio46hiFN9rxM=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# shell: Fix startup crash on Pantheon
|
||||
# https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1818
|
||||
(fetchpatch {
|
||||
url = "https://gitlab.gnome.org/GNOME/epiphany/-/commit/da4437beb7f1fbc9c2fa3d4629b8c826d484835e.patch";
|
||||
hash = "sha256-meufd5gnhLcK0dgIXEMDnid9e1R2M1D3jZ9Yoh6YobM=";
|
||||
})
|
||||
|
||||
# action-bar-end: Fix startup crash on Pantheon
|
||||
# https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1819
|
||||
(fetchpatch {
|
||||
url = "https://gitlab.gnome.org/GNOME/epiphany/-/commit/d69866854b315123c8832fae58c6de008da20ea0.patch";
|
||||
hash = "sha256-GnZQC4rtBYRr+x9mF8pCFDcDOjEJj+27ECdXBNL42kQ=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
desktop-file-utils
|
||||
gettext
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue