gnome3.gnome-shell: 3.38.3 → 40.0

This commit is contained in:
Jan Tojnar 2021-03-21 07:03:13 +01:00
parent 2cbbf783f0
commit ff0a3f34fd
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
2 changed files with 21 additions and 10 deletions

View File

@ -22,8 +22,7 @@
, librsvg , librsvg
, geoclue2 , geoclue2
, perl , perl
, docbook_xml_dtd_42 , docbook_xml_dtd_45
, docbook_xml_dtd_43
, desktop-file-utils , desktop-file-utils
, libpulseaudio , libpulseaudio
, libical , libical
@ -46,6 +45,7 @@
, mutter , mutter
, evolution-data-server , evolution-data-server
, gtk3 , gtk3
, gtk4
, sassc , sassc
, systemd , systemd
, pipewire , pipewire
@ -66,13 +66,13 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gnome-shell"; pname = "gnome-shell";
version = "3.38.3"; version = "40.0";
outputs = [ "out" "devdoc" ]; outputs = [ "out" "devdoc" ];
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/gnome-shell/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/gnome-shell/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "sha256-U0W0GMsSqXKVXOXM6u1mYkgAJzNrXFHa6lcwV1tiHO0="; sha256 = "sha256-vOcfQC36qcXiab9lv0iiI0PYlubPmiw0ZpOS1/v2hHg=";
}; };
patches = [ patches = [
@ -97,6 +97,18 @@ stdenv.mkDerivation rec {
revert = true; revert = true;
sha256 = "14h7ahlxgly0n3sskzq9dhxzbyb04fn80pv74vz1526396676dzl"; sha256 = "14h7ahlxgly0n3sskzq9dhxzbyb04fn80pv74vz1526396676dzl";
}) })
# Fix copying technical details when extension crashes.
# https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1795
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gnome-shell/commit/1b5d71130e3a48d8f636542f979346add7829544.patch";
sha256 = "WXRG/+u/N7KTTG1HutcMvw5HU2XWUmqFExmOXrOkeeA=";
})
# https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1796
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gnome-shell/commit/53dd291aba24e9eab3994b0ffeadec05e0150470.patch";
sha256 = "xD0iIjlUGDLM5tTNDNtx6ZgxL25EKYgaBEH4JOZh8AM=";
})
]; ];
nativeBuildInputs = [ nativeBuildInputs = [
@ -105,9 +117,7 @@ stdenv.mkDerivation rec {
pkg-config pkg-config
gettext gettext
docbook-xsl-nons docbook-xsl-nons
# Switch to 4.5 in the 40. docbook_xml_dtd_45
docbook_xml_dtd_42
docbook_xml_dtd_43
gtk-doc gtk-doc
perl perl
wrapGAppsHook wrapGAppsHook
@ -137,6 +147,7 @@ stdenv.mkDerivation rec {
evolution-data-server evolution-data-server
libical libical
gtk3 gtk3
gtk4
gdm gdm
geoclue2 geoclue2
adwaita-icon-theme adwaita-icon-theme
@ -189,7 +200,7 @@ stdenv.mkDerivation rec {
postFixup = '' postFixup = ''
# The services need typelibs. # The services need typelibs.
for svc in org.gnome.Shell.Extensions org.gnome.Shell.Notifications org.gnome.Shell.Screencast; do for svc in org.gnome.ScreenSaver org.gnome.Shell.Extensions org.gnome.Shell.Notifications org.gnome.Shell.Screencast; do
wrapGApp $out/share/gnome-shell/$svc wrapGApp $out/share/gnome-shell/$svc
done done
''; '';

View File

@ -3,7 +3,7 @@
@@ -13,7 +13,7 @@ shew_sources = [ @@ -13,7 +13,7 @@ shew_sources = [
libshew = library(full_name, libshew = library(full_name,
sources: shew_sources, sources: shew_sources,
dependencies: [gtk_dep], dependencies: [gtk_dep, x11_dep],
- install_dir: pkglibdir, - install_dir: pkglibdir,
+ install_dir: get_option('prefix') / pkglibdir, + install_dir: get_option('prefix') / pkglibdir,
install: true, install: true,