Enabled HarfBuzz rendering without Pango glyph calc for emoji

This commit is contained in:
Takao Fujiwara 2017-07-13 19:00:12 +09:00
parent 49a428b52e
commit be63774f6b
2 changed files with 2134 additions and 1 deletions

File diff suppressed because it is too large Load Diff

View File

@ -9,6 +9,8 @@
%global with_kde5 0 %global with_kde5 0
%endif %endif
%global with_emoji_harfbuzz 1
%global ibus_api_version 1.0 %global ibus_api_version 1.0
# for bytecompile in %%{_datadir}/ibus/setup # for bytecompile in %%{_datadir}/ibus/setup
@ -28,7 +30,7 @@
Name: ibus Name: ibus
Version: 1.5.16 Version: 1.5.16
Release: 2%{?dist} Release: 3%{?dist}
Summary: Intelligent Input Bus for Linux OS Summary: Intelligent Input Bus for Linux OS
License: LGPLv2+ License: LGPLv2+
Group: System Environment/Libraries Group: System Environment/Libraries
@ -70,6 +72,11 @@ BuildRequires: qt5-qtbase-devel
%endif %endif
BuildRequires: cldr-emoji-annotation BuildRequires: cldr-emoji-annotation
BuildRequires: unicode-emoji BuildRequires: unicode-emoji
%if %with_emoji_harfbuzz
BuildRequires: cairo-devel
BuildRequires: fontconfig-devel
BuildRequires: harfbuzz-devel
%endif
Requires: %{name}-libs%{?_isa} = %{version}-%{release} Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Requires: %{name}-gtk2%{?_isa} = %{version}-%{release} Requires: %{name}-gtk2%{?_isa} = %{version}-%{release}
@ -249,6 +256,9 @@ autoreconf -f -i -v
--enable-wayland \ --enable-wayland \
%if ! %with_kde5 %if ! %with_kde5
--disable-appindicator \ --disable-appindicator \
%endif
%if %with_emoji_harfbuzz
--enable-harfbuzz-for-emoji \
%endif %endif
--enable-introspection \ --enable-introspection \
%{nil} %{nil}
@ -420,6 +430,9 @@ gtk-query-immodules-3.0-%{__isa_bits} --update-cache &> /dev/null || :
%{_datadir}/gtk-doc/html/* %{_datadir}/gtk-doc/html/*
%changelog %changelog
* Thu Jul 13 2017 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.16-3
- Enabled HarfBuzz rendering without Pango glyph calc for emoji
* Mon May 29 2017 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.16-2 * Mon May 29 2017 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.16-2
- Added ctrl-c,v,x for annotations and ctrl-shift-c for emoji - Added ctrl-c,v,x for annotations and ctrl-shift-c for emoji
- Added Malay and Mongolian keymaps - Added Malay and Mongolian keymaps