Accepting request 332714 from GNOME:Factory
Update to 1.38.0 (forwarded request 332697 from dimstar) OBS-URL: https://build.opensuse.org/request/show/332714 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pango?expand=0&rev=95
This commit is contained in:
commit
f0fc4bc3da
32
README.SUSE
32
README.SUSE
@ -1,32 +0,0 @@
|
|||||||
README for bi-architecture 64 bit platforms users
|
|
||||||
=================================================
|
|
||||||
|
|
||||||
Current version of Pango has a problem running 32 and 64 version on
|
|
||||||
single machine. See http://bugzilla.gnome.org/show_bug.cgi?id=129534 for
|
|
||||||
more information.
|
|
||||||
|
|
||||||
To work around this problem, 64 bit version for SUSE Linux uses special
|
|
||||||
names for following files:
|
|
||||||
|
|
||||||
/usr/bin/pango-querymodules: /usr/bin/pango-querymodules-64
|
|
||||||
|
|
||||||
This can cause problems during self-compilation of packages.
|
|
||||||
|
|
||||||
To work-around these problems (introduced by this work-around), you
|
|
||||||
should:
|
|
||||||
|
|
||||||
Either:
|
|
||||||
|
|
||||||
- Make a patch of package (please do not send it to package
|
|
||||||
developers, it's temporary solution).
|
|
||||||
|
|
||||||
Or:
|
|
||||||
|
|
||||||
- Install 32 bit version of Pango.
|
|
||||||
- After installation, you must run following commands:
|
|
||||||
if [ -x /usr/bin/pango-querymodules ] ; then
|
|
||||||
/usr/bin/pango-querymodules --update-cache
|
|
||||||
fi
|
|
||||||
if [ -x /usr/bin/pango-querymodules-64 ] ; then
|
|
||||||
/usr/bin/pango-querymodules-64 --update-cache
|
|
||||||
fi
|
|
@ -2,30 +2,8 @@ libpango-1_0-0
|
|||||||
prereq "pango-tools-<targettype> >= 1.31.1"
|
prereq "pango-tools-<targettype> >= 1.31.1"
|
||||||
provides "pango-<targettype> = <version>"
|
provides "pango-<targettype> = <version>"
|
||||||
obsoletes "pango-<targettype> < <version>"
|
obsoletes "pango-<targettype> < <version>"
|
||||||
post "%if "%_lib" == "lib64""
|
|
||||||
post "if test -f <prefix>%{_bindir}/pango-querymodules-64; then <prefix>%{_bindir}/pango-querymodules-64 --update-cache; fi"
|
|
||||||
post "%else"
|
|
||||||
post "if test -f <prefix>%{_bindir}/pango-querymodules; then <prefix>%{_bindir}/pango-querymodules --update-cache; fi"
|
|
||||||
post "%endif"
|
|
||||||
pango-devel
|
pango-devel
|
||||||
requires -pango-<targettype>
|
requires -pango-<targettype>
|
||||||
requires "libpango-1_0-0-<targettype> = <version>"
|
requires "libpango-1_0-0-<targettype> = <version>"
|
||||||
pango-tools
|
pango-tools
|
||||||
+/usr/bin/pango-querymodules(-64)?
|
+/usr/bin/pango-querymodules(-64)?
|
||||||
post "%if "%_lib" == "lib64""
|
|
||||||
post "if [ $1 == 1 ]; then test -d <prefix>%{_libdir}/pango/1.8.0; if test $? -eq 0; then <prefix>%{_bindir}/pango-querymodules-64 --update-cache; fi; fi"
|
|
||||||
post "%else"
|
|
||||||
post "if [ $1 == 1 ]; then test -d <prefix>%{_libdir}/pango/1.8.0; if test $? -eq 0; then <prefix>%{_bindir}/pango-querymodules --update-cache; fi; fi"
|
|
||||||
post "%endif"
|
|
||||||
pango-module-thai-lang
|
|
||||||
requires "pango-<targettype>"
|
|
||||||
post "%if "%_lib" == "lib64""
|
|
||||||
post "<prefix>%{_bindir}/pango-querymodules-64 --update-cache"
|
|
||||||
post "%else"
|
|
||||||
post "<prefix>%{_bindir}/pango-querymodules --update-cache"
|
|
||||||
post "%endif"
|
|
||||||
postun "%if "%_lib" == "lib64""
|
|
||||||
postun "<prefix>%{_bindir}/pango-querymodules-64 --update-cache"
|
|
||||||
postun "%else"
|
|
||||||
postun "<prefix>%{_bindir}/pango-querymodules --update-cache"
|
|
||||||
postun "%endif"
|
|
||||||
|
20
macros.pango
20
macros.pango
@ -11,25 +11,17 @@
|
|||||||
#
|
#
|
||||||
###
|
###
|
||||||
|
|
||||||
|
# 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 \
|
%pango_module_requires \
|
||||||
Requires(post): pango-tools \
|
%nil
|
||||||
Requires(postun): pango-tools
|
|
||||||
|
|
||||||
# On install, update the cache
|
# On install, update the cache
|
||||||
%pango_module_post \
|
%pango_module_post \
|
||||||
%if "%_lib" == "lib64" \
|
%nil
|
||||||
%{_bindir}/pango-querymodules-64 --update-cache \
|
|
||||||
%else \
|
|
||||||
%{_bindir}/pango-querymodules --update-cache \
|
|
||||||
%endif
|
|
||||||
|
|
||||||
# On uninstall, update the cache. Note: we ignore upgrades (already
|
# On uninstall, update the cache. Note: we ignore upgrades (already
|
||||||
# handled in %post of the new package).
|
# handled in %post of the new package).
|
||||||
%pango_module_postun \
|
%pango_module_postun \
|
||||||
if [ $1 -eq 0 ]; then \
|
%nil
|
||||||
%if "%_lib" == "lib64" \
|
|
||||||
%{_bindir}/pango-querymodules-64 --update-cache \
|
|
||||||
%else \
|
|
||||||
%{_bindir}/pango-querymodules --update-cache \
|
|
||||||
%endif \
|
|
||||||
fi
|
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:18dbb51b8ae12bae0ab7a958e7cf3317c9acfc8a1e1103ec2f147164a0fc2d07
|
|
||||||
size 1033528
|
|
3
pango-1.38.0.tar.xz
Normal file
3
pango-1.38.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1d4e75974bad853ee9ac5fc5caee5e7ab235abbd945d51d01f3806e04e7c226c
|
||||||
|
size 1046788
|
@ -1,3 +1,67 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 21 14:26:27 UTC 2015 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 1.38.0:
|
||||||
|
+ No changes.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 16 07:19:11 UTC 2015 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 1.37.5:
|
||||||
|
+ Small optimizations.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 2 08:22:41 UTC 2015 - zaitor@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 1.37.4:
|
||||||
|
+ Use grapheme boundaries in justification.
|
||||||
|
+ Support coloring marks and bases independently (bgo#541608).
|
||||||
|
+ Fix a crash (bgo#753167).
|
||||||
|
+ Make Thai and Arabic support thread-safe.
|
||||||
|
+ Fix justification.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Aug 15 14:00:43 UTC 2015 - zaitor@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 1.37.3:
|
||||||
|
+ Fix pango_glyph_item_iter_prev.
|
||||||
|
+ Add alpha attributes.
|
||||||
|
+ Add support for alpha in markup.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 22 19:36:37 UTC 2015 - zaitor@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 1.37.2:
|
||||||
|
+ Don't use hb_glib_get_unicode_funcs.
|
||||||
|
+ Warning fixes.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 24 12:14:41 UTC 2015 - zaitor@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 1.37.1:
|
||||||
|
+ Add attributes for OpenType font features (bgo#738505).
|
||||||
|
+ CoreText: locale handling improvements (bgo#750017).
|
||||||
|
+ Fix ellipsization with line space (bgo#750383).
|
||||||
|
+ Fix issues with hex boxes (bgo#750463).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 28 08:40:40 UTC 2015 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 1.37.0:
|
||||||
|
+ Pango modules, engines, and config have been removed
|
||||||
|
(bgo#733882).
|
||||||
|
+ Added pango_fc_font_map_config_changed() (bgo#748767).
|
||||||
|
+ Added pango_fc_font_map_[sg]et_config() (bgo#547671).
|
||||||
|
+ Added pango_matrix_get_font_scale_factors.
|
||||||
|
+ Lot of API has been deprecated.
|
||||||
|
+ Fix CoreText font fallback.
|
||||||
|
+ General build fixes.
|
||||||
|
+ Win32 build fixes.
|
||||||
|
- Clean up scriptlets: as modules support no longer exist, there
|
||||||
|
is no need for querymodules anymore. Change the existing macros
|
||||||
|
in macros.pango to be dummy placeholders (to not break other
|
||||||
|
packages referencing them).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Nov 09 21:03:00 UTC 2014 - Led <ledest@gmail.com>
|
Sun Nov 09 21:03:00 UTC 2014 - Led <ledest@gmail.com>
|
||||||
|
|
||||||
|
100
pango.spec
100
pango.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package pango
|
# spec file for package pango
|
||||||
#
|
#
|
||||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -20,14 +20,13 @@
|
|||||||
%define pango_binary_version 1.8.0
|
%define pango_binary_version 1.8.0
|
||||||
|
|
||||||
Name: pango
|
Name: pango
|
||||||
Version: 1.36.8
|
Version: 1.38.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Library for Layout and Rendering of Text
|
Summary: Library for Layout and Rendering of Text
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1+
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Url: http://www.pango.org/
|
Url: http://www.pango.org/
|
||||||
Source: http://download.gnome.org/sources/pango/1.36/%{name}-%{version}.tar.xz
|
Source: http://download.gnome.org/sources/pango/1.38/%{name}-%{version}.tar.xz
|
||||||
Source1: README.SUSE
|
|
||||||
Source2: macros.pango
|
Source2: macros.pango
|
||||||
Source99: baselibs.conf
|
Source99: baselibs.conf
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
@ -96,20 +95,6 @@ is needed.
|
|||||||
|
|
||||||
Pango forms the core of text and font handling for GTK+.
|
Pango forms the core of text and font handling for GTK+.
|
||||||
|
|
||||||
%package module-thai-lang
|
|
||||||
Summary: Library for Layout and Rendering of Text -- Module for the Thai Language
|
|
||||||
Group: System/Libraries
|
|
||||||
Requires(post): %{name}-tools
|
|
||||||
Requires(postun): %{name}-tools
|
|
||||||
Provides: locale(pango:th_TH)
|
|
||||||
|
|
||||||
%description module-thai-lang
|
|
||||||
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
|
%package devel
|
||||||
Summary: Library for Layout and Rendering of Text -- Development Files
|
Summary: Library for Layout and Rendering of Text -- Development Files
|
||||||
Group: Development/Libraries/GNOME
|
Group: Development/Libraries/GNOME
|
||||||
@ -134,9 +119,6 @@ to develop applications that require these.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%if "%{_lib}" == "lib64"
|
|
||||||
cp -a %{SOURCE1} .
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static --with-pic --with-cairo
|
%configure --disable-static --with-pic --with-cairo
|
||||||
@ -145,84 +127,18 @@ make %{?_smp_mflags}
|
|||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
|
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
|
||||||
mkdir -p %{buildroot}%{_sysconfdir}/pango/
|
|
||||||
touch %{buildroot}%{_sysconfdir}/pango/pango.modules
|
|
||||||
touch %{buildroot}%{_libdir}/pango/%{pango_binary_version}/modules.cache
|
|
||||||
%if "%{_lib}" == "lib64"
|
|
||||||
mv %{buildroot}%{_bindir}/pango-querymodules %{buildroot}%{_bindir}/pango-querymodules-64
|
|
||||||
%endif
|
|
||||||
# Install rpm macros
|
# Install rpm macros
|
||||||
mkdir -p %{buildroot}%{_sysconfdir}/rpm
|
mkdir -p %{buildroot}%{_sysconfdir}/rpm
|
||||||
cp %{SOURCE2} %{buildroot}%{_sysconfdir}/rpm
|
cp %{SOURCE2} %{buildroot}%{_sysconfdir}/rpm
|
||||||
|
|
||||||
###########################################################################
|
%post -n libpango-1_0-0 -p /sbin/ldconfig
|
||||||
# Note: when updating scriptlets, don't forget to also update baselibs.conf
|
|
||||||
###########################################################################
|
|
||||||
|
|
||||||
# Convenient %%define for the scriplets
|
|
||||||
%if "%{_lib}" == "lib64"
|
|
||||||
%define _pango_querymodules %{_bindir}/pango-querymodules-64
|
|
||||||
%else
|
|
||||||
%define _pango_querymodules %{_bindir}/pango-querymodules
|
|
||||||
%endif
|
|
||||||
%define _pango_querymodules_update_cache %{_pango_querymodules} --update-cache
|
|
||||||
|
|
||||||
%post -n libpango-1_0-0
|
|
||||||
/sbin/ldconfig
|
|
||||||
%if 0
|
|
||||||
# In case libpango-1_0-0 gets installed before pango-tools, we don't want to
|
|
||||||
# fail. So we make the call to pango-querymodules dependent on the existence of
|
|
||||||
# the binary. This is why we also have a %%post for pango-tools.
|
|
||||||
%endif
|
|
||||||
if test -f %{_pango_querymodules}; then
|
|
||||||
%{_pango_querymodules_update_cache}
|
|
||||||
fi
|
|
||||||
|
|
||||||
%if 0
|
|
||||||
# No need to call pango-querymodules in postun:
|
|
||||||
# - if it's an upgrade, it will have been called in post
|
|
||||||
# - if it's an uninstall, we don't care about this anymore
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%postun -n libpango-1_0-0 -p /sbin/ldconfig
|
%postun -n libpango-1_0-0 -p /sbin/ldconfig
|
||||||
|
|
||||||
%post module-thai-lang
|
|
||||||
%{_pango_querymodules_update_cache}
|
|
||||||
|
|
||||||
%postun module-thai-lang
|
|
||||||
%{_pango_querymodules_update_cache}
|
|
||||||
|
|
||||||
%post tools
|
|
||||||
%if 0
|
|
||||||
# If we install pango-tools for the first time, then we should run it in case
|
|
||||||
# libpango-1_0-0 was installed first (ie, if
|
|
||||||
# %%{_libdir}/pango/%%{pango_binary_version} already exists) which means
|
|
||||||
# pango-querymodules couldn't run there.
|
|
||||||
%endif
|
|
||||||
if [ $1 = 1 ]; then
|
|
||||||
test -f %{_libdir}/libpango-1.0.so.0
|
|
||||||
if test $? -eq 0; then
|
|
||||||
%{_pango_querymodules_update_cache}
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
%files -n libpango-1_0-0
|
%files -n libpango-1_0-0
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%if "%{_lib}" == "lib64"
|
|
||||||
%doc README AUTHORS COPYING ChangeLog README.SUSE
|
|
||||||
%else
|
|
||||||
%doc README AUTHORS COPYING ChangeLog
|
%doc README AUTHORS COPYING ChangeLog
|
||||||
%endif
|
|
||||||
%dir %{_libdir}/pango
|
|
||||||
%dir %{_libdir}/pango/%{pango_binary_version}
|
|
||||||
%ghost %{_libdir}/pango/%{pango_binary_version}/modules.cache
|
|
||||||
%dir %{_libdir}/pango/%{pango_binary_version}/modules
|
|
||||||
%{_libdir}/pango/%{pango_binary_version}/modules/pango-arabic-lang.so
|
|
||||||
%{_libdir}/pango/%{pango_binary_version}/modules/pango-basic-fc.so
|
|
||||||
%{_libdir}/pango/%{pango_binary_version}/modules/pango-indic-lang.so
|
|
||||||
%{_libdir}/lib*.so.*
|
%{_libdir}/lib*.so.*
|
||||||
%dir %{_sysconfdir}/pango
|
|
||||||
%config %ghost %{_sysconfdir}/pango/pango.modules
|
|
||||||
|
|
||||||
%files -n typelib-1_0-Pango-1_0
|
%files -n typelib-1_0-Pango-1_0
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -233,17 +149,9 @@ fi
|
|||||||
|
|
||||||
%files tools
|
%files tools
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%{_bindir}/pango-querymodules*
|
|
||||||
%{_bindir}/pango-view
|
%{_bindir}/pango-view
|
||||||
%doc %{_mandir}/man1/pango-querymodules.1*
|
|
||||||
%doc %{_mandir}/man1/pango-view.1*
|
%doc %{_mandir}/man1/pango-view.1*
|
||||||
|
|
||||||
# We have this module in a subpackage because it requires additional libraries.
|
|
||||||
|
|
||||||
%files module-thai-lang
|
|
||||||
%defattr(-, root, root)
|
|
||||||
%{_libdir}/pango/%{pango_binary_version}/modules/pango-thai-lang.so
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%{_libdir}/lib*.so
|
%{_libdir}/lib*.so
|
||||||
|
Loading…
Reference in New Issue
Block a user