From 683aeeebd2c496d01b936380aff2a4975016f57b Mon Sep 17 00:00:00 2001 From: Neel Chauhan Date: Sun, 27 Mar 2022 08:19:29 -0700 Subject: x11/gnome-shell: Fix crash with gnome-desktop 42.0 --- x11/gnome-shell/Makefile | 2 +- x11/gnome-shell/files/patch-js_ui_environment.js | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 x11/gnome-shell/files/patch-js_ui_environment.js (limited to 'x11') diff --git a/x11/gnome-shell/Makefile b/x11/gnome-shell/Makefile index 932c7e00fa09..8bd8301dd92f 100644 --- a/x11/gnome-shell/Makefile +++ b/x11/gnome-shell/Makefile @@ -2,7 +2,7 @@ PORTNAME= gnome-shell PORTVERSION= 41.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11 gnome MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/} DIST_SUBDIR= gnome diff --git a/x11/gnome-shell/files/patch-js_ui_environment.js b/x11/gnome-shell/files/patch-js_ui_environment.js new file mode 100644 index 000000000000..0bd7baa7a9ee --- /dev/null +++ b/x11/gnome-shell/files/patch-js_ui_environment.js @@ -0,0 +1,10 @@ +--- js/ui/environment.js.orig 2022-03-27 15:10:52 UTC ++++ js/ui/environment.js +@@ -6,6 +6,7 @@ imports.gi.versions.GdkPixbuf = '2.0'; + imports.gi.versions.Clutter = Config.LIBMUTTER_API_VERSION; + imports.gi.versions.Gio = '2.0'; + imports.gi.versions.GdkPixbuf = '2.0'; ++imports.gi.versions.GnomeDesktop = '3.0'; + imports.gi.versions.Gtk = '3.0'; + imports.gi.versions.Soup = '3.0'; + imports.gi.versions.TelepathyGLib = '0.12'; -- cgit v1.2.3