gnome.gnome-shell: 44.beta → 44.rc

https://gitlab.gnome.org/GNOME/gnome-shell/-/compare/44.beta...44.rc

Since we disabled tests in mutter, we need to do it here as well to avoid:

    ERROR: Dependency "libmutter-test-12" not found, tried pkgconfig

Changelog-Reviewed-By: Jan Tojnar <jtojnar@gmail.com>
This commit is contained in:
Bobby Rong 2023-03-10 07:37:18 +00:00 committed by Jan Tojnar
parent 96439cfed0
commit 0c35dfccb9

View File

@ -36,7 +36,7 @@
, gdm , gdm
, upower , upower
, ibus , ibus
, libnma , libnma-gtk4
, libgnomekbd , libgnomekbd
, gnome-desktop , gnome-desktop
, gsettings-desktop-schemas , gsettings-desktop-schemas
@ -67,13 +67,13 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gnome-shell"; pname = "gnome-shell";
version = "44.beta"; version = "44.rc";
outputs = [ "out" "devdoc" ]; outputs = [ "out" "devdoc" ];
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/gnome-shell/${lib.versions.major version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/gnome-shell/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "JACs9fFjtpoHtWB7VieWYHWHOx9ITVVLpugBa9VfCEY="; sha256 = "Gy+x3fS7hWj/Du3Wqz19V7ider7iICt7hTmtu6gV55g=";
}; };
patches = [ patches = [
@ -164,7 +164,7 @@ stdenv.mkDerivation rec {
# not declared at build time, but typelib is needed at runtime # not declared at build time, but typelib is needed at runtime
libgweather libgweather
libnma libnma-gtk4
# for gnome-extension tool # for gnome-extension tool
bash-completion bash-completion
@ -177,6 +177,7 @@ stdenv.mkDerivation rec {
mesonFlags = [ mesonFlags = [
"-Dgtk_doc=true" "-Dgtk_doc=true"
"-Dtests=false"
]; ];
postPatch = '' postPatch = ''
@ -185,6 +186,13 @@ stdenv.mkDerivation rec {
# We can generate it ourselves. # We can generate it ourselves.
rm -f man/gnome-shell.1 rm -f man/gnome-shell.1
rm data/theme/gnome-shell.css rm data/theme/gnome-shell.css
# Build fails with -Dgtk_doc=true
# https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6486
# element include: XInclude error : could not load xxx, and no fallback was found
substituteInPlace docs/reference/shell/shell-docs.sgml \
--replace '<xi:include href="xml/shell-embedded-window.xml"/>' ' ' \
--replace '<xi:include href="xml/shell-gtk-embed.xml"/>' ' '
''; '';
postInstall = '' postInstall = ''