From 38e0f47bf7d1ba284c627232cc714f1aa44f0805 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sun, 4 Aug 2013 01:30:00 -0500 Subject: [PATCH 01/44] - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild --- vte.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vte.spec b/vte.spec index 3557426..ab209e3 100644 --- a/vte.spec +++ b/vte.spec @@ -4,7 +4,7 @@ Name: vte Version: 0.28.2 -Release: 9%{?dist} +Release: 10%{?dist} Summary: A terminal emulator License: LGPLv2+ Group: User Interface/X @@ -116,6 +116,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/*.a %doc %{_datadir}/gtk-doc/html/vte-0.0 %changelog +* Sun Aug 04 2013 Fedora Release Engineering - 0.28.2-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + * Sat Mar 23 2013 Kevin Fenzi 0.28.2-9 - Add patch to support aarch64. Fixes bug #926706 From 979bf8a7a858b36d16f5acd108eb0607d3ddc84a Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 7 Jun 2014 23:01:44 -0500 Subject: [PATCH 02/44] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild --- vte.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vte.spec b/vte.spec index ab209e3..a4538e8 100644 --- a/vte.spec +++ b/vte.spec @@ -4,7 +4,7 @@ Name: vte Version: 0.28.2 -Release: 10%{?dist} +Release: 11%{?dist} Summary: A terminal emulator License: LGPLv2+ Group: User Interface/X @@ -116,6 +116,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/*.a %doc %{_datadir}/gtk-doc/html/vte-0.0 %changelog +* Sun Jun 08 2014 Fedora Release Engineering - 0.28.2-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + * Sun Aug 04 2013 Fedora Release Engineering - 0.28.2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild From d28d4bd1b69005ae907cab22c4f3f18c322d47d4 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sat, 28 Jun 2014 10:32:49 -0600 Subject: [PATCH 03/44] Add patch to fix control+home/control+end. Fixes bug #1114074 - Thanks to jskarvad for the patch --- vte-0.28.2-control.patch | 68 ++++++++++++++++++++++++++++++++++++++++ vte.spec | 10 +++++- 2 files changed, 77 insertions(+), 1 deletion(-) create mode 100644 vte-0.28.2-control.patch diff --git a/vte-0.28.2-control.patch b/vte-0.28.2-control.patch new file mode 100644 index 0000000..20e0ee1 --- /dev/null +++ b/vte-0.28.2-control.patch @@ -0,0 +1,68 @@ +--- a/src/keymap.c ++++ a/src/keymap.c +@@ -286,6 +286,8 @@ static const struct _vte_keymap_entry _vte_keymap_GDK_Home[] = { + {cursor_all, keypad_all, fkey_vt220, 0, _VTE_CAP_CSI "1~", -1, X_NULL}, + {cursor_all, keypad_all, fkey_hp, 0, _VTE_CAP_ESC "h", -1, X_NULL}, + {cursor_all, keypad_all, fkey_nothpvt, 0, X_NULL, 0, "kh"}, ++ {cursor_default, keypad_all, fkey_default, 0, _VTE_CAP_CSI "H", -1, X_NULL}, ++ {cursor_app, keypad_all, fkey_default, 0, _VTE_CAP_SS3 "H", -1, X_NULL}, + {cursor_all, keypad_all, fkey_all, 0, X_NULL, 0, X_NULL}, + }; + +@@ -293,6 +295,8 @@ static const struct _vte_keymap_entry _vte_keymap_GDK_End[] = { + {cursor_all, keypad_all, fkey_all, 0, X_NULL, 0, "@7"}, + {cursor_all, keypad_all, fkey_vt220, 0, _VTE_CAP_CSI "4~", -1, X_NULL}, + {cursor_all, keypad_all, fkey_notvt220, 0, X_NULL, 0, "@7"}, ++ {cursor_default, keypad_all, fkey_default, 0, _VTE_CAP_CSI "F", -1, X_NULL}, ++ {cursor_app, keypad_all, fkey_default, 0, _VTE_CAP_SS3 "F", -1, X_NULL}, + {cursor_all, keypad_all, fkey_all, 0, X_NULL, 0, X_NULL}, + }; + +@@ -504,10 +508,11 @@ static const struct _vte_keymap_entry _vte_keymap_GDK_KP_Insert[] = { + + static const struct _vte_keymap_entry _vte_keymap_GDK_KP_End[] = { + {cursor_all, keypad_default, fkey_all, 0, X_NULL, 0, "K4"}, +- {cursor_all, keypad_default, fkey_notvt220, +- 0, _VTE_CAP_CSI "4~", -1, X_NULL}, ++ {cursor_default, keypad_default, fkey_notvt220, 0, _VTE_CAP_CSI "F", -1, X_NULL}, ++ {cursor_app, keypad_default, fkey_notvt220, 0, _VTE_CAP_SS3 "F", -1, X_NULL}, + {cursor_all, keypad_default, fkey_vt220, 0, "1", 1, X_NULL}, +- {cursor_all, keypad_app, fkey_notvt220, 0, _VTE_CAP_CSI "4~", -1, X_NULL}, ++ {cursor_default, keypad_app, fkey_notvt220, 0, _VTE_CAP_CSI "F", -1, X_NULL}, ++ {cursor_app, keypad_app, fkey_notvt220, 0, _VTE_CAP_SS3 "F", -1, X_NULL}, + {cursor_all, keypad_app, fkey_vt220, 0, _VTE_CAP_SS3 "q", -1, X_NULL}, + {cursor_all, keypad_all, fkey_all, 0, X_NULL, 0, X_NULL}, + }; +@@ -565,10 +570,11 @@ static const struct _vte_keymap_entry _vte_keymap_GDK_KP_Right[] = { + + static const struct _vte_keymap_entry _vte_keymap_GDK_KP_Home[] = { + {cursor_all, keypad_default, fkey_all, 0, X_NULL, 0, "K1"}, +- {cursor_all, keypad_default, fkey_notvt220, +- 0, _VTE_CAP_CSI "1~", -1, X_NULL}, ++ {cursor_default, keypad_default, fkey_notvt220, 0, _VTE_CAP_CSI "H", -1, X_NULL}, ++ {cursor_app, keypad_default, fkey_notvt220, 0, _VTE_CAP_SS3 "H", -1, X_NULL}, + {cursor_all, keypad_default, fkey_vt220, 0, "7", 1, X_NULL}, +- {cursor_all, keypad_app, fkey_notvt220, 0, _VTE_CAP_CSI "1~", -1, X_NULL}, ++ {cursor_default, keypad_app, fkey_notvt220, 0, _VTE_CAP_CSI "H", -1, X_NULL}, ++ {cursor_app, keypad_app, fkey_notvt220, 0, _VTE_CAP_SS3 "H", -1, X_NULL}, + {cursor_all, keypad_app, fkey_vt220, 0, _VTE_CAP_SS3 "w", -1, X_NULL}, + {cursor_all, keypad_all, fkey_all, 0, X_NULL, 0, X_NULL}, + }; +@@ -1280,6 +1286,8 @@ _vte_keymap_key_gets_modifiers(guint keyval) + case GDK_KEY (Right): + case GDK_KEY (Insert): + case GDK_KEY (Delete): ++ case GDK_KEY (Home): ++ case GDK_KEY (End): + case GDK_KEY (Page_Up): + case GDK_KEY (Page_Down): + case GDK_KEY (KP_Up): +@@ -1288,6 +1296,8 @@ _vte_keymap_key_gets_modifiers(guint keyval) + case GDK_KEY (KP_Right): + case GDK_KEY (KP_Insert): + case GDK_KEY (KP_Delete): ++ case GDK_KEY (KP_Home): ++ case GDK_KEY (KP_End): + case GDK_KEY (KP_Page_Up): + case GDK_KEY (KP_Page_Down): + case GDK_KEY (F1): diff --git a/vte.spec b/vte.spec index a4538e8..5314be3 100644 --- a/vte.spec +++ b/vte.spec @@ -4,7 +4,7 @@ Name: vte Version: 0.28.2 -Release: 11%{?dist} +Release: 12%{?dist} Summary: A terminal emulator License: LGPLv2+ Group: User Interface/X @@ -22,6 +22,9 @@ Patch2: vte-0.28.2-limit-arguments.patch # # aarch64 support Patch3: http://ausil.fedorapeople.org/aarch64/vte/vte-aarch64.patch +# Fix control home/control end codes +# https://bugzilla.redhat.com/show_bug.cgi?id=1114074 +Patch4: vte-0.28.2-control.patch BuildRequires: gtk2-devel >= %{gtk2_version} BuildRequires: pango-devel >= %{pango_version} @@ -61,6 +64,7 @@ vte. %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 %build PYTHON=%{_bindir}/python`%{__python} -c "import sys ; print sys.version[:3]"` @@ -116,6 +120,10 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/*.a %doc %{_datadir}/gtk-doc/html/vte-0.0 %changelog +* Sat Jun 28 2014 Kevin Fenzi 0.28.2-12 +- Add patch to fix control+home/control+end. Fixes bug #1114074 +- Thanks to jskarvad for the patch + * Sun Jun 08 2014 Fedora Release Engineering - 0.28.2-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild From ede5726a45cd97f212622b59c162ec8b07b09dd4 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sun, 29 Jun 2014 13:14:30 -0600 Subject: [PATCH 04/44] Add patch to fix bracketed paste. Fixes bug #1114301 - Thanks to nerijus for the patch --- vte-0.28.2-paste-fix.diff | 71 +++++++++++++++++++++++++++++++++++++++ vte.spec | 10 +++++- 2 files changed, 80 insertions(+), 1 deletion(-) create mode 100644 vte-0.28.2-paste-fix.diff diff --git a/vte-0.28.2-paste-fix.diff b/vte-0.28.2-paste-fix.diff new file mode 100644 index 0000000..cc51ead --- /dev/null +++ b/vte-0.28.2-paste-fix.diff @@ -0,0 +1,71 @@ +diff -ur vte-0.28.2.orig/src/vte.c vte-0.28.2/src/vte.c +--- vte-0.28.2.orig/src/vte.c 2011-08-29 00:31:45.000000000 +0300 ++++ vte-0.28.2/src/vte.c 2014-06-26 04:20:52.409371214 +0300 +@@ -5806,10 +5806,10 @@ + p++; + } + } +- if (terminal->pvt->screen->bracketed_paste_mode) ++ if (terminal->pvt->bracketed_paste_mode) + vte_terminal_feed_child(terminal, "\e[200~", -1); + vte_terminal_feed_child(terminal, paste, length); +- if (terminal->pvt->screen->bracketed_paste_mode) ++ if (terminal->pvt->bracketed_paste_mode) + vte_terminal_feed_child(terminal, "\e[201~", -1); + g_free(paste); + } +@@ -14065,14 +14065,12 @@ + pvt->normal_screen.linefeed_mode = FALSE; + pvt->normal_screen.origin_mode = FALSE; + pvt->normal_screen.reverse_mode = FALSE; +- pvt->normal_screen.bracketed_paste_mode = FALSE; + pvt->alternate_screen.scrolling_restricted = FALSE; + pvt->alternate_screen.sendrecv_mode = TRUE; + pvt->alternate_screen.insert_mode = FALSE; + pvt->alternate_screen.linefeed_mode = FALSE; + pvt->alternate_screen.origin_mode = FALSE; + pvt->alternate_screen.reverse_mode = FALSE; +- pvt->alternate_screen.bracketed_paste_mode = FALSE; + pvt->cursor_visible = TRUE; + /* Reset the encoding. */ + vte_terminal_set_encoding(terminal, NULL); +@@ -14102,6 +14100,8 @@ + pvt->mouse_last_y = 0; + /* Clear modifiers. */ + pvt->modifiers = 0; ++ /* Reset miscellaneous stuff. */ ++ pvt->bracketed_paste_mode = FALSE; + /* Cause everything to be redrawn (or cleared). */ + vte_terminal_maybe_scroll_to_bottom(terminal); + _vte_invalidate_all(terminal); +diff -ur vte-0.28.2.orig/src/vte-private.h vte-0.28.2/src/vte-private.h +--- vte-0.28.2.orig/src/vte-private.h 2011-08-17 00:52:48.000000000 +0300 ++++ vte-0.28.2/src/vte-private.h 2014-06-26 04:20:52.410371214 +0300 +@@ -219,7 +219,6 @@ + gboolean sendrecv_mode; /* sendrecv mode */ + gboolean insert_mode; /* insert mode */ + gboolean linefeed_mode; /* linefeed mode */ +- gboolean bracketed_paste_mode; + struct vte_scrolling_region { + int start, end; + } scrolling_region; /* the region we scroll in */ +@@ -274,6 +273,7 @@ + gboolean text_modified_flag; + gboolean text_inserted_flag; + gboolean text_deleted_flag; ++ gboolean bracketed_paste_mode; + + /* Scrolling options. */ + gboolean scroll_background; +diff -ur vte-0.28.2.orig/src/vteseq.c vte-0.28.2/src/vteseq.c +--- vte-0.28.2.orig/src/vteseq.c 2014-06-26 04:08:49.998358634 +0300 ++++ vte-0.28.2/src/vteseq.c 2014-06-26 04:34:00.214384933 +0300 +@@ -737,7 +737,7 @@ + GINT_TO_POINTER(TRUE), + NULL, NULL}, + /* 2004: Bracketed paste mode. */ +- {2004, &terminal->pvt->screen->bracketed_paste_mode, NULL, NULL, ++ {2004, &terminal->pvt->bracketed_paste_mode, NULL, NULL, + GINT_TO_POINTER(FALSE), + GINT_TO_POINTER(TRUE), + NULL, NULL,}, diff --git a/vte.spec b/vte.spec index 5314be3..d3f4063 100644 --- a/vte.spec +++ b/vte.spec @@ -4,7 +4,7 @@ Name: vte Version: 0.28.2 -Release: 12%{?dist} +Release: 13%{?dist} Summary: A terminal emulator License: LGPLv2+ Group: User Interface/X @@ -25,6 +25,9 @@ Patch3: http://ausil.fedorapeople.org/aarch64/vte/vte-aarch64.patch # Fix control home/control end codes # https://bugzilla.redhat.com/show_bug.cgi?id=1114074 Patch4: vte-0.28.2-control.patch +# Fix mc paste +# https://bugzilla.redhat.com/show_bug.cgi?id=1114301 +Patch5: vte-0.28.2-paste-fix.diff BuildRequires: gtk2-devel >= %{gtk2_version} BuildRequires: pango-devel >= %{pango_version} @@ -65,6 +68,7 @@ vte. %patch2 -p1 %patch3 -p1 %patch4 -p1 +%patch5 -p1 %build PYTHON=%{_bindir}/python`%{__python} -c "import sys ; print sys.version[:3]"` @@ -120,6 +124,10 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/*.a %doc %{_datadir}/gtk-doc/html/vte-0.0 %changelog +* Sun Jun 29 2014 Kevin Fenzi 0.28.2-13 +- Add patch to fix bracketed paste. Fixes bug #1114301 +- Thanks to nerijus for the patch + * Sat Jun 28 2014 Kevin Fenzi 0.28.2-12 - Add patch to fix control+home/control+end. Fixes bug #1114074 - Thanks to jskarvad for the patch From 36ba2a0f7430afa77bea08ed9dc67f8298f85a0f Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Mon, 18 Aug 2014 08:10:32 +0000 Subject: [PATCH 05/44] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild --- vte.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vte.spec b/vte.spec index d3f4063..b31134b 100644 --- a/vte.spec +++ b/vte.spec @@ -4,7 +4,7 @@ Name: vte Version: 0.28.2 -Release: 13%{?dist} +Release: 14%{?dist} Summary: A terminal emulator License: LGPLv2+ Group: User Interface/X @@ -124,6 +124,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/*.a %doc %{_datadir}/gtk-doc/html/vte-0.0 %changelog +* Mon Aug 18 2014 Fedora Release Engineering - 0.28.2-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + * Sun Jun 29 2014 Kevin Fenzi 0.28.2-13 - Add patch to fix bracketed paste. Fixes bug #1114301 - Thanks to nerijus for the patch From 76100c861caedc268853cbb8adf793b1dc5e57bd Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Fri, 19 Jun 2015 02:10:16 +0000 Subject: [PATCH 06/44] - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild --- vte.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vte.spec b/vte.spec index b31134b..be3dc85 100644 --- a/vte.spec +++ b/vte.spec @@ -4,7 +4,7 @@ Name: vte Version: 0.28.2 -Release: 14%{?dist} +Release: 15%{?dist} Summary: A terminal emulator License: LGPLv2+ Group: User Interface/X @@ -124,6 +124,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/*.a %doc %{_datadir}/gtk-doc/html/vte-0.0 %changelog +* Fri Jun 19 2015 Fedora Release Engineering - 0.28.2-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + * Mon Aug 18 2014 Fedora Release Engineering - 0.28.2-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild From 49ffd217813b213b396a5fb9c25a818cf6bfc418 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sat, 5 Sep 2015 13:21:23 -0600 Subject: [PATCH 07/44] Enable GObject Introspection (#1256535) --- vte.spec | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/vte.spec b/vte.spec index be3dc85..ae9415f 100644 --- a/vte.spec +++ b/vte.spec @@ -4,7 +4,7 @@ Name: vte Version: 0.28.2 -Release: 15%{?dist} +Release: 16%{?dist} Summary: A terminal emulator License: LGPLv2+ Group: User Interface/X @@ -28,6 +28,9 @@ Patch4: vte-0.28.2-control.patch # Fix mc paste # https://bugzilla.redhat.com/show_bug.cgi?id=1114301 Patch5: vte-0.28.2-paste-fix.diff +# Backport introspection fixes +# https://bugzilla.redhat.com/show_bug.cgi?id=1256535 +Patch6: vte-0.28.2-introspection-fixes.patch BuildRequires: gtk2-devel >= %{gtk2_version} BuildRequires: pango-devel >= %{pango_version} @@ -38,6 +41,7 @@ BuildRequires: libXt-devel BuildRequires: intltool # Work around broken perl / perl-Carp BuildRequires: perl-Carp +BuildRequires: gobject-introspection-devel # initscripts creates the utmp group Requires: initscripts @@ -69,6 +73,7 @@ vte. %patch3 -p1 %patch4 -p1 %patch5 -p1 +%patch6 -p2 %build PYTHON=%{_bindir}/python`%{__python} -c "import sys ; print sys.version[:3]"` @@ -76,6 +81,7 @@ export PYTHON %configure \ --enable-shared \ --enable-static \ + --enable-introspection \ --with-gtk=2.0 \ --libexecdir=%{_libdir}/%{name} \ --without-glX \ @@ -109,6 +115,7 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/*.a %attr(2711,root,utmp) %{_libdir}/vte/gnome-pty-helper %{_datadir}/%{name} %{_libdir}/python*/site-packages/* +%{_libdir}/girepository-1.0 #rpmlint gives: #vte.x86_64: W: private-shared-object-provides /usr/lib64/python2.7/site-packages/gtk-2.0/vtemodule.so vtemodule.so()(64bit) @@ -121,9 +128,13 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/*.a %{_libdir}/pkgconfig/* %{_bindir}/%{name} %{_datadir}/pygtk/2.0/defs/vte.defs +%{_datadir}/gir-1.0 %doc %{_datadir}/gtk-doc/html/vte-0.0 %changelog +* Mon Aug 24 2015 Yaakov Selkowitz - 0.28.2-16 +- Enable GObject Introspection (#1256535) + * Fri Jun 19 2015 Fedora Release Engineering - 0.28.2-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild From 52adb6b2db8d42a67dce3cdbddc949c928db9ecb Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sat, 5 Sep 2015 13:47:32 -0600 Subject: [PATCH 08/44] Acutally commit vte-0.28.2-introspection-fixes.patch --- vte-0.28.2-introspection-fixes.patch | 84 ++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 vte-0.28.2-introspection-fixes.patch diff --git a/vte-0.28.2-introspection-fixes.patch b/vte-0.28.2-introspection-fixes.patch new file mode 100644 index 0000000..dae76e6 --- /dev/null +++ b/vte-0.28.2-introspection-fixes.patch @@ -0,0 +1,84 @@ +commit 8cff105a2b280ed738b296955724590b9cd348ce +commit ef34977b6765be1036ea8cd016861199033e2231 +commit 49e3433dea9a32d7ab9972b719484b49ca7f6b81 +commit 94b6ca416d4e5b54be084a057ec1341bcfddabe1 +commit ecb9fcc8cfb73207bcda93889e3e2564d41f79c9 + +--- origsrc/vte-0.28.2/src/pty.c 2011-08-16 16:52:48.000000000 -0500 ++++ src/vte-0.28.2/src/pty.c 2015-08-03 14:01:55.151226800 -0500 +@@ -616,7 +616,7 @@ __vte_pty_fork(VtePty *pty, + * @pty: a #VtePty + * @rows: the desired number of rows + * @columns: the desired number of columns +- * @error: (allow-none); return location to store a #GError, or %NULL ++ * @error: (allow-none): return location to store a #GError, or %NULL + * + * Attempts to resize the pseudo terminal's window size. If successful, the + * OS kernel will send #SIGWINCH to the child process group. +--- origsrc/vte-0.28.2/src/vte.c 2015-08-03 13:56:24.348720200 -0500 ++++ src/vte-0.28.2/src/vte.c 2015-08-03 16:15:52.185800500 -0500 +@@ -2474,7 +2474,7 @@ _vte_terminal_set_pointer_visible(VteTer + * + * Creates a new terminal widget. + * +- * Returns: (transfer full) (type Vte.Terminal): a new #VteTerminal object ++ * Returns: (transfer none) (type Vte.Terminal): a new #VteTerminal object + */ + GtkWidget * + vte_terminal_new(void) +@@ -3680,7 +3680,7 @@ vte_terminal_watch_child (VteTerminal *t + * Gets the user's shell, or %NULL. In the latter case, the + * system default (usually "/bin/sh") should be used. + * +- * Returns: (tranfer full) (type filename): a newly allocated string with the ++ * Returns: (transfer full) (type filename): a newly allocated string with the + * user's shell, or %NULL + * + * Since: 0.28 +@@ -4615,8 +4615,8 @@ out: + /** + * vte_terminal_feed: + * @terminal: a #VteTerminal +- * @data: a string in the terminal's current encoding +- * @length: the length of the string ++ * @data: (array length=length) (element-type guint8): a string in the terminal's current encoding ++ * @length the length of the string + * + * Interprets @data as if it were data received from a child process. This + * can either be used to drive the terminal without a child process, or just +@@ -6233,7 +6233,7 @@ vte_terminal_copy_cb(GtkClipboard *clipb + * @start_col: first column to search for data + * @end_row: last row to search for data + * @end_col: last column to search for data +- * @is_selected: a #VteSelectionFunc callback ++ * @is_selected: (scope call): a #VteSelectionFunc callback + * @user_data: (closure): user data to be passed to the callback + * @attributes: (out) (transfer full) (array) (element-type Vte.CharAttributes): location for storing text attributes + * +@@ -6432,7 +6432,7 @@ vte_terminal_get_text_maybe_wrapped(VteT + /** + * vte_terminal_get_text: + * @terminal: a #VteTerminal +- * @is_selected: a #VteSelectionFunc callback ++ * @is_selected: (scope call): a #VteSelectionFunc callback + * @user_data: (closure): user data to be passed to the callback + * @attributes: (out) (transfer full) (array) (element-type Vte.CharAttributes): location for storing text attributes + * +@@ -6462,7 +6462,7 @@ vte_terminal_get_text(VteTerminal *termi + /** + * vte_terminal_get_text_include_trailing_spaces: + * @terminal: a #VteTerminal +- * @is_selected: a #VteSelectionFunc callback ++ * @is_selected: (scope call): a #VteSelectionFunc callback + * @user_data: (closure): user data to be passed to the callback + * @attributes: (out) (transfer full) (array) (element-type Vte.CharAttributes): location for storing text attributes + * +@@ -6497,7 +6497,7 @@ vte_terminal_get_text_include_trailing_s + * vte_terminal_get_cursor_position: + * @terminal: a #VteTerminal + * @column: (out) (allow-none): a location to store the column, or %NULL +- * @row : (out) (allow-none): a location to store the row, or %NULL ++ * @row: (out) (allow-none): a location to store the row, or %NULL + * + * Reads the location of the insertion cursor and returns it. The row + * coordinate is absolute. From 391557fc2348af706a9e5a7e1c122e94080922b6 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 5 Feb 2016 02:51:24 +0000 Subject: [PATCH 09/44] - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild --- vte.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vte.spec b/vte.spec index ae9415f..840e918 100644 --- a/vte.spec +++ b/vte.spec @@ -4,7 +4,7 @@ Name: vte Version: 0.28.2 -Release: 16%{?dist} +Release: 17%{?dist} Summary: A terminal emulator License: LGPLv2+ Group: User Interface/X @@ -132,6 +132,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/*.a %doc %{_datadir}/gtk-doc/html/vte-0.0 %changelog +* Fri Feb 05 2016 Fedora Release Engineering - 0.28.2-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + * Mon Aug 24 2015 Yaakov Selkowitz - 0.28.2-16 - Enable GObject Introspection (#1256535) From 1020b634d90385f4e34d70a4762c9e854c3ee177 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 19 Jul 2016 13:08:08 +0000 Subject: [PATCH 10/44] - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages --- vte.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vte.spec b/vte.spec index 840e918..38214fe 100644 --- a/vte.spec +++ b/vte.spec @@ -4,7 +4,7 @@ Name: vte Version: 0.28.2 -Release: 17%{?dist} +Release: 18%{?dist} Summary: A terminal emulator License: LGPLv2+ Group: User Interface/X @@ -132,6 +132,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/*.a %doc %{_datadir}/gtk-doc/html/vte-0.0 %changelog +* Tue Jul 19 2016 Fedora Release Engineering - 0.28.2-18 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + * Fri Feb 05 2016 Fedora Release Engineering - 0.28.2-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild From 53d8bf0d9ac83412d4d938509af83625a1becfec Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 11 Feb 2017 17:12:27 +0000 Subject: [PATCH 11/44] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- vte.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vte.spec b/vte.spec index 38214fe..9c13878 100644 --- a/vte.spec +++ b/vte.spec @@ -4,7 +4,7 @@ Name: vte Version: 0.28.2 -Release: 18%{?dist} +Release: 19%{?dist} Summary: A terminal emulator License: LGPLv2+ Group: User Interface/X @@ -132,6 +132,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/*.a %doc %{_datadir}/gtk-doc/html/vte-0.0 %changelog +* Sat Feb 11 2017 Fedora Release Engineering - 0.28.2-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Tue Jul 19 2016 Fedora Release Engineering - 0.28.2-18 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages From 8135a3533dcfb3bc597c9f483676363275e76e73 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 27 Jul 2017 21:26:45 +0000 Subject: [PATCH 12/44] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- vte.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vte.spec b/vte.spec index 9c13878..d194cd0 100644 --- a/vte.spec +++ b/vte.spec @@ -4,7 +4,7 @@ Name: vte Version: 0.28.2 -Release: 19%{?dist} +Release: 20%{?dist} Summary: A terminal emulator License: LGPLv2+ Group: User Interface/X @@ -132,6 +132,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/*.a %doc %{_datadir}/gtk-doc/html/vte-0.0 %changelog +* Thu Jul 27 2017 Fedora Release Engineering - 0.28.2-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Sat Feb 11 2017 Fedora Release Engineering - 0.28.2-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild From 460295f79336a55287dd352f5d08198f8a372390 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 3 Aug 2017 10:09:17 +0000 Subject: [PATCH 13/44] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild --- vte.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vte.spec b/vte.spec index d194cd0..b7cfe54 100644 --- a/vte.spec +++ b/vte.spec @@ -4,7 +4,7 @@ Name: vte Version: 0.28.2 -Release: 20%{?dist} +Release: 21%{?dist} Summary: A terminal emulator License: LGPLv2+ Group: User Interface/X @@ -132,6 +132,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/*.a %doc %{_datadir}/gtk-doc/html/vte-0.0 %changelog +* Thu Aug 03 2017 Fedora Release Engineering - 0.28.2-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + * Thu Jul 27 2017 Fedora Release Engineering - 0.28.2-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From 26764d3bdc9f7b5134679373dab35eb15d30fa25 Mon Sep 17 00:00:00 2001 From: Iryna Shcherbina Date: Mon, 5 Feb 2018 04:55:23 +0100 Subject: [PATCH 14/44] Update Python 2 dependency declarations to new packaging standards --- vte.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/vte.spec b/vte.spec index b7cfe54..dd6982e 100644 --- a/vte.spec +++ b/vte.spec @@ -4,7 +4,7 @@ Name: vte Version: 0.28.2 -Release: 21%{?dist} +Release: 22%{?dist} Summary: A terminal emulator License: LGPLv2+ Group: User Interface/X @@ -35,7 +35,7 @@ Patch6: vte-0.28.2-introspection-fixes.patch BuildRequires: gtk2-devel >= %{gtk2_version} BuildRequires: pango-devel >= %{pango_version} BuildRequires: glib2-devel >= %{glib2_version} -BuildRequires: pygtk2-devel, python-devel, ncurses-devel +BuildRequires: pygtk2-devel, python2-devel, ncurses-devel BuildRequires: gettext BuildRequires: libXt-devel BuildRequires: intltool @@ -132,6 +132,10 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/*.a %doc %{_datadir}/gtk-doc/html/vte-0.0 %changelog +* Mon Feb 05 2018 Iryna Shcherbina - 0.28.2-22 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + * Thu Aug 03 2017 Fedora Release Engineering - 0.28.2-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild From 23fd5b1a5b8d415b9c0a07e9626957ae7dc0b82d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 9 Feb 2018 20:41:44 +0000 Subject: [PATCH 15/44] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- vte.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vte.spec b/vte.spec index dd6982e..9f4ec10 100644 --- a/vte.spec +++ b/vte.spec @@ -4,7 +4,7 @@ Name: vte Version: 0.28.2 -Release: 22%{?dist} +Release: 23%{?dist} Summary: A terminal emulator License: LGPLv2+ Group: User Interface/X @@ -132,6 +132,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/*.a %doc %{_datadir}/gtk-doc/html/vte-0.0 %changelog +* Fri Feb 09 2018 Fedora Release Engineering - 0.28.2-23 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Mon Feb 05 2018 Iryna Shcherbina - 0.28.2-22 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) From 324317ea20177736dbe7fd16f85a9f43f75426a5 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sun, 6 May 2018 12:24:25 -0700 Subject: [PATCH 16/44] Add backported patches for various issues. Fixes bug #1574683 --- vte-0.28.2-683730.patch | 22 +++ vte-0.28.2-mouse-tracking.patch | 268 ++++++++++++++++++++++++++++++++ vte-0.28.2-performance.patch | 11 ++ vte.spec | 17 +- 4 files changed, 317 insertions(+), 1 deletion(-) create mode 100644 vte-0.28.2-683730.patch create mode 100644 vte-0.28.2-mouse-tracking.patch create mode 100644 vte-0.28.2-performance.patch diff --git a/vte-0.28.2-683730.patch b/vte-0.28.2-683730.patch new file mode 100644 index 0000000..5a00e1b --- /dev/null +++ b/vte-0.28.2-683730.patch @@ -0,0 +1,22 @@ +--- o/src/vte.c 2018-05-03 20:53:16.000000000 +0200 ++++ n/src/vte.c 2018-05-03 20:57:48.764010197 +0200 +@@ -7513,17 +7513,10 @@ + event->button, x, y); + switch (event->button) { + case 1: +- /* If Shift is held down, or we're not in events mode, +- * copy the selected text. */ +- if ((terminal->pvt->modifiers & GDK_SHIFT_MASK) || +- !terminal->pvt->mouse_tracking_mode) +- handled = _vte_terminal_maybe_end_selection (terminal); ++ handled = _vte_terminal_maybe_end_selection (terminal); + break; + case 2: +- if ((terminal->pvt->modifiers & GDK_SHIFT_MASK) || +- !terminal->pvt->mouse_tracking_mode) { +- handled = TRUE; +- } ++ handled = TRUE; + break; + case 3: + default: diff --git a/vte-0.28.2-mouse-tracking.patch b/vte-0.28.2-mouse-tracking.patch new file mode 100644 index 0000000..c8dc707 --- /dev/null +++ b/vte-0.28.2-mouse-tracking.patch @@ -0,0 +1,268 @@ +--- vte-0.28.2-clean/src/mev.c 2011-08-16 23:52:48.000000000 +0200 ++++ vte-0.28.2-clean/src/mev.c 2018-05-03 22:07:30.275915172 +0200 +@@ -42,7 +42,9 @@ + tracking_mouse = 1000, + tracking_hilite = 1001, + tracking_cell_motion = 1002, +- tracking_all_motion = 1003 ++ tracking_all_motion = 1003, ++ tracking_xterm_ext = 1006, ++ tracking_urxvt = 1015 + } tracking_mode = 0; + + static void +@@ -59,6 +61,8 @@ + decset(tracking_hilite, FALSE); + decset(tracking_cell_motion, FALSE); + decset(tracking_all_motion, FALSE); ++ decset(tracking_xterm_ext, FALSE); ++ decset(tracking_urxvt, FALSE); + fflush(stdout); + } + +@@ -93,6 +97,14 @@ + fprintf(stdout, "All motion tracking enabled.\r\n"); + decset(tracking_all_motion, TRUE); + break; ++ case tracking_xterm_ext: ++ fprintf(stdout, "Xterm 1006 mouse tracking extension enabled.\r\n"); ++ decset(tracking_xterm_ext, TRUE); ++ break; ++ case tracking_urxvt: ++ fprintf(stdout, "rxvt-unicode 1015 mouse tracking extension enabled.\r\n"); ++ decset(tracking_urxvt, TRUE); ++ break; + default: + fprintf(stdout, "Tracking disabled.\r\n"); + break; +@@ -102,6 +114,8 @@ + fprintf(stdout, "C - Hilite tracking [FIXME: NOT IMPLEMENTED].\r\n"); + fprintf(stdout, "D - Cell motion tracking.\r\n"); + fprintf(stdout, "E - All motion tracking.\r\n"); ++ fprintf(stdout, "F - Xterm 1006 extension.\r\n"); ++ fprintf(stdout, "G - rxvt-unicode extension.\r\n"); + fprintf(stdout, "%s", _VTE_CAP_ESC "8"); + fflush(stdout); + } +@@ -153,6 +167,18 @@ + 0 : tracking_all_motion; + i++; + break; ++ case 'F': ++ case 'f': ++ tracking_mode = (tracking_mode == tracking_xterm_ext) ? ++ 0 : tracking_xterm_ext; ++ i++; ++ break; ++ case 'G': ++ case 'g': ++ tracking_mode = (tracking_mode == tracking_urxvt) ? ++ 0 : tracking_urxvt; ++ i++; ++ break; + case 'Q': + case 'q': + ret = TRUE; +--- vte-0.28.2-clean/src/vte.c 2018-05-03 22:04:27.780199219 +0200 ++++ vte-0.28.2-clean/src/vte.c 2018-05-03 22:07:30.277915158 +0200 +@@ -5816,21 +5816,20 @@ + } + + static void +-vte_terminal_get_mouse_tracking_info (VteTerminal *terminal, +- int button, +- long col, +- long row, +- unsigned char *pb, +- unsigned char *px, +- unsigned char *py) ++vte_terminal_feed_mouse_event(VteTerminal *terminal, ++ int button, ++ gboolean is_drag, ++ gboolean is_release, ++ long col, ++ long row) + { +- unsigned char cb = 0, cx = 0, cy = 0; ++ unsigned char cb = 0; ++ long cx, cy; ++ char buf[LINE_MAX]; ++ gint len = 0; + + /* Encode the button information in cb. */ + switch (button) { +- case 0: /* Release/no buttons. */ +- cb = 3; +- break; + case 1: /* Left. */ + cb = 0; + break; +@@ -5847,7 +5846,12 @@ + cb = 65; /* Scroll down. */ + break; + } +- cb += 32; /* 32 for normal */ ++ ++ /* With the exception of the 1006 mode, button release is also encoded here. */ ++ /* Note that if multiple extensions are enabled, the 1006 is used, so it's okay to check for only that. */ ++ if (is_release && !terminal->pvt->mouse_xterm_extension) { ++ cb = 3; ++ } + + /* Encode the modifiers. */ + if (terminal->pvt->modifiers & GDK_SHIFT_MASK) { +@@ -5860,38 +5864,46 @@ + cb |= 16; + } + +- /* Encode the cursor coordinates. */ +- cx = 32 + CLAMP(1 + col, +- 1, terminal->column_count); +- cy = 32 + CLAMP(1 + row, +- 1, terminal->row_count);; +- +- *pb = cb; +- *px = cx; +- *py = cy; ++ /* Encode a drag event. */ ++ if (is_drag) { ++ cb |= 32; ++ } ++ ++ /* Clamp the cursor coordinates. Make them 1-based. */ ++ cx = CLAMP(1 + col, ++ 1, terminal->column_count); ++ cy = CLAMP(1 + row, ++ 1, terminal->row_count); ++ ++ /* Check the extensions in decreasing order of preference. Encoding the release event above assumes that 1006 comes first. */ ++ if (terminal->pvt->mouse_xterm_extension) { ++ /* xterm's extended mode (1006) */ ++ len = g_snprintf(buf, sizeof(buf), _VTE_CAP_CSI "<%d;%ld;%ld%c", cb, cx, cy, is_release ? 'm' : 'M'); ++ } else if (terminal->pvt->mouse_urxvt_extension) { ++ /* urxvt's extended mode (1015) */ ++ len = g_snprintf(buf, sizeof(buf), _VTE_CAP_CSI "%d;%ld;%ldM", 32 + cb, cx, cy); ++ } else if (cx <= 231 && cy <= 231) { ++ /* legacy mode */ ++ len = g_snprintf(buf, sizeof(buf), _VTE_CAP_CSI "M%c%c%c", 32 + cb, 32 + (guchar)cx, 32 + (guchar)cy); ++ } ++ ++ /* Send event direct to the child, this is binary not text data */ ++ vte_terminal_feed_child_binary(terminal, buf, len); + } + + static void + vte_terminal_send_mouse_button_internal(VteTerminal *terminal, + int button, ++ gboolean is_release, + long x, + long y) + { +- unsigned char cb, cx, cy; +- char buf[LINE_MAX]; +- gint len; + int width = terminal->char_width; + int height = terminal->char_height; + long col = (x - terminal->pvt->inner_border.left) / width; + long row = (y - terminal->pvt->inner_border.top) / height; + +- vte_terminal_get_mouse_tracking_info (terminal, +- button, col, row, +- &cb, &cx, &cy); +- +- /* Send event direct to the child, this is binary not text data */ +- len = g_snprintf(buf, sizeof(buf), _VTE_CAP_CSI "M%c%c%c", cb, cx, cy); +- vte_terminal_feed_child_binary(terminal, buf, len); ++ vte_terminal_feed_mouse_event(terminal, button, FALSE /* not drag */, is_release, col, row); + } + + /* Send a mouse button click/release notification. */ +@@ -5919,7 +5931,8 @@ + } + + vte_terminal_send_mouse_button_internal(terminal, +- (event->type == GDK_BUTTON_PRESS) ? event->button : 0, ++ event->button, ++ event->type == GDK_BUTTON_RELEASE, + event->x, event->y); + } + +@@ -5927,9 +5940,6 @@ + static void + vte_terminal_maybe_send_mouse_drag(VteTerminal *terminal, GdkEventMotion *event) + { +- unsigned char cb, cx, cy; +- char buf[LINE_MAX]; +- gint len; + int width = terminal->char_width; + int height = terminal->char_height; + long col = ((long) event->x - terminal->pvt->inner_border.left) / width; +@@ -5958,14 +5968,9 @@ + break; + } + +- vte_terminal_get_mouse_tracking_info (terminal, +- terminal->pvt->mouse_last_button, col, row, +- &cb, &cx, &cy); +- cb += 32; /* for movement */ +- +- /* Send event direct to the child, this is binary not text data */ +- len = g_snprintf(buf, sizeof(buf), _VTE_CAP_CSI "M%c%c%c", cb, cx, cy); +- vte_terminal_feed_child_binary(terminal, buf, len); ++ vte_terminal_feed_mouse_event(terminal, terminal->pvt->mouse_last_button, ++ TRUE /* drag */, FALSE /* not release */, ++ col, row); + } + + /* Clear all match hilites. */ +@@ -11384,6 +11389,7 @@ + /* Encode the parameters and send them to the app. */ + vte_terminal_send_mouse_button_internal(terminal, + button, ++ FALSE /* not release */, + event->x, + event->y); + } +@@ -14091,6 +14097,8 @@ + pvt->mouse_last_button = 0; + pvt->mouse_last_x = 0; + pvt->mouse_last_y = 0; ++ pvt->mouse_xterm_extension = FALSE; ++ pvt->mouse_urxvt_extension = FALSE; + /* Clear modifiers. */ + pvt->modifiers = 0; + /* Reset miscellaneous stuff. */ +--- vte-0.28.2-clean/src/vte-private.h 2018-05-03 22:04:27.773199268 +0200 ++++ vte-0.28.2-clean/src/vte-private.h 2018-05-03 22:07:30.275915172 +0200 +@@ -305,6 +305,8 @@ + long mouse_last_x, mouse_last_y; + gboolean mouse_autohide; + guint mouse_autoscroll_tag; ++ gboolean mouse_xterm_extension; ++ gboolean mouse_urxvt_extension; + + /* State variables for handling match checks. */ + char *match_contents; +--- vte-0.28.2-clean/src/vteseq.c 2018-05-03 22:04:27.773199268 +0200 ++++ vte-0.28.2-clean/src/vteseq.c 2018-05-03 22:07:30.277915158 +0200 +@@ -685,10 +685,20 @@ + GINT_TO_POINTER(0), + GINT_TO_POINTER(MOUSE_TRACKING_ALL_MOTION_TRACKING), + NULL, NULL,}, ++ /* 1006: Extended mouse coordinates. */ ++ {1006, &terminal->pvt->mouse_xterm_extension, NULL, NULL, ++ GINT_TO_POINTER(FALSE), ++ GINT_TO_POINTER(TRUE), ++ NULL, NULL,}, + /* 1010/rxvt: disallowed, scroll-on-output is set by user. */ + {1010, NULL, NULL, NULL, NULL, NULL, NULL, NULL,}, + /* 1011/rxvt: disallowed, scroll-on-keypress is set by user. */ + {1011, NULL, NULL, NULL, NULL, NULL, NULL, NULL,}, ++ /* 1015/urxvt: Extended mouse coordinates. */ ++ {1015, &terminal->pvt->mouse_urxvt_extension, NULL, NULL, ++ GINT_TO_POINTER(FALSE), ++ GINT_TO_POINTER(TRUE), ++ NULL, NULL,}, + /* 1035: disallowed, don't know what to do with it. */ + {1035, NULL, NULL, NULL, NULL, NULL, NULL, NULL,}, + /* 1036: Meta-sends-escape. */ diff --git a/vte-0.28.2-performance.patch b/vte-0.28.2-performance.patch new file mode 100644 index 0000000..ca8c8ca --- /dev/null +++ b/vte-0.28.2-performance.patch @@ -0,0 +1,11 @@ +--- o/src/vte.c 2018-05-03 20:53:16.000000000 +0200 ++++ o/src/vte.c 2018-05-03 20:57:48.764010197 +0200 +@@ -4520,7 +4520,7 @@ + if (max_bytes) { + max_bytes = terminal->pvt->max_input_bytes / max_bytes; + } else { +- max_bytes = VTE_MAX_INPUT_READ; ++ max_bytes = terminal->pvt->max_input_bytes; + } + bytes = terminal->pvt->input_bytes; + diff --git a/vte.spec b/vte.spec index 9f4ec10..fc7f98e 100644 --- a/vte.spec +++ b/vte.spec @@ -4,7 +4,7 @@ Name: vte Version: 0.28.2 -Release: 23%{?dist} +Release: 24%{?dist} Summary: A terminal emulator License: LGPLv2+ Group: User Interface/X @@ -31,6 +31,15 @@ Patch5: vte-0.28.2-paste-fix.diff # Backport introspection fixes # https://bugzilla.redhat.com/show_bug.cgi?id=1256535 Patch6: vte-0.28.2-introspection-fixes.patch +# Backport "cat bigfile" speedup +# https://bugzilla.gnome.org/show_bug.cgi?id=721944 +Patch7: vte-0.28.2-performance.patch +# Backport shift-mouse grab "hang" fix +# https://bugzilla.gnome.org/show_bug.cgi?id=683730 +Patch8: vte-0.28.2-683730.patch +# Backport extended xterm/urxvt mouse tracking support +# https://bugzilla.gnome.org/show_bug.cgi?id=681329 +Patch9: vte-0.28.2-mouse-tracking.patch BuildRequires: gtk2-devel >= %{gtk2_version} BuildRequires: pango-devel >= %{pango_version} @@ -74,6 +83,9 @@ vte. %patch4 -p1 %patch5 -p1 %patch6 -p2 +%patch7 -p1 +%patch8 -p1 +%patch9 -p1 %build PYTHON=%{_bindir}/python`%{__python} -c "import sys ; print sys.version[:3]"` @@ -132,6 +144,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/*.a %doc %{_datadir}/gtk-doc/html/vte-0.0 %changelog +* Sun May 06 2018 Kevin Fenzi - 0.28.2-24 +- Add backported patches for various issues. Fixes bug #1574683 + * Fri Feb 09 2018 Fedora Release Engineering - 0.28.2-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From bf7958e880f9bfcaa2cb6ac285b83140517d9369 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 18 Jun 2018 17:14:18 -0700 Subject: [PATCH 17/44] Depend on systemd for utmp group, not initscripts anymore. Fixes bug #1592402 --- vte.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/vte.spec b/vte.spec index fc7f98e..d8ff6a3 100644 --- a/vte.spec +++ b/vte.spec @@ -4,7 +4,7 @@ Name: vte Version: 0.28.2 -Release: 24%{?dist} +Release: 25%{?dist} Summary: A terminal emulator License: LGPLv2+ Group: User Interface/X @@ -52,8 +52,8 @@ BuildRequires: intltool BuildRequires: perl-Carp BuildRequires: gobject-introspection-devel -# initscripts creates the utmp group -Requires: initscripts +# systemd creates the utmp group +Requires: systemd %description VTE is a terminal emulator widget for use with GTK+ 2.0. @@ -144,6 +144,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/*.a %doc %{_datadir}/gtk-doc/html/vte-0.0 %changelog +* Mon Jun 18 2018 Kevin Fenzi - 0.28.2-25 +- Depend on systemd for utmp group, not initscripts anymore. Fixes bug #1592402 + * Sun May 06 2018 Kevin Fenzi - 0.28.2-24 - Add backported patches for various issues. Fixes bug #1574683 From d753b3ac1a9e4feaa1a2bc3412a0733db74936ca Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sat, 7 Jul 2018 13:47:44 -0700 Subject: [PATCH 18/44] Drop unneeded ldconfig calls --- vte.spec | 4 ---- 1 file changed, 4 deletions(-) diff --git a/vte.spec b/vte.spec index d8ff6a3..c5d3e59 100644 --- a/vte.spec +++ b/vte.spec @@ -113,10 +113,6 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/*.a %find_lang vte-0.0 -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig - %files -f vte-0.0.lang %defattr(-,root,root) %doc COPYING HACKING NEWS README From e4eb6a9570ca1c8216bd337fcd10b745b7de19df Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Tue, 10 Jul 2018 01:43:53 -0500 Subject: [PATCH 19/44] Remove needless use of %defattr --- vte.spec | 2 -- 1 file changed, 2 deletions(-) diff --git a/vte.spec b/vte.spec index c5d3e59..84e59c0 100644 --- a/vte.spec +++ b/vte.spec @@ -114,7 +114,6 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/*.a %find_lang vte-0.0 %files -f vte-0.0.lang -%defattr(-,root,root) %doc COPYING HACKING NEWS README %doc src/iso2022.txt %doc doc/utmpwtmp.txt doc/boxes.txt doc/openi18n/UTF-8.txt doc/openi18n/wrap.txt @@ -130,7 +129,6 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/*.a # This is not used by anything except possibly third party scripts, so we're leaving it in place. %files devel -%defattr(-,root,root) %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/* From a83ce8e5a0f3471f9f358f7a24b21e39c5b579aa Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 14 Jul 2018 08:40:26 +0000 Subject: [PATCH 20/44] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- vte.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vte.spec b/vte.spec index 84e59c0..8943508 100644 --- a/vte.spec +++ b/vte.spec @@ -4,7 +4,7 @@ Name: vte Version: 0.28.2 -Release: 25%{?dist} +Release: 26%{?dist} Summary: A terminal emulator License: LGPLv2+ Group: User Interface/X @@ -138,6 +138,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/*.a %doc %{_datadir}/gtk-doc/html/vte-0.0 %changelog +* Sat Jul 14 2018 Fedora Release Engineering - 0.28.2-26 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Mon Jun 18 2018 Kevin Fenzi - 0.28.2-25 - Depend on systemd for utmp group, not initscripts anymore. Fixes bug #1592402 From 7d95bf010f078dafe12a66bbb5545a8e5ee9f7e8 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 18 Jul 2018 13:44:21 -0700 Subject: [PATCH 21/44] Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild --- vte.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vte.spec b/vte.spec index 8943508..f9952e0 100644 --- a/vte.spec +++ b/vte.spec @@ -51,6 +51,7 @@ BuildRequires: intltool # Work around broken perl / perl-Carp BuildRequires: perl-Carp BuildRequires: gobject-introspection-devel +BuildRequires: /usr/bin/python # systemd creates the utmp group Requires: systemd @@ -88,7 +89,7 @@ vte. %patch9 -p1 %build -PYTHON=%{_bindir}/python`%{__python} -c "import sys ; print sys.version[:3]"` +PYTHON=%{__python2} export PYTHON %configure \ --enable-shared \ From e1f569871633f7d712fa01af90d531ca5f608cbf Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 28 Jan 2019 20:18:30 +0100 Subject: [PATCH 22/44] Remove obsolete Group tag References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag --- vte.spec | 2 -- 1 file changed, 2 deletions(-) diff --git a/vte.spec b/vte.spec index f9952e0..1fbaf5e 100644 --- a/vte.spec +++ b/vte.spec @@ -7,7 +7,6 @@ Version: 0.28.2 Release: 26%{?dist} Summary: A terminal emulator License: LGPLv2+ -Group: User Interface/X #VCS: git:git://git.gnome.org/vte URL: http://developer.gnome.org/vte/ Source: http://download.gnome.org/sources/vte/0.28/%{name}-%{version}.tar.xz @@ -61,7 +60,6 @@ VTE is a terminal emulator widget for use with GTK+ 2.0. %package devel Summary: Files needed for developing applications which use vte -Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: gtk2-devel Requires: ncurses-devel From f31c5d0cc27c9f71e5e4bc509654a4de4c45a1c5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 3 Feb 2019 11:28:30 +0000 Subject: [PATCH 23/44] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- vte.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vte.spec b/vte.spec index 1fbaf5e..8211f31 100644 --- a/vte.spec +++ b/vte.spec @@ -4,7 +4,7 @@ Name: vte Version: 0.28.2 -Release: 26%{?dist} +Release: 27%{?dist} Summary: A terminal emulator License: LGPLv2+ #VCS: git:git://git.gnome.org/vte @@ -137,6 +137,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/*.a %doc %{_datadir}/gtk-doc/html/vte-0.0 %changelog +* Sun Feb 03 2019 Fedora Release Engineering - 0.28.2-27 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Sat Jul 14 2018 Fedora Release Engineering - 0.28.2-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From 0e138df51d847e342177bccec39559a98b33156b Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 17 Jul 2019 15:11:20 -0700 Subject: [PATCH 24/44] Fix last python unversioned deps. --- vte.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/vte.spec b/vte.spec index 8211f31..f91d152 100644 --- a/vte.spec +++ b/vte.spec @@ -4,7 +4,7 @@ Name: vte Version: 0.28.2 -Release: 27%{?dist} +Release: 28%{?dist} Summary: A terminal emulator License: LGPLv2+ #VCS: git:git://git.gnome.org/vte @@ -50,7 +50,6 @@ BuildRequires: intltool # Work around broken perl / perl-Carp BuildRequires: perl-Carp BuildRequires: gobject-introspection-devel -BuildRequires: /usr/bin/python # systemd creates the utmp group Requires: systemd @@ -137,6 +136,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/*.a %doc %{_datadir}/gtk-doc/html/vte-0.0 %changelog +* Wed Jul 17 2019 Kevin Fenzi - 0.28.2-28 +- Fix last python unversioned deps. + * Sun Feb 03 2019 Fedora Release Engineering - 0.28.2-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From fe981cd43bd2aa3dcebc6fffa39305e754a00834 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jul 2019 03:12:41 +0000 Subject: [PATCH 25/44] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- vte.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vte.spec b/vte.spec index f91d152..e8a1029 100644 --- a/vte.spec +++ b/vte.spec @@ -4,7 +4,7 @@ Name: vte Version: 0.28.2 -Release: 28%{?dist} +Release: 29%{?dist} Summary: A terminal emulator License: LGPLv2+ #VCS: git:git://git.gnome.org/vte @@ -136,6 +136,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/*.a %doc %{_datadir}/gtk-doc/html/vte-0.0 %changelog +* Sat Jul 27 2019 Fedora Release Engineering - 0.28.2-29 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Wed Jul 17 2019 Kevin Fenzi - 0.28.2-28 - Fix last python unversioned deps. From e238eb35d6d5d7ee5a7d7ec80017c6e42cf28adf Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Mon, 7 Oct 2019 09:36:42 -0500 Subject: [PATCH 26/44] Drop Python bindings. --- vte.spec | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/vte.spec b/vte.spec index e8a1029..b94e97c 100644 --- a/vte.spec +++ b/vte.spec @@ -4,7 +4,7 @@ Name: vte Version: 0.28.2 -Release: 29%{?dist} +Release: 30%{?dist} Summary: A terminal emulator License: LGPLv2+ #VCS: git:git://git.gnome.org/vte @@ -43,7 +43,7 @@ Patch9: vte-0.28.2-mouse-tracking.patch BuildRequires: gtk2-devel >= %{gtk2_version} BuildRequires: pango-devel >= %{pango_version} BuildRequires: glib2-devel >= %{glib2_version} -BuildRequires: pygtk2-devel, python2-devel, ncurses-devel +BuildRequires: ncurses-devel BuildRequires: gettext BuildRequires: libXt-devel BuildRequires: intltool @@ -86,8 +86,6 @@ vte. %patch9 -p1 %build -PYTHON=%{__python2} -export PYTHON %configure \ --enable-shared \ --enable-static \ @@ -95,7 +93,8 @@ export PYTHON --with-gtk=2.0 \ --libexecdir=%{_libdir}/%{name} \ --without-glX \ - --disable-gtk-doc + --disable-gtk-doc \ + --disable-python make %{?_smp_mflags} %install @@ -119,7 +118,6 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/*.a %dir %{_libdir}/vte %attr(2711,root,utmp) %{_libdir}/vte/gnome-pty-helper %{_datadir}/%{name} -%{_libdir}/python*/site-packages/* %{_libdir}/girepository-1.0 #rpmlint gives: @@ -131,11 +129,13 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/*.a %{_libdir}/*.so %{_libdir}/pkgconfig/* %{_bindir}/%{name} -%{_datadir}/pygtk/2.0/defs/vte.defs %{_datadir}/gir-1.0 %doc %{_datadir}/gtk-doc/html/vte-0.0 %changelog +* Sat Oct 05 2019 Lumír Balhar - 0.28.2-30 +- Disable Python 2 bindings + * Sat Jul 27 2019 Fedora Release Engineering - 0.28.2-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From b8ad6e7750c0662b9bc4a17b7c5e836b26c5ad64 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 31 Jan 2020 03:25:02 +0000 Subject: [PATCH 27/44] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- vte.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vte.spec b/vte.spec index b94e97c..8d71818 100644 --- a/vte.spec +++ b/vte.spec @@ -4,7 +4,7 @@ Name: vte Version: 0.28.2 -Release: 30%{?dist} +Release: 31%{?dist} Summary: A terminal emulator License: LGPLv2+ #VCS: git:git://git.gnome.org/vte @@ -133,6 +133,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/*.a %doc %{_datadir}/gtk-doc/html/vte-0.0 %changelog +* Fri Jan 31 2020 Fedora Release Engineering - 0.28.2-31 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Sat Oct 05 2019 Lumír Balhar - 0.28.2-30 - Disable Python 2 bindings From ebc9dd9cdbd8d3a8260ba65ebf4c4eb493509b5c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jul 2020 13:54:35 +0000 Subject: [PATCH 28/44] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- vte.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vte.spec b/vte.spec index 8d71818..f39ce88 100644 --- a/vte.spec +++ b/vte.spec @@ -4,7 +4,7 @@ Name: vte Version: 0.28.2 -Release: 31%{?dist} +Release: 32%{?dist} Summary: A terminal emulator License: LGPLv2+ #VCS: git:git://git.gnome.org/vte @@ -133,6 +133,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/*.a %doc %{_datadir}/gtk-doc/html/vte-0.0 %changelog +* Wed Jul 29 2020 Fedora Release Engineering - 0.28.2-32 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Fri Jan 31 2020 Fedora Release Engineering - 0.28.2-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From aa4bb8d075abb8f5f45f570414991c64f737ec8f Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Sat, 9 Jan 2021 00:48:34 +0000 Subject: [PATCH 29/44] Add BuildRequires: make https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot --- vte.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/vte.spec b/vte.spec index f39ce88..35c479d 100644 --- a/vte.spec +++ b/vte.spec @@ -40,6 +40,7 @@ Patch8: vte-0.28.2-683730.patch # https://bugzilla.gnome.org/show_bug.cgi?id=681329 Patch9: vte-0.28.2-mouse-tracking.patch +BuildRequires: make BuildRequires: gtk2-devel >= %{gtk2_version} BuildRequires: pango-devel >= %{pango_version} BuildRequires: glib2-devel >= %{glib2_version} From bfd906e1620bbf96edac8a6bec9a7632ea200997 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 27 Jan 2021 23:15:58 +0000 Subject: [PATCH 30/44] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- vte.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vte.spec b/vte.spec index 35c479d..4ac8790 100644 --- a/vte.spec +++ b/vte.spec @@ -4,7 +4,7 @@ Name: vte Version: 0.28.2 -Release: 32%{?dist} +Release: 33%{?dist} Summary: A terminal emulator License: LGPLv2+ #VCS: git:git://git.gnome.org/vte @@ -134,6 +134,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/*.a %doc %{_datadir}/gtk-doc/html/vte-0.0 %changelog +* Wed Jan 27 2021 Fedora Release Engineering - 0.28.2-33 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Wed Jul 29 2020 Fedora Release Engineering - 0.28.2-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 7039d3c732d1b56a9943bb78ffb1af59529dbd0c Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Wed, 10 Feb 2021 15:41:36 +0100 Subject: [PATCH 31/44] Remove Requires on pygtk2 This is not necessary: the Python 2 bindings were removed a while ago. --- vte.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/vte.spec b/vte.spec index 4ac8790..535b45b 100644 --- a/vte.spec +++ b/vte.spec @@ -4,7 +4,7 @@ Name: vte Version: 0.28.2 -Release: 33%{?dist} +Release: 34%{?dist} Summary: A terminal emulator License: LGPLv2+ #VCS: git:git://git.gnome.org/vte @@ -64,7 +64,6 @@ Requires: %{name} = %{version}-%{release} Requires: gtk2-devel Requires: ncurses-devel Requires: pkgconfig -Requires: pygtk2-devel %description devel The vte-devel package includes the header files and developer docs @@ -134,6 +133,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/*.a %doc %{_datadir}/gtk-doc/html/vte-0.0 %changelog +* Wed Feb 10 2021 Petr Viktorin - 0.28.2-34 +- Remove Requires on pygtk2 + * Wed Jan 27 2021 Fedora Release Engineering - 0.28.2-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 91342c5f6a1ec7d5b87bc39e331eebe69cbc8526 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 23 Jul 2021 20:41:29 +0000 Subject: [PATCH 32/44] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- vte.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vte.spec b/vte.spec index 535b45b..e853e3d 100644 --- a/vte.spec +++ b/vte.spec @@ -4,7 +4,7 @@ Name: vte Version: 0.28.2 -Release: 34%{?dist} +Release: 35%{?dist} Summary: A terminal emulator License: LGPLv2+ #VCS: git:git://git.gnome.org/vte @@ -133,6 +133,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/*.a %doc %{_datadir}/gtk-doc/html/vte-0.0 %changelog +* Fri Jul 23 2021 Fedora Release Engineering - 0.28.2-35 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Wed Feb 10 2021 Petr Viktorin - 0.28.2-34 - Remove Requires on pygtk2 From 22b8af5c705779f0de104c17766181650bded699 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jan 2022 04:12:04 +0000 Subject: [PATCH 33/44] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- vte.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vte.spec b/vte.spec index e853e3d..bd5da90 100644 --- a/vte.spec +++ b/vte.spec @@ -4,7 +4,7 @@ Name: vte Version: 0.28.2 -Release: 35%{?dist} +Release: 36%{?dist} Summary: A terminal emulator License: LGPLv2+ #VCS: git:git://git.gnome.org/vte @@ -133,6 +133,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/*.a %doc %{_datadir}/gtk-doc/html/vte-0.0 %changelog +* Sat Jan 22 2022 Fedora Release Engineering - 0.28.2-36 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Fri Jul 23 2021 Fedora Release Engineering - 0.28.2-35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From 7b4ebe9eb30f0975fb90b5cbc6d210d3d6a2541e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 23 Jul 2022 12:08:04 +0000 Subject: [PATCH 34/44] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- vte.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vte.spec b/vte.spec index bd5da90..419aae5 100644 --- a/vte.spec +++ b/vte.spec @@ -4,7 +4,7 @@ Name: vte Version: 0.28.2 -Release: 36%{?dist} +Release: 37%{?dist} Summary: A terminal emulator License: LGPLv2+ #VCS: git:git://git.gnome.org/vte @@ -133,6 +133,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/*.a %doc %{_datadir}/gtk-doc/html/vte-0.0 %changelog +* Sat Jul 23 2022 Fedora Release Engineering - 0.28.2-37 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Sat Jan 22 2022 Fedora Release Engineering - 0.28.2-36 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From c64d2e6f80c2d342c9c15594115084ef814d22c2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 21 Jan 2023 06:31:42 +0000 Subject: [PATCH 35/44] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- vte.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vte.spec b/vte.spec index 419aae5..8eab6b8 100644 --- a/vte.spec +++ b/vte.spec @@ -4,7 +4,7 @@ Name: vte Version: 0.28.2 -Release: 37%{?dist} +Release: 38%{?dist} Summary: A terminal emulator License: LGPLv2+ #VCS: git:git://git.gnome.org/vte @@ -133,6 +133,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/*.a %doc %{_datadir}/gtk-doc/html/vte-0.0 %changelog +* Sat Jan 21 2023 Fedora Release Engineering - 0.28.2-38 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Sat Jul 23 2022 Fedora Release Engineering - 0.28.2-37 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From ec874df9bfb13fdfb6955106d1cf84df39faea55 Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Sat, 4 Mar 2023 15:06:39 -0600 Subject: [PATCH 36/44] migrated to SPDX license --- vte.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/vte.spec b/vte.spec index 8eab6b8..20188d1 100644 --- a/vte.spec +++ b/vte.spec @@ -4,9 +4,9 @@ Name: vte Version: 0.28.2 -Release: 38%{?dist} +Release: 39%{?dist} Summary: A terminal emulator -License: LGPLv2+ +License: LGPL-2.0-or-later #VCS: git:git://git.gnome.org/vte URL: http://developer.gnome.org/vte/ Source: http://download.gnome.org/sources/vte/0.28/%{name}-%{version}.tar.xz @@ -133,6 +133,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/*.a %doc %{_datadir}/gtk-doc/html/vte-0.0 %changelog +* Sat Mar 04 2023 Gwyn Ciesla - 0.28.2-39 +- migrated to SPDX license + * Sat Jan 21 2023 Fedora Release Engineering - 0.28.2-38 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 44b32bb0de91c8c1d90134385da9f6b85b883a3f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jul 2023 17:53:53 +0000 Subject: [PATCH 37/44] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- vte.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vte.spec b/vte.spec index 20188d1..c0193fa 100644 --- a/vte.spec +++ b/vte.spec @@ -4,7 +4,7 @@ Name: vte Version: 0.28.2 -Release: 39%{?dist} +Release: 40%{?dist} Summary: A terminal emulator License: LGPL-2.0-or-later #VCS: git:git://git.gnome.org/vte @@ -133,6 +133,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/*.a %doc %{_datadir}/gtk-doc/html/vte-0.0 %changelog +* Sat Jul 22 2023 Fedora Release Engineering - 0.28.2-40 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Sat Mar 04 2023 Gwyn Ciesla - 0.28.2-39 - migrated to SPDX license From 7a972eeeee0da596e12afd4194c9586deb8def0b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jan 2024 08:15:07 +0000 Subject: [PATCH 38/44] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- vte.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vte.spec b/vte.spec index c0193fa..2885a61 100644 --- a/vte.spec +++ b/vte.spec @@ -4,7 +4,7 @@ Name: vte Version: 0.28.2 -Release: 40%{?dist} +Release: 41%{?dist} Summary: A terminal emulator License: LGPL-2.0-or-later #VCS: git:git://git.gnome.org/vte @@ -133,6 +133,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/*.a %doc %{_datadir}/gtk-doc/html/vte-0.0 %changelog +* Sat Jan 27 2024 Fedora Release Engineering - 0.28.2-41 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sat Jul 22 2023 Fedora Release Engineering - 0.28.2-40 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From 4568b21f6bdd1e1801266ea78dfe5654943d97ff Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Wed, 31 Jan 2024 13:11:49 -0600 Subject: [PATCH 39/44] Patch for modern C --- pointer-types.patch | 22 ++++++++++++++++++++++ vte.spec | 27 ++++++++++++++++----------- 2 files changed, 38 insertions(+), 11 deletions(-) create mode 100644 pointer-types.patch diff --git a/pointer-types.patch b/pointer-types.patch new file mode 100644 index 0000000..bc77bcd --- /dev/null +++ b/pointer-types.patch @@ -0,0 +1,22 @@ +--- src/reaper.c~ 2011-08-16 16:52:48.000000000 -0500 ++++ src/reaper.c 2024-01-31 11:42:45.581345843 -0600 +@@ -85,7 +85,7 @@ + return g_object_ref (singleton_reaper); + } else { + GObject *obj; +- obj = G_OBJECT_CLASS (vte_reaper_parent_class)->constructor (type, n_construct_properties, construct_properties); ++ obj = (GObject *)(G_OBJECT_CLASS (vte_reaper_parent_class)->constructor (type, n_construct_properties, construct_properties)); + singleton_reaper = VTE_REAPER (obj); + return obj; + } +--- src/reaper.c~ 2024-01-31 12:12:15.260939495 -0600 ++++ src/reaper.c 2024-01-31 13:03:55.397334625 -0600 +@@ -82,7 +82,7 @@ + GObjectConstructParam *construct_properties) + { + if (singleton_reaper) { +- return g_object_ref (singleton_reaper); ++ return (GObject *)(g_object_ref (singleton_reaper)); + } else { + GObject *obj; + obj = (GObject *)(G_OBJECT_CLASS (vte_reaper_parent_class)->constructor (type, n_construct_properties, construct_properties)); diff --git a/vte.spec b/vte.spec index 2885a61..4b5dfd1 100644 --- a/vte.spec +++ b/vte.spec @@ -4,7 +4,7 @@ Name: vte Version: 0.28.2 -Release: 41%{?dist} +Release: 42%{?dist} Summary: A terminal emulator License: LGPL-2.0-or-later #VCS: git:git://git.gnome.org/vte @@ -39,6 +39,7 @@ Patch8: vte-0.28.2-683730.patch # Backport extended xterm/urxvt mouse tracking support # https://bugzilla.gnome.org/show_bug.cgi?id=681329 Patch9: vte-0.28.2-mouse-tracking.patch +Patch10: pointer-types.patch BuildRequires: make BuildRequires: gtk2-devel >= %{gtk2_version} @@ -74,16 +75,17 @@ vte. %prep %setup -q -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p2 -%patch7 -p1 -%patch8 -p1 -%patch9 -p1 +%patch -P 0 -p1 +%patch -P 1 -p1 +%patch -P 2 -p1 +%patch -P 3 -p1 +%patch -P 4 -p1 +%patch -P 5 -p1 +%patch -P 6 -p2 +%patch -P 7 -p1 +%patch -P 8 -p1 +%patch -P 9 -p1 +%patch -P 10 -p0 %build %configure \ @@ -133,6 +135,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/*.a %doc %{_datadir}/gtk-doc/html/vte-0.0 %changelog +* Wed Jan 31 2024 Gwyn Ciesla - 0.28.2-42 +- PAtch for modern C. + * Sat Jan 27 2024 Fedora Release Engineering - 0.28.2-41 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 111efaf874c90595c0b71e52537267d917b07848 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 20 Jul 2024 09:02:32 +0000 Subject: [PATCH 40/44] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- vte.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vte.spec b/vte.spec index 4b5dfd1..996c826 100644 --- a/vte.spec +++ b/vte.spec @@ -4,7 +4,7 @@ Name: vte Version: 0.28.2 -Release: 42%{?dist} +Release: 43%{?dist} Summary: A terminal emulator License: LGPL-2.0-or-later #VCS: git:git://git.gnome.org/vte @@ -135,6 +135,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/*.a %doc %{_datadir}/gtk-doc/html/vte-0.0 %changelog +* Sat Jul 20 2024 Fedora Release Engineering - 0.28.2-43 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Wed Jan 31 2024 Gwyn Ciesla - 0.28.2-42 - PAtch for modern C. From 791418ad3d7ae124015dc94eef5161af4e29fdb4 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 19 Jan 2025 14:39:22 +0000 Subject: [PATCH 41/44] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- vte.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vte.spec b/vte.spec index 996c826..4aa16cd 100644 --- a/vte.spec +++ b/vte.spec @@ -4,7 +4,7 @@ Name: vte Version: 0.28.2 -Release: 43%{?dist} +Release: 44%{?dist} Summary: A terminal emulator License: LGPL-2.0-or-later #VCS: git:git://git.gnome.org/vte @@ -135,6 +135,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/*.a %doc %{_datadir}/gtk-doc/html/vte-0.0 %changelog +* Sun Jan 19 2025 Fedora Release Engineering - 0.28.2-44 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Sat Jul 20 2024 Fedora Release Engineering - 0.28.2-43 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 77138c7b7c17e6292ec8649995c5e40fc73bf2dc Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 20:14:41 +0000 Subject: [PATCH 42/44] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- vte.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vte.spec b/vte.spec index 4aa16cd..11397a1 100644 --- a/vte.spec +++ b/vte.spec @@ -4,7 +4,7 @@ Name: vte Version: 0.28.2 -Release: 44%{?dist} +Release: 45%{?dist} Summary: A terminal emulator License: LGPL-2.0-or-later #VCS: git:git://git.gnome.org/vte @@ -135,6 +135,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/*.a %doc %{_datadir}/gtk-doc/html/vte-0.0 %changelog +* Fri Jul 25 2025 Fedora Release Engineering - 0.28.2-45 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Sun Jan 19 2025 Fedora Release Engineering - 0.28.2-44 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 5af1382b9e3c6841f31f29ea505fe809373b3dd8 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 17 Jan 2026 20:04:33 +0000 Subject: [PATCH 43/44] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild --- vte.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vte.spec b/vte.spec index 11397a1..165cd3b 100644 --- a/vte.spec +++ b/vte.spec @@ -4,7 +4,7 @@ Name: vte Version: 0.28.2 -Release: 45%{?dist} +Release: 46%{?dist} Summary: A terminal emulator License: LGPL-2.0-or-later #VCS: git:git://git.gnome.org/vte @@ -135,6 +135,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/*.a %doc %{_datadir}/gtk-doc/html/vte-0.0 %changelog +* Sat Jan 17 2026 Fedora Release Engineering - 0.28.2-46 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + * Fri Jul 25 2025 Fedora Release Engineering - 0.28.2-45 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From fcfbf98cca8adbb00b4f0c4ba8f7d0890b5772cb Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jul 2026 08:38:44 +0000 Subject: [PATCH 44/44] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild --- vte.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vte.spec b/vte.spec index 165cd3b..d3d87ad 100644 --- a/vte.spec +++ b/vte.spec @@ -4,7 +4,7 @@ Name: vte Version: 0.28.2 -Release: 46%{?dist} +Release: 47%{?dist} Summary: A terminal emulator License: LGPL-2.0-or-later #VCS: git:git://git.gnome.org/vte @@ -135,6 +135,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/*.a %doc %{_datadir}/gtk-doc/html/vte-0.0 %changelog +* Fri Jul 17 2026 Fedora Release Engineering - 0.28.2-47 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild + * Sat Jan 17 2026 Fedora Release Engineering - 0.28.2-46 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild