From 134239da1aa2ccdba27150381a1c20cd335bca7d Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Sat, 20 Feb 2021 18:05:21 +0100 Subject: group-desktop: Update glib patch to 2.66.7 --- .../0001-Add-weltschmerz-as-terminal-handler.patch | 42 ---------------------- .../0001-Add-weltschmerz-as-terminal-handler.patch | 42 ++++++++++++++++++++++ 2 files changed, 42 insertions(+), 42 deletions(-) delete mode 100644 group-desktop/patches/dev-libs/glib-2.64.5/0001-Add-weltschmerz-as-terminal-handler.patch create mode 100644 group-desktop/patches/dev-libs/glib-2.66.7/0001-Add-weltschmerz-as-terminal-handler.patch (limited to 'group-desktop/patches/dev-libs') diff --git a/group-desktop/patches/dev-libs/glib-2.64.5/0001-Add-weltschmerz-as-terminal-handler.patch b/group-desktop/patches/dev-libs/glib-2.64.5/0001-Add-weltschmerz-as-terminal-handler.patch deleted file mode 100644 index 6174fd3..0000000 --- a/group-desktop/patches/dev-libs/glib-2.64.5/0001-Add-weltschmerz-as-terminal-handler.patch +++ /dev/null @@ -1,42 +0,0 @@ -From bf990986382cd1182dc7f6566fb2a9c3dfcd7dd0 Mon Sep 17 00:00:00 2001 -From: Wynn Wolf Arbor -Date: Tue, 21 Apr 2020 12:47:05 +0200 -Subject: [PATCH] Add weltschmerz as terminal handler - -This commit integrates weltschmerz into glib's AppInfo functionality, -such that it can be launched right out of an application without any -extra script plumbing. ---- - gio/gdesktopappinfo.c | 9 +++++++++ - 1 file changed, 9 insertions(+) - -diff --git a/gio/gdesktopappinfo.c b/gio/gdesktopappinfo.c -index f1e2fdd65..2617fc3dd 100644 ---- a/gio/gdesktopappinfo.c -+++ b/gio/gdesktopappinfo.c -@@ -2544,6 +2544,14 @@ prepend_terminal_to_vector (int *argc, - term_argc = 2; - term_argv = g_new0 (char *, 3); - -+ check = g_find_program_in_path ("weltschmerz"); -+ if (check != NULL) -+ { -+ term_argv[0] = check; -+ term_argc--; -+ goto done; -+ } -+ - check = g_find_program_in_path ("gnome-terminal"); - if (check != NULL) - { -@@ -2584,6 +2592,7 @@ prepend_terminal_to_vector (int *argc, - } - } - -+done: - real_argc = term_argc + *argc; - real_argv = g_new (char *, real_argc + 1); - --- -2.26.1 - diff --git a/group-desktop/patches/dev-libs/glib-2.66.7/0001-Add-weltschmerz-as-terminal-handler.patch b/group-desktop/patches/dev-libs/glib-2.66.7/0001-Add-weltschmerz-as-terminal-handler.patch new file mode 100644 index 0000000..6174fd3 --- /dev/null +++ b/group-desktop/patches/dev-libs/glib-2.66.7/0001-Add-weltschmerz-as-terminal-handler.patch @@ -0,0 +1,42 @@ +From bf990986382cd1182dc7f6566fb2a9c3dfcd7dd0 Mon Sep 17 00:00:00 2001 +From: Wynn Wolf Arbor +Date: Tue, 21 Apr 2020 12:47:05 +0200 +Subject: [PATCH] Add weltschmerz as terminal handler + +This commit integrates weltschmerz into glib's AppInfo functionality, +such that it can be launched right out of an application without any +extra script plumbing. +--- + gio/gdesktopappinfo.c | 9 +++++++++ + 1 file changed, 9 insertions(+) + +diff --git a/gio/gdesktopappinfo.c b/gio/gdesktopappinfo.c +index f1e2fdd65..2617fc3dd 100644 +--- a/gio/gdesktopappinfo.c ++++ b/gio/gdesktopappinfo.c +@@ -2544,6 +2544,14 @@ prepend_terminal_to_vector (int *argc, + term_argc = 2; + term_argv = g_new0 (char *, 3); + ++ check = g_find_program_in_path ("weltschmerz"); ++ if (check != NULL) ++ { ++ term_argv[0] = check; ++ term_argc--; ++ goto done; ++ } ++ + check = g_find_program_in_path ("gnome-terminal"); + if (check != NULL) + { +@@ -2584,6 +2592,7 @@ prepend_terminal_to_vector (int *argc, + } + } + ++done: + real_argc = term_argc + *argc; + real_argv = g_new (char *, real_argc + 1); + +-- +2.26.1 + -- cgit v1.2.3-2-gb3c3