git: 683aeeebd2c4 - main - x11/gnome-shell: Fix crash with gnome-desktop 42.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 27 Mar 2022 15:19:35 UTC
The branch main has been updated by nc:
URL: https://cgit.FreeBSD.org/ports/commit/?id=683aeeebd2c496d01b936380aff2a4975016f57b
commit 683aeeebd2c496d01b936380aff2a4975016f57b
Author: Neel Chauhan <nc@FreeBSD.org>
AuthorDate: 2022-03-27 15:19:29 +0000
Commit: Neel Chauhan <nc@FreeBSD.org>
CommitDate: 2022-03-27 15:19:29 +0000
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(-)
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';