gnome-shell: update to 44.2.

This commit is contained in:
oreo639 2023-03-23 16:26:38 -07:00 committed by Michal Vasilek
parent 5fa442f4f8
commit 4f79ce3960
3 changed files with 29 additions and 35 deletions

View File

@ -1,32 +0,0 @@
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

View File

@ -0,0 +1,25 @@
commit 1d1e96c094570c3a822f835abbff0a5bca4ca10e
Author: Daniel Kolesa <daniel@octaforge.org>
Date: Sun Mar 19 19:11:00 2023 +0100
Disable 9bc89b821cf09195418f20225bbec39c0567d263
Even if we manually define _DYNAMIC, it does not work (segfaults
somewhere in musl, coming from g_strsplit) and is pretty useless
for our case anyway.
diff --git a/src/main.c b/src/main.c
index 8cccc0a..ef6408f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -19,6 +19,10 @@
#include <atk-bridge.h>
#include <link.h>
+#ifdef HAVE_EXE_INTROSPECTION
+#undef HAVE_EXE_INTROSPECTION
+#endif
+
#ifdef HAVE_EXE_INTROSPECTION
#include <elf.h>
#endif

View File

@ -1,6 +1,6 @@
# Template file for 'gnome-shell'
pkgname=gnome-shell
version=43.3
version=44.2
revision=1
build_style=meson
build_helper=gir
@ -19,9 +19,10 @@ short_desc="GNOME core user interface"
maintainer="Michal Vasilek <michal@vasilek.cz>"
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"
changelog="https://gitlab.gnome.org/GNOME/gnome-shell/-/raw/gnome-44/NEWS"
#changelog="https://gitlab.gnome.org/GNOME/gnome-shell/-/raw/main/NEWS"
distfiles="${GNOME_SITE}/gnome-shell/${version%%.*}/gnome-shell-${version}.tar.xz"
checksum=49ff8d05f55fa4f1c22f05d0385852ceb429a6b6380c1ba8461e62a46d4c071e
checksum=55f279ec6303b7c0c89246eced81247c87fc1c73948f45eb212a647218d1b63f
do_check() {
mkdir /tmp/gnome-shell-xdg