From e7214fc6e737f986649ce265ecf18f77fccca83d Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 17 2022 10:38:34 +0000 Subject: import graphite2-1.3.14-9.el9 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..24e44bb --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/graphite2-1.3.14.tgz diff --git a/.graphite2.metadata b/.graphite2.metadata new file mode 100644 index 0000000..26bc81a --- /dev/null +++ b/.graphite2.metadata @@ -0,0 +1 @@ +bb0d0127f0afc10d7cc993a559bebcba8940d630 SOURCES/graphite2-1.3.14.tgz diff --git a/SOURCES/graphite-arm-nodefaultlibs.patch b/SOURCES/graphite-arm-nodefaultlibs.patch new file mode 100644 index 0000000..626af6e --- /dev/null +++ b/SOURCES/graphite-arm-nodefaultlibs.patch @@ -0,0 +1,16 @@ +--- graphite2-1.2.0/src/CMakeLists.txt.orig 2012-11-09 17:48:04.908391335 +0800 ++++ graphite2-1.2.0/src/CMakeLists.txt 2012-11-09 17:48:48.647102280 +0800 +@@ -120,11 +120,7 @@ + if (${CMAKE_CXX_COMPILER} MATCHES ".*mingw.*") + target_link_libraries(graphite2 kernel32 msvcr90 mingw32 gcc user32) + else (${CMAKE_CXX_COMPILER} MATCHES ".*mingw.*") +- if (GRAPHITE2_SANITIZERS) +- target_link_libraries(graphite2 c gcc_s) +- else () +- target_link_libraries(graphite2 c gcc) +- endif () ++ target_link_libraries(graphite2 c gcc_s) + endif() + include(Graphite) + if (BUILD_SHARED_LIBS) + diff --git a/SOURCES/graphite2-1.2.0-cmakepath.patch b/SOURCES/graphite2-1.2.0-cmakepath.patch new file mode 100644 index 0000000..ee71cd6 --- /dev/null +++ b/SOURCES/graphite2-1.2.0-cmakepath.patch @@ -0,0 +1,9 @@ +diff -urN graphite2-1.2.0.orig/src/CMakeLists.txt graphite2-1.2.0/src/CMakeLists.txt +--- graphite2-1.2.0.orig/src/CMakeLists.txt 2013-01-29 15:47:32.465841769 +0530 ++++ graphite2-1.2.0/src/CMakeLists.txt 2013-01-29 15:48:24.056843352 +0530 +@@ -136,4 +136,4 @@ + + + install(TARGETS graphite2 EXPORT graphite2 LIBRARY DESTINATION lib${LIB_SUFFIX} ARCHIVE DESTINATION lib${LIB_SUFFIX} PUBLIC_HEADER DESTINATION include/graphite2 RUNTIME DESTINATION bin) +-install(EXPORT graphite2 DESTINATION share/graphite2 NAMESPACE gr2_) ++install(EXPORT graphite2 DESTINATION lib${LIB_SUFFIX}/graphite2 NAMESPACE gr2_) diff --git a/SPECS/graphite2.spec b/SPECS/graphite2.spec new file mode 100644 index 0000000..3727d07 --- /dev/null +++ b/SPECS/graphite2.spec @@ -0,0 +1,237 @@ +Name: graphite2 +Version: 1.3.14 +Release: 9%{?dist} +Summary: Font rendering capabilities for complex non-Roman writing systems +License: (LGPLv2+ or GPLv2+ or MPLv1.1) and (Netscape or GPLv2+ or LGPLv2+) + +URL: https://sourceforge.net/projects/silgraphite/ +Source0: https://downloads.sourceforge.net/project/silgraphite/graphite2//%{name}-%{version}.tgz + +Patch0: graphite-arm-nodefaultlibs.patch +Patch1: graphite2-1.2.0-cmakepath.patch + +BuildRequires: cmake +BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: freetype-devel + +# needed for running the test suite +BuildRequires: python3-fonttools + +%description +Graphite2 is a project within SIL’s Non-Roman Script Initiative and Language +Software Development groups to provide rendering capabilities for complex +non-Roman writing systems. Graphite can be used to create “smart fonts” capable +of displaying writing systems with various complex behaviors. With respect to +the Text Encoding Model, Graphite handles the "Rendering" aspect of writing +system implementation. + + +%package devel +Summary: Files for developing with graphite2 +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +Includes and definitions for developing with graphite2. + + +%prep +%autosetup -p1 + + +%build +%cmake -DGRAPHITE2_COMPARE_RENDERER=OFF +%cmake_build + + +%install +%cmake_install + +find %{buildroot} -type f -name "*.la" -print -delete + + +%check +%ctest + + +%files +%license LICENSE COPYING +%doc ChangeLog README.md + +%{_bindir}/gr2fonttest + +%{_libdir}/libgraphite2.so.3* + + +%files devel +%{_includedir}/%{name}/ + +%dir %{_libdir}/%{name}/ +%{_libdir}/%{name}/graphite2-release.cmake +%{_libdir}/%{name}/graphite2.cmake + +%{_libdir}/libgraphite2.so +%{_libdir}/pkgconfig/graphite2.pc + + +%changelog +* Mon Aug 09 2021 Mohan Boddu - 1.3.14-9 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Thu Apr 15 2021 Mohan Boddu - 1.3.14-8 +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* Tue Jan 26 2021 Fedora Release Engineering - 1.3.14-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Sep 30 2020 Fabio Valentini - 1.3.14-6 +- Stop building the HTML manual, texlive is breaking things too frequently. + +* Sat Aug 01 2020 Fabio Valentini - 1.3.14-5 +- Adapt to new cmake macros. + +* Sat Aug 01 2020 Fedora Release Engineering - 1.3.14-4 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 1.3.14-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue May 26 2020 Fabio Valentini - 1.3.14-2 +- Add missing build dependencies for building the manual with TeXLive 2020. + +* Wed Apr 08 2020 Fabio Valentini - 1.3.14-1 +- Update to version 1.3.14. + +* Wed Jan 29 2020 Fedora Release Engineering - 1.3.13-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Aug 22 2019 Peter Robinson 1.3.13-1 +- New upstream 1.3.13 release +- Move to python3 for tests +- Fix CVE-2018-7999 (rhbz 1554383) + +* Thu Jul 25 2019 Fedora Release Engineering - 1.3.10-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 1.3.10-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 1.3.10-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering - 1.3.10-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sat Feb 03 2018 Igor Gnatenko - 1.3.10-4 +- Switch to %%ldconfig_scriptlets + +* Wed Aug 02 2017 Fedora Release Engineering - 1.3.10-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1.3.10-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Jun 23 2017 Michael Cronenworth - 1.3.10-1 +- New upstream release +- Resolves CVE-2017-7778 + +* Fri Feb 10 2017 Fedora Release Engineering - 1.3.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Feb 29 2016 Caolán McNamara - 1.3.6-1 +- update to latest release + +* Wed Feb 17 2016 Caolán McNamara - 1.3.5-1 +- Resolves: rhbz#1305806 CVE-2016-1521 CVE-2016-1522 CVE-2016-1523 CVE-2016-1526 + +* Wed Feb 03 2016 Fedora Release Engineering - 1.2.4-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 1.2.4-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat Feb 21 2015 Till Maas - 1.2.4-4 +- Rebuilt for Fedora 23 Change + https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code + +* Sat Aug 16 2014 Fedora Release Engineering - 1.2.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 1.2.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Thu Apr 03 2014 Nicholas van Oudtshoorn - 1.2.4-1 +- New upstream release + +* Sat Dec 21 2013 Ville Skyttä - 1.2.2-5 +- Move *.so.major symlink to main package. + +* Sat Aug 03 2013 Fedora Release Engineering - 1.2.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Mon Jun 24 2013 Caolán McNamara - 1.2.2-3 +- clarify licenses + +* Wed Jun 19 2013 Karsten Hopp 1.2.2-2 +- use minimum texlive buildrequires, Than Ngo, rhbz#975843 + +* Thu May 30 2013 Nicholas van Oudtshoorn - 1.2.2-1 +- New upstream release + +* Tue Jan 29 2013 Parag Nemade - 1.2.0-4 +- Drop refman.pdf as its same as manual.html +- patch install path for cmake files as they are arch dependent + +* Tue Jan 29 2013 Kalev Lember - 1.2.0-3 +- Move manual.html to -devel subpackage + +* Tue Jan 29 2013 Parag Nemade - 1.2.0-2 +- revert the wrongly committed f18 spec to f19 +- spec file cleanup +- thanks to jnovy for finding me minimum texlive BR +- partial multilib fix for manual.html + +* Fri Nov 9 2012 Nicholas van Oudtshoorn - 1.2.0-1 +- New upstream release + +* Wed Oct 3 2012 Caolán McNamara - 1.1.1-4 +- expand license field to cover tri-licenced GrUtfTextSrc test + +* Thu Jul 19 2012 Fedora Release Engineering - 1.1.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Apr 3 2012 Peter Robinson - 1.1.1-2 +- Fix FTBFS on ARM + +* Mon Feb 27 2012 Nicholas van Oudtshoorn - 1.1.1-1 +- New upstream release + +* Wed Feb 8 2012 Nicholas van Oudtshoorn - 1.1.0-1 +- New upstream release + +* Fri Jan 13 2012 Fedora Release Engineering - 1.0.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Fri Sep 23 2011 Nicholas van Oudtshoorn - 1.0.3-1 +- New upstream release + +* Fri Aug 26 2011 Nicholas van Oudtshoorn - 1.0.2-3 +- Obsolete silgraphite + +* Fri Aug 26 2011 Nicholas van Oudtshoorn - 1.0.2-2 +- Removed dependency on silgraphite-devel +- Stopped building comparerenderer - the only thing that depended on silgraphite + +* Fri Aug 19 2011 Nicholas van Oudtshoorn - 1.0.2-1 +- Rebase to new release +- SPEC Cleanup +- Documentation is now properly installed + +* Wed Aug 17 2011 Nicholas van Oudtshoorn - 1.0.1-2 +- Added some necessary requires + +* Wed Aug 10 2011 Nicholas van Oudtshoorn - 1.0.1-1 +- Initial build of graphite2 +