|
|
|
@ -10,29 +10,25 @@
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Name: cairo
|
|
|
|
|
Version: 1.17.4
|
|
|
|
|
Release: 7%{?dist}
|
|
|
|
|
Version: 1.15.12
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Summary: A 2D graphics library
|
|
|
|
|
|
|
|
|
|
License: LGPLv2 or MPLv1.1
|
|
|
|
|
URL: http://cairographics.org
|
|
|
|
|
Source0: http://cairographics.org/snapshots/%{name}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
# Backported from upstream
|
|
|
|
|
Patch0: 0001-Fix-assertion-failure-in-the-freetype-backend.patch
|
|
|
|
|
|
|
|
|
|
Patch3: cairo-multilib.patch
|
|
|
|
|
|
|
|
|
|
# https://gitlab.freedesktop.org/cairo/cairo/merge_requests/1
|
|
|
|
|
Patch4: 0001-Set-default-LCD-filter-to-FreeType-s-default.patch
|
|
|
|
|
|
|
|
|
|
# Fix generating PDF font names
|
|
|
|
|
# https://gitlab.freedesktop.org/cairo/cairo/-/merge_requests/125
|
|
|
|
|
Patch5: 125.patch
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1911486
|
|
|
|
|
Patch6: cairo-1.15.12-CVE-2020-35492.patch
|
|
|
|
|
|
|
|
|
|
# For Patch6.
|
|
|
|
|
BuildRequires: autoconf automake gettext-devel libtool
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1908113
|
|
|
|
|
Patch5: cairo-1.15.12-CVE-2020-35492.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
|
BuildRequires: libXrender-devel
|
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
@ -47,7 +43,8 @@ BuildRequires: librsvg2-devel
|
|
|
|
|
BuildRequires: mesa-libGL-devel
|
|
|
|
|
BuildRequires: mesa-libEGL-devel
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
# Required for Patch5.
|
|
|
|
|
BuildRequires: autoconf automake libtool
|
|
|
|
|
BuildRequires: git-core
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
@ -125,11 +122,15 @@ make V=1 %{?_smp_mflags}
|
|
|
|
|
%make_install
|
|
|
|
|
find $RPM_BUILD_ROOT -name '*.la' -delete
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
%ldconfig_scriptlets gobject
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license COPYING COPYING-LGPL-2.1 COPYING-MPL-1.1
|
|
|
|
|
%doc AUTHORS BIBLIOGRAPHY BUGS NEWS README
|
|
|
|
|
%{_libdir}/libcairo.so.2*
|
|
|
|
|
%{_libdir}/libcairo-script-interpreter.so.2*
|
|
|
|
|
%{_libdir}/libcairo.so.*
|
|
|
|
|
%{_libdir}/libcairo-script-interpreter.so.*
|
|
|
|
|
%{_bindir}/cairo-sphinx
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%doc ChangeLog PORTING_GUIDE
|
|
|
|
@ -172,7 +173,7 @@ find $RPM_BUILD_ROOT -name '*.la' -delete
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%files gobject
|
|
|
|
|
%{_libdir}/libcairo-gobject.so.2*
|
|
|
|
|
%{_libdir}/libcairo-gobject.so.*
|
|
|
|
|
|
|
|
|
|
%files gobject-devel
|
|
|
|
|
%{_includedir}/cairo/cairo-gobject.h
|
|
|
|
@ -184,65 +185,18 @@ find $RPM_BUILD_ROOT -name '*.la' -delete
|
|
|
|
|
%{_libdir}/cairo/
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Feb 21 2022 Tomas Popela <tpopela@redhat.com> - 1.17.4-7
|
|
|
|
|
- Add git as BR (#1911486)
|
|
|
|
|
|
|
|
|
|
* Mon Feb 21 2022 David King <amigadave@amigadave.com> - 1.17.4-6
|
|
|
|
|
- Fix CVE-2020-35492 (#1911486)
|
|
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.17.4-5
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 1.17.4-4
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Tue Mar 16 2021 Kalev Lember <klember@redhat.com> - 1.17.4-3
|
|
|
|
|
- Backport an upstream patch to fix generating PDF font names (#1939399)
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.17.4-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Dec 11 2020 Kalev Lember <klember@redhat.com> - 1.17.4-1
|
|
|
|
|
- Update to 1.17.4
|
|
|
|
|
- Tighten soname globs
|
|
|
|
|
* Thu Jan 20 2022 David King <dking@redhat.com> - 1.15.12-6
|
|
|
|
|
- Fix CVE reference test (#1908113)
|
|
|
|
|
|
|
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.0-9
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
* Thu Jan 20 2022 David King <dking@redhat.com> - 1.15.12-5
|
|
|
|
|
- Add reference test to CVE fix (#1908113)
|
|
|
|
|
|
|
|
|
|
* Fri Apr 24 2020 Marek Kasik <mkasik@redhat.com> - 1.16.0-8
|
|
|
|
|
- Allow empty array of operands for certain operators in CFF fonts
|
|
|
|
|
- Resolves: #1817958
|
|
|
|
|
* Mon Jan 17 2022 David King <dking@redhat.com> - 1.15.12-4
|
|
|
|
|
- Fix CVE-2020-35492 (#1908113)
|
|
|
|
|
|
|
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.0-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.0-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jun 03 2019 Kalev Lember <klember@redhat.com> - 1.16.0-5
|
|
|
|
|
- Fix a thinko in composite_color_glyphs
|
|
|
|
|
|
|
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.0-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Dec 7 2018 Marek Kasik <mkasik@redhat.com> - 1.16.0-3
|
|
|
|
|
- Use FT_Done_MM_Var instead of free when available in
|
|
|
|
|
- cairo_ft_apply_variations
|
|
|
|
|
|
|
|
|
|
* Fri Dec 7 2018 Marek Kasik <mkasik@redhat.com> - 1.16.0-2
|
|
|
|
|
* Thu Dec 6 2018 Marek Kasik <mkasik@redhat.com> - 1.15.12-3
|
|
|
|
|
- Set default LCD filter to FreeType's default
|
|
|
|
|
- Resolves: #1645763
|
|
|
|
|
|
|
|
|
|
* Mon Oct 22 2018 Kalev Lember <klember@redhat.com> - 1.16.0-1
|
|
|
|
|
- Update to 1.16.0
|
|
|
|
|
|
|
|
|
|
* Sat Sep 22 2018 Kalev Lember <klember@redhat.com> - 1.15.14-1
|
|
|
|
|
- Update to 1.15.14
|
|
|
|
|
- Drop ldconfig scriptlets
|
|
|
|
|
|
|
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.12-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
- Resolves: #1651240
|
|
|
|
|
|
|
|
|
|
* Sat Apr 21 2018 Kalev Lember <klember@redhat.com> - 1.15.12-2
|
|
|
|
|
- Fix assertion failure in the freetype backend (#1567633)
|
|
|
|
|