libicu and harfbuzz
OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive?expand=0&rev=426
This commit is contained in:
parent
45a3c5bd97
commit
28c3bfea31
34
texlive.spec
34
texlive.spec
@ -19,7 +19,7 @@
|
||||
%define texlive_version 2023
|
||||
%define texlive_previous 2022
|
||||
%define texlive_release 20230311
|
||||
%define texlive_noarch 198
|
||||
%define texlive_noarch 199
|
||||
%define texlive_source texlive-20230311-source
|
||||
%define biber_version 2.18
|
||||
|
||||
@ -128,16 +128,14 @@ BuildRequires: ghostscript-library
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: graphite2-devel
|
||||
BuildRequires: gsl-devel
|
||||
%if 0%{?suse_version} >= 1550
|
||||
BuildRequires: harfbuzz-devel >= 2.6
|
||||
%else
|
||||
%if 0%{?sle_version} >= 150200
|
||||
BuildRequires: harfbuzz-devel >= 2.6
|
||||
%endif
|
||||
%if 0%{?suse_version} > 1550
|
||||
BuildRequires: harfbuzz-devel >= 7.1
|
||||
%endif
|
||||
BuildRequires: jpeg
|
||||
BuildRequires: libOSMesa-devel
|
||||
BuildRequires: libicu-devel
|
||||
%if 0%{?suse_version} > 1550
|
||||
BuildRequires: libicu-devel >= 72.1
|
||||
%endif
|
||||
BuildRequires: libjpeg-devel
|
||||
BuildRequires: libopenssl-devel
|
||||
BuildRequires: libpaper-devel
|
||||
@ -4139,17 +4137,13 @@ popd
|
||||
# Read the options file
|
||||
. %{options}
|
||||
|
||||
# Sanity check for system icu libraries and headers
|
||||
# Remark: official libicu is _not_ compatible with libicu of XeTeX
|
||||
if test -s /usr/include/layout/GlyphPositioningTables.h -a \
|
||||
-s /usr/include/layout/Features.h -a \
|
||||
-s /usr/include/common/cmemory.h \
|
||||
&& false
|
||||
if test -d /usr/include/unicode -a -d /usr/include/harfbuzz
|
||||
then
|
||||
icu[0]='--with-system-icu'
|
||||
icu[1]='--with-icu-include=/usr/include/unicode -I/usr/include/layout -I/usr/include/common'
|
||||
icu[1]='--with-system-harfbuzz'
|
||||
else
|
||||
icu[0]=""
|
||||
icu[0]='--without-system-icu'
|
||||
icu[1]='--without-system-harfbuzz'
|
||||
fi
|
||||
# Wrong version string
|
||||
sed -ri '/m4_define.*tex_live_version/{s@[0-9]+/dev@%{texlive_version}@}' version.ac
|
||||
@ -4269,14 +4263,6 @@ popd
|
||||
--with-system-cairo \
|
||||
--with-system-includes=%{_includedir}/cairo \
|
||||
--with-system-mpfr \
|
||||
%if 0%{?suse_version} >= 1550
|
||||
--with-system-harfbuzz \
|
||||
%else
|
||||
%if 0%{?sle_version} >= 150200
|
||||
--with-system-harfbuzz \
|
||||
%endif
|
||||
%endif
|
||||
--with-system-icu \
|
||||
--with-system-graphite2 \
|
||||
--with-system-potrace \
|
||||
--with-system-libpaper \
|
||||
|
Loading…
Reference in New Issue
Block a user