Accepting request 795070 from GNOME:Next

Scripted push of project GNOME:Next

OBS-URL: https://build.opensuse.org/request/show/795070
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-terminal?expand=0&rev=227
This commit is contained in:
Dominique Leuenberger 2020-04-17 22:50:01 +00:00 committed by Git OBS Bridge
parent a28145f696
commit 3fd4f26392
5 changed files with 166 additions and 11 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3bd723f4058ec014da4715db4181b7d73eccc797b85ad5e6236996951c01803d
size 2045872

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f3d708a1e76d77c1c85b126f6e003220a15d4a46a50fd8070e1a3aabe678a376
size 2528356

View File

@ -1,3 +1,86 @@
-------------------------------------------------------------------
Sat Apr 11 16:11:09 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>
- Add gt-Suppress-debug-message-spam.patch: Supress debug messages
spam in terminal.
-------------------------------------------------------------------
Sat Mar 28 16:33:56 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 3.36.1.1:
+ screen: Don't dereference data unchecked.
-------------------------------------------------------------------
Fri Mar 27 20:54:54 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 3.36.1:
+ screen:
- Use clean env when creating new tab.
- Start new tabs/windows with the profile settings.
- Use the client cwd with the client command line.
- Fix non-preserved working dir.
+ help: Fix a typo.
+ Fix broken markup in various Ui translations.
+ Updated translation.
-------------------------------------------------------------------
Fri Mar 6 10:15:17 UTC 2020 - bjorn.lie@gmail.com
- Update to version 3.36.0.1:
+ Updated translations.
-------------------------------------------------------------------
Sat Feb 29 20:20:22 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 3.35.92:
+ help: Make pref-profile-char-width.page pass "yelp-check ids".
+ regex:
- Workaround a PCRE bug resulting in not recognizing schemeless
URLs.
- Add a comment explaining APOS_START_DEF.
+ Updated translations.
-------------------------------------------------------------------
Sun Feb 16 00:19:31 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 3.35.91:
+ build:
- Migrate from intltool to gettext. Drop the outdated intltool
dependency, prefer recent gettext.
- Stop terminal service together with graphical session.
- Group terminal processes into a slice.
- Remove KillMode from gnome-terminal-server service file.
+ help:
- Add section about "Show bold text in bright colors".
- Make txt-save-text.page pass "yelp-check validate".
- Clarify how/when to use the 'Open new terminals in'
preference.
- Update application screenshot for 3.34
- Correct instructions how to enable/disable the menubar.
- No more 'View' menu to go full screen.
- No more 'Terminal' or 'Edit' menu to set the terminal size.
- No more 'View' menu to change zoom.
- Page 'Hide and restore the menubar' only makes sense when
manually enabled.
- Split a sentence to reuse and save translators' time.
- No more 'Edit' menu to get to Preferences.
+ client: legacy: Implicitly opened tab should become active.
+ screen: container: Realize the screen when realizing the
container.
+ Updated translations.
- Drop intltool BuildRequires, no longer needed.
-------------------------------------------------------------------
Wed Feb 12 19:05:46 CET 2020 - dimstar@opensuse.org
- Update to version 3.35.1:
+ prefs: Remove the "Allow bold text" hidden setting.
+ nautilus: Spawn login shell: Spawn a login shell when opening a
directory from nautilus. Using "$SHELL -l" works for bash,
fish, tcsh, and zsh, at least, but is known not to work on
(at least old) illumos.
+ Updated translations.
-------------------------------------------------------------------
Sat Jan 25 14:12:05 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -1,7 +1,7 @@
#
# spec file for package gnome-terminal
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,20 +17,21 @@
Name: gnome-terminal
Version: 3.34.2
Version: 3.36.1.1
Release: 0
Summary: GNOME Terminal
License: GPL-3.0-or-later AND LGPL-2.1-or-later
Group: System/X11/Terminals
URL: https://wiki.gnome.org/Apps/Terminal
Source0: https://download.gnome.org/sources/gnome-terminal/3.34/%{name}-%{version}.tar.xz
Source0: https://download.gnome.org/sources/gnome-terminal/3.36/%{name}-%{version}.tar.xz
# PATCH-FIX-UPSTREAM gt-Suppress-debug-message-spam.patch -- Supress debug messages spam in terminal
Patch0: gt-Suppress-debug-message-spam.patch
BuildRequires: fdupes
# Needed for search provider. It should not be needed in my opinion,
# we have to take this up with upstream, or just provide search
# provider interface definition file as source.
BuildRequires: gnome-shell
BuildRequires: intltool >= 0.50.1
BuildRequires: pkgconfig
BuildRequires: translation-update-upstream
BuildRequires: update-desktop-files
@ -38,13 +39,13 @@ BuildRequires: yelp-tools
BuildRequires: pkgconfig(dconf) >= 0.14.0
BuildRequires: pkgconfig(gio-2.0) >= 2.34.0
BuildRequires: pkgconfig(gio-unix-2.0)
BuildRequires: pkgconfig(glib-2.0) >= 2.42.0
BuildRequires: pkgconfig(glib-2.0) >= 2.50
BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 0.1.0
BuildRequires: pkgconfig(gtk+-3.0) >= 3.12.0
BuildRequires: pkgconfig(libnautilus-extension) >= 3.0.0
BuildRequires: pkgconfig(gtk+-3.0) >= 3.18
BuildRequires: pkgconfig(libnautilus-extension) >= 3.28.0
BuildRequires: pkgconfig(libpcre2-8) >= 10.00
BuildRequires: pkgconfig(uuid)
BuildRequires: pkgconfig(vte-2.91) >= 0.58.0
BuildRequires: pkgconfig(vte-2.91) >= 0.60.0
BuildRequires: pkgconfig(x11)
Requires(pre): filesystem

View File

@ -0,0 +1,71 @@
From 11f0ad63587c3a9671fe7c4c6e49356da401f2de Mon Sep 17 00:00:00 2001
From: Christian Persch <chpe@src.gnome.org>
Date: Thu, 9 Apr 2020 21:04:32 +0200
Subject: [PATCH] client: legacy: Suppress debug message spam
The glib log writer API has a deficiency in that the filtering is
done in the default log writer, instead of only passing messages
that pass the filter. This is filed as glib#2087, but until that
is fixed, apply a simple log level filter to work around it.
Patch by Kim Nguyen <https://gitlab.gnome.org/kim.nguyen>
Fixes: https://gitlab.gnome.org/GNOME/gnome-terminal/-/issues/42
(cherry picked from commit f84316ec180e9b9515a0914e883a0585f6877c7e)
---
src/terminal-options.c | 27 ++++++++++++++++++++++++++-
1 file changed, 26 insertions(+), 1 deletion(-)
diff --git a/src/terminal-options.c b/src/terminal-options.c
index d5bb5f24..5cc20798 100644
--- a/src/terminal-options.c
+++ b/src/terminal-options.c
@@ -62,9 +62,33 @@ terminal_fprintf (FILE* fp,
}
}
+static TerminalVerbosity
+verbosity_from_log_level (GLogLevelFlags log_level)
+{
+ guint level = log_level & G_LOG_LEVEL_MASK;
+ TerminalVerbosity res;
+ level = level & ~(level - 1); /* extract the highest bit */
+ switch (level) {
+ case G_LOG_LEVEL_DEBUG:
+ res = TERMINAL_VERBOSITY_DEBUG;
+ break;
+ case G_LOG_LEVEL_INFO:
+ res = TERMINAL_VERBOSITY_DETAIL;
+ break;
+ default:
+ /* better display than lose important messages */
+ res = TERMINAL_VERBOSITY_NORMAL;
+ }
+ return res;
+}
+
/* Need to install a special log writer so we never output
* anything without the '# ' prepended, in case --print-environment
* is used.
+ *
+ * FIXME: Until issue glib#2087 is fixed, apply a simple log level filter
+ * to prevent spamming dconf (and other) debug messages to stderr,
+ * see issue gnome-terminal#42.
*/
GLogWriterOutput
terminal_log_writer (GLogLevelFlags log_level,
@@ -72,9 +96,10 @@ terminal_log_writer (GLogLevelFlags log_level,
gsize n_fields,
gpointer user_data)
{
+ TerminalVerbosity level = verbosity_from_log_level(log_level);
for (gsize i = 0; i < n_fields; i++) {
if (g_str_equal (fields[i].key, "MESSAGE"))
- terminal_printerr ("%s\n", (const char*)fields[i].value);
+ terminal_fprintf (stderr, level, "%s\n", (const char*)fields[i].value);
}
return G_LOG_WRITER_HANDLED;
--
2.24.1