Unverified Commit a3d1954f authored by Jan Tojnar's avatar Jan Tojnar Committed by GitHub
Browse files

gnome-{settings-daemon,control-center,shell}: fix crash with hands-free profile (#482791)

parents b3114f56 f6375b51
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
  lib,
  stdenv,
  replaceVars,
  fetchpatch,
  accountsservice,
  adwaita-icon-theme,
  blueprint-compiler,
@@ -89,6 +90,15 @@ stdenv.mkDerivation (finalAttrs: {
      inherit glibc tzdata shadow;
      inherit cups networkmanagerapplet;
    })

    # Fix crash when switching to hands-free mode on a bluetooth headset
    (fetchpatch {
      name = "fix-bluetooth-handsfree-crash.patch";
      url = "https://gitlab.gnome.org/GNOME/libgnome-volume-control/-/merge_requests/31.patch";
      hash = "sha256-jFbItlXT05nnp825R/HvsWDFxAMzL4z36CsxhQ2sEIY=";
      stripLen = 1;
      extraPrefix = "subprojects/gvc/";
    })
  ];

  nativeBuildInputs = [
+10 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  stdenv,
  lib,
  replaceVars,
  fetchpatch,
  buildPackages,
  fetchurl,
  meson,
@@ -56,6 +57,15 @@ stdenv.mkDerivation (finalAttrs: {
    (replaceVars ./fix-paths.patch {
      inherit tzdata;
    })

    # Fix crash when switching to hands-free mode on a bluetooth headset
    (fetchpatch {
      name = "fix-bluetooth-handsfree-crash.patch";
      url = "https://gitlab.gnome.org/GNOME/libgnome-volume-control/-/merge_requests/31.patch";
      hash = "sha256-jFbItlXT05nnp825R/HvsWDFxAMzL4z36CsxhQ2sEIY=";
      stripLen = 1;
      extraPrefix = "subprojects/gvc/";
    })
  ];

  depsBuildBuild = [
+9 −0
Original line number Diff line number Diff line
@@ -111,6 +111,15 @@ stdenv.mkDerivation (finalAttrs: {
      url = "https://src.fedoraproject.org/rpms/gnome-shell/raw/dcd112d9708954187e7490564c2229d82ba5326f/f/0001-gdm-Work-around-failing-fingerprint-auth.patch";
      hash = "sha256-mgXty5HhiwUO1UV3/eDgWtauQKM0cRFQ0U7uocST25s=";
    })

    # Fix crash when switching to hands-free mode on a bluetooth headset
    (fetchpatch {
      name = "fix-bluetooth-handsfree-crash.patch";
      url = "https://gitlab.gnome.org/GNOME/libgnome-volume-control/-/merge_requests/31.patch";
      hash = "sha256-jFbItlXT05nnp825R/HvsWDFxAMzL4z36CsxhQ2sEIY=";
      stripLen = 1;
      extraPrefix = "subprojects/gvc/";
    })
  ];

  nativeBuildInputs = [