- Update to version 1.56.1:

+ Avoid criticals when there are no fonts
  + fontconfig:
    - Handle lack of FC_FONT_WRAPPER in font cache
    - Prefer application fonts even if they are older

OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/pango?expand=0&rev=266
This commit is contained in:
Dominique Leuenberger 2025-01-21 09:08:47 +00:00 committed by Git OBS Bridge
commit f0bcd0440f
13 changed files with 3030 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

17
_service Normal file
View File

@ -0,0 +1,17 @@
<services>
<service name="obs_scm" mode="manual">
<param name="url">https://gitlab.gnome.org/GNOME/pango.git</param>
<param name="scm">git</param>
<param name="revision">1.56.1</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">(.*)\+0</param>
<param name="versionrewrite-replacement">\1</param>
<param name="changesgenerate">disable</param>
</service>
<service mode="buildtime" name="tar" />
<service mode="buildtime" name="recompress">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service mode="manual" name="set_version" />
</services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://gitlab.gnome.org/GNOME/pango.git</param>
<param name="changesrevision">c5899494f57b83d54712917cc00ccb4841bd8981</param></service></servicedata>

6
baselibs.conf Normal file
View File

@ -0,0 +1,6 @@
libpango-1_0-0
provides "pango-<targettype> = <version>"
obsoletes "pango-<targettype> < <version>"
pango-devel
requires -pango-<targettype>
requires "libpango-1_0-0-<targettype> = <version>"

27
macros.pango Normal file
View File

@ -0,0 +1,27 @@
# RPM macros for packages installing a Pango module
#
###
#
# When a package installs a Pango module, it should use all
# three macros:
#
# - %pango_module_requires in the preamble
# - %pango_module_post in %post
# - %pango_module_postun in %postun
#
###
# Since pango 1.37.0, the macros are just there for compatibility, but no longer perform any action
# Pango no loner has config and module support
%pango_module_requires \
%nil
# On install, update the cache
%pango_module_post \
%nil
# On uninstall, update the cache. Note: we ignore upgrades (already
# handled in %post of the new package).
%pango_module_postun \
%nil

BIN
pango-1.54.0.obscpio (Stored with Git LFS) Normal file

Binary file not shown.

3
pango-1.56.0+12.obscpio Normal file
View File

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

3
pango-1.56.0.obscpio Normal file
View File

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

3
pango-1.56.1.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9478872c83ef4e77b3a484e3484d660c8668e348ae32a6115b45cc7c52774cb1
size 10198541

2756
pango.changes Normal file

File diff suppressed because it is too large Load Diff

4
pango.obsinfo Normal file
View File

@ -0,0 +1,4 @@
name: pango
version: 1.56.1
mtime: 1737240063
commit: 88417933bac510e467b8f7e630564cb4268a2a61

180
pango.spec Normal file
View File

@ -0,0 +1,180 @@
#
# spec file for package pango
#
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: pango
Version: 1.56.1
Release: 0
Summary: Library for Layout and Rendering of Text
License: LGPL-2.1-or-later
Group: Development/Libraries/C and C++
URL: https://pango.gnome.org/
Source0: %{name}-%{version}.tar.xz
Source2: macros.pango
Source99: baselibs.conf
BuildRequires: c++_compiler
BuildRequires: meson >= 1.2.0
BuildRequires: pkgconfig
BuildRequires: pkgconfig(cairo) >= 1.18
BuildRequires: pkgconfig(fontconfig) >= 2.15
BuildRequires: pkgconfig(freetype2)
BuildRequires: pkgconfig(fribidi) >= 1.0.6
BuildRequires: pkgconfig(glib-2.0) >= 2.80
BuildRequires: pkgconfig(gobject-2.0) >= 2.80
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(harfbuzz) >= 8.4
BuildRequires: pkgconfig(libthai) >= 0.1.9
BuildRequires: pkgconfig(xft) >= 2.0.0
BuildRequires: pkgconfig(xrender)
%description
Pango is a library for layout and rendering of text, with an emphasis
on internationalization. It can be used anywhere that text layout
is needed.
Pango forms the core of text and font handling for GTK+.
%package -n libpango-1_0-0
Summary: Library for Layout and Rendering of Text
Group: System/Libraries
Provides: %{name} = %{version}
Obsoletes: %{name} < %{version}
Obsoletes: pango-modules < %{version}
Provides: pango-modules = %{version}
# bug437293
%ifarch ppc64
Obsoletes: pango-64bit
%endif
#
%description -n libpango-1_0-0
Pango is a library for layout and rendering of text, with an emphasis
on internationalization. It can be used anywhere that text layout
is needed.
Pango forms the core of text and font handling for GTK+.
%package -n typelib-1_0-Pango-1_0
Summary: Introspection bindings for pango, a library for text layout and rendering
Group: System/Libraries
%description -n typelib-1_0-Pango-1_0
Pango is a library for layout and rendering of text, with an emphasis
on internationalization. It can be used anywhere that text layout
is needed.
Pango forms the core of text and font handling for GTK+.
This package provides the GObject Introspection bindings for Pango.
%package tools
Summary: Tools for pango, a library for text layout and rendering
Group: System/Libraries
# for the 'gm' command used by 'pango-view --backend=ft2'
Recommends: GraphicsMagick
%description tools
Pango is a library for layout and rendering of text, with an emphasis
on internationalization. It can be used anywhere that text layout
is needed.
Pango forms the core of text and font handling for GTK+.
%package devel
Summary: Development files for pango, a library for text layout and rendering
Group: Development/Libraries/GNOME
Requires: libpango-1_0-0 = %{version}
Requires: typelib-1_0-Pango-1_0 = %{version}
Provides: pango-doc = %{version}
Obsoletes: pango-doc < %{version}
# bug437293
%ifarch ppc64
Obsoletes: pango-devel-64bit
%endif
%description devel
Pango is a library for layout and rendering of text, with an emphasis
on internationalization. It can be used anywhere that text layout
is needed.
Pango forms the core of text and font handling for GTK+.
This package contains all necessary include files and libraries needed
to develop applications that require these.
%prep
%autosetup -p1
%build
%meson \
-Dintrospection=enabled \
%{nil}
%meson_build
%install
%meson_install
# Install rpm macros
mkdir -p %{buildroot}%_rpmmacrodir
cp %{SOURCE2} %{buildroot}%_rpmmacrodir
%ldconfig_scriptlets -n libpango-1_0-0
%files -n libpango-1_0-0
%license COPYING
%doc NEWS README.md
%{_libdir}/libpango-1.0.so.*
%{_libdir}/libpangocairo-1.0.so.*
%{_libdir}/libpangoft2-1.0.so.*
%{_libdir}/libpangoxft-1.0.so.*
%files -n typelib-1_0-Pango-1_0
%{_libdir}/girepository-1.0/Pango-1.0.typelib
%{_libdir}/girepository-1.0/PangoCairo-1.0.typelib
%{_libdir}/girepository-1.0/PangoFT2-1.0.typelib
%{_libdir}/girepository-1.0/PangoXft-1.0.typelib
%{_libdir}/girepository-1.0/PangoFc-1.0.typelib
%{_libdir}/girepository-1.0/PangoOT-1.0.typelib
%files tools
%{_bindir}/pango-list
%{_bindir}/pango-segmentation
%{_bindir}/pango-view
%files devel
%doc CODING_STYLE.md THANKS
%_rpmmacrodir/macros.pango
%{_includedir}/pango-1.0/
%{_libdir}/libpango-1.0.so
%{_libdir}/libpangocairo-1.0.so
%{_libdir}/libpangoft2-1.0.so
%{_libdir}/libpangoxft-1.0.so
%{_libdir}/pkgconfig/pango.pc
%{_libdir}/pkgconfig/pangocairo.pc
%{_libdir}/pkgconfig/pangoft2.pc
%{_libdir}/pkgconfig/pangoxft.pc
%{_libdir}/pkgconfig/pangofc.pc
%{_libdir}/pkgconfig/pangoot.pc
%{_datadir}/gir-1.0/Pango-1.0.gir
%{_datadir}/gir-1.0/PangoCairo-1.0.gir
%{_datadir}/gir-1.0/PangoFT2-1.0.gir
%{_datadir}/gir-1.0/PangoFc-1.0.gir
%{_datadir}/gir-1.0/PangoOT-1.0.gir
%{_datadir}/gir-1.0/PangoXft-1.0.gir
%changelog