From: Jakub Bogusz Date: Sun, 27 May 2018 19:34:31 +0000 (+0200) Subject: - updated to 0.5.0 X-Git-Tag: auto/th/libraqm-0.5.0-1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=21e35c24a5988a92aecaf5154e9685e8a418c08f;p=packages%2Flibraqm.git - updated to 0.5.0 - removed obsolete format patch --- diff --git a/libraqm-format.patch b/libraqm-format.patch deleted file mode 100644 index ec8a71d..0000000 --- a/libraqm-format.patch +++ /dev/null @@ -1,38 +0,0 @@ ---- 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; - } diff --git a/libraqm.spec b/libraqm.spec index e421040..d3c39aa 100644 --- a/libraqm.spec +++ b/libraqm.spec @@ -7,14 +7,13 @@ 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 @@ -22,7 +21,7 @@ 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 @@ -91,7 +90,6 @@ Dokumentacja API biblioteki Raqm. %prep %setup -q -n raqm-%{version} -%patch0 -p1 %build # rebuild ac/am for as-needed to work