c80dd8
%global apiver 2.91
c80dd8
c80dd8
Name:           vte291
7e3850
Version:        0.52.4
c80dd8
Release:        2%{?dist}
c80dd8
Summary:        Terminal emulator library
c80dd8
c80dd8
License:        LGPLv2+
c80dd8
URL:            http://www.gnome.org/
c80dd8
Source0:        http://download.gnome.org/sources/vte/0.52/vte-%{version}.tar.xz
c80dd8
7e3850
Patch0:         vte291-build-add-no-exceptions-sanity-check.patch
7e3850
c80dd8
# https://bugzilla.gnome.org/show_bug.cgi?id=711059
c80dd8
# https://bugzilla.redhat.com/show_bug.cgi?id=1103380
c80dd8
Patch100:       vte291-command-notify-scroll-speed.patch
c80dd8
c80dd8
BuildRequires:  gettext
c80dd8
BuildRequires:  pkgconfig(gnutls)
c80dd8
BuildRequires:  gobject-introspection-devel
c80dd8
BuildRequires:  gperf
c80dd8
BuildRequires:  pkgconfig(gtk+-3.0)
c80dd8
BuildRequires:  pkgconfig(libpcre2-8)
c80dd8
BuildRequires:  intltool
c80dd8
BuildRequires:  vala
c80dd8
c80dd8
Requires:       vte-profile
c80dd8
c80dd8
Conflicts:      gnome-terminal < 3.20.1-2
c80dd8
c80dd8
%description
c80dd8
VTE is a library implementing a terminal emulator widget for GTK+. VTE
c80dd8
is mainly used in gnome-terminal, but can also be used to embed a
c80dd8
console/terminal in games, editors, IDEs, etc.
c80dd8
c80dd8
%package        devel
c80dd8
Summary:        Development files for %{name}
c80dd8
Requires:       %{name}%{?_isa} = %{version}-%{release}
c80dd8
c80dd8
%description devel
c80dd8
The %{name}-devel package contains libraries and header files for
c80dd8
developing applications that use %{name}.
c80dd8
c80dd8
# vte-profile is deliberately not noarch to avoid having to obsolete a noarch
c80dd8
# subpackage in the future when we get rid of the vte3 / vte291 split. Yum is
c80dd8
# notoriously bad when handling noarch obsoletes and insists on installing both
c80dd8
# of the multilib packages (i686 + x86_64) as the replacement.
c80dd8
%package -n     vte-profile
c80dd8
Summary:        Profile script for VTE terminal emulator library
c80dd8
License:        GPLv3+
c80dd8
# vte.sh was previously part of the vte3 package
c80dd8
Conflicts:      vte3 < 0.36.1-3
c80dd8
c80dd8
%description -n vte-profile
c80dd8
The vte-profile package contains a profile.d script for the VTE terminal
c80dd8
emulator library.
c80dd8
c80dd8
%prep
c80dd8
%setup -q -n vte-%{version}
7e3850
%patch0 -p1 -b .add-no-exceptions-sanity-check
c80dd8
%patch100 -p1 -b .command-notify-scroll-speed
c80dd8
c80dd8
%build
7e3850
# Avoid overriding vte's own -fno-exceptions
7e3850
# https://gitlab.gnome.org/GNOME/gnome-build-meta/issues/207
7e3850
%global optflags %(echo %{optflags} | sed 's/-fexceptions //')
7e3850
c80dd8
CFLAGS="%optflags -fPIE -DPIE -Wno-nonnull" \
c80dd8
CXXFLAGS="$CFLAGS" \
c80dd8
LDFLAGS="$LDFLAGS -Wl,-z,relro -Wl,-z,now -pie" \
c80dd8
%configure \
c80dd8
        --disable-static \
c80dd8
        --libexecdir=%{_libdir}/vte-%{apiver} \
c80dd8
        --disable-gtk-doc \
c80dd8
        --enable-introspection
c80dd8
make %{?_smp_mflags} V=1
c80dd8
c80dd8
%install
c80dd8
%make_install
c80dd8
c80dd8
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
c80dd8
c80dd8
%find_lang vte-%{apiver}
c80dd8
c80dd8
%files -f vte-%{apiver}.lang
c80dd8
%license COPYING
c80dd8
%doc NEWS README
c80dd8
%{_libdir}/libvte-%{apiver}.so.0*
c80dd8
%{_libdir}/girepository-1.0/
c80dd8
c80dd8
%files devel
c80dd8
%{_bindir}/vte-%{apiver}
c80dd8
%{_includedir}/vte-%{apiver}/
c80dd8
%{_libdir}/libvte-%{apiver}.so
c80dd8
%{_libdir}/pkgconfig/vte-%{apiver}.pc
c80dd8
%{_datadir}/gir-1.0/
c80dd8
%doc %{_datadir}/gtk-doc/
c80dd8
%{_datadir}/vala/
c80dd8
c80dd8
%files -n vte-profile
c80dd8
%{_sysconfdir}/profile.d/vte.sh
c80dd8
c80dd8
%changelog
7e3850
* Mon Jun 01 2020 Debarshi Ray <rishi@fedoraproject.org> - 0.52.4-2
7e3850
- Avoid overriding -fno-exceptions
7e3850
Resolves: #1804719
7e3850
7e3850
* Mon Jun 01 2020 Debarshi Ray <rishi@fedoraproject.org> - 0.52.4-1
7e3850
- Update to 0.52.4
7e3850
Resolves: #1804719
7e3850
c80dd8
* Mon Oct 08 2018 Debarshi Ray <rishi@fedoraproject.org> - 0.52.2-2
c80dd8
- Removal of utmp logging makes the utmp group unnecessary
c80dd8
Resolves: #1610293
c80dd8
c80dd8
* Mon May 21 2018 Kalev Lember <klember@redhat.com> - 0.52.2-1
c80dd8
- Update to 0.52.2
c80dd8
c80dd8
* Mon Apr 09 2018 Kalev Lember <klember@redhat.com> - 0.52.1-1
c80dd8
- Update to 0.52.1
c80dd8
c80dd8
* Tue Apr 03 2018 Kalev Lember <klember@redhat.com> - 0.52.0-1
c80dd8
- Update to 0.52.0
c80dd8
- Remove ldconfig scriptlets
c80dd8
c80dd8
* Wed Mar 28 2018 Debarshi Ray <rishi@fedoraproject.org> - 0.51.90-1
c80dd8
- Update to 0.51.90
c80dd8
c80dd8
* Wed Mar 28 2018 Debarshi Ray <rishi@fedoraproject.org> - 0.51.3-1
c80dd8
- Update to 0.51.3
c80dd8
- Rebase downstream patches
c80dd8
c80dd8
* Thu Feb 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.50.2-3
c80dd8
- Switch to %%ldconfig_scriptlets
c80dd8
c80dd8
* Thu Nov 02 2017 Kalev Lember <klember@redhat.com> - 0.50.2-2
c80dd8
- Rebuild
c80dd8
c80dd8
* Wed Nov 01 2017 Debarshi Ray <rishi@fedoraproject.org> - 0.50.2-1
c80dd8
- Update to 0.50.2
c80dd8
c80dd8
* Thu Oct 05 2017 Debarshi Ray <rishi@fedoraproject.org> - 0.50.1-1
c80dd8
- Update to 0.50.1
c80dd8
- Rebase downstream patches
c80dd8
c80dd8
* Thu Sep 14 2017 Kalev Lember <klember@redhat.com> - 0.50.0-1
c80dd8
- Update to 0.50.0
c80dd8
- Rebase downstream patches
c80dd8
c80dd8
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.48.3-3
c80dd8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
c80dd8
c80dd8
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.48.3-2
c80dd8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
c80dd8
c80dd8
* Wed May 10 2017 Kalev Lember <klember@redhat.com> - 0.48.3-1
c80dd8
- Update to 0.48.3
c80dd8
c80dd8
* Wed Apr 12 2017 Kalev Lember <klember@redhat.com> - 0.48.2-1
c80dd8
- Update to 0.48.2
c80dd8
- Rebase downstream patches
c80dd8
c80dd8
* Wed Mar 22 2017 Kalev Lember <klember@redhat.com> - 0.48.1-1
c80dd8
- Update to 0.48.1
c80dd8
c80dd8
* Fri Feb 24 2017 Debarshi Ray <rishi@fedoraproject.org> - 0.47.90-1
c80dd8
- Update to 0.47.90
c80dd8
- Rebase downstream patches
c80dd8
c80dd8
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.46.1-2
c80dd8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
c80dd8
c80dd8
* Tue Nov 08 2016 Debarshi Ray <rishi@fedoraproject.org> - 0.46.1-1
c80dd8
- Update to 0.46.1
c80dd8
- Rebase downstream patches
c80dd8
c80dd8
* Thu Sep 22 2016 Kalev Lember <klember@redhat.com> - 0.46.0-2
c80dd8
- BR vala instead of obsolete vala-tools subpackage
c80dd8
c80dd8
* Mon Sep 19 2016 Kalev Lember <klember@redhat.com> - 0.46.0-1
c80dd8
- Update to 0.46.0
c80dd8
c80dd8
* Wed Sep 14 2016 Kalev Lember <klember@redhat.com> - 0.45.92-1
c80dd8
- Update to 0.45.92
c80dd8
c80dd8
* Thu Aug 18 2016 Kalev Lember <klember@redhat.com> - 0.45.90-1
c80dd8
- Update to 0.45.90
c80dd8
- Rebase downstream patches
c80dd8
c80dd8
* Fri Jul 01 2016 Debarshi Ray <rishi@fedoraproject.org> - 0.44.2-2
c80dd8
- Add a property to configure the scroll speed
c80dd8
c80dd8
* Tue May 10 2016 Debarshi Ray <rishi@fedoraproject.org> - 0.44.2-1
c80dd8
- Update to 0.44.2
c80dd8
- Rebase downstream patches and undo unintentional ABI break
c80dd8
c80dd8
* Mon Apr 11 2016 Debarshi Ray <rishi@fedoraproject.org> - 0.44.1-1
c80dd8
- Update to 0.44.1
c80dd8
c80dd8
* Tue Mar 22 2016 Kalev Lember <klember@redhat.com> - 0.44.0-1
c80dd8
- Update to 0.44.0
c80dd8
c80dd8
* Tue Mar 15 2016 Debarshi Ray <rishi@fedoraproject.org> - 0.43.92-1
c80dd8
- Update to 0.43.92
c80dd8
c80dd8
* Tue Mar 01 2016 Debarshi Ray <rishi@fedoraproject.org> - 0.43.91-1
c80dd8
- Update to 0.43.91
c80dd8
- Remove BuildRequires on pkgconfig(libpcre2-8)
c80dd8
c80dd8
* Tue Mar 01 2016 Debarshi Ray <rishi@fedoraproject.org> - 0.43.90-1
c80dd8
- Update to 0.43.90
c80dd8
c80dd8
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.43.2-2
c80dd8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
c80dd8
c80dd8
* Fri Jan 29 2016 Debarshi Ray <rishi@fedoraproject.org> - 0.43.2-1
c80dd8
- Update to 0.43.2
c80dd8
c80dd8
* Fri Jan 29 2016 Debarshi Ray <rishi@fedoraproject.org> - 0.43.1-1
c80dd8
- Update to 0.43.1
c80dd8
- Drop upstreamed patch
c80dd8
c80dd8
* Fri Jan 29 2016 Debarshi Ray <rishi@fedoraproject.org> - 0.43.0-1
c80dd8
- Update to 0.43.0
c80dd8
- Add BuildRequires on pkgconfig(libpcre2-8)
c80dd8
- Disable -Wnonnull
c80dd8
c80dd8
* Thu Jan 28 2016 Debarshi Ray <rishi@fedoraproject.org> - 0.42.3-1
c80dd8
- Update to 0.42.3
c80dd8
- Backport upstream patch to fix disappearing lines (GNOME #761097)
c80dd8
c80dd8
* Wed Oct 14 2015 Kalev Lember <klember@redhat.com> - 0.42.1-1
c80dd8
- Update to 0.42.1
c80dd8
c80dd8
* Tue Sep 22 2015 Kalev Lember <klember@redhat.com> - 0.42.0-1
c80dd8
- Update to 0.42.0
c80dd8
- Use license macro for COPYING
c80dd8
c80dd8
* Mon Sep 14 2015 Debarshi Ray <rishi@fedoraproject.org> - 0.41.90-1
c80dd8
- Update to 0.41.90
c80dd8
- Rebased downstream patches after the migration to C++
c80dd8
- gnome-pty-helper has been removed
c80dd8
c80dd8
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.40.2-2
c80dd8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
c80dd8
c80dd8
* Tue May 12 2015 Debarshi Ray <rishi@fedoraproject.org> - 0.40.2-1
c80dd8
- Update to 0.40.2
c80dd8
c80dd8
* Tue Mar 24 2015 Debarshi Ray <rishi@fedoraproject.org> - 0.40.0-1
c80dd8
- Update to 0.40.0
c80dd8
c80dd8
* Thu Mar 19 2015 Debarshi Ray <rishi@fedoraproject.org> - 0.39.92-1
c80dd8
- Update to 0.39.92
c80dd8
c80dd8
* Tue Feb 17 2015 Debarshi Ray <rishi@fedoraproject.org> - 0.39.90-1
c80dd8
- Update to 0.39.90
c80dd8
- Add command-notify patches
c80dd8
c80dd8
* Fri Dec 19 2014 Richard Hughes <rhughes@redhat.com> - 0.39.1-1
c80dd8
- Update to 0.39.1
c80dd8
c80dd8
* Mon Dec 01 2014 Debarshi Ray <rishi@fedoraproject.org> - 0.39.0-2
c80dd8
- Backport upstream patch to fix zombie shells (GNOME #740929)
c80dd8
c80dd8
* Tue Nov 25 2014 Kalev Lember <kalevlember@gmail.com> - 0.39.0-1
c80dd8
- Update to 0.39.0
c80dd8
c80dd8
* Mon Nov 10 2014 Kalev Lember <kalevlember@gmail.com> - 0.38.2-1
c80dd8
- Update to 0.38.2
c80dd8
c80dd8
* Mon Oct 13 2014 Kalev Lember <kalevlember@gmail.com> - 0.38.1-1
c80dd8
- Update to 0.38.1
c80dd8
c80dd8
* Sun Sep 14 2014 Kalev Lember <kalevlember@gmail.com> - 0.38.0-1
c80dd8
- Update to 0.38.0
c80dd8
c80dd8
* Mon Aug 18 2014 Kalev Lember <kalevlember@gmail.com> - 0.37.90-1
c80dd8
- Update to 0.37.90
c80dd8
c80dd8
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.37.2-3
c80dd8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
c80dd8
c80dd8
* Tue Jul 22 2014 Kalev Lember <kalevlember@gmail.com> - 0.37.2-2
c80dd8
- Rebuilt for gobject-introspection 1.41.4
c80dd8
c80dd8
* Tue Jun 24 2014 Richard Hughes <rhughes@redhat.com> - 0.37.2-1
c80dd8
- Update to 0.37.2
c80dd8
c80dd8
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.37.1-2
c80dd8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
c80dd8
c80dd8
* Wed May 28 2014 Kalev Lember <kalevlember@gmail.com> - 0.37.1-1
c80dd8
- Update to 0.37.1
c80dd8
c80dd8
* Wed May 07 2014 Kalev Lember <kalevlember@gmail.com> - 0.37.0-2
c80dd8
- Split out a vte-profile subpackage that can be used with both vte291 / vte3
c80dd8
c80dd8
* Tue May 06 2014 Kalev Lember <kalevlember@gmail.com> - 0.37.0-1
c80dd8
- Initial Fedora package, based on previous vte3 0.36 packaging