cross: upstream patches for nautilus, gnome-settings-daemon
This commit is contained in:
@@ -339,20 +339,21 @@ in with final; {
|
|||||||
# fixes: "gdbus-codegen not found or executable"
|
# fixes: "gdbus-codegen not found or executable"
|
||||||
# gnome-session = mvToNativeInputs [ glib ] super.gnome-session;
|
# gnome-session = mvToNativeInputs [ glib ] super.gnome-session;
|
||||||
|
|
||||||
# 2025/01/13: upstreaming is unblocked
|
# 2025/01/13: upstreaming is unblocked, out for review:
|
||||||
gnome-settings-daemon = prev.gnome-settings-daemon.overrideAttrs (orig: {
|
# - <https://github.com/NixOS/nixpkgs/pull/373666>
|
||||||
# 2024/12/18: upstreaming is blocked on poppler-glib (should be fixed in staging?)
|
# gnome-settings-daemon = prev.gnome-settings-daemon.overrideAttrs (orig: {
|
||||||
# gsd is required by xdg-desktop-portal-gtk
|
# # 2024/12/18: upstreaming is blocked on poppler-glib (should be fixed in staging?)
|
||||||
# pkg-config solves: "plugins/power/meson.build:22:0: ERROR: Dependency lookup for glib-2.0 with method 'pkgconfig' failed: Pkg-config binary for machine build machine not found."
|
# # gsd is required by xdg-desktop-portal-gtk
|
||||||
# stdenv.cc fixes: "plugins/power/meson.build:60:0: ERROR: No build machine compiler for 'plugins/power/gsd-power-enums-update.c'"
|
# # pkg-config solves: "plugins/power/meson.build:22:0: ERROR: Dependency lookup for glib-2.0 with method 'pkgconfig' failed: Pkg-config binary for machine build machine not found."
|
||||||
# but then it fails with a link-time error.
|
# # stdenv.cc fixes: "plugins/power/meson.build:60:0: ERROR: No build machine compiler for 'plugins/power/gsd-power-enums-update.c'"
|
||||||
# depsBuildBuild = orig.depsBuildBuild or [] ++ [ glib pkg-config buildPackages.stdenv.cc ];
|
# # but then it fails with a link-time error.
|
||||||
# hack to just not build the power plugin (panel?), to avoid cross compilation errors
|
# # depsBuildBuild = orig.depsBuildBuild or [] ++ [ glib pkg-config buildPackages.stdenv.cc ];
|
||||||
postPatch = orig.postPatch + ''
|
# # hack to just not build the power plugin (panel?), to avoid cross compilation errors
|
||||||
substituteInPlace plugins/meson.build \
|
# postPatch = orig.postPatch + ''
|
||||||
--replace-fail "disabled_plugins = []" "disabled_plugins = ['power']"
|
# substituteInPlace plugins/meson.build \
|
||||||
'';
|
# --replace-fail "disabled_plugins = []" "disabled_plugins = ['power']"
|
||||||
});
|
# '';
|
||||||
|
# });
|
||||||
|
|
||||||
# 2025/01/13: upstreaming is blocked on gnome-settings-daemon, mutter, evolution-data-server
|
# 2025/01/13: upstreaming is blocked on gnome-settings-daemon, mutter, evolution-data-server
|
||||||
# gnome-shell = super.gnome-shell.overrideAttrs (orig: {
|
# gnome-shell = super.gnome-shell.overrideAttrs (orig: {
|
||||||
@@ -508,12 +509,13 @@ in with final; {
|
|||||||
# postInstall = lib.replaceStrings [ "${glib.dev}" ] [ "${buildPackages.glib.dev}" ] orig.postInstall;
|
# postInstall = lib.replaceStrings [ "${glib.dev}" ] [ "${buildPackages.glib.dev}" ] orig.postInstall;
|
||||||
# });
|
# });
|
||||||
|
|
||||||
# 2025/01/13: upstreaming is unblocked
|
# 2025/01/13: upstreaming is unblocked, out for review:
|
||||||
nautilus = prev.nautilus.overrideAttrs (upstream: {
|
# <https://github.com/NixOS/nixpkgs/pull/373662>
|
||||||
mesonFlags = upstream.mesonFlags ++ [
|
# nautilus = prev.nautilus.overrideAttrs (upstream: {
|
||||||
"-Dtests=none" # v.s. `headless` for native compilation
|
# mesonFlags = upstream.mesonFlags ++ [
|
||||||
];
|
# "-Dtests=none" # v.s. `headless` for native compilation
|
||||||
});
|
# ];
|
||||||
|
# });
|
||||||
|
|
||||||
# fixes: "ar: command not found"
|
# fixes: "ar: command not found"
|
||||||
# `ar` is provided by bintools
|
# `ar` is provided by bintools
|
||||||
|
@@ -61,6 +61,18 @@ in
|
|||||||
# hash = "sha256-jW66W1V3upZMfbjuoruY3OGNJfEewx7DW/Z4vAhMEXw=";
|
# hash = "sha256-jW66W1V3upZMfbjuoruY3OGNJfEewx7DW/Z4vAhMEXw=";
|
||||||
# })
|
# })
|
||||||
|
|
||||||
|
(fetchpatch' {
|
||||||
|
name = "nautilus: fix cross compilation";
|
||||||
|
prUrl = "https://github.com/NixOS/nixpkgs/pull/373662";
|
||||||
|
hash = "sha256-/51SnUExwsqSSwgR3dxUozDAMf5wHoMIT7+NDpIdYNI=";
|
||||||
|
})
|
||||||
|
|
||||||
|
(fetchpatch' {
|
||||||
|
name = "gnome-settings-daemon: fix cross compilation";
|
||||||
|
prUrl = "https://github.com/NixOS/nixpkgs/pull/373666";
|
||||||
|
hash = "sha256-Mdyw34MhFiscGUYYcPhOoQBrXDzAvPiWp3/OuB7kB30=";
|
||||||
|
})
|
||||||
|
|
||||||
(fetchpatch' {
|
(fetchpatch' {
|
||||||
# patch should be safe to remove; keeping it here to track the upstreaming status
|
# patch should be safe to remove; keeping it here to track the upstreaming status
|
||||||
name = "nixos/gitea: don't configure the database if `createDatabase == false`";
|
name = "nixos/gitea: don't configure the database if `createDatabase == false`";
|
||||||
|
Reference in New Issue
Block a user