diff --git a/default-terminal.patch b/default-terminal.patch new file mode 100644 index 0000000..99ed6e6 --- /dev/null +++ b/default-terminal.patch @@ -0,0 +1,33 @@ +diff --git a/gio/gdesktopappinfo.c b/gio/gdesktopappinfo.c +index 343f30949..48467d189 100644 +--- a/gio/gdesktopappinfo.c ++++ b/gio/gdesktopappinfo.c +@@ -2700,6 +2700,7 @@ prepend_terminal_to_vector (int *argc, + const char *exec_arg; + } known_terminals[] = { + { "xdg-terminal-exec", NULL }, ++ { "ptyxis", "--" }, + { "kgx", "-e" }, + { "gnome-terminal", "--" }, + { "mate-terminal", "-x" }, +diff --git a/gio/tests/desktop-app-info.c b/gio/tests/desktop-app-info.c +index c16e15a71..e9bd06031 100644 +--- a/gio/tests/desktop-app-info.c ++++ b/gio/tests/desktop-app-info.c +@@ -1401,6 +1401,8 @@ get_terminal_divider (const char *terminal_name) + { + if (g_str_equal (terminal_name, "xdg-terminal-exec")) + return NULL; ++ if (g_str_equal (terminal_name, "ptyxis")) ++ return "--"; + if (g_str_equal (terminal_name, "kgx")) + return "-e"; + if (g_str_equal (terminal_name, "gnome-terminal")) +@@ -1923,6 +1925,7 @@ main (int argc, + guint i; + const gchar *supported_terminals[] = { + "xdg-terminal-exec", ++ "ptyxis", + "kgx", + "gnome-terminal", + "mate-terminal", diff --git a/glib2.spec b/glib2.spec index ba4f5b1..163dd6d 100644 --- a/glib2.spec +++ b/glib2.spec @@ -12,6 +12,9 @@ Source: https://download.gnome.org/sources/glib/2.80/glib-%{version}.tar # https://gitlab.gnome.org/GNOME/glib/-/merge_requests/903 Patch: gnutls-hmac.patch +# https://bugzilla.redhat.com/show_bug.cgi?id=2192204 +Patch: default-terminal.patch + # https://gitlab.gnome.org/GNOME/glib/-/merge_requests/4155 Patch: 4155.patch