%global apiver 2.91 %global fribidi_version 1.0.0 %global glib2_version 2.52.0 %global gnutls_version 3.2.7 %global gtk3_version 3.24.22 %global gtk4_version 4.0.1 %global icu_uc_version 4.8 %global libsystemd_version 220 %global pango_version 1.22.0 %global pcre2_version 10.21 Name: vte291 Version: 0.72.2 Release: 1%{?dist} Summary: GTK+ 3 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-open-group AND CC-BY-4.0 URL: https://wiki.gnome.org/Apps/Terminal/VTE Source0: https://download.gnome.org/sources/vte/0.72/vte-%{version}.tar.xz # https://bugzilla.gnome.org/show_bug.cgi?id=711059 # https://bugzilla.redhat.com/show_bug.cgi?id=1103380 # https://pagure.io/fedora-workstation/issue/216 Patch0: vte291-cntnr-precmd-preexec-scroll.patch 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(libpcre2-8) >= %{pcre2_version} BuildRequires: pkgconfig(libsystemd) >= %{libsystemd_version} BuildRequires: pkgconfig(pango) >= %{pango_version} BuildRequires: pkgconfig(zlib) BuildRequires: gcc-c++ BuildRequires: gettext BuildRequires: gi-docgen BuildRequires: gobject-introspection-devel BuildRequires: gperf BuildRequires: meson BuildRequires: systemd-rpm-macros BuildRequires: vala 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} Requires: vte-profile 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: LGPLv3+ and MIT 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: GPLv3+ and LGPLv3+ Requires: %{name}%{?_isa} = %{version}-%{release} %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: GPLv3+ and LGPLv3+ Requires: %{name}-gtk4%{?_isa} = %{version}-%{release} Requires: %{name}-devel%{?_isa} = %{version}-%{release} %description gtk4-devel The %{name}-gtk4-devel package contains libraries and header files for developing GTK 4 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 # notoriously bad when handling noarch obsoletes and insists on installing both # of the multilib packages (i686 + x86_64) as the replacement. %package -n vte-profile Summary: Profile script for VTE terminal emulator library License: GPLv3+ # vte.sh was previously part of the vte3 package Conflicts: vte3 < 0.36.1-3 %description -n vte-profile 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 %build %meson --buildtype=plain -Ddocs=true -Dgtk3=true -Dgtk4=true %meson_build %install %meson_install %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 %files gtk4 %{_libdir}/libvte-%{apiver}-gtk4.so.0* %{_libdir}/girepository-1.0/Vte-3.91.typelib %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 %files -n vte-profile %license COPYING.GPL3 %{_libexecdir}/vte-urlencode-cwd %{_sysconfdir}/profile.d/vte.csh %{_sysconfdir}/profile.d/vte.sh %changelog * 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