diff --git a/srcpkgs/gnome-shell/patches/d7322e61a9882edc722ac64da80804e75f832155.patch b/srcpkgs/gnome-shell/patches/d7322e61a9882edc722ac64da80804e75f832155.patch new file mode 100644 index 00000000000..328ecbefb3c --- /dev/null +++ b/srcpkgs/gnome-shell/patches/d7322e61a9882edc722ac64da80804e75f832155.patch @@ -0,0 +1,32 @@ +From d7322e61a9882edc722ac64da80804e75f832155 Mon Sep 17 00:00:00 2001 +From: Takao Fujiwara +Date: Fri, 3 Mar 2023 17:50:10 +0900 +Subject: [PATCH] inputMethod: Try to connect require-surrounding-text signal + +require-surrounding-text signal has been added since IBus 1.5.28. + +Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6405 +--- + js/misc/inputMethod.js | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +diff --git a/js/misc/inputMethod.js b/js/misc/inputMethod.js +index e008e6411..aa610b3bf 100644 +--- a/js/misc/inputMethod.js ++++ b/js/misc/inputMethod.js +@@ -76,7 +76,11 @@ var InputMethod = GObject.registerClass({ + + this._context.set_client_commit_preedit(true); + this._context.connect('commit-text', this._onCommitText.bind(this)); +- this._context.connect('require-surrounding-text', this._onRequireSurroundingText.bind(this)); ++ try { ++ // Require ibus 1.5.28 or later. ++ this._context.connect('require-surrounding-text', this._onRequireSurroundingText.bind(this)); ++ } catch (e) { ++ } + this._context.connect('delete-surrounding-text', this._onDeleteSurroundingText.bind(this)); + this._context.connect('update-preedit-text-with-mode', this._onUpdatePreeditText.bind(this)); + this._context.connect('show-preedit-text', this._onShowPreeditText.bind(this)); +-- +GitLab + diff --git a/srcpkgs/gnome-shell/template b/srcpkgs/gnome-shell/template index 6aa67cd1a46..5089c10c762 100644 --- a/srcpkgs/gnome-shell/template +++ b/srcpkgs/gnome-shell/template @@ -1,6 +1,6 @@ # Template file for 'gnome-shell' pkgname=gnome-shell -version=43.2 +version=43.3 revision=1 build_style=meson build_helper=gir @@ -21,7 +21,7 @@ license="GPL-2.0-or-later" homepage="https://wiki.gnome.org/Projects/GnomeShell" changelog="https://gitlab.gnome.org/GNOME/gnome-shell/-/raw/gnome-43/NEWS" distfiles="${GNOME_SITE}/gnome-shell/${version%%.*}/gnome-shell-${version}.tar.xz" -checksum=e76fd4be9342410ee9fbdcdd6b2d81c6ff060e7c8cc5a0f1cae6a7aba25d1860 +checksum=49ff8d05f55fa4f1c22f05d0385852ceb429a6b6380c1ba8461e62a46d4c071e do_check() { mkdir /tmp/gnome-shell-xdg