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