Upgrade to 1.50.7

This commit is contained in:
zhang__3125 2022-10-31 19:08:17 +08:00
parent 62a3b6b80b
commit 73427eeb83
4 changed files with 35 additions and 51 deletions

View File

@ -1,28 +0,0 @@
From e2d66766171c216052b4d1a112752f6fb5370631 Mon Sep 17 00:00:00 2001
From: songnannan <songnannan2@huawei.com>
Date: Thu, 16 Apr 2020 21:14:36 +0800
Subject: [PATCH] disable layout test
It comes down to font availability differences on the systems the test
are run on, which hard to fix.
---
tests/meson.build | 2 --
1 file changed, 2 deletions(-)
diff --git a/tests/meson.build b/tests/meson.build
index c617331..a870ccf 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -40,8 +40,6 @@ if cairo_dep.found()
[ 'testiter', [ 'testiter.c' ], [ libpangocairo_dep ] ],
[ 'test-ellipsize', [ 'test-ellipsize.c' ], [ libpangocairo_dep ] ],
[ 'markup-parse', [ 'markup-parse.c' , 'test-common.c' ], [ libpangocairo_dep ] ],
- [ 'test-layout', [ 'test-layout.c', 'test-common.c' ], [ libpangocairo_dep ] ],
- [ 'test-itemize', [ 'test-itemize.c', 'test-common.c' ], [ libpangocairo_dep ] ],
[ 'test-shape', [ 'test-shape.c', 'test-common.c' ], [ libpangocairo_dep ] ],
[ 'test-font', [ 'test-font.c' ], [ libpangocairo_dep ] ],
[ 'testattributes', [ 'testattributes.c', 'test-common.c' ], [ libpangocairo_dep ] ],
--
2.23.0

Binary file not shown.

BIN
pango-1.50.7.tar.xz Normal file

Binary file not shown.

View File

@ -1,39 +1,42 @@
Name: pango Name: pango
Version: 1.49.3 Version: 1.50.7
Release: 3 Release: 1
Summary: A library for layout and rendering of text Summary: System for layout and rendering of internationalized text
License: LGPLv2+ License: LGPLv2+
URL: https://pango.gnome.org/ URL: https://pango.gnome.org/
Source0: https://download.gnome.org//sources/pango/1.49/%{name}-%{version}.tar.xz Source0: https://download.gnome.org/sources/%{name}/1.50/%{name}-%{version}.tar.xz
Patch9000: disable-layout-test.patch BuildRequires: pkgconfig(cairo) >= 1.12.10 pkgconfig(fontconfig) >= 2.13.0 pkgconfig(freetype2) >= 2.1.5
BuildRequires: pkgconfig(fribidi) >= 1.0.6 pkgconfig(glib-2.0) >= 2.62 pkgconfig(harfbuzz) >= 2.6.0
BuildRequires: pkgconfig(cairo) >= 1.12.10 pkgconfig(fontconfig) >= 2.12.92 pkgconfig(freetype2) >= 2.1.5
BuildRequires: pkgconfig(fribidi) >= 1.0 pkgconfig(glib-2.0) >= 2.59.2 pkgconfig(harfbuzz) >= 2.0.0
BuildRequires: pkgconfig(xft) >= 2.0.0 pkgconfig(libthai) >= 0.1.9 pkgconfig(gobject-introspection-1.0) BuildRequires: pkgconfig(xft) >= 2.0.0 pkgconfig(libthai) >= 0.1.9 pkgconfig(gobject-introspection-1.0)
BuildRequires: cairo-gobject-devel meson help2man gcc gcc-c++ harfbuzz-help BuildRequires: cairo-gobject-devel meson help2man gcc gcc-c++ harfbuzz-help
BuildRequires: pango
Requires: cairo >= 1.12.10 fontconfig >= 2.12.92 freetype >= 2.1.5 fribidi >= 1.0 Requires: cairo >= 1.12.10 fontconfig >= 2.13.0 freetype >= 2.1.5 fribidi >= 1.0.6
Requires: glib2 >= 2.59.2 harfbuzz >= 2.0.0 libXft >= 2.0.0 libthai >= 0.1.9 Requires: glib2 >= 2.62 harfbuzz >= 2.6.0 libXft >= 2.0.0 libthai >= 0.1.9
%description %description
Pango is a library for layout and rendering of text, with an emphasis Pango is a library for laying out and rendering of text, with an emphasis
on internationalization. Pango can be used anywhere that text layout on internationalization. Pango can be used anywhere that text layout is needed,
is needed; however, most of the work on Pango so far has been done using though most of the work on Pango so far has been done in the context of the
the GTK+ widget toolkit as a test platform. Pango forms the core of text GTK+ widget toolkit. Pango forms the core of text and font handling for GTK+.
and font handling for GTK+-2.x.
Pango is designed to be modular; the core Pango layout engine can be used
with different font backends.
The integration of Pango with Cairo provides a complete solution with high
quality text handling and graphics rendering.
%package devel %package devel
Summary: Development environment for %{name} Summary: Development files for pango
Requires: %{name} = %{version}-%{release} freetype-devel >= 2.1.5 Requires: %{name} = %{version}-%{release} freetype-devel >= 2.1.5
Requires: glib2-devel >= 2.59.2 fontconfig-devel >= 2.12.92 cairo-devel >= 1.12.10 Requires: glib2-devel >= 2.62 fontconfig-devel >= 2.13.0 cairo-devel >= 1.12.10
Provides: %{name}-tests = %{version}-%{release} Provides: %{name}-tests = %{version}-%{release}
Obsoletes: %{name}-tests < %{version}-%{release} Obsoletes: %{name}-tests < %{version}-%{release}
%description devel %description devel
The %{name}-devel package contains libraries header files and tests for The pango-devel package includes the header files and developer documentation
the %{name}. for the pango package.
%package_help %package_help
@ -41,13 +44,20 @@ the %{name}.
%autosetup -n %{name}-%{version} -p1 %autosetup -n %{name}-%{version} -p1
%build %build
%meson -Denable_docs=true -Dinstall-tests=true %meson -Dgtk_docs=true -Dinstall-tests=true
%meson_build %meson_build
%install %install
%meson_install %meson_install
test -e %{buildroot}%{_libdir}/libpangoxft-1.0.so PANGOXFT_SO=$RPM_BUILD_ROOT%{_libdir}/libpangoxft-1.0.so
if ! test -e $PANGOXFT_SO; then
echo "$PANGOXFT_SO not found; did not build with Xft support?"
ls $RPM_BUILD_ROOT%{_libdir}
exit 1
fi
%check
%files %files
%defattr(-,root,root) %defattr(-,root,root)
@ -74,6 +84,9 @@ test -e %{buildroot}%{_libdir}/libpangoxft-1.0.so
%{_mandir}/man1/pango-view.1.* %{_mandir}/man1/pango-view.1.*
%changelog %changelog
* Mon Oct 31 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 1.50.7-1
- Upgrade to 1.50.7
* Fri Mar 25 2022 zhanzhimin <zhanzhimin@h-partners.com> - 1.49.3-3 * Fri Mar 25 2022 zhanzhimin <zhanzhimin@h-partners.com> - 1.49.3-3
- delete old dynamic library - delete old dynamic library
@ -124,4 +137,3 @@ test -e %{buildroot}%{_libdir}/libpangoxft-1.0.so
* Sun Sep 15 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.43.0-1 * Sun Sep 15 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.43.0-1
- Package Init - Package Init