gnome.gnome-shell: 41.3 → 42.beta

https://gitlab.gnome.org/GNOME/gnome-shell/-/compare/41.3...42.beta
This commit is contained in:
Jan Tojnar 2022-02-16 18:34:59 +00:00
parent 4e2857a125
commit 657d2f8f7e
2 changed files with 12 additions and 13 deletions

View file

@ -46,6 +46,7 @@
, evolution-data-server , evolution-data-server
, gtk3 , gtk3
, gtk4 , gtk4
, libadwaita
, sassc , sassc
, systemd , systemd
, pipewire , pipewire
@ -66,13 +67,13 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gnome-shell"; pname = "gnome-shell";
version = "41.4"; version = "42.beta";
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 = "x+73SvMEZJwDuG25m9C6x1oBH7/2d0yO41WD282tivQ="; sha256 = "2jVPkpxtq0gK/7GpzpFyVRc5CuIfV0R/TB8QW/HR0Rc=";
}; };
patches = [ patches = [
@ -118,7 +119,6 @@ stdenv.mkDerivation rec {
sassc sassc
desktop-file-utils desktop-file-utils
libxslt.bin libxslt.bin
python3
asciidoc asciidoc
]; ];
@ -142,6 +142,7 @@ stdenv.mkDerivation rec {
libical libical
gtk3 gtk3
gtk4 gtk4
libadwaita
gdm gdm
geoclue2 geoclue2
adwaita-icon-theme adwaita-icon-theme
@ -169,6 +170,9 @@ stdenv.mkDerivation rec {
bash-completion bash-completion
gnome-autoar gnome-autoar
json-glib json-glib
# for tools
pythonEnv
]; ];
mesonFlags = [ mesonFlags = [
@ -177,14 +181,9 @@ stdenv.mkDerivation rec {
postPatch = '' postPatch = ''
patchShebangs src/data-to-c.pl patchShebangs src/data-to-c.pl
chmod +x meson/postinstall.py
patchShebangs meson/postinstall.py
# We can generate it ourselves. # We can generate it ourselves.
rm -f man/gnome-shell.1 rm -f man/gnome-shell.1
substituteInPlace src/gnome-shell-extension-tool.in --replace "@PYTHON@" "${pythonEnv}/bin/python"
substituteInPlace src/gnome-shell-perf-tool.in --replace "@PYTHON@" "${pythonEnv}/bin/python"
''; '';
preFixup = '' preFixup = ''

View file

@ -1,7 +1,7 @@
diff --git a/js/dbusServices/dbus-service.in b/js/dbusServices/dbus-service.in diff --git a/js/dbusServices/dbus-service.in b/js/dbusServices/dbus-service.in
old mode 100644 old mode 100644
new mode 100755 new mode 100755
index 524166102..100b81a63 index 524166102..6d0722a1c
--- a/js/dbusServices/dbus-service.in --- a/js/dbusServices/dbus-service.in
+++ b/js/dbusServices/dbus-service.in +++ b/js/dbusServices/dbus-service.in
@@ -1,3 +1,9 @@ @@ -1,3 +1,9 @@
@ -24,18 +24,18 @@ index 3b0d09abe..4fd4bb66d 100644
-Exec=@gjs@ @pkgdatadir@/@service@ -Exec=@gjs@ @pkgdatadir@/@service@
+Exec=@pkgdatadir@/@service@ +Exec=@pkgdatadir@/@service@
diff --git a/js/dbusServices/meson.build b/js/dbusServices/meson.build diff --git a/js/dbusServices/meson.build b/js/dbusServices/meson.build
index c749f45dc..11bcb0c9e 100644 index eb941ed90..552051e5a 100644
--- a/js/dbusServices/meson.build --- a/js/dbusServices/meson.build
+++ b/js/dbusServices/meson.build +++ b/js/dbusServices/meson.build
@@ -2,6 +2,7 @@ launcherconf = configuration_data() @@ -2,6 +2,7 @@ launcherconf = configuration_data()
launcherconf.set('PACKAGE_NAME', meson.project_name()) launcherconf.set('PACKAGE_NAME', meson.project_name())
launcherconf.set('prefix', prefix) launcherconf.set('prefix', prefix)
launcherconf.set('libdir', libdir) launcherconf.set('libdir', libdir)
+launcherconf.set('gjs', gjs.path()) +launcherconf.set('gjs', gjs.full_path())
dbus_services = { dbus_services = {
'org.gnome.Shell.Extensions': 'extensions', 'org.gnome.Shell.Extensions': 'extensions',
@@ -11,16 +12,17 @@ dbus_services = { @@ -18,16 +19,17 @@ endif
config_dir = '@0@/..'.format(meson.current_build_dir()) config_dir = '@0@/..'.format(meson.current_build_dir())
foreach service, dir : dbus_services foreach service, dir : dbus_services
@ -51,7 +51,7 @@ index c749f45dc..11bcb0c9e 100644
serviceconf = configuration_data() serviceconf = configuration_data()
serviceconf.set('service', service) serviceconf.set('service', service)
- serviceconf.set('gjs', gjs.path()) - serviceconf.set('gjs', gjs.full_path())
serviceconf.set('pkgdatadir', pkgdatadir) serviceconf.set('pkgdatadir', pkgdatadir)
configure_file( configure_file(