Accepting request 556030 from home:seife:xfce

add 0001-Revert-Fix-handling-email-addresses.patch (boo#1071961, bxo#14076)

OBS-URL: https://build.opensuse.org/request/show/556030
OBS-URL: https://build.opensuse.org/package/show/X11:xfce/xfce4-terminal?expand=0&rev=31
This commit is contained in:
Stefan Seyfried 2017-12-11 17:35:25 +00:00 committed by Git OBS Bridge
parent ffc1e2838f
commit 0f1cd6fe8b
3 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,28 @@
From fa4aaa19a107c404b0dc5d707d9c299472e0884f Mon Sep 17 00:00:00 2001
From: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: Sat, 9 Dec 2017 13:51:35 +0100
Subject: [PATCH] Revert "Fix handling email addresses"
This reverts commit 5175d5ef5e6c9e92f4d296948528ac4bef35fe9d.
---
terminal/terminal-widget.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/terminal/terminal-widget.c b/terminal/terminal-widget.c
index d65ebfd7..5494cff5 100644
--- a/terminal/terminal-widget.c
+++ b/terminal/terminal-widget.c
@@ -678,8 +678,8 @@ terminal_widget_open_uri (TerminalWidget *widget,
break;
case PATTERN_TYPE_EMAIL:
- uri = g_str_has_prefix (wlink, MAILTO "//")
- ? g_strdup (wlink) : g_strconcat (MAILTO "//", wlink, NULL);
+ uri = strncmp (wlink, MAILTO, strlen (MAILTO)) == 0
+ ? g_strdup (wlink) : g_strconcat (MAILTO, wlink, NULL);
break;
default:
--
2.15.1

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Dec 11 17:31:21 UTC 2017 - seife+obs@b1-systems.com
- add 0001-Revert-Fix-handling-email-addresses.patch (boo#1071961,
bxo#14076) the "Fix handling email addresses" commit in 0.8.6
actually broke email address handling.
-------------------------------------------------------------------
Wed Nov 22 18:56:02 UTC 2017 - seife+obs@b1-systems.com

View File

@ -25,6 +25,8 @@ License: GPL-2.0+
Group: System/X11/Terminals
Url: http://docs.xfce.org/apps/terminal/start
Source0: http://archive.xfce.org/src/apps/xfce4-terminal/0.8/%{name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM - revert wrong email address handling (boo#1071961, bxo#14076) - seife+dev@b1-systems.com
Patch0: 0001-Revert-Fix-handling-email-addresses.patch
BuildRequires: intltool
BuildRequires: pkgconfig
BuildRequires: pkgconfig(dbus-glib-1)
@ -46,6 +48,7 @@ helps to save space on the desktop.
%prep
%setup -q
%patch0 -p1
%build
%configure