+++ /dev/null
-diff -urN graphite2-1.0.2.old/tests/comparerenderer/CMakeLists.txt graphite2-1.0.2/tests/comparerenderer/CMakeLists.txt
---- graphite2-1.0.2.old/tests/comparerenderer/CMakeLists.txt 2011-09-04 13:39:16.206450690 +0200
-+++ graphite2-1.0.2/tests/comparerenderer/CMakeLists.txt 2011-09-04 13:39:44.516450716 +0200
-@@ -43,7 +43,7 @@
- find_package(PkgConfig)
-
- pkg_check_modules(GR silgraphite)
-- pkg_check_modules(HB harfbuzz)
-+ #pkg_check_modules(HB harfbuzz)
- pkg_check_modules(GLIB glib-2.0)
- # pkg_check_modules(GRNG graphite)
-
---- graphite2-1.2.4/src/CMakeLists.txt.orig 2014-02-01 22:21:20.318017527 +0100
-+++ graphite2-1.2.4/src/CMakeLists.txt 2014-02-01 22:25:49.254672905 +0100
-@@ -112,9 +112,7 @@
-
+--- graphite2-1.3.1/src/CMakeLists.txt.orig 2015-09-05 14:35:43.749986744 +0200
++++ graphite2-1.3.1/src/CMakeLists.txt 2015-09-05 14:48:30.546621231 +0200
+@@ -110,8 +110,7 @@
if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
set_target_properties(graphite2 PROPERTIES
-- COMPILE_FLAGS "-Wall -Wextra -Wno-unknown-pragmas -Wendif-labels -Wshadow -Wctor-dtor-privacy -Wnon-virtual-dtor -fno-rtti -fno-exceptions -fvisibility=hidden -fvisibility-inlines-hidden -fno-stack-protector"
+ COMPILE_FLAGS "-Wall -Wextra -Wno-unknown-pragmas -Wendif-labels -Wshadow -Wctor-dtor-privacy -Wnon-virtual-dtor -fno-rtti -fno-exceptions -fvisibility=hidden -fvisibility-inlines-hidden -fno-stack-protector"
- LINK_FLAGS "-nodefaultlibs ${GRAPHITE_LINK_FLAGS}"
- LINKER_LANGUAGE C)
-+ COMPILE_FLAGS "-Wall -Wextra -Wno-unknown-pragmas -Wendif-labels -Wshadow -Wctor-dtor-privacy -Wnon-virtual-dtor -fno-rtti -fno-exceptions -fvisibility=hidden -fvisibility-inlines-hidden -fno-stack-protector")
- if (${CMAKE_CXX_COMPILER} MATCHES ".*mingw.*")
- target_link_libraries(graphite2 kernel32 msvcr90 mingw32 gcc user32)
- else (${CMAKE_CXX_COMPILER} MATCHES ".*mingw.*")
++ )
+ if (CMAKE_COMPILER_IS_GNUCXX)
+ add_definitions(-Wdouble-promotion)
+ endif (CMAKE_COMPILER_IS_GNUCXX)
---- graphite2-1.1.1/contrib/perl/Build.PL.orig 2012-02-27 05:40:49.000000000 +0100
-+++ graphite2-1.1.1/contrib/perl/Build.PL 2012-03-28 19:13:08.209767728 +0200
+--- graphite2-1.3.1/contrib/perl/Build.PL.orig 2015-09-05 14:48:47.809953840 +0200
++++ graphite2-1.3.1/contrib/perl/Build.PL 2015-09-05 14:51:55.133279315 +0200
@@ -8,8 +8,8 @@
dist_author => 'Simon Cozens <simon@cpan.org>',
dist_version_from => 'lib/Text/Gr2.pm',
extra_compiler_flags => $^O ne 'MSWin32' ? '-Wall -Wno-unused-variable' : '',
- extra_linker_flags => $^O eq 'MSWin32' ? '../../build/src/graphite2.lib' : '-lgraphite2',
-- include_dirs => ['.'],
-+ extra_linker_flags => $^O eq 'MSWin32' ? '../../build/src/graphite2.lib' : '-L @BUILD_DIR@ -lgraphite2',
+- include_dirs => ['.', '../include'],
++ extra_linker_flags => $^O eq 'MSWin32' ? '../../build/src/graphite2.lib' : '-L@BUILD_DIR@ -lgraphite2',
+ include_dirs => ['.', '../../include'],
requires => {
'Test::More' => 0,
Summary: Font rendering capabilities for complex non-Roman writing systems
Summary(pl.UTF-8): Wsparcie renderowania złożonych systemów pisma nierzymskiego
Name: graphite2
-Version: 1.2.4
-Release: 2
+Version: 1.3.1
+Release: 1
License: LGPL v2.1+
Group: Libraries
Source0: http://downloads.sourceforge.net/silgraphite/%{name}-%{version}.tgz
-# Source0-md5: 2ef839348fe28e3b923bf8cced440227
-Patch0: %{name}-1.0.2-no_harfbuzz_tests.patch
-Patch1: %{name}-fix_wrong_linker_opts.patch
-Patch2: %{name}-includes-libs-perl.patch
+# Source0-md5: 0c4b5b0ebd59ff36837029bb60efc5b1
+Patch0: %{name}-fix_wrong_linker_opts.patch
+Patch1: %{name}-includes-libs-perl.patch
URL: http://graphite.sil.org/
BuildRequires: cmake >= 2.8.0
BuildRequires: libstdc++-devel
%setup -q
%patch0 -p1
%patch1 -p1
-%patch2 -p1
%build
install -d build