+++ /dev/null
---- raqm-0.2.0/src/raqm.c.orig 2016-08-25 14:12:55.000000000 +0200
-+++ raqm-0.2.0/src/raqm.c 2017-05-10 21:52:39.004931212 +0200
-@@ -1541,7 +1541,7 @@
-
- if (rq->flags & RAQM_FLAG_UTF8)
- *index = _raqm_u32_to_u8_index (rq, *index);
-- RAQM_TEST ("The position is %d at index %ld\n",*x ,*index);
-+ RAQM_TEST ("The position is %d at index %zd\n",*x ,*index);
- return true;
- }
-
-@@ -1625,7 +1625,7 @@
- }
- if (_raqm_allowed_grapheme_boundary (rq->text[*index],rq->text[*index + 1]))
- {
-- RAQM_TEST ("The start-index is %ld at position %d \n", *index, x);
-+ RAQM_TEST ("The start-index is %zd at position %d \n", *index, x);
- return true;
- }
-
-@@ -1639,7 +1639,7 @@
- }
- *index += 1;
- }
-- RAQM_TEST ("The start-index is %ld at position %d \n", *index, x);
-+ RAQM_TEST ("The start-index is %zd at position %d \n", *index, x);
- return true;
- }
- else
-@@ -1653,7 +1653,7 @@
- else
- *index = rq->text_len;
-
-- RAQM_TEST ("The start-index is %ld at position %d \n", *index, x);
-+ RAQM_TEST ("The start-index is %zd at position %d \n", *index, x);
-
- return true;
- }
Summary: Library for complex text layout
Summary(pl.UTF-8): Biblioteka do skomplikowanego układu tekstu
Name: libraqm
-Version: 0.2.0
+Version: 0.5.0
Release: 1
License: MIT
Group: Libraries
#Source0Download: https://github.com/HOST-Oman/libraqm/releases
Source0: https://github.com/HOST-Oman/libraqm/releases/download/v%{version}/raqm-%{version}.tar.gz
-# Source0-md5: 0a693640ac3aa5c25b533de7dce2cce3
-Patch0: %{name}-format.patch
+# Source0-md5: ba4a3deb05ad089df813b2d1057b1dd8
URL: https://github.com/HOST-Oman/libraqm
BuildRequires: autoconf >= 2.50
BuildRequires: automake >= 1:1.11
BuildRequires: freetype-devel >= 1:2.4.2
BuildRequires: fribidi-devel
%{?with_tests:BuildRequires: glib2-devel >= 2.0}
-%if %{with tests} && %(locale -a | grep -q '^C\.UTF-8$'; echo $?)
+%if %{with tests} && %(locale -a | grep -q '^C\.utf8$'; echo $?)
BuildRequires: glibc-localedb-all
%endif
BuildRequires: gtk-doc >= 1.14
%prep
%setup -q -n raqm-%{version}
-%patch0 -p1
%build
# rebuild ac/am for as-needed to work