diff --git a/.gitignore b/.gitignore index f80d291..faa67ff 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,39 @@ -/vte-*.tar.xz -/vte-*-build +/vte-0.37.0.tar.xz +/vte-0.37.1.tar.xz +/vte-0.37.2.tar.xz +/vte-0.37.90.tar.xz +/vte-0.38.0.tar.xz +/vte-0.38.1.tar.xz +/vte-0.38.2.tar.xz +/vte-0.39.0.tar.xz +/vte-0.39.1.tar.xz +/vte-0.39.90.tar.xz +/vte-0.39.92.tar.xz +/vte-0.40.0.tar.xz +/vte-0.40.2.tar.xz +/vte-0.41.90.tar.xz +/vte-0.42.0.tar.xz +/vte-0.42.1.tar.xz +/vte-0.42.3.tar.xz +/vte-0.43.0.tar.xz +/vte-0.43.1.tar.xz +/vte-0.43.2.tar.xz +/vte-0.43.90.tar.xz +/vte-0.43.91.tar.xz +/vte-0.43.92.tar.xz +/vte-0.44.0.tar.xz +/vte-0.44.1.tar.xz +/vte-0.44.2.tar.xz +/vte-0.45.90.tar.xz +/vte-0.45.92.tar.xz +/vte-0.46.0.tar.xz +/vte-0.46.1.tar.xz +/vte-0.47.90.tar.xz +/vte-0.48.1.tar.xz +/vte-0.48.2.tar.xz +/vte-0.48.3.tar.xz +/vte-0.50.0.tar.xz +/vte-0.50.1.tar.xz +/vte-0.50.2.tar.xz +/vte-0.50.3.tar.xz +/vte-0.50.4.tar.xz diff --git a/.packit.yaml b/.packit.yaml deleted file mode 100644 index c3700e1..0000000 --- a/.packit.yaml +++ /dev/null @@ -1,40 +0,0 @@ -# Minimal Packit Configuration for GNOME Packages -# Copy this to your dist-git repository as .packit.yaml -# -# Prerequisites: -# - Package is monitored by release-monitoring.org -# - Monitoring status set to "Monitoring" in dist-git - -jobs: - # Automated updates for stable branches - - job: pull_from_upstream - trigger: release - dist_git_branches: - - fedora-stable - - # ======================================================================== - # VERSIONING: Choose ONE option based on your package's versioning scheme - # ======================================================================== - - # OPTION A: Major version only - allows minor and patch updates - # For 2-digit: 50.0 -> 50.1 ✅, 50.x -> 51.0 ❌ - # For 3-digit: 1.2.3 -> 1.3.0 ✅, 1.x.x -> 2.0.0 ❌ - # Use for: GNOME apps/libs with 2-digit versions, or libraries following semver - # version_update_mask: '^\d+\.' - - # OPTION B: Major.minor version - patch updates only - # Examples: 1.2.3 -> 1.2.4 ✅, 1.2.x -> 1.3.0 ❌ - # Use for: Libraries with ABI concerns, even/odd development scheme - version_update_mask: '^\d+\.\d+\.' - - # Build in Koji after merge - - job: koji_build - trigger: commit - dist_git_branches: - - fedora-stable - - # Submit Bodhi update - - job: bodhi_update - trigger: commit - dist_git_branches: - - fedora-stable diff --git a/changelog b/changelog deleted file mode 100644 index b2a034c..0000000 --- a/changelog +++ /dev/null @@ -1,535 +0,0 @@ -* Mon May 26 2025 nmontero - 0.80.2-1 -- Update to 0.80.2 - -* Mon Apr 14 2025 nmontero - 0.80.1-1 -- Update to 0.80.1 - -* Mon Mar 17 2025 Yaakov Selkowitz - 0.80.0-2 -- Avoid fast_float dependency - -* Mon Mar 17 2025 nmontero - 0.80.0-1 -- Update to 0.80.0 - -* Wed Mar 05 2025 nmontero - 0.79.91-1 -- Update to 0.79.91 - -* Wed Feb 19 2025 nmontero - 0.79.90-1 -- Update to 0.79.90 - -* Wed Feb 12 2025 nmontero - 0.79.90-1 -- Update to 0.79.0 - -* Sun Jan 19 2025 Fedora Release Engineering - 0.78.2-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Sun Dec 08 2024 Pete Walter - 0.78.2-2 -- Rebuild for ICU 76 - -* Mon Nov 25 2024 nmontero - 0.78.2-1 -- Update to 0.78.2 - -* Tue Oct 22 2024 nmontero - 0.78.1-1 -- Update to 0.78.1 - -* Mon Sep 16 2024 David King - 0.78.0-1 -- Update to 0.78.0 - -* Sat Aug 10 2024 Jens Petersen - 0.77.91-2 -- fix vte.sh error: __vte_shell_precmd: command not found - -* Thu Aug 08 2024 David King - 0.77.91-1 -- Update to 0.77.91 - -* Wed Jul 24 2024 David King - 0.77.0-1 -- Update to 0.77.0 - -* Sat Jul 20 2024 Fedora Release Engineering - 0.76.3-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Mon Jun 10 2024 David King - 0.76.3-1 -- Update to 0.76.3 - -* Fri Jun 07 2024 David King - 0.76.2-2 -- Use updated notification patches from ptyxis - -* Tue May 28 2024 David King - 0.76.2-1 -- Update to 0.76.2 - -* Fri May 03 2024 David King - 0.76.1-1 -- Update to 0.76.1 - -* Tue Apr 02 2024 David King - 0.76.0-1 -- Update to 0.76.0 - -* Mon Feb 12 2024 Tomas Popela - 0.74.2-4 -- Build for the SPDX license format change - -* Wed Jan 31 2024 Pete Walter - 0.74.2-3 -- Rebuild for ICU 74 - -* Sat Jan 27 2024 Fedora Release Engineering - 0.74.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Sat Dec 16 2023 Kalev Lember - 0.74.2-1 -- Update to 0.74.2 - -* Sun Oct 22 2023 Kalev Lember - 0.74.1-1 -- Update to 0.74.1 - -* Tue Sep 19 2023 Kalev Lember - 0.74.0-1 -- Update to 0.74.0 - -* Tue Aug 08 2023 Kalev Lember - 0.73.93-1 -- Update to 0.73.93 - -* Sat Jul 22 2023 Fedora Release Engineering - 0.72.2-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Tue Jul 11 2023 František Zatloukal - 0.72.2-2 -- Rebuilt for ICU 73.2 - -* Wed Jun 07 2023 Kalev Lember - 0.72.2-1 -- Update to 0.72.2 - -* Sun Apr 16 2023 David King - 0.72.1-1 -- Update to 0.72.1 - -* Mon Mar 20 2023 David King - 0.72.0-1 -- Update to 0.72.0 (#2179642) - -* Thu Mar 09 2023 David King - 0.71.99-1 -- Update to 0.71.99 - -* Wed Feb 15 2023 David King - 0.71.92-1 -- Update to 0.71.92 - -* Sat Jan 21 2023 Fedora Release Engineering - 0.70.2-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Sat Dec 31 2022 Pete Walter - 0.70.2-2 -- Rebuild for ICU 72 - -* Tue Dec 06 2022 David King - 0.70.2-1 -- Update to 0.70.2 - -* Fri Oct 28 2022 David King - 0.70.1-1 -- Update to 0.70.1 - -* Mon Sep 26 2022 David King - 0.70.0-2 -- Fix GTK4 ABI padding (#2122922) - -* Mon Sep 19 2022 Kalev Lember - 0.70.0-1 -- Update to 0.70.0 - -* Mon Aug 08 2022 Kalev Lember - 0.69.92-1 -- Update to 0.69.92 - -* Wed Aug 03 2022 David King - 0.69.90-1 -- Update to 0.69.90 -- Enable GTK4 support - -* Mon Aug 01 2022 Frantisek Zatloukal - 0.68.0-3 -- Rebuilt for ICU 71.1 - -* Sat Jul 23 2022 Fedora Release Engineering - 0.68.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Sun Mar 27 2022 David King - 0.68.0-1 -- Update to 0.68.0 - -* Thu Feb 17 2022 David King - 0.67.90-1 -- Update to 0.67.90 - -* Thu Jan 27 2022 David King - 0.66.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Thu Dec 16 2021 David King - 0.66.2-1 -- Update to 0.66.2 - -* Mon Nov 01 2021 David King - 0.66.1-1 -- Update to 0.66.1 - -* Fri Oct 01 2021 Kalev Lember - 0.66.0-2 -- Require systemd-libs rather than systemd - -* Tue Sep 28 2021 David King - 0.66.0-1 -- Update to 0.66.0 - -* Fri Jul 23 2021 Fedora Release Engineering - 0.64.2-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Thu Jun 17 2021 Debarshi Ray - 0.64.2-2 -- Fix the License fields and ship the correct license texts - -* Wed Jun 16 2021 Debarshi Ray - 0.64.2-1 -- Update to 0.64.2 - -* Thu May 20 2021 Pete Walter - 0.64.1-3 -- Rebuild for ICU 69 - -* Fri May 07 2021 Debarshi Ray - 0.64.1-2 -- Add missing _VTE_CXX_NOEXCEPT in downstream patches - -* Thu May 06 2021 Debarshi Ray - 0.64.1-1 -- Update to 0.64.1 - -* Thu May 06 2021 Debarshi Ray - 0.64.0-1 -- Update to 0.64.0 - -* Thu May 06 2021 Debarshi Ray - 0.63.91-1 -- Update to 0.63.91 -- Rebase downstream patches - -* Thu Feb 18 2021 Kalev Lember - 0.62.3-2 -- Revert a change that limited select all, as decided by Workstation WG - -* Tue Feb 16 2021 Kalev Lember - 0.62.3-1 -- Update to 0.62.3 -- Use https URLs for upstream - -* Wed Jan 27 2021 Fedora Release Engineering - 0.62.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Mon Jan 25 2021 Kalev Lember - 0.62.2-1 -- Update to 0.62.2 - -* Wed Dec 16 2020 Debarshi Ray - 0.62.1-3 -- Accommodate 'sudo toolbox' when tracking the active container - -* Tue Nov 03 2020 Jeff Law - 0.62.1-2 -- Fix bogus volatile caught by gcc-11 - -* Thu Oct 08 2020 Debarshi Ray - 0.62.1-1 -- Update to 0.62.1 -- Rebase downstream patches - -* Thu Sep 24 2020 Debarshi Ray - 0.62.0-1 -- Update to 0.62.0 - -* Thu Sep 24 2020 Debarshi Ray - 0.61.91-1 -- Update to 0.61.91 - -* Thu Sep 24 2020 Debarshi Ray - 0.61.90-1 -- Update to 0.61.90 -- Rebase downstream patches - -* Wed Jul 29 2020 Fedora Release Engineering - 0.60.3-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Thu Jun 04 2020 Kalev Lember - 0.60.3-1 -- Update to 0.60.3 - -* Sat May 16 2020 Pete Walter - 0.60.2-2 -- Rebuild for ICU 67 - -* Mon Apr 27 2020 Kalev Lember - 0.60.2-1 -- Update to 0.60.2 - -* Mon Apr 06 2020 Debarshi Ray - 0.60.1-2 -- Improve legibility when using colours from the system theme - -* Tue Mar 31 2020 Kalev Lember - 0.60.1-1 -- Update to 0.60.1 - -* Sat Mar 21 2020 Kalev Lember - 0.60.0-2 -- Move vte-urlencode-cwd to vte-profile subpackage (#1815769) - -* Fri Mar 06 2020 Debarshi Ray - 0.60.0-1 -- Update to 0.60.0 - -* Mon Mar 02 2020 Debarshi Ray - 0.59.92-2 -- Replace C1 controls with C0 to emit OSC 777 from PS0 (RH #1783802) - -* Mon Mar 02 2020 Debarshi Ray - 0.59.92-1 -- Update to 0.59.92 - -* Thu Feb 20 2020 Debarshi Ray - 0.59.91-1 -- Update to 0.59.91 -- Rebase downstream patches - -* Wed Feb 19 2020 Debarshi Ray - 0.59.0-1 -- Update to 0.59.0 -- Rebase downstream patches - -* Fri Jan 31 2020 Fedora Release Engineering - 0.58.3-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Wed Nov 27 2019 Kalev Lember - 0.58.3-1 -- Update to 0.58.3 -- Avoid overriding vte's own -fno-exceptions - -* Mon Oct 14 2019 Kalev Lember - 0.58.2-1 -- Update to 0.58.2 - -* Mon Oct 07 2019 Kalev Lember - 0.58.1-1 -- Update to 0.58.1 - -* Fri Oct 04 2019 Adam Williamson - 0.58.0-2 -- Backport fix for crash due to out of bounds cursor position (#1756567) - -* Mon Sep 09 2019 Kalev Lember - 0.58.0-1 -- Update to 0.58.0 - -* Mon Aug 12 2019 Kalev Lember - 0.57.90-1 -- Update to 0.57.90 - -* Sat Jul 27 2019 Fedora Release Engineering - 0.57.3-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Tue Jul 02 2019 Debarshi Ray - 0.57.3-1 -- Update to 0.57.3 -- Rebase downstream patches - -* Wed Jun 19 2019 Debarshi Ray - 0.57.0-2 -- Support tracking the active container inside the terminal - -* Tue Jun 18 2019 Debarshi Ray - 0.57.0-1 -- Update to 0.57.0 -- Switch to the Meson build system -- Rebase downstream patches - -* Tue May 07 2019 Kalev Lember - 0.56.3-1 -- Update to 0.56.3 - -* Mon May 06 2019 Kalev Lember - 0.56.2-1 -- Update to 0.56.2 - -* Tue Apr 09 2019 Kalev Lember - 0.56.1-1 -- Update to 0.56.1 - -* Tue Apr 02 2019 Debarshi Ray - 0.56.0-2 -- Add signals proxying an interactive shell's precmd and preexec hooks. - -* Mon Mar 11 2019 Kalev Lember - 0.56.0-1 -- Update to 0.56.0 - -* Mon Mar 04 2019 Kalev Lember - 0.55.92-1 -- Update to 0.55.92 - -* Tue Feb 19 2019 Kalev Lember - 0.55.90-2 -- Rebuilt against fixed atk (#1626575) - -* Tue Feb 19 2019 Kalev Lember - 0.55.90-1 -- Update to 0.55.90 - -* Sun Feb 03 2019 Fedora Release Engineering - 0.54.3-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Wed Dec 12 2018 Kalev Lember - 0.54.3-1 -- Update to 0.54.3 - -* Fri Oct 26 2018 Kalev Lember - 0.54.2-1 -- Update to 0.54.2 - -* Mon Oct 08 2018 Debarshi Ray - 0.54.1-4 -- Removal of utmp logging makes the utmp group unnecessary - -* Fri Oct 05 2018 Debarshi Ray - 0.54.1-3 -- Tweak the escape sequence emission to unbreak the parsing - -* Fri Oct 05 2018 Debarshi Ray - 0.54.1-2 -- Tighten the dependencies a bit - -* Fri Oct 05 2018 Debarshi Ray - 0.54.1-1 -- Update to 0.54.1 - -* Thu Oct 04 2018 Debarshi Ray - 0.54.0-1 -- Update to 0.54.0 - -* Thu Oct 04 2018 Debarshi Ray - 0.53.92-1 -- Update to 0.53.92 - -* Sat Jul 14 2018 Fedora Release Engineering - 0.53.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Mon Jun 18 2018 Kalev Lember - 0.53.0-2 -- Require systemd, not initscripts for the utmp group (#1592403) - -* Mon Jun 04 2018 Debarshi Ray - 0.53.0-1 -- Update to 0.53.0 - -* Mon May 21 2018 Kalev Lember - 0.52.2-1 -- Update to 0.52.2 - -* Mon Apr 09 2018 Kalev Lember - 0.52.1-1 -- Update to 0.52.1 - -* Tue Apr 03 2018 Kalev Lember - 0.52.0-1 -- Update to 0.52.0 -- Remove ldconfig scriptlets - -* Wed Mar 28 2018 Debarshi Ray - 0.51.90-1 -- Update to 0.51.90 - -* Wed Mar 28 2018 Debarshi Ray - 0.51.3-1 -- Update to 0.51.3 -- Rebase downstream patches - -* Thu Feb 08 2018 Igor Gnatenko - 0.50.2-3 -- Switch to %%ldconfig_scriptlets - -* Thu Nov 02 2017 Kalev Lember - 0.50.2-2 -- Rebuild - -* Wed Nov 01 2017 Debarshi Ray - 0.50.2-1 -- Update to 0.50.2 - -* Thu Oct 05 2017 Debarshi Ray - 0.50.1-1 -- Update to 0.50.1 -- Rebase downstream patches - -* Thu Sep 14 2017 Kalev Lember - 0.50.0-1 -- Update to 0.50.0 -- Rebase downstream patches - -* Thu Aug 03 2017 Fedora Release Engineering - 0.48.3-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Thu Jul 27 2017 Fedora Release Engineering - 0.48.3-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Wed May 10 2017 Kalev Lember - 0.48.3-1 -- Update to 0.48.3 - -* Wed Apr 12 2017 Kalev Lember - 0.48.2-1 -- Update to 0.48.2 -- Rebase downstream patches - -* Wed Mar 22 2017 Kalev Lember - 0.48.1-1 -- Update to 0.48.1 - -* Fri Feb 24 2017 Debarshi Ray - 0.47.90-1 -- Update to 0.47.90 -- Rebase downstream patches - -* Sat Feb 11 2017 Fedora Release Engineering - 0.46.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Tue Nov 08 2016 Debarshi Ray - 0.46.1-1 -- Update to 0.46.1 -- Rebase downstream patches - -* Thu Sep 22 2016 Kalev Lember - 0.46.0-2 -- BR vala instead of obsolete vala-tools subpackage - -* Mon Sep 19 2016 Kalev Lember - 0.46.0-1 -- Update to 0.46.0 - -* Wed Sep 14 2016 Kalev Lember - 0.45.92-1 -- Update to 0.45.92 - -* Thu Aug 18 2016 Kalev Lember - 0.45.90-1 -- Update to 0.45.90 -- Rebase downstream patches - -* Fri Jul 01 2016 Debarshi Ray - 0.44.2-2 -- Add a property to configure the scroll speed - -* Tue May 10 2016 Debarshi Ray - 0.44.2-1 -- Update to 0.44.2 -- Rebase downstream patches and undo unintentional ABI break - -* Mon Apr 11 2016 Debarshi Ray - 0.44.1-1 -- Update to 0.44.1 - -* Tue Mar 22 2016 Kalev Lember - 0.44.0-1 -- Update to 0.44.0 - -* Tue Mar 15 2016 Debarshi Ray - 0.43.92-1 -- Update to 0.43.92 - -* Tue Mar 01 2016 Debarshi Ray - 0.43.91-1 -- Update to 0.43.91 -- Remove BuildRequires on pkgconfig(libpcre2-8) - -* Tue Mar 01 2016 Debarshi Ray - 0.43.90-1 -- Update to 0.43.90 - -* Fri Feb 05 2016 Fedora Release Engineering - 0.43.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Fri Jan 29 2016 Debarshi Ray - 0.43.2-1 -- Update to 0.43.2 - -* Fri Jan 29 2016 Debarshi Ray - 0.43.1-1 -- Update to 0.43.1 -- Drop upstreamed patch - -* Fri Jan 29 2016 Debarshi Ray - 0.43.0-1 -- Update to 0.43.0 -- Add BuildRequires on pkgconfig(libpcre2-8) -- Disable -Wnonnull - -* Thu Jan 28 2016 Debarshi Ray - 0.42.3-1 -- Update to 0.42.3 -- Backport upstream patch to fix disappearing lines (GNOME #761097) - -* Wed Oct 14 2015 Kalev Lember - 0.42.1-1 -- Update to 0.42.1 - -* Tue Sep 22 2015 Kalev Lember - 0.42.0-1 -- Update to 0.42.0 -- Use license macro for COPYING - -* Mon Sep 14 2015 Debarshi Ray - 0.41.90-1 -- Update to 0.41.90 -- Rebased downstream patches after the migration to C++ -- gnome-pty-helper has been removed - -* Fri Jun 19 2015 Fedora Release Engineering - 0.40.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Tue May 12 2015 Debarshi Ray - 0.40.2-1 -- Update to 0.40.2 - -* Tue Mar 24 2015 Debarshi Ray - 0.40.0-1 -- Update to 0.40.0 - -* Thu Mar 19 2015 Debarshi Ray - 0.39.92-1 -- Update to 0.39.92 - -* Tue Feb 17 2015 Debarshi Ray - 0.39.90-1 -- Update to 0.39.90 -- Add command-notify patches - -* Fri Dec 19 2014 Richard Hughes - 0.39.1-1 -- Update to 0.39.1 - -* Mon Dec 01 2014 Debarshi Ray - 0.39.0-2 -- Backport upstream patch to fix zombie shells (GNOME #740929) - -* Tue Nov 25 2014 Kalev Lember - 0.39.0-1 -- Update to 0.39.0 - -* Mon Nov 10 2014 Kalev Lember - 0.38.2-1 -- Update to 0.38.2 - -* Mon Oct 13 2014 Kalev Lember - 0.38.1-1 -- Update to 0.38.1 - -* Sun Sep 14 2014 Kalev Lember - 0.38.0-1 -- Update to 0.38.0 - -* Mon Aug 18 2014 Kalev Lember - 0.37.90-1 -- Update to 0.37.90 - -* Mon Aug 18 2014 Fedora Release Engineering - 0.37.2-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Tue Jul 22 2014 Kalev Lember - 0.37.2-2 -- Rebuilt for gobject-introspection 1.41.4 - -* Tue Jun 24 2014 Richard Hughes - 0.37.2-1 -- Update to 0.37.2 - -* Sun Jun 08 2014 Fedora Release Engineering - 0.37.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Wed May 28 2014 Kalev Lember - 0.37.1-1 -- Update to 0.37.1 - -* Wed May 07 2014 Kalev Lember - 0.37.0-2 -- Split out a vte-profile subpackage that can be used with both vte291 / vte3 - -* Tue May 06 2014 Kalev Lember - 0.37.0-1 -- Initial Fedora package, based on previous vte3 0.36 packaging diff --git a/monitoring.toml b/monitoring.toml deleted file mode 100644 index 0ad7b11..0000000 --- a/monitoring.toml +++ /dev/null @@ -1,13 +0,0 @@ -# Enable/disable monitoring -monitoring = true -# Enable/disable filling bugzilla ticket for new release -# When disabled it will also disable scratch builds -bugzilla = false -# Enable/disable reporting only stable versions -# Stable versions are recognized based on release-monitoring.org project settings -stable_only = true -# Enable/disable reporting all new versions instead of the latest one -# Enabling this will disable scratch builds -all_versions = true -# Enable/disable scratch build for newly opened version -scratch_build = false diff --git a/sources b/sources index c00fd0b..5da3f59 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (vte-0.84.1.tar.xz) = 34ac77e712b12b62518a09122ce36c816e4c14a53b01be55f233c8749dd234b6b60a9ab47730e34be44fef1994364002a5f31a0af937e95ed1804752a8dd645e +SHA512 (vte-0.50.4.tar.xz) = 99264a31ca45655888f54ded5525bd0cc42949095a9dcdc84c5cce5f7cdf94af801c48112837b73ef91c15754d3773002b131410509a1feb9e6eaec12190c228 diff --git a/vte291-command-notify-scroll-speed.patch b/vte291-command-notify-scroll-speed.patch new file mode 100644 index 0000000..d8901fe --- /dev/null +++ b/vte291-command-notify-scroll-speed.patch @@ -0,0 +1,667 @@ +From dba0e89e39aa86be61b09225cb39e0a8aeebb196 Mon Sep 17 00:00:00 2001 +From: Debarshi Ray +Date: Wed, 7 Jan 2015 16:01:00 +0100 +Subject: [PATCH 1/5] Add sequences and signals for desktop notification + +Add sequences + OSC 777 ; notify ; SUMMARY ; BODY BEL + OSC 777 ; notify ; SUMMARY BEL + OSC 777 ; notify ; SUMMARY ; BODY ST + OSC 777 ; notify ; SUMMARY ST + +that let terminal applications send a notification to the desktop +environment. + +Based on Enlightenment's Terminology: +https://phab.enlightenment.org/T1765 + +https://bugzilla.gnome.org/show_bug.cgi?id=711059 +--- + src/caps.cc | 4 +++ + src/marshal.list | 1 + + src/vte.cc | 12 +++++++ + src/vte/vteterminal.h | 4 ++- + src/vtegtk.cc | 21 ++++++++++++ + src/vtegtk.hh | 1 + + src/vteinternal.hh | 5 +++ + src/vteseq-n.gperf | 1 + + src/vteseq.cc | 90 +++++++++++++++++++++++++++++++++++++++++++++++++++ + 9 files changed, 138 insertions(+), 1 deletion(-) + +diff --git a/src/caps.cc b/src/caps.cc +index 1f9cd1ed19e3..7262aeb2b8e0 100644 +--- a/src/caps.cc ++++ b/src/caps.cc +@@ -257,6 +257,8 @@ const char _vte_xterm_capability_strings[] = + ENTRY(OSC "119" BEL, "reset-highlight-foreground-color") + ENTRY(OSC "133;%s" BEL, "iterm2-133") + ENTRY(OSC "777;%s" BEL, "urxvt-777") ++ ENTRY(OSC "777;%s;%s;%s" BEL, "send-notification") ++ ENTRY(OSC "777;%s;%s" BEL, "send-notification") + ENTRY(OSC "1337;%s" BEL, "iterm2-1337") + + COMMENT(/* Set text parameters, ST-terminated versions. */) +@@ -296,6 +298,8 @@ const char _vte_xterm_capability_strings[] = + ENTRY(OSC "119" ST, "reset-highlight-foreground-color") + ENTRY(OSC "133;%s" ST, "iterm2-133") + ENTRY(OSC "777;%s" ST, "urxvt-777") ++ ENTRY(OSC "777;%s;%s;%s" ST, "send-notification") ++ ENTRY(OSC "777;%s;%s" ST, "send-notification") + ENTRY(OSC "1337;%s" ST, "iterm2-1337") + + COMMENT(/* These may be bogus, I can't find docs for them anywhere (#104154). */) +diff --git a/src/marshal.list b/src/marshal.list +index 1e4d0c1b6476..3385b4759713 100644 +--- a/src/marshal.list ++++ b/src/marshal.list +@@ -1,5 +1,6 @@ + VOID:INT,INT + VOID:OBJECT,OBJECT + VOID:STRING,BOXED ++VOID:STRING,STRING + VOID:STRING,UINT + VOID:UINT,UINT +diff --git a/src/vte.cc b/src/vte.cc +index 6f28670c037b..8df17c4bc531 100644 +--- a/src/vte.cc ++++ b/src/vte.cc +@@ -8553,6 +8553,9 @@ VteTerminalPrivate::~VteTerminalPrivate() + + remove_update_timeout(this); + ++ g_free (m_notification_summary); ++ g_free (m_notification_body); ++ + /* discard title updates */ + g_free(m_window_title); + g_free(m_window_title_changed); +@@ -10634,6 +10637,15 @@ VteTerminalPrivate::emit_pending_signals() + + emit_adjustment_changed(); + ++ if (m_notification_received) { ++ _vte_debug_print (VTE_DEBUG_SIGNALS, ++ "Emitting `notification-received'.\n"); ++ g_signal_emit(object, signals[SIGNAL_NOTIFICATION_RECEIVED], 0, ++ m_notification_summary, ++ m_notification_body); ++ m_notification_received = FALSE; ++ } ++ + if (m_window_title_changed) { + really_changed = (g_strcmp0(m_window_title, m_window_title_changed) != 0); + g_free (m_window_title); +diff --git a/src/vte/vteterminal.h b/src/vte/vteterminal.h +index cfd5a911adbe..b3c6978f65d6 100644 +--- a/src/vte/vteterminal.h ++++ b/src/vte/vteterminal.h +@@ -104,8 +104,10 @@ struct _VteTerminalClass { + + void (*bell)(VteTerminal* terminal); + ++ void (*notification_received)(VteTerminal* terminal, const gchar *summary, const gchar *body); ++ + /* Padding for future expansion. */ +- gpointer padding[16]; ++ gpointer padding[15]; + + VteTerminalClassPrivate *priv; + }; +diff --git a/src/vtegtk.cc b/src/vtegtk.cc +index 18a4b1ba16e9..4ccc4ff9c0ef 100644 +--- a/src/vtegtk.cc ++++ b/src/vtegtk.cc +@@ -679,6 +679,7 @@ vte_terminal_class_init(VteTerminalClass *klass) + klass->child_exited = NULL; + klass->encoding_changed = NULL; + klass->char_size_changed = NULL; ++ klass->notification_received = NULL; + klass->window_title_changed = NULL; + klass->icon_title_changed = NULL; + klass->selection_changed = NULL; +@@ -754,6 +755,26 @@ vte_terminal_class_init(VteTerminalClass *klass) + G_TYPE_NONE, + 1, G_TYPE_INT); + ++ /** ++ * VteTerminal::notification-received: ++ * @vteterminal: the object which received the signal ++ * @summary: The summary ++ * @body: (allow-none): Extra optional text ++ * ++ * Emitted when a process running in the terminal wants to ++ * send a notification to the desktop environment. ++ */ ++ signals[SIGNAL_NOTIFICATION_RECEIVED] = ++ g_signal_new(I_("notification-received"), ++ G_OBJECT_CLASS_TYPE(klass), ++ G_SIGNAL_RUN_LAST, ++ G_STRUCT_OFFSET(VteTerminalClass, notification_received), ++ NULL, ++ NULL, ++ _vte_marshal_VOID__STRING_STRING, ++ G_TYPE_NONE, ++ 2, G_TYPE_STRING, G_TYPE_STRING); ++ + /** + * VteTerminal::window-title-changed: + * @vteterminal: the object which received the signal +diff --git a/src/vtegtk.hh b/src/vtegtk.hh +index d1ade949b8ff..07c714e66093 100644 +--- a/src/vtegtk.hh ++++ b/src/vtegtk.hh +@@ -56,6 +56,7 @@ enum { + SIGNAL_TEXT_INSERTED, + SIGNAL_TEXT_MODIFIED, + SIGNAL_TEXT_SCROLLED, ++ SIGNAL_NOTIFICATION_RECEIVED, + SIGNAL_WINDOW_TITLE_CHANGED, + LAST_SIGNAL + }; +diff --git a/src/vteinternal.hh b/src/vteinternal.hh +index 0cd686b6adc2..f7faa7a52328 100644 +--- a/src/vteinternal.hh ++++ b/src/vteinternal.hh +@@ -496,6 +496,11 @@ public: + gboolean m_cursor_moved_pending; + gboolean m_contents_changed_pending; + ++ /* desktop notification */ ++ gboolean m_notification_received; ++ gchar *m_notification_summary; ++ gchar *m_notification_body; ++ + /* window name changes */ + char* m_window_title; + char* m_window_title_changed; +diff --git a/src/vteseq-n.gperf b/src/vteseq-n.gperf +index 7cd1de50f8f0..e2cb3c90c86e 100644 +--- a/src/vteseq-n.gperf ++++ b/src/vteseq-n.gperf +@@ -171,5 +171,6 @@ struct vteseq_n_struct { + "set-current-file-uri", VTE_SEQUENCE_HANDLER(vte_sequence_handler_set_current_file_uri) + "set-current-hyperlink", VTE_SEQUENCE_HANDLER(vte_sequence_handler_set_current_hyperlink) + "urxvt-777", VTE_SEQUENCE_HANDLER(vte_sequence_handler_urxvt_777) ++"send-notification", VTE_SEQUENCE_HANDLER(vte_sequence_handler_send_notification) + "iterm2-133", VTE_SEQUENCE_HANDLER(vte_sequence_handler_iterm2_133) + "iterm2-1337", VTE_SEQUENCE_HANDLER(vte_sequence_handler_iterm2_1337) +diff --git a/src/vteseq.cc b/src/vteseq.cc +index 7b5b49b094f0..07154f2172c9 100644 +--- a/src/vteseq.cc ++++ b/src/vteseq.cc +@@ -2353,6 +2353,96 @@ vte_sequence_handler_return_terminal_id (VteTerminalPrivate *that, GValueArray * + vte_sequence_handler_send_primary_device_attributes (that, params); + } + ++static void ++vte_sequence_handler_send_notification (VteTerminalPrivate *that, GValueArray *params) ++{ ++ GValue *value; ++ const char *end; ++ char *option = NULL; ++ char *str = NULL; ++ char *p, *validated; ++ ++ g_clear_pointer (&that->m_notification_summary, g_free); ++ g_clear_pointer (&that->m_notification_body, g_free); ++ ++ value = g_value_array_get_nth (params, 0); ++ if (value == NULL) { ++ goto out; ++ } ++ ++ if (G_VALUE_HOLDS_STRING (value)) { ++ option = g_value_dup_string (value); ++ } else if (G_VALUE_HOLDS_POINTER (value)) { ++ option = that->ucs4_to_utf8 ((const guchar *)g_value_get_pointer (value)); ++ } else { ++ goto out; ++ } ++ ++ if (g_strcmp0 (option, "notify") != 0) { ++ goto out; ++ } ++ ++ value = g_value_array_get_nth (params, 1); ++ if (value == NULL) { ++ goto out; ++ } ++ ++ if (G_VALUE_HOLDS_STRING (value)) { ++ str = g_value_dup_string (value); ++ } else if (G_VALUE_HOLDS_POINTER (value)) { ++ str = that->ucs4_to_utf8 ((const guchar *)g_value_get_pointer (value)); ++ } else { ++ goto out; ++ } ++ ++ g_utf8_validate (str, strlen (str), &end); ++ validated = g_strndup (str, end - str); ++ ++ /* No control characters allowed. */ ++ for (p = validated; *p != '\0'; p++) { ++ if ((*p & 0x1f) == *p) { ++ *p = ' '; ++ } ++ } ++ ++ that->m_notification_summary = validated; ++ g_free (str); ++ ++ that->m_notification_received = TRUE; ++ if (params->n_values == 2) { ++ goto out; ++ } ++ ++ value = g_value_array_get_nth (params, 2); ++ if (value == NULL) { ++ goto out; ++ } ++ ++ if (G_VALUE_HOLDS_STRING (value)) { ++ str = g_value_dup_string (value); ++ } else if (G_VALUE_HOLDS_POINTER (value)) { ++ str = that->ucs4_to_utf8 ((const guchar *)g_value_get_pointer (value)); ++ } else { ++ goto out; ++ } ++ ++ g_utf8_validate (str, strlen (str), &end); ++ validated = g_strndup (str, end - str); ++ ++ /* No control characters allowed. */ ++ for (p = validated; *p != '\0'; p++) { ++ if ((*p & 0x1f) == *p) { ++ *p = ' '; ++ } ++ } ++ ++ that->m_notification_body = validated; ++ g_free (str); ++ ++ out: ++ g_free (option); ++} ++ + /* Send secondary device attributes. */ + static void + vte_sequence_handler_send_secondary_device_attributes (VteTerminalPrivate *that, GValueArray *params) +-- +2.14.3 + + +From b0b2fe7a11c0375a24a78b4352c78c6d9ec581c0 Mon Sep 17 00:00:00 2001 +From: Debarshi Ray +Date: Thu, 29 Jan 2015 13:09:17 +0100 +Subject: [PATCH 2/5] vte.sh: Emit OSC 777 from PROMPT_COMMAND + +https://bugzilla.gnome.org/show_bug.cgi?id=711059 +--- + src/vte.sh | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/src/vte.sh b/src/vte.sh +index 2d211caa2f17..1c0543bd9d26 100644 +--- a/src/vte.sh ++++ b/src/vte.sh +@@ -50,9 +50,11 @@ __vte_osc7 () { + } + + __vte_prompt_command() { ++ local command=$(HISTTIMEFORMAT= history 1 | sed 's/^ *[0-9]\+ *//') ++ command="${command//;/ }" + local pwd='~' + [ "$PWD" != "$HOME" ] && pwd=${PWD/#$HOME\//\~\/} +- printf "\033]0;%s@%s:%s\007%s" "${USER}" "${HOSTNAME%%.*}" "${pwd}" "$(__vte_osc7)" ++ printf "\033]777;notify;Command completed;%s\007\033]0;%s@%s:%s\007%s" "${command}" "${USER}" "${HOSTNAME%%.*}" "${pwd}" "$(__vte_osc7)" + } + + case "$TERM" in +-- +2.14.3 + + +From 76f035762fe6a2cebcb25d7bee4799264c5232f4 Mon Sep 17 00:00:00 2001 +From: Debarshi Ray +Date: Thu, 22 Jan 2015 16:37:10 +0100 +Subject: [PATCH 3/5] Test the notification-received signal + +--- + bindings/vala/app.vala | 7 +++++++ + src/vteapp.c | 10 ++++++++++ + 2 files changed, 17 insertions(+) + +diff --git a/bindings/vala/app.vala b/bindings/vala/app.vala +index 8663d63c5445..4c5d9a2b3bad 100644 +--- a/bindings/vala/app.vala ++++ b/bindings/vala/app.vala +@@ -309,6 +309,8 @@ class Window : Gtk.ApplicationWindow + if (App.Options.object_notifications) + terminal.notify.connect(notify_cb); + ++ terminal.notification_received.connect(notification_received_cb); ++ + /* Settings */ + if (App.Options.no_double_buffer) + terminal.set_double_buffered(false); +@@ -780,6 +782,11 @@ class Window : Gtk.ApplicationWindow + set_title(terminal.get_window_title()); + } + ++ private void notification_received_cb(Vte.Terminal terminal, string summary, string? body) ++ { ++ print ("[%s]: %s\n", summary, body); ++ } ++ + } /* class Window */ + + class App : Gtk.Application +diff --git a/src/vteapp.c b/src/vteapp.c +index 865df644e70e..be3bab870659 100644 +--- a/src/vteapp.c ++++ b/src/vteapp.c +@@ -48,6 +48,13 @@ static const char *builtin_dingus[] = { + + static gboolean use_gregex = FALSE; + ++static void ++notification_received (GtkWidget *widget, const gchar *summary, const gchar *body) ++{ ++ g_assert(VTE_TERMINAL(widget)); ++ g_print("[%s]: %s\n", summary, body); ++} ++ + static void + window_title_changed(GtkWidget *widget, gpointer win) + { +@@ -966,6 +973,9 @@ main(int argc, char **argv) + G_CALLBACK(icon_title_changed), window); + } + ++ g_signal_connect(widget, "notification-received", ++ G_CALLBACK(notification_received), NULL); ++ + /* Connect to the "button-press" event. */ + g_signal_connect(widget, "button-press-event", + G_CALLBACK(button_pressed), widget); +-- +2.14.3 + + +From 89c7aca4a043ab9c47d787513b072649186a568a Mon Sep 17 00:00:00 2001 +From: Debarshi Ray +Date: Fri, 13 May 2016 17:53:54 +0200 +Subject: [PATCH 4/5] Add a property to configure the scroll speed + +By default, it is set to zero which gives the current behaviour of +moving the buffer by a function of the number of visible rows. + +https://bugzilla.redhat.com/show_bug.cgi?id=1103380 +--- + doc/reference/vte-sections.txt | 1 + + src/vte.cc | 19 +++++++++++++++++- + src/vte/vteterminal.h | 4 ++++ + src/vtegtk.cc | 45 ++++++++++++++++++++++++++++++++++++++++++ + src/vtegtk.hh | 1 + + src/vteinternal.hh | 2 ++ + 6 files changed, 71 insertions(+), 1 deletion(-) + +diff --git a/doc/reference/vte-sections.txt b/doc/reference/vte-sections.txt +index 9b34536c7bf9..b67f3957b888 100644 +--- a/doc/reference/vte-sections.txt ++++ b/doc/reference/vte-sections.txt +@@ -44,6 +44,7 @@ vte_terminal_set_cursor_shape + vte_terminal_get_cursor_shape + vte_terminal_get_cursor_blink_mode + vte_terminal_set_cursor_blink_mode ++vte_terminal_set_scroll_speed + vte_terminal_set_scrollback_lines + vte_terminal_set_font + vte_terminal_get_font +diff --git a/src/vte.cc b/src/vte.cc +index 8df17c4bc531..ef3afc427cb9 100644 +--- a/src/vte.cc ++++ b/src/vte.cc +@@ -9900,6 +9900,7 @@ void + VteTerminalPrivate::widget_scroll(GdkEventScroll *event) + { + gdouble delta_x, delta_y; ++ gdouble scroll_speed; + gdouble v; + gint cnt, i; + int button; +@@ -9953,7 +9954,13 @@ VteTerminalPrivate::widget_scroll(GdkEventScroll *event) + return; + } + +- v = MAX (1., ceil (gtk_adjustment_get_page_increment (m_vadjustment) / 10.)); ++ if (m_scroll_speed == 0) { ++ scroll_speed = ceil (gtk_adjustment_get_page_increment (m_vadjustment) / 10.); ++ } else { ++ scroll_speed = m_scroll_speed; ++ } ++ ++ v = MAX (1., scroll_speed); + _vte_debug_print(VTE_DEBUG_EVENTS, + "Scroll speed is %d lines per non-smooth scroll unit\n", + (int) v); +@@ -10190,6 +10197,16 @@ VteTerminalPrivate::decscusr_cursor_shape() + } + } + ++bool ++VteTerminalPrivate::set_scroll_speed(unsigned int scroll_speed) ++{ ++ if (scroll_speed == m_scroll_speed) ++ return false; ++ ++ m_scroll_speed = scroll_speed; ++ return true; ++} ++ + bool + VteTerminalPrivate::set_scrollback_lines(long lines) + { +diff --git a/src/vte/vteterminal.h b/src/vte/vteterminal.h +index b3c6978f65d6..befde68c4bc5 100644 +--- a/src/vte/vteterminal.h ++++ b/src/vte/vteterminal.h +@@ -275,6 +275,10 @@ void vte_terminal_set_cursor_shape(VteTerminal *terminal, + _VTE_PUBLIC + VteCursorShape vte_terminal_get_cursor_shape(VteTerminal *terminal) _VTE_GNUC_NONNULL(1); + ++_VTE_PUBLIC ++void vte_terminal_set_scroll_speed(VteTerminal *terminal, ++ guint scroll_speed) _VTE_GNUC_NONNULL(1); ++ + /* Set the number of scrollback lines, above or at an internal minimum. */ + _VTE_PUBLIC + void vte_terminal_set_scrollback_lines(VteTerminal *terminal, +diff --git a/src/vtegtk.cc b/src/vtegtk.cc +index 4ccc4ff9c0ef..2b98eb8a34d2 100644 +--- a/src/vtegtk.cc ++++ b/src/vtegtk.cc +@@ -481,6 +481,9 @@ vte_terminal_get_property (GObject *object, + case PROP_REWRAP_ON_RESIZE: + g_value_set_boolean (value, vte_terminal_get_rewrap_on_resize (terminal)); + break; ++ case PROP_SCROLL_SPEED: ++ g_value_set_uint (value, impl->m_scroll_speed); ++ break; + case PROP_SCROLLBACK_LINES: + g_value_set_uint (value, impl->m_scrollback_lines); + break; +@@ -570,6 +573,9 @@ vte_terminal_set_property (GObject *object, + case PROP_REWRAP_ON_RESIZE: + vte_terminal_set_rewrap_on_resize (terminal, g_value_get_boolean (value)); + break; ++ case PROP_SCROLL_SPEED: ++ vte_terminal_set_scroll_speed (terminal, g_value_get_uint (value)); ++ break; + case PROP_SCROLLBACK_LINES: + vte_terminal_set_scrollback_lines (terminal, g_value_get_uint (value)); + break; +@@ -1466,6 +1472,21 @@ vte_terminal_class_init(VteTerminalClass *klass) + TRUE, + (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY)); + ++ /** ++ * VteTerminal:scroll-speed: ++ * ++ * The number of lines by which the buffer is moved when ++ * scrolling with a mouse wheel on top of the terminal ++ * Setting it to zero will cause the buffer to be moved by an ++ * amount depending on the number of visible rows the widget ++ * can display. ++ */ ++ pspecs[PROP_SCROLL_SPEED] = ++ g_param_spec_uint ("scroll-speed", NULL, NULL, ++ 0, G_MAXUINT, ++ 0, ++ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY)); ++ + /** + * VteTerminal:scrollback-lines: + * +@@ -3809,6 +3830,30 @@ vte_terminal_get_row_count(VteTerminal *terminal) + return IMPL(terminal)->m_row_count; + } + ++/** ++ * vte_terminal_set_scroll_speed: ++ * @terminal: a #VteTerminal ++ * @scroll_speed: move the buffer by this number of lines while scrolling ++ * ++ * Sets the number of lines by which the buffer is moved when ++ * scrolling with a mouse wheel. Setting it to zero will cause the ++ * buffer to be moved by an amount depending on the number of visible ++ * rows the widget can display. ++ */ ++void ++vte_terminal_set_scroll_speed(VteTerminal *terminal, guint scroll_speed) ++{ ++ g_return_if_fail(VTE_IS_TERMINAL(terminal)); ++ ++ GObject *object = G_OBJECT(terminal); ++ g_object_freeze_notify(object); ++ ++ if (IMPL(terminal)->set_scroll_speed(scroll_speed)) ++ g_object_notify_by_pspec(object, pspecs[PROP_SCROLL_SPEED]); ++ ++ g_object_thaw_notify(object); ++} ++ + /** + * vte_terminal_set_scrollback_lines: + * @terminal: a #VteTerminal +diff --git a/src/vtegtk.hh b/src/vtegtk.hh +index 07c714e66093..5a6c9382eeac 100644 +--- a/src/vtegtk.hh ++++ b/src/vtegtk.hh +@@ -83,6 +83,7 @@ enum { + PROP_MOUSE_POINTER_AUTOHIDE, + PROP_PTY, + PROP_REWRAP_ON_RESIZE, ++ PROP_SCROLL_SPEED, + PROP_SCROLLBACK_LINES, + PROP_SCROLL_ON_KEYSTROKE, + PROP_SCROLL_ON_OUTPUT, +diff --git a/src/vteinternal.hh b/src/vteinternal.hh +index f7faa7a52328..137987ac64ca 100644 +--- a/src/vteinternal.hh ++++ b/src/vteinternal.hh +@@ -385,6 +385,7 @@ public: + gboolean m_scroll_on_output; + gboolean m_scroll_on_keystroke; + gboolean m_alternate_screen_scroll; ++ guint m_scroll_speed; + vte::grid::row_t m_scrollback_lines; + + /* Restricted scrolling */ +@@ -1112,6 +1113,7 @@ public: + bool set_mouse_autohide(bool autohide); + bool set_pty(VtePty *pty); + bool set_rewrap_on_resize(bool rewrap); ++ bool set_scroll_speed(unsigned int scroll_speed); + bool set_scrollback_lines(long lines); + bool set_scroll_on_keystroke(bool scroll); + bool set_scroll_on_output(bool scroll); +-- +2.14.3 + + +From eb3c5639a5a4405ad8fa7868dbb1b3ad60dd7fe8 Mon Sep 17 00:00:00 2001 +From: Debarshi Ray +Date: Fri, 13 May 2016 17:54:57 +0200 +Subject: [PATCH 5/5] Test the scroll-speed property + +https://bugzilla.redhat.com/show_bug.cgi?id=1103380 +--- + bindings/vala/app.vala | 4 ++++ + src/vteapp.c | 7 +++++++ + 2 files changed, 11 insertions(+) + +diff --git a/bindings/vala/app.vala b/bindings/vala/app.vala +index 4c5d9a2b3bad..3b7310679239 100644 +--- a/bindings/vala/app.vala ++++ b/bindings/vala/app.vala +@@ -335,6 +335,7 @@ class Window : Gtk.ApplicationWindow + terminal.set_rewrap_on_resize(!App.Options.no_rewrap); + terminal.set_scroll_on_output(false); + terminal.set_scroll_on_keystroke(true); ++ terminal.set_scroll_speed(App.Options.scroll_speed); + terminal.set_scrollback_lines(App.Options.scrollback_lines); + + /* Style */ +@@ -856,6 +857,7 @@ class App : Gtk.Application + public static bool object_notifications = false; + public static string? output_filename = null; + public static bool reverse = false; ++ public static uint scroll_speed = 0; + public static int scrollback_lines = 512; + public static int transparency_percent = 0; + public static bool version = false; +@@ -1049,6 +1051,8 @@ class App : Gtk.Application + "Save terminal contents to file at exit", null }, + { "reverse", 0, 0, OptionArg.NONE, ref reverse, + "Reverse foreground/background colors", null }, ++ { "scroll-speed", 0, 0, OptionArg.INT, ref scroll_speed, ++ "Specify the scroll speed", null }, + { "scrollback-lines", 'n', 0, OptionArg.INT, ref scrollback_lines, + "Specify the number of scrollback-lines", null }, + { "transparent", 'T', 0, OptionArg.INT, ref transparency_percent, +diff --git a/src/vteapp.c b/src/vteapp.c +index be3bab870659..2a0a573286e1 100644 +--- a/src/vteapp.c ++++ b/src/vteapp.c +@@ -641,6 +641,7 @@ main(int argc, char **argv) + hyperlink = TRUE; + char *geometry = NULL; + gint lines = -1; ++ gint scroll_speed = 0; + const char *message = "Launching interactive shell...\r\n"; + const char *font = NULL; + const char *command = NULL; +@@ -749,6 +750,11 @@ main(int argc, char **argv) + G_OPTION_ARG_NONE, &keep, + "Live on after the window closes", NULL + }, ++ { ++ "scroll-speed", 0, 0, ++ G_OPTION_ARG_INT, &scroll_speed, ++ "Specify the scroll speed", NULL ++ }, + { + "scrollback-lines", 'n', 0, + G_OPTION_ARG_INT, &lines, +@@ -1017,6 +1023,7 @@ main(int argc, char **argv) + vte_terminal_set_cursor_blink_mode(terminal, cursor_blink_mode); + vte_terminal_set_scroll_on_output(terminal, FALSE); + vte_terminal_set_scroll_on_keystroke(terminal, TRUE); ++ vte_terminal_set_scroll_speed(terminal, (guint) scroll_speed); + vte_terminal_set_scrollback_lines(terminal, lines); + vte_terminal_set_mouse_autohide(terminal, TRUE); + +-- +2.14.3 + diff --git a/vte291.spec b/vte291.spec index de7241f..0d03c4f 100644 --- a/vte291.spec +++ b/vte291.spec @@ -1,127 +1,45 @@ %global apiver 2.91 -%global fmt_version 11.0.0 -%global fribidi_version 1.0.0 -%global glib2_version 2.72.0 -%global gnutls_version 3.2.7 -%global gtk3_version 3.24.22 -%global gtk4_version 4.14.0 -%global icu_uc_version 4.8 -%global libsystemd_version 220 -%global pango_version 1.22.0 -%global pcre2_version 10.21 -%global simdutf_version 7.2.1 - -%if 0%{?rhel} -%bcond bundled_fast_float 1 -%else -%bcond bundled_fast_float 0 -%endif - Name: vte291 -Version: 0.84.1 -Release: %autorelease -Summary: GTK terminal emulator library +Version: 0.50.4 +Release: 1%{?dist} +Summary: Terminal emulator library -# libvte-2.91.so is generated from LGPLv2+ and MIT sources -License: GPL-3.0-or-later AND LGPL-3.0-or-later AND MIT AND X11 AND CC-BY-4.0 +License: LGPLv2+ +URL: http://www.gnome.org/ +Source0: http://download.gnome.org/sources/vte/0.50/vte-%{version}.tar.xz -URL: https://wiki.gnome.org/Apps/Terminal/VTE -Source0: https://download.gnome.org/sources/vte/%{gnome_major_minor_version}/vte-%{version}.tar.xz +# https://bugzilla.gnome.org/show_bug.cgi?id=711059 +# https://bugzilla.redhat.com/show_bug.cgi?id=1103380 +Patch100: vte291-command-notify-scroll-speed.patch -BuildRequires: pkgconfig(fmt) >= %{fmt_version} -BuildRequires: pkgconfig(fribidi) >= %{fribidi_version} -BuildRequires: pkgconfig(gio-2.0) >= %{glib2_version} -BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version} -BuildRequires: pkgconfig(gnutls) >= %{gnutls_version} -BuildRequires: pkgconfig(gobject-2.0) >= %{glib2_version} -BuildRequires: pkgconfig(gtk+-3.0) >= %{gtk3_version} -BuildRequires: pkgconfig(gtk4) >= %{gtk4_version} -BuildRequires: pkgconfig(icu-uc) >= %{icu_uc_version} -BuildRequires: pkgconfig(liblz4) -BuildRequires: pkgconfig(libpcre2-8) >= %{pcre2_version} -BuildRequires: pkgconfig(libsystemd) >= %{libsystemd_version} -BuildRequires: pkgconfig(pango) >= %{pango_version} -BuildRequires: pkgconfig(simdutf) >= %{simdutf_version} -BuildRequires: gcc-c++ BuildRequires: gettext -BuildRequires: gi-docgen +BuildRequires: pkgconfig(gnutls) BuildRequires: gobject-introspection-devel BuildRequires: gperf -BuildRequires: meson -BuildRequires: systemd-rpm-macros +BuildRequires: pkgconfig(gtk+-3.0) +BuildRequires: pkgconfig(libpcre2-8) +BuildRequires: intltool BuildRequires: vala -%if %{without bundled_fast_float} -BuildRequires: fast_float-devel -%endif - -Requires: fribidi >= %{fribidi_version} -Requires: glib2 >= %{glib2_version} -Requires: gnutls%{?_isa} >= %{gnutls_version} -Requires: gtk3%{?_isa} >= %{gtk3_version} -Requires: libicu%{?_isa} >= %{icu_uc_version} -Requires: pango >= %{pango_version} -Requires: pcre2%{?_isa} >= %{pcre2_version} -Requires: systemd-libs%{?_isa} >= %{libsystemd_version} +# initscripts creates the utmp group +Requires: initscripts Requires: vte-profile -%if %{with bundled_fast_float} -Provides: bundled(fast_float) -%endif +Conflicts: gnome-terminal < 3.20.1-2 %description VTE is a library implementing a terminal emulator widget for GTK+. VTE is mainly used in gnome-terminal, but can also be used to embed a console/terminal in games, editors, IDEs, etc. -%package gtk4 -Summary: GTK4 terminal emulator library - -# libvte-2.91.so is generated from LGPLv2+ and MIT sources -License: LGPL-3.0-or-later AND MIT AND X11 - -Requires: %{name}%{?_isa} = %{version}-%{release} - -%description gtk4 -VTE is a library implementing a terminal emulator widget for GTK 4. VTE -is mainly used in gnome-terminal, but can also be used to embed a -console/terminal in games, editors, IDEs, etc. - %package devel -Summary: Development files for GTK+ 3 %{name} - -# vte-2.91 is generated from GPLv3+ sources, while the public headers are -# LGPLv3+ -License: GPL-3.0-or-later AND LGPL-3.0-or-later - +Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} -# Because web fonts from upstream are not bundled in the gi-docgen package, -# packages containing documentation generated with gi-docgen should depend on -# this metapackage to ensure the proper system fonts are present. -Recommends: gi-docgen-fonts %description devel The %{name}-devel package contains libraries and header files for -developing GTK+ 3 applications that use %{name}. - -%package gtk4-devel -Summary: Development files for GTK 4 %{name} - -# vte-2.91 is generated from GPLv3+ sources, while the public headers are -# LGPLv3+ -License: GPL-3.0-or-later AND LGPL-3.0-or-later - -Requires: %{name}-gtk4%{?_isa} = %{version}-%{release} -Requires: %{name}-devel%{?_isa} = %{version}-%{release} -# Because web fonts from upstream are not bundled in the gi-docgen package, -# packages containing documentation generated with gi-docgen should depend on -# this metapackage to ensure the proper system fonts are present. -Recommends: gi-docgen-fonts - -%description gtk4-devel -The %{name}-gtk4-devel package contains libraries and header files for -developing GTK 4 applications that use %{name}. +developing applications that use %{name}. # vte-profile is deliberately not noarch to avoid having to obsolete a noarch # subpackage in the future when we get rid of the vte3 / vte291 split. Yum is @@ -129,7 +47,7 @@ developing GTK 4 applications that use %{name}. # of the multilib packages (i686 + x86_64) as the replacement. %package -n vte-profile Summary: Profile script for VTE terminal emulator library -License: GPL-3.0-or-later +License: GPLv3+ # vte.sh was previously part of the vte3 package Conflicts: vte3 < 0.36.1-3 @@ -138,76 +56,218 @@ The vte-profile package contains a profile.d script for the VTE terminal emulator library. %prep -%autosetup -p1 -n vte-%{version} -%if 0%{?flatpak} -# Install user units where systemd macros expect them -sed -i -e "/^vte_systemduserunitdir =/s|vte_prefix|'/usr'|" meson.build -%endif - -# Guarantee we don't accidentally use subprojects if a new subproject is added. -%if %{with bundled_fast_float} -rm -rf subprojects/fmt/ -rm -rf subprojects/simdutf/ -%else -rm -rf subprojects/ -%endif +%setup -q -n vte-%{version} +%patch100 -p1 -b .command-notify-scroll-speed %build -%meson --buildtype=plain -Ddocs=true -Dgtk3=true -Dgtk4=true -%meson_build +CFLAGS="%optflags -fPIE -DPIE -Wno-nonnull" \ +CXXFLAGS="$CFLAGS" \ +LDFLAGS="$LDFLAGS -Wl,-z,relro -Wl,-z,now -pie" \ +%configure \ + --disable-static \ + --libexecdir=%{_libdir}/vte-%{apiver} \ + --disable-gtk-doc \ + --enable-introspection +make %{?_smp_mflags} V=1 %install -%meson_install -rm %{buildroot}/%{_datadir}/applications/org.gnome.Vte.App.Gtk3.desktop -rm %{buildroot}/%{_datadir}/applications/org.gnome.Vte.App.Gtk4.desktop +%make_install + +rm -f $RPM_BUILD_ROOT%{_libdir}/*.la %find_lang vte-%{apiver} -%files -f vte-%{apiver}.lang -%license COPYING.LGPL3 -%license COPYING.XTERM -%doc README.md -%{_libdir}/libvte-%{apiver}.so.0* -%dir %{_libdir}/girepository-1.0 -%{_libdir}/girepository-1.0/Vte-2.91.typelib -%{_userunitdir}/vte-spawn-.scope.d -%{_datadir}/xdg-terminals/org.gnome.Vte.App.Gtk3.desktop -%{_datadir}/xdg-terminals/org.gnome.Vte.App.Gtk4.desktop +%post -p /sbin/ldconfig -%files gtk4 -%{_libdir}/libvte-%{apiver}-gtk4.so.0* -%{_libdir}/girepository-1.0/Vte-3.91.typelib +%postun -p /sbin/ldconfig + +%files -f vte-%{apiver}.lang +%license COPYING +%doc NEWS README +%{_libdir}/libvte-%{apiver}.so.0* +%{_libdir}/girepository-1.0/ %files devel -%license COPYING.GPL3 %{_bindir}/vte-%{apiver} %{_includedir}/vte-%{apiver}/ %{_libdir}/libvte-%{apiver}.so %{_libdir}/pkgconfig/vte-%{apiver}.pc -%dir %{_datadir}/gir-1.0 -%{_datadir}/gir-1.0/Vte-2.91.gir -%{_datadir}/glade/ -%doc %{_docdir}/vte-2.91/ -%dir %{_datadir}/vala -%dir %{_datadir}/vala/vapi -%{_datadir}/vala/vapi/vte-2.91.deps -%{_datadir}/vala/vapi/vte-2.91.vapi - -%files gtk4-devel -%{_bindir}/vte-%{apiver}-gtk4 -%{_includedir}/vte-%{apiver}-gtk4/ -%{_libdir}/libvte-%{apiver}-gtk4.so -%{_libdir}/pkgconfig/vte-%{apiver}-gtk4.pc -%{_datadir}/gir-1.0/Vte-3.91.gir -%doc %{_docdir}/vte-2.91-gtk4/ -%{_datadir}/vala/vapi/vte-2.91-gtk4.deps -%{_datadir}/vala/vapi/vte-2.91-gtk4.vapi +%{_datadir}/gir-1.0/ +%doc %{_datadir}/gtk-doc/ +%{_datadir}/vala/ %files -n vte-profile -%license COPYING.GPL3 -%{_libexecdir}/vte-urlencode-cwd -%{_sysconfdir}/profile.d/vte.csh %{_sysconfdir}/profile.d/vte.sh %changelog -%autochangelog +* Mon May 21 2018 Kalev Lember - 0.50.4-1 +- Update to 0.50.4 + +* Mon Apr 09 2018 Kalev Lember - 0.50.3-1 +- Update to 0.50.3 + +* Thu Nov 02 2017 Kalev Lember - 0.50.2-2 +- Rebuild + +* Wed Nov 01 2017 Debarshi Ray - 0.50.2-1 +- Update to 0.50.2 + +* Thu Oct 05 2017 Debarshi Ray - 0.50.1-1 +- Update to 0.50.1 +- Rebase downstream patches + +* Thu Sep 14 2017 Kalev Lember - 0.50.0-1 +- Update to 0.50.0 +- Rebase downstream patches + +* Thu Aug 03 2017 Fedora Release Engineering - 0.48.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 0.48.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Wed May 10 2017 Kalev Lember - 0.48.3-1 +- Update to 0.48.3 + +* Wed Apr 12 2017 Kalev Lember - 0.48.2-1 +- Update to 0.48.2 +- Rebase downstream patches + +* Wed Mar 22 2017 Kalev Lember - 0.48.1-1 +- Update to 0.48.1 + +* Fri Feb 24 2017 Debarshi Ray - 0.47.90-1 +- Update to 0.47.90 +- Rebase downstream patches + +* Sat Feb 11 2017 Fedora Release Engineering - 0.46.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Tue Nov 08 2016 Debarshi Ray - 0.46.1-1 +- Update to 0.46.1 +- Rebase downstream patches + +* Thu Sep 22 2016 Kalev Lember - 0.46.0-2 +- BR vala instead of obsolete vala-tools subpackage + +* Mon Sep 19 2016 Kalev Lember - 0.46.0-1 +- Update to 0.46.0 + +* Wed Sep 14 2016 Kalev Lember - 0.45.92-1 +- Update to 0.45.92 + +* Thu Aug 18 2016 Kalev Lember - 0.45.90-1 +- Update to 0.45.90 +- Rebase downstream patches + +* Fri Jul 01 2016 Debarshi Ray - 0.44.2-2 +- Add a property to configure the scroll speed + +* Tue May 10 2016 Debarshi Ray - 0.44.2-1 +- Update to 0.44.2 +- Rebase downstream patches and undo unintentional ABI break + +* Mon Apr 11 2016 Debarshi Ray - 0.44.1-1 +- Update to 0.44.1 + +* Tue Mar 22 2016 Kalev Lember - 0.44.0-1 +- Update to 0.44.0 + +* Tue Mar 15 2016 Debarshi Ray - 0.43.92-1 +- Update to 0.43.92 + +* Tue Mar 01 2016 Debarshi Ray - 0.43.91-1 +- Update to 0.43.91 +- Remove BuildRequires on pkgconfig(libpcre2-8) + +* Tue Mar 01 2016 Debarshi Ray - 0.43.90-1 +- Update to 0.43.90 + +* Fri Feb 05 2016 Fedora Release Engineering - 0.43.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Fri Jan 29 2016 Debarshi Ray - 0.43.2-1 +- Update to 0.43.2 + +* Fri Jan 29 2016 Debarshi Ray - 0.43.1-1 +- Update to 0.43.1 +- Drop upstreamed patch + +* Fri Jan 29 2016 Debarshi Ray - 0.43.0-1 +- Update to 0.43.0 +- Add BuildRequires on pkgconfig(libpcre2-8) +- Disable -Wnonnull + +* Thu Jan 28 2016 Debarshi Ray - 0.42.3-1 +- Update to 0.42.3 +- Backport upstream patch to fix disappearing lines (GNOME #761097) + +* Wed Oct 14 2015 Kalev Lember - 0.42.1-1 +- Update to 0.42.1 + +* Tue Sep 22 2015 Kalev Lember - 0.42.0-1 +- Update to 0.42.0 +- Use license macro for COPYING + +* Mon Sep 14 2015 Debarshi Ray - 0.41.90-1 +- Update to 0.41.90 +- Rebased downstream patches after the migration to C++ +- gnome-pty-helper has been removed + +* Fri Jun 19 2015 Fedora Release Engineering - 0.40.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Tue May 12 2015 Debarshi Ray - 0.40.2-1 +- Update to 0.40.2 + +* Tue Mar 24 2015 Debarshi Ray - 0.40.0-1 +- Update to 0.40.0 + +* Thu Mar 19 2015 Debarshi Ray - 0.39.92-1 +- Update to 0.39.92 + +* Tue Feb 17 2015 Debarshi Ray - 0.39.90-1 +- Update to 0.39.90 +- Add command-notify patches + +* Fri Dec 19 2014 Richard Hughes - 0.39.1-1 +- Update to 0.39.1 + +* Mon Dec 01 2014 Debarshi Ray - 0.39.0-2 +- Backport upstream patch to fix zombie shells (GNOME #740929) + +* Tue Nov 25 2014 Kalev Lember - 0.39.0-1 +- Update to 0.39.0 + +* Mon Nov 10 2014 Kalev Lember - 0.38.2-1 +- Update to 0.38.2 + +* Mon Oct 13 2014 Kalev Lember - 0.38.1-1 +- Update to 0.38.1 + +* Sun Sep 14 2014 Kalev Lember - 0.38.0-1 +- Update to 0.38.0 + +* Mon Aug 18 2014 Kalev Lember - 0.37.90-1 +- Update to 0.37.90 + +* Mon Aug 18 2014 Fedora Release Engineering - 0.37.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Tue Jul 22 2014 Kalev Lember - 0.37.2-2 +- Rebuilt for gobject-introspection 1.41.4 + +* Tue Jun 24 2014 Richard Hughes - 0.37.2-1 +- Update to 0.37.2 + +* Sun Jun 08 2014 Fedora Release Engineering - 0.37.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Wed May 28 2014 Kalev Lember - 0.37.1-1 +- Update to 0.37.1 + +* Wed May 07 2014 Kalev Lember - 0.37.0-2 +- Split out a vte-profile subpackage that can be used with both vte291 / vte3 + +* Tue May 06 2014 Kalev Lember - 0.37.0-1 +- Initial Fedora package, based on previous vte3 0.36 packaging