diff --git a/SOURCES/0001-client-legacy-Fix-invalid-free.patch b/SOURCES/0001-client-legacy-Fix-invalid-free.patch index 4d52a7c..0e47417 100644 --- a/SOURCES/0001-client-legacy-Fix-invalid-free.patch +++ b/SOURCES/0001-client-legacy-Fix-invalid-free.patch @@ -1,4 +1,4 @@ -From 2f7053f5fa9154437b9397cd204a38e2686107bc Mon Sep 17 00:00:00 2001 +From 53d859856c5977de5e44fc1098c5e3e6808cb842 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Tue, 29 May 2018 10:47:22 +0200 Subject: [PATCH] client: legacy: Fix invalid free @@ -6,6 +6,7 @@ Subject: [PATCH] client: legacy: Fix invalid free Use g_free() for memory allocated with g_new(). https://gitlab.gnome.org/GNOME/gnome-terminal/issues/1 +(cherry picked from commit 2f7053f5fa9154437b9397cd204a38e2686107bc) --- src/terminal-options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) @@ -24,5 +25,5 @@ index d1e8a4a4ca48..83ead8909a52 100644 static GOptionContext * -- -2.14.3 +2.25.4 diff --git a/SOURCES/0001-search-Fix-Match-case-to-always-take-effect-immediat.patch b/SOURCES/0001-search-Fix-Match-case-to-always-take-effect-immediat.patch new file mode 100644 index 0000000..d2b0804 --- /dev/null +++ b/SOURCES/0001-search-Fix-Match-case-to-always-take-effect-immediat.patch @@ -0,0 +1,36 @@ +From 99e7d739bd58ecd5d01b8343d53f26a20d28f631 Mon Sep 17 00:00:00 2001 +From: Egmont Koblinger +Date: Sat, 16 Jun 2018 23:28:47 +0200 +Subject: [PATCH] search: Fix "Match case" to always take effect immediately + +https://gitlab.gnome.org/GNOME/gnome-terminal/issues/4 +(cherry picked from commit d7a5f53332fbba3bd2397589afc40e000aab3081) +--- + src/terminal-search-popover.c | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/src/terminal-search-popover.c b/src/terminal-search-popover.c +index 81979b217bc2..8d814cf4f995 100644 +--- a/src/terminal-search-popover.c ++++ b/src/terminal-search-popover.c +@@ -310,6 +310,8 @@ update_regex (TerminalSearchPopover *popover) + priv->regex = NULL; + } + ++ priv->regex_caseless = caseless; ++ + update_sensitivity (popover); + + g_object_notify_by_pspec (G_OBJECT (popover), pspecs[PROP_REGEX]); +@@ -350,7 +352,7 @@ terminal_search_popover_init (TerminalSearchPopover *popover) + GtkWidget *widget = GTK_WIDGET (popover); + + priv->regex_pattern = 0; +- priv->regex_caseless = FALSE; ++ priv->regex_caseless = TRUE; + + gtk_widget_init_template (widget); + +-- +2.25.4 + diff --git a/SPECS/gnome-terminal.spec b/SPECS/gnome-terminal.spec index 162e2a4..b9e0111 100644 --- a/SPECS/gnome-terminal.spec +++ b/SPECS/gnome-terminal.spec @@ -7,7 +7,7 @@ Name: gnome-terminal Version: 3.28.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Terminal emulator for GNOME License: GPLv3+ and GFDL @@ -15,6 +15,7 @@ URL: http://www.gnome.org/ Source0: http://download.gnome.org/sources/gnome-terminal/3.28/gnome-terminal-%{version}.tar.xz Patch0: 0001-client-legacy-Fix-invalid-free.patch +Patch1: 0001-search-Fix-Match-case-to-always-take-effect-immediat.patch Patch100: %{name}-notify-open-title-transparency.patch @@ -69,6 +70,7 @@ option to the right-click context menu in Nautilus. %prep %setup -q %patch0 -p1 -b .client-free +%patch1 -p1 -b .fix-match-case %patch100 -p1 -b .notify-open-title-transparency %patch101 -p1 -b .unsupported-locale %patch102 -p1 -b .scroll-speed @@ -117,6 +119,10 @@ fi %{_datadir}/metainfo/org.gnome.Terminal.Nautilus.metainfo.xml %changelog +* Thu May 28 2020 Debarshi Ray - 3.28.2-3 +- Fix "Match case" to always take effect immediately +- Resolves: #1442629 + * Fri Jun 08 2018 Debarshi Ray - 3.28.2-2 - Backport fix for client-side memory error (GNOME/gnome-terminal#1) - Bump BuildRequires versions