pango/pango.spec

584 lines
20 KiB
RPMSpec
Raw Normal View History

#
# spec file for package pango (Version 1.19.2)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: pango
BuildRequires: cairo-devel gtk-doc perl-XML-Parser sgml-skel
License: LGPL v2.1 or later
Group: System/Libraries
AutoReqProv: on
Version: 1.19.2
Release: 3
Summary: System for Layout and Rendering of Internationalised Text
Source: ftp://ftp.gnome.org/pub/GNOME/sources/pango/1.18/%{name}-%{version}.tar.bz2
Source1: README.SuSE
# Patch0: pango-biarch.patch
Patch0: pango64.patch
# This appears to be upstream now
# Patch2: bugzilla-53228-artificial-bold-and-italic.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: filesystem
%if %suse_version > 1010
PreReq: xorg-x11-libs xorg-x11-libXrender xorg-x11-libX11
%endif
%if %suse_version > 1020
# for libXdmcp.so.6 -- see https://bugzilla.novell.com/show_bug.cgi?id=310640#c4
PreReq: xorg-x11-libXdmcp
%endif
Requires: cairo >= 1.2.2
%description
Pango is a library for layout and rendering of text, with an emphasis
on internationalisation. It forms the core of text and font handling in
GTK+ 2.0.
Authors:
--------
Owen Taylor <otaylor@redhat.com>
Changwoo Ryu <cwryu@adam.kaist.ac.kr>
Sivaraj Doddannan <sivaraj@intelligroup.com>
%package devel
Requires: %{name} = %{version} cairo-devel glib2-devel glibc-devel %(rpm -q --whatprovides XFree86-devel --queryformat '%{NAME}')
Summary: Include files and libraries mandatory for development
Group: Development/Libraries/GNOME
AutoReqProv: on
%description devel
This package contains all necessary include files and libraries needed
to develop applications that require these.
Authors:
--------
Owen Taylor <otaylor@redhat.com>
Changwoo Ryu <cwryu@adam.kaist.ac.kr>
Sivaraj Doddannan <sivaraj@intelligroup.com>
%package doc
Requires: %{name} = %{version}
Summary: System for Layout and Rendering of Internationalised Text
Group: System/Libraries
AutoReqProv: on
%description doc
Pango is a library for layout and rendering of text, with an emphasis
on internationalisation. It forms the core of text and font handling in
GTK+ 2.0.
Authors:
--------
Owen Taylor <otaylor@redhat.com>
Changwoo Ryu <cwryu@adam.kaist.ac.kr>
Sivaraj Doddannan <sivaraj@intelligroup.com>
%prep
%setup -q
%if "%_lib" == "lib64"
cp -a %{S:1} .
%patch0 -p0
%endif
%build
autoreconf -f -i
# needed for pango-1.14.5:
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure
make %{?jobs:-j%jobs}
%install
make install DESTDIR=$RPM_BUILD_ROOT
touch $RPM_BUILD_ROOT%{_sysconfdir}/pango/pango.modules
%if "%_lib" == "lib64"
mv $RPM_BUILD_ROOT%{_bindir}/pango-querymodules\
$RPM_BUILD_ROOT%{_bindir}/pango-querymodules-64
mv $RPM_BUILD_ROOT%{_sysconfdir}/pango/pango.modules\
$RPM_BUILD_ROOT%{_sysconfdir}/pango/pango64.modules
%endif
rm $RPM_BUILD_ROOT%{_libdir}/*/*/*/*.*a
rm $RPM_BUILD_ROOT%{_libdir}/*.la
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
%if "%_lib" == "lib64"
LD_LIBRARY_PATH=usr/%{_lib}\
usr/bin/pango-querymodules-64\
> etc/pango/pango64.modules
%else
LD_LIBRARY_PATH=usr/%{_lib}\
usr/bin/pango-querymodules\
> etc/pango/pango.modules
%endif
%postun
/sbin/ldconfig
%if "%_lib" == "lib64"
if [ -x usr/bin/pango-querymodules-64 ] ; then
LD_LIBRARY_PATH=usr/%{_lib}\
usr/bin/pango-querymodules-64\
> etc/pango/pango64.modules
fi
%else
if [ -x usr/bin/pango-querymodules ] ; then
LD_LIBRARY_PATH=usr/%{_lib}\
usr/bin/pango-querymodules\
> etc/pango/pango.modules
fi
%endif
%files
%defattr(-,root,root)
%if "%_lib" == "lib64"
%doc README AUTHORS COPYING ChangeLog README.SuSE
%else
%doc README AUTHORS COPYING ChangeLog
%endif
# evidently no longer exists
# %doc examples/HELLO.utf8
%{_bindir}/pango-*
%dir %{_libdir}/pango
%dir %{_libdir}/pango/1.6.0
%dir %{_libdir}/pango/1.6.0/modules
%{_libdir}/pango/1.6.0/modules/*.so
%{_libdir}/lib*.so.*
%doc %{_mandir}/man?/*.*
%dir %{_sysconfdir}/pango
%{_sysconfdir}/pango/pangox.aliases
%if "%_lib" == "lib64"
%ghost %{_sysconfdir}/pango/pango64.modules
%else
%ghost %{_sysconfdir}/pango/pango.modules
%endif
%files devel
%defattr(-, root, root)
%{_libdir}/lib*.so
# %{_libdir}/lib*.*a
%{_libdir}/pkgconfig/*.pc
%{_includedir}/pango-1.0
%files doc
%defattr(-, root, root)
%{_datadir}/gtk-doc/html/pango
%changelog
* Wed Dec 19 2007 - maw@suse.de
- Revert to using pango64.patch for the time being (#349940).
* Mon Dec 17 2007 - maw@suse.de
- Remove references to README.SuSE
- s#%%run_ldconfig#/sbin/ldconfig#.
* Mon Dec 17 2007 - maw@suse.de
- Replace pango64.patch with pango-biarch.patch (#346210)
- Concomitant with the above change, remove README.SuSE, as it is
no longer necessary.
* Mon Dec 17 2007 - maw@suse.de
- Update to version 1.19.2:
+ Bugs (bugzilla.gnome.org) fixed: #485536, #500549, #492517,
[#495091], #502926, #399573, #478914, #501938, and #501575
+ Cleanups in the HarfBuzz code and merges with upstream/Qt changes
+ Document cairo examples and misc doc improvements
+ Use pkg-config to detect cairo features
+ New public macro: PANGO_GLYPH_INVALID_INPUT
+ Render a crossed box for each invalid input byte to
pango_layout_set_text; previously an ASCII question mark was
used; this crossed box has a glyph of value
PANGO_GLYPH_INVALID_INPUT.
* Mon Nov 26 2007 - maw@suse.de
- Actually remove the build root in %%clean.
* Fri Nov 23 2007 - maw@suse.de
- Update to version 1.19.0:
+ Two OpenType engine fixes, which make Nafees Nastaliq font
work great, and avoids warnings with some other fonts
+ Fix minor leak in win32 backend
+ Update list of languages to that of fontconfig-2.4.91
+ Various optimizations
+ Make sure all boxed type copy/free functions accept NULL as
legitimate input; previously most were g_return_[val_]if_fail()ing
it; this is mostly for convenience when writing code in C
+ Apply 'vkrn' GPOS feature in vertical writing
+ In pangofc, set "pangoversion" in pattern passed to fontconfig,
such that font configuration can condition on being driven by
Pango or not
+ Various optimizations and cleanups in the OpenType Layout
engine, aka HarfBuzz
+ Changed APIs:
* All PangoAttribute constructors are changed to initialize
the attribute to the range [0..MAXUINT]. The range was
undefined previously; all custom attribute constructors
are recommended to call the new pango_attribute_init() to
do the same
* Public API change: Mark the following types as abstract:
PangoFont
PangoFontFace
PangoFontFamily
PangoFontMap
PangoFcFont
PangoFcFontMap
PangoContext may be marked so in the future too
* Make following macros public; previously they were only
defined for backend/engine implementations:
PANGO_GLYPH_EMPTY
PANGO_GLYPH_UNKNOWN_FLAG
PANGO_GET_UNKNOWN_GLYPH()
+ New public API:
* Convenience for initializing custom attributes:
pango_attribute_init()
* Adding boxed type for PangoGlyphItem:
PANGO_TYPE_GLYPH_ITEM
pango_glyph_item_copy()
pango_glyph_item_get_type()
* Add missing copy function for a boxed type in C:
pango_layout_iter_copy()
* Add missing getter:
pango_layout_iter_get_layout()
* Convenience for writing custom PangoRenderer's:
pango_renderer_get_layout()
pango_renderer_get_layout_line()
* PangoFc extensions to fontconfig's pattern syntax:
PANGO_FC_GRAVITY
PANGO_FC_VERSION
+ Bugs (bugzilla.gnome.org) fixed: #483600, #490661,
[#489909], #488840, #486932, #486951, #485621, #485566,
[#485559], #481537, #478865, #472924, #472629, #472303,
[#471601], #471577, #471571, #471568, and #469641.
* Wed Sep 19 2007 - maw@suse.de
- Add xorg-x11-libXdmcp as a prerequisite (#310640)
- Fix the source tarball's permissions.
* Tue Sep 18 2007 - sbrabec@suse.cz
- Updated to version 1.18.2:
* require libthai >= 0.1.9 for enabling thai-lang module
* bug fixes
* Thu Aug 30 2007 - maw@suse.de
- Update to version 1.18.1:
+ Make pango_script_for_unichar() just call
g_unichar_get_script() and document that PangoScript and
GUnicodeScript are interchangeable enumerations
+ Bug fixes, including the following (bugzilla.gnome.org):
[#470042], #468953, #463430, #348348, #451682, #462137, #462420,
[#462630], #464183, #464270, #465174, #466755, #467056, and
[#467077],
- Remove upstreamed pango-1.17.4-empty-string-corruption.patch.
* Tue Jul 31 2007 - maw@suse.de
- Update to version 1.17,5
- Export PangoCairoFont and cleanup various standard macros
- Bugs (bugzilla.gnome.org) fixed: #150883, #449482, and part of
[#347236].
* Tue Jul 31 2007 - jpr@suse.de
- Fix memory corruption for empty line break call (#295662)
- Remove references to patch that no longer exists
* Thu Jul 26 2007 - maw@suse.de
- Update to version 1.17.4
- Refactored the ATSUI font backend and install pangoatsui.h
that has a single function pango_atsui_font_get_atsu_font_id() and
a couple of types.
- Bugs [bugzilla.gnome.org] fixed in this release:
Bug 451547 FAIL: runtests.sh
Bug 449543 - Ship pangoatsui.h
* Thu Jul 05 2007 - maw@suse.de
- Update to version 1.17.3
- Extensive pangocairo internal code refactoring and cleanup
- New public API, new engine macros
- Many bugfixes.
* Wed Apr 11 2007 - maw@suse.de
- Update to version 1.16.2
- Fixed various bug in the OpenType Layout code (HarfBuzz)
- Improved documentation
- Improved ATSUI backend
- Misc build system fixes
- Bugs fixed in this release:
* Bug #417946 - pangowin32-fontmap.c:using function without prototype
* Bug #419262 - Don't create coverage every time it's asked for
(Both of these bugs are viewable at bugzilla.gnome.org)
- Refresh pango64.patch.
* Wed Mar 21 2007 - maw@suse.de
- Update to version 1.16.1
- Fixes for b.g.o #120195, #407315, #355987, and #407087.
* Fri Feb 16 2007 - maw@suse.de
- Update to version 1.15.6
- Remove bugzilla-53228-artificial-bold-and-italic.patch, which
is now upstream.
* Wed Jan 17 2007 - sbrabec@suse.cz
- Use correct library instance in scriptlets (#235626).
* Thu Dec 07 2006 - sbrabec@suse.cz
- Prefix changed to /usr.
- Spec file cleanup.
* Mon Nov 27 2006 - sbrabec@suse.cz
- Use correct PreReq for older products.
* Thu Nov 23 2006 - sbrabec@suse.cz
- Fixed scriptlets for bi-arch (#223149).
* Sat Oct 14 2006 - danw@suse.de
- Remove dead patch
* Tue Oct 03 2006 - jhargadon@suse.de
- update to version 1.14.5
- Indic shaper fixes
- Misc bug fixes
* Sun Sep 17 2006 - ro@suse.de
- added prereqs for postinstall script
* Wed Sep 13 2006 - jhargadon@suse.de
- update to version 1.14.3
- Win32 build improvement
- Bug 353525 ¿ libpangoft2-1.0.so.0: undefined reference to
`pango_font_description_get_gravity'
- Bug 349813 ¿ typo in docs for pango_layout_move_cursor_visually
* Mon Sep 04 2006 - sbrabec@suse.cz
- Removed SuSEconfig.pango (FATE#300947).
* Wed Aug 30 2006 - jhargadon@suse.de
- update to version 1.14.2
- Find shaper/font for Private Use and space characters
* Fri Aug 18 2006 - jhargadon@suse.de
- update to version 1.14.0
- Make pango-view accept non-ASCII --text
- Require cairo-1.2.2 for the important bug fixes it has.
* Tue Aug 01 2006 - gekker@suse.de
- Update to version 1.13.4
* Update to Unicode Character Database 5.0.0.
* Misc fixes.
* Bugs fixed in this release:
Bug 336282 Ð Update to Unicode Character Database 5.0.0
Bug 347073 Ð Allow empty GPOS table
Bug 347021 Ð atsui crash when a matching font cannot be found.
Patch from Brian Tarricone.
* Fri Jul 28 2006 - gekker@suse.de
- Update to version 1.13.3
- Remove upstreamed patches
* New public API:
- pango_glyph_string_get_width
* Improved hexbox drawing, and font metrics calculations.
* New public API:
- pango_cairo_show_error_underline
- pango_cairo_error_underline_path
- pango_font_describe_with_absolute_size
* Increased robustness against broken pango.modules
* Fix incorrect rendering when in x86 64-bit precision mode
* Fix non-OpenType fonts losing kerning in 1.12.0 [#336026, Denis Jacquerye]
* Moved the OpenType Layout code into a new project called HarfBuzz
* Insert '?' chars instead of invalid UTF-8 sequences in
pango_layout_set_text [#33195]
* Fix a few crashers, especially when a font cannot be read. [#314239]
* Change some g_critical's to g_warning, where it's not application's
fault. [#331723]
* Major change in the low-level interface of Pango. The special value
PANGO_GLYPH_EMPTY is now defined to mean a "draw nothing" glyph. This
was what glyph 0 was used for previously. As a result, bumped up the
Pango module version, meaning that modules compiled against earlier
versions are probably not compatible with this release. [#73147]
* New framework in examples for building a binary called pango-view,
that can be used to render a text file using any of the available
backends. This is installed into bindir now.
* Enhancements to the FT2 backend, to draw boxes on missing glyphs.
* Better hexbox drawing for cairo backend: Hinting hexbox, and
drawing a single-row hexbox for very small font sizes.
* Do not crash if the shapers fail.
* Draw hex box on missing glyphs for cairo-fc backend.
* New --with-dynamic-modules option added to configure.
* ATSUI support for the cairo backend. [Anders Carlsson]
* Draw a dashed empty box on missing glyphs for cairo-fc backend.
* Support OpenType features for basic (Latin/Greek/...) module.
* Support swash feature in Arabic module.
* Line-breaking algorithm updated to Unicode 4.1.
* Code borrowed from GNU FriBidi resynched to version 1.0.7.
* Tue May 02 2006 - federico@novell.com
- Added pango-104365-use-hinted-metrics.diff to fix the Pango-related
part of https://bugzilla.novell.com/show_bug.cgi?id=104365. This
makes Pango request hinted font metrics from Cairo/Fontconfig, even
when we are using unhinted rendering. This is what applications
expect; they would draw overlapping glyphs otherwise.
* Mon Apr 24 2006 - federico@novell.com
- Added pango-131128-font-extents-rounding.diff to fix
https://bugzilla.novell.com/show_bug.cgi?id=131128. This makes
PangoCairoFcFont round the font extents before exposing them to
callers, which produces better results with unhinted /
un-antialiased displays.
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Jan 11 2006 - sbrabec@suse.cz
- Removed libpixman from neededforbuild.
* Fri Dec 30 2005 - mfabian@suse.de
- Bugzilla #53228: Enhance pango to support artifical bold and
italic (add patch by Zhe Su).
* Wed Dec 14 2005 - sbrabec@suse.cz
- Added related old version cleanups (feature #2852).
* Wed Nov 30 2005 - sbrabec@suse.cz
- Update to version 1.10.2.
* Tue Oct 11 2005 - gekker@suse.de
- Update to version 1.10.1
* Thu Aug 18 2005 - gekker@suse.de
- Update to version 1.10.0
* Mon Aug 01 2005 - gekker@suse.de
- Update to version 1.9.1
* Thu Jul 21 2005 - gekker@suse.de
- Update to version 1.9.0
* Thu Jun 23 2005 - sbrabec@suse.cz
- Fixed devel dependencies.
- Removed .la files for modules.
* Mon Apr 11 2005 - sbrabec@suse.cz
- Fixed Requires of doc subpackage.
* Tue Mar 08 2005 - gekker@suse.de
- Update to version 1.8.1 (GNOME 2.10).
* Mon Jan 03 2005 - gekker@suse.de
- Update to version 1.8.0
* Wed Dec 15 2004 - gekker@suse.de
- Update to version 1.7.0
* Wed Nov 17 2004 - gekker@suse.de
- Update version to 1.6.0.
* Wed Oct 20 2004 - ro@suse.de
- make specfile rpm-3-save
* Thu Aug 26 2004 - federico@ximian.com
- Updated to pango 1.4.1
- Removed pango-strict-aliasing.patch, as an equivalent patch is in
the tarball now
* Fri May 21 2004 - sbrabec@suse.cz
- Added ottest to devel package.
* Tue Apr 27 2004 - sbrabec@suse.cz
- Fixed pango64.patch.
* Mon Apr 19 2004 - sbrabec@suse.cz
- Strict aliasing fix.
* Thu Apr 15 2004 - sbrabec@suse.cz
- Updated to version 1.4.0 (GNOME 2.6).
* Thu Mar 11 2004 - sbrabec@suse.cz
- Use SuSEconfig biarch wrapper and identical filename for all
platforms.
- Include README.SuSE about biarch problems.
* Tue Mar 02 2004 - sbrabec@suse.cz
- Bi-arch work-arounds to prevent 32/64 bit conflicts (bug #33705).
For more see http://bugzilla.gnome.org/show_bug.cgi?id=129534
* Mon Mar 01 2004 - sbrabec@suse.cz
- Fixed random crashes of gnome-terminal using mc (bug #29850).
http://bugzilla.gnome.org/show_bug.cgi?id=89541
- Use run-pango in %%postun, too.
- Build with -fno-strict-aliasing.
* Tue Jan 06 2004 - adrian@suse.de
- fix build
* Mon Oct 06 2003 - kukuk@suse.de
- Remove unused atk from neededforbuild
* Mon Sep 08 2003 - sbrabec@suse.cz
- Removed invalid %%postun.
* Fri Sep 05 2003 - sbrabec@suse.cz
- Fixed rmdir in %%postun.
* Fri Sep 05 2003 - sbrabec@suse.cz
- Remove orphan files from SuSE 8.2.
* Thu Aug 28 2003 - sbrabec@suse.cz
- Updated to version 1.2.5.
* Tue Jul 15 2003 - sbrabec@suse.cz
- GNOME prefix change to /opt/gnome.
* Thu Jun 12 2003 - sbrabec@suse.cz
- Branched pango-doc.
- Updated file list.
- Fixed calling of aclocal.
* Wed Jun 11 2003 - sbrabec@suse.cz
- Updated to version 1.2.3.
- Fixed directory packaging.
- Require gnome-filesystem for pango-devel (for docs).
- Updated neededforbuild.
* Mon Apr 28 2003 - sf@suse.de
- added fontconfig* to neededforbuild, to compile pangoft2
* Fri Feb 21 2003 - hhetter@suse.de
- PreReq touch (Bug Id#23897)
* Mon Feb 03 2003 - hhetter@suse.de
- updated to version 1.2.1:
* Handle older TrueType Open Arabic fonts.
* Make Win32 backend handle a common TrueType font bug
* Fix crash with some non-BMP characters
* Avoid crashing on font descriptions like " 12"
* Minor build fixes
* Mon Jan 13 2003 - sbrabec@suse.cz
- Added expat to neededforbuild (for new xft2).
* Thu Jan 09 2003 - sbrabec@suse.cz
- Updated to version 1.2.0.
* Thu Nov 07 2002 - hhetter@suse.de
- updated to version 1.0.5
* Bug fix for pango_scan_int() needed for recent GTK+.
* Improve language specific charset ordering basic-x11
* Fix symbols that shouldn't have been exported
* Some cross-compiling fixes
* Various build fixes
* Fix check for no-backend being found.
* Tue Oct 22 2002 - sbrabec@suse.cz
- Remove obsolette install -d -m755 $RPM_BUILD_ROOT/var/adm/SuSEconfig.
* Tue Sep 17 2002 - ro@suse.de
- removed bogus self-provides
* Tue Aug 20 2002 - hhetter@suse.de
- added PreReq: filesystem
* Tue Aug 13 2002 - hhetter@suse.de
- disabled qt support (#17642)
* Mon Aug 05 2002 - hhetter@suse.de
- updated to version 1.0.4, from changes:
* Add Thai shaper for Xft
* Support GB-18030, BIG5-HKSCS, CNS-11643, GBK encodings for
basic-x shaper
* Support ksc5601.1992-3 fonts in hangul-x shpaer
* Support new Arabic characters in Unicode 3.2
* misc Bug fixes
* Mon Jun 17 2002 - jordi@suse.de
- Updated to version 1.0.3
* Change algorithm for mapping points to pixels on
Windows to match the system method.
* Fix family listing for the FT2 backend.
* Fix memory leak in pango_font_real_get_metrics()
* Some compilation warning fixes.
* Fix passing attr_list == NULL to pango_parse_markip
* Thu Jun 13 2002 - ro@suse.de
- fix autotools sequence
* Wed Jun 12 2002 - hhetter@suse.de
- correctly touch the run-pango flag
* Wed Jun 12 2002 - hhetter@suse.de
- fix SuSEconfig script
* Tue Jun 04 2002 - hhetter@suse.de
- update to version 1.0.2 of the stable series
* Support building with FreeType 2.1.0
* List Sans,Serif,Monospace when listing fonts for the
Xft and FT2 backends.
* Portability fixes.
* Fix problem with pango-querymodules using g_print().
* Tue Apr 30 2002 - meissner@suse.de
- %%_lib fixes
* Mon Apr 15 2002 - hhetter@suse.de
- fix config script to work with correct path
* Tue Apr 09 2002 - hhetter@suse.de
- filelist correction
* Tue Apr 09 2002 - hhetter@suse.de
- updated to version 1.0.1
* Thu Jan 31 2002 - hhetter@suse.de
- updated to version 0.24 [GNOME desktop-alpha2]
* Thu Jan 17 2002 - hhetter@suse.de
- delete SuSEconfig-run-flag after registering pango modules
* Thu Jan 17 2002 - ro@suse.de
- re-added .so symlinks to devel filelist (without wildcards)
* Wed Jan 16 2002 - hhetter@suse.de
- added SuSEconfig script to register the pango modules
- fixed filelist
* Tue Jan 15 2002 - hhetter@suse.de
- fixed filelist
* Fri Jan 11 2002 - hhetter@suse.de
- updated to version 0.23:
* Documentation improvements
* Win32 fixes
* Improve search for XftConfig
* Fixes for crashes in Hangul shaper
* Improvements to Arabic shapers for X and Xft
* Add jisx0212, jisx0201, Big5 support to basic shaper
* Wed Jan 09 2002 - hhetter@suse.de
- enable freetype2 support
* Tue Dec 11 2001 - hhetter@suse.de
- really build pangox and pango
* Tue Dec 11 2001 - hhetter@suse.de
- added LIBRARY_PATH for broken libtool
* Tue Nov 27 2001 - hhetter@suse.de
- initial SuSE package for GNOME 2.0 platform (pango 0.22)