Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package vte for openSUSE:Factory checked in 
at 2023-01-24 19:42:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/vte (Old)
 and      /work/SRC/openSUSE:Factory/.vte.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "vte"

Tue Jan 24 19:42:36 2023 rev:142 rq:1060501 version:0.70.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/vte/vte.changes  2022-12-07 17:34:23.616351407 
+0100
+++ /work/SRC/openSUSE:Factory/.vte.new.32243/vte.changes       2023-01-24 
20:36:42.565741976 +0100
@@ -1,0 +2,7 @@
+Thu Jan 19 10:21:57 UTC 2023 - Bjørn Lie <bjorn....@gmail.com>
+
+- Add ddb2c8a.patch: widget: Use correct end row for getting the
+  selected text. The range is end-exclusive, so use end_row()
+  instead of last_row(). Fixes glgo#GNOME/vte#2584
+
+-------------------------------------------------------------------

New:
----
  ddb2c8a.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ vte.spec ++++++
--- /var/tmp/diff_new_pack.3CE50K/_old  2023-01-24 20:36:43.313745849 +0100
+++ /var/tmp/diff_new_pack.3CE50K/_new  2023-01-24 20:36:43.317745869 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package vte
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -36,6 +36,8 @@
 Source:         %{_name}-%{version}.tar.xz
 # PATCH-FIX-OPENSUSE vte-enable-build-flag-pie.patch yfji...@suse.com -- 
enable PIE flag to be compatible with gcc default linking option
 Patch0:         vte-enable-build-flag-pie.patch
+# PATCH-FIX-UPSTREAM ddb2c8a.patch -- glgo#GNOME/vte#2584 widget: Use correct 
end row for getting the selected text
+Patch1:         https://gitlab.gnome.org/GNOME/vte/-/commit/ddb2c8a.patch
 # PATCH-FIX-SLE vte-revert-back-to-c++17.patch yu.da...@suse.com -- revert 
c++20 features back to c++17
 Patch100:       vte-revert-back-to-c++17.patch
 
@@ -176,6 +178,7 @@
 %prep
 %autosetup -n %{_name}-%{version} -N
 %patch0 -p1
+%patch1 -p1
 %if 0%{?sle_version}
 %patch100 -p1
 %endif

++++++ ddb2c8a.patch ++++++
>From ddb2c8ae0baf3b73d77d1f6ce6142e92faa632af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Martin=20K=C3=BChl?= <martin.ku...@posteo.net>
Date: Fri, 30 Dec 2022 20:07:49 +0100
Subject: [PATCH] widget: Use correct end row for getting the selected text

The range is end-exclusive, so use end_row() instead of last_row().

Fixes: https://gitlab.gnome.org/GNOME/vte/-/issues/2584
---
 src/vtegtk.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/vtegtk.cc b/src/vtegtk.cc
index 3945ba67..591c127e 100644
--- a/src/vtegtk.cc
+++ b/src/vtegtk.cc
@@ -5699,7 +5699,7 @@ try
         return vte_terminal_get_text_range(terminal,
                                            selection.start_row(),
                                            selection.start_column(),
-                                           selection.last_row(),
+                                           selection.end_row(),
                                            selection.end_column(),
                                            nullptr,
                                            nullptr,
-- 
GitLab

Reply via email to