mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
gnome-shell: update to 43.3.
This commit is contained in:
parent
80ba356c11
commit
7a462ba5b5
2 changed files with 34 additions and 2 deletions
|
@ -0,0 +1,32 @@
|
||||||
|
From d7322e61a9882edc722ac64da80804e75f832155 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Takao Fujiwara <tfujiwar@redhat.com>
|
||||||
|
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
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'gnome-shell'
|
# Template file for 'gnome-shell'
|
||||||
pkgname=gnome-shell
|
pkgname=gnome-shell
|
||||||
version=43.2
|
version=43.3
|
||||||
revision=1
|
revision=1
|
||||||
build_style=meson
|
build_style=meson
|
||||||
build_helper=gir
|
build_helper=gir
|
||||||
|
@ -21,7 +21,7 @@ license="GPL-2.0-or-later"
|
||||||
homepage="https://wiki.gnome.org/Projects/GnomeShell"
|
homepage="https://wiki.gnome.org/Projects/GnomeShell"
|
||||||
changelog="https://gitlab.gnome.org/GNOME/gnome-shell/-/raw/gnome-43/NEWS"
|
changelog="https://gitlab.gnome.org/GNOME/gnome-shell/-/raw/gnome-43/NEWS"
|
||||||
distfiles="${GNOME_SITE}/gnome-shell/${version%%.*}/gnome-shell-${version}.tar.xz"
|
distfiles="${GNOME_SITE}/gnome-shell/${version%%.*}/gnome-shell-${version}.tar.xz"
|
||||||
checksum=e76fd4be9342410ee9fbdcdd6b2d81c6ff060e7c8cc5a0f1cae6a7aba25d1860
|
checksum=49ff8d05f55fa4f1c22f05d0385852ceb429a6b6380c1ba8461e62a46d4c071e
|
||||||
|
|
||||||
do_check() {
|
do_check() {
|
||||||
mkdir /tmp/gnome-shell-xdg
|
mkdir /tmp/gnome-shell-xdg
|
||||||
|
|
Loading…
Add table
Reference in a new issue