Accepting request 929793 from home:AndreasStieger:branches:GNOME:Factory

harfbuzz 3.1.0

OBS-URL: https://build.opensuse.org/request/show/929793
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/harfbuzz?expand=0&rev=197
This commit is contained in:
Dominique Leuenberger 2021-11-08 09:06:00 +00:00 committed by Git OBS Bridge
parent b227f6289d
commit c44297dadb
5 changed files with 57 additions and 4 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:036b0ee118451539783ec7864148bb4106be42a2eb964df4e83e6703ec46f3d9
size 11685416

View File

@ -0,0 +1,33 @@
From 07dc34bdaf977a3be97ab5a68455ed7a67f80a06 Mon Sep 17 00:00:00 2001
From: Behdad Esfahbod <behdad@behdad.org>
Date: Fri, 5 Nov 2021 14:45:20 -0700
Subject: [PATCH] [mutex] Try work around GCC cast-align error/warning
Shouldn't be needed because of the alignas(). Oh well...
Might fix https://github.com/harfbuzz/harfbuzz/issues/3283
---
src/hb-mutex.hh | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/hb-mutex.hh b/src/hb-mutex.hh
index 4e135027f..6914b2245 100644
--- a/src/hb-mutex.hh
+++ b/src/hb-mutex.hh
@@ -97,10 +97,13 @@ struct hb_mutex_t
/* Create space for, but do not initialize m. */
alignas(hb_mutex_impl_t) char m[sizeof (hb_mutex_impl_t)];
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wcast-align"
void init () { hb_mutex_impl_init ((hb_mutex_impl_t *) m); }
void lock () { hb_mutex_impl_lock ((hb_mutex_impl_t *) m); }
void unlock () { hb_mutex_impl_unlock ((hb_mutex_impl_t *) m); }
void fini () { hb_mutex_impl_finish ((hb_mutex_impl_t *) m); }
+#pragma GCC diagnostic pop
};
struct hb_lock_t
--
2.33.1

3
harfbuzz-3.1.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2359390944a74a933d2b1bd214754a5b3f817916a09c6d4ca3d263473cf19b8e
size 13252932

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Sat Nov 6 05:48:26 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
- harfbuzz 3.1.0:
* Better offset-overflow handling in the subsetter library
* Improved Unicode 14 properties in the USE shaper, and various
other USE shaper fixes
* MATH and COLR v1 tables subsetting support, and various other
subsetter fixes
* Support for Pwo Karen / Ason Chin medial la. (Simon Cozens)
* Apply GPOS positioning when substituting with morx table, if
kerx is missing
* Apply calt and clig features across syllable boundaries in
Indic shaper
* Meson option for enabling Graphite 2 has been renamed to
graphite2
* Build and documentation fixes
- add harfbuzz-3.1.0-work-around-GCC-cast-align-error-warning.patch
-------------------------------------------------------------------
Sat Sep 18 09:33:44 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>

View File

@ -17,13 +17,14 @@
Name: harfbuzz
Version: 3.0.0
Version: 3.1.0
Release: 0
Summary: An OpenType text shaping engine
License: MIT
URL: https://www.freedesktop.org/wiki/Software/HarfBuzz
Source0: https://github.com/harfbuzz/harfbuzz/releases/download/%{version}/%{name}-%{version}.tar.xz
Source99: baselibs.conf
Patch0: harfbuzz-3.1.0-work-around-GCC-cast-align-error-warning.patch
BuildRequires: c++_compiler
BuildRequires: meson
BuildRequires: pkgconfig >= 0.28