From d48b7508738143922d10ef9f5a4d560befda6154ce0f4abc25b53d099bb7392f Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Fri, 5 Jan 2007 15:49:43 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pango?expand=0&rev=1 --- .gitattributes | 23 + .gitignore | 1 + README.SuSE | 35 ++ ...lla-53228-artificial-bold-and-italic.patch | 136 +++++ pango-1.14.5.tar.bz2 | 3 + pango.changes | 498 ++++++++++++++++++ pango.spec | 435 +++++++++++++++ pango64.patch | 52 ++ ready | 0 9 files changed, 1183 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 README.SuSE create mode 100644 bugzilla-53228-artificial-bold-and-italic.patch create mode 100644 pango-1.14.5.tar.bz2 create mode 100644 pango.changes create mode 100644 pango.spec create mode 100644 pango64.patch create mode 100644 ready diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/README.SuSE b/README.SuSE new file mode 100644 index 0000000..9b04e17 --- /dev/null +++ b/README.SuSE @@ -0,0 +1,35 @@ +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 +/etc/pango/pango.modules: /etc/pango/pango.modules64 + +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 \ + > /etc/pango/pango.modules +fi +if [ -x /usr/bin/pango-querymodules-64 ] ; then + /usr/bin/pango-querymodules-64 \ + > /etc/pango/pango64.modules +fi diff --git a/bugzilla-53228-artificial-bold-and-italic.patch b/bugzilla-53228-artificial-bold-and-italic.patch new file mode 100644 index 0000000..09c5e15 --- /dev/null +++ b/bugzilla-53228-artificial-bold-and-italic.patch @@ -0,0 +1,136 @@ +diff -ur pango-1.10.1.old/pango/pangofc-fontmap.c pango-1.10.1/pango/pangofc-fontmap.c +--- pango-1.10.1.old/pango/pangofc-fontmap.c 2005-07-23 06:39:27.000000000 +0800 ++++ pango-1.10.1/pango/pangofc-fontmap.c 2005-10-20 14:48:52.000000000 +0800 +@@ -83,6 +83,8 @@ + + PangoFcFamily *family; + char *style; ++ ++ guint fake : 1; + }; + + struct _PangoFcFamily +@@ -1671,7 +1673,7 @@ + FcPattern *match_pattern; + FcPattern *result_pattern; + +- if (is_alias_family (fcfamily->family_name)) ++ if (fcface->fake) + { + if (strcmp (fcface->style, "Regular") == 0) + return make_alias_description (fcfamily, FALSE, FALSE); +@@ -1851,11 +1853,13 @@ + */ + static PangoFcFace * + create_face (PangoFcFamily *fcfamily, +- const char *style) ++ const char *style, ++ gboolean fake) + { + PangoFcFace *face = g_object_new (PANGO_FC_TYPE_FACE, NULL); + face->style = g_strdup (style); + face->family = fcfamily; ++ face->fake = fake; + + return face; + } +@@ -1880,38 +1884,85 @@ + fcfamily->faces = g_new (PangoFcFace *, fcfamily->n_faces); + + i = 0; +- fcfamily->faces[i++] = create_face (fcfamily, "Regular"); +- fcfamily->faces[i++] = create_face (fcfamily, "Bold"); +- fcfamily->faces[i++] = create_face (fcfamily, "Italic"); +- fcfamily->faces[i++] = create_face (fcfamily, "Bold Italic"); ++ fcfamily->faces[i++] = create_face (fcfamily, "Regular", TRUE); ++ fcfamily->faces[i++] = create_face (fcfamily, "Bold", TRUE); ++ fcfamily->faces[i++] = create_face (fcfamily, "Italic", TRUE); ++ fcfamily->faces[i++] = create_face (fcfamily, "Bold Italic", TRUE); + } + else + { +- FcObjectSet *os = FcObjectSetBuild (FC_STYLE, NULL); ++ FcObjectSet *os = FcObjectSetBuild (FC_STYLE, FC_WEIGHT, FC_SLANT, NULL); + FcPattern *pat = FcPatternBuild (NULL, + FC_FAMILY, FcTypeString, fcfamily->family_name, + NULL); +- ++ ++ /* Regular, Italic, Bold, Bold Italic */ ++ gboolean face_state [4] = { FALSE, FALSE, FALSE, FALSE }; ++ PangoFcFace **tmp_faces; ++ gint num = 0; ++ + fontset = FcFontList (NULL, pat, os); +- ++ + FcPatternDestroy (pat); + FcObjectSetDestroy (os); +- +- fcfamily->n_faces = fontset->nfont; +- fcfamily->faces = g_new (PangoFcFace *, fcfamily->n_faces); +- ++ ++ /* at most we have 3 additional artifical faces */ ++ tmp_faces = g_new (PangoFcFace *, fontset->nfont + 3); ++ + for (i = 0; i < fontset->nfont; i++) + { + FcChar8 *s; + FcResult res; + ++ int weight, slant; ++ ++ if (FcPatternGetInteger(fontset->fonts[i], FC_WEIGHT, 0, &weight) != FcResultMatch) ++ weight = FC_WEIGHT_MEDIUM; ++ ++ if (FcPatternGetInteger(fontset->fonts[i], FC_SLANT, 0, &slant) != FcResultMatch) ++ slant = FC_SLANT_ROMAN; ++ + res = FcPatternGetString (fontset->fonts[i], FC_STYLE, 0, &s); +- if (res != FcResultMatch) +- s = "Regular"; + +- fcfamily->faces[i] = create_face (fcfamily, s); ++ if (weight <= FC_WEIGHT_MEDIUM && slant == FC_SLANT_ROMAN) ++ { ++ face_state[0] = TRUE; ++ if (res != FcResultMatch) s = "Regular"; ++ } ++ else if (weight <= FC_WEIGHT_MEDIUM && slant > FC_SLANT_ROMAN) ++ { ++ face_state[1] = TRUE; ++ if (res != FcResultMatch) s = "Italic"; ++ } ++ else if (weight > FC_WEIGHT_MEDIUM && slant == FC_SLANT_ROMAN) ++ { ++ face_state[2] = TRUE; ++ if (res != FcResultMatch) s = "Bold"; ++ } ++ else if (weight > FC_WEIGHT_MEDIUM && slant > FC_SLANT_ROMAN) ++ { ++ face_state[3] = TRUE; ++ if (res != FcResultMatch) s = "Bold Italic"; ++ } ++ ++ tmp_faces[num++] = create_face (fcfamily, s, FALSE); + } + ++ /* we need artifical Italic face */ ++ if (face_state[0] && !face_state[1]) ++ tmp_faces[num++] = create_face (fcfamily, "Italic", TRUE); ++ /* we need artifical Bold face */ ++ if (face_state[0] && !face_state[2]) ++ tmp_faces[num++] = create_face (fcfamily, "Bold", TRUE); ++ /* we need artifical Bold Italic face */ ++ if ((face_state[0] || face_state[1] || face_state[2]) && !face_state[3]) ++ tmp_faces[num++] = create_face (fcfamily, "Bold Italic", TRUE); ++ ++ fcfamily->n_faces = num; ++ fcfamily->faces = g_memdup (tmp_faces, num * sizeof (PangoFontFace *)); ++ ++ g_free (tmp_faces); ++ + FcFontSetDestroy (fontset); + } + } diff --git a/pango-1.14.5.tar.bz2 b/pango-1.14.5.tar.bz2 new file mode 100644 index 0000000..552bbd5 --- /dev/null +++ b/pango-1.14.5.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:583060081538248775939c303aed80af1543de4b3472c316a556874437711156 +size 1288194 diff --git a/pango.changes b/pango.changes new file mode 100644 index 0000000..6d2c3a6 --- /dev/null +++ b/pango.changes @@ -0,0 +1,498 @@ +------------------------------------------------------------------- +Thu Dec 7 17:34:42 CET 2006 - sbrabec@suse.cz + +- Prefix changed to /usr. +- Spec file cleanup. + +------------------------------------------------------------------- +Mon Nov 27 16:18:53 CET 2006 - sbrabec@suse.cz + +- Use correct PreReq for older products. + +------------------------------------------------------------------- +Thu Nov 23 19:00:01 CET 2006 - sbrabec@suse.cz + +- Fixed scriptlets for bi-arch (#223149). + +------------------------------------------------------------------- +Sat Oct 14 18:41:27 CEST 2006 - danw@suse.de + +- Remove dead patch + +------------------------------------------------------------------- +Tue Oct 3 00:14:45 CEST 2006 - jhargadon@suse.de + +- update to version 1.14.5 +- Indic shaper fixes +- Misc bug fixes + +------------------------------------------------------------------- +Sun Sep 17 23:17:50 CEST 2006 - ro@suse.de + +- added prereqs for postinstall script + +------------------------------------------------------------------- +Wed Sep 13 19:09:02 CEST 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 4 15:03:24 CEST 2006 - sbrabec@suse.cz + +- Removed SuSEconfig.pango (FATE#300947). + +------------------------------------------------------------------- +Wed Aug 30 01:51:11 CEST 2006 - jhargadon@suse.de + +- update to version 1.14.2 +- Find shaper/font for Private Use and space characters + +------------------------------------------------------------------- +Fri Aug 18 00:18:54 CEST 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 1 00:43:54 CEST 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 20:35:28 CEST 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 2 21:53:44 CEST 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 23:34:37 CEST 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 21:32:36 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Wed Jan 11 14:02:57 CET 2006 - sbrabec@suse.cz + +- Removed libpixman from neededforbuild. + +------------------------------------------------------------------- +Fri Dec 30 13:57:32 CET 2005 - mfabian@suse.de + +- Bugzilla #53228: Enhance pango to support artifical bold and + italic (add patch by Zhe Su). + +------------------------------------------------------------------- +Wed Dec 14 19:32:09 CET 2005 - sbrabec@suse.cz + +- Added related old version cleanups (feature #2852). + +------------------------------------------------------------------- +Wed Nov 30 14:22:47 CET 2005 - sbrabec@suse.cz + +- Update to version 1.10.2. + +------------------------------------------------------------------- +Tue Oct 11 23:44:38 CEST 2005 - gekker@suse.de + +- Update to version 1.10.1 + +------------------------------------------------------------------- +Thu Aug 18 06:13:33 CEST 2005 - gekker@suse.de + +- Update to version 1.10.0 + +------------------------------------------------------------------- +Mon Aug 1 18:57:36 CEST 2005 - gekker@suse.de + +- Update to version 1.9.1 + +------------------------------------------------------------------- +Thu Jul 21 21:09:10 CEST 2005 - gekker@suse.de + +- Update to version 1.9.0 + +------------------------------------------------------------------- +Thu Jun 23 18:10:59 CEST 2005 - sbrabec@suse.cz + +- Fixed devel dependencies. +- Removed .la files for modules. + +------------------------------------------------------------------- +Mon Apr 11 16:51:58 CEST 2005 - sbrabec@suse.cz + +- Fixed Requires of doc subpackage. + +------------------------------------------------------------------- +Tue Mar 8 22:32:23 CET 2005 - gekker@suse.de + +- Update to version 1.8.1 (GNOME 2.10). + +------------------------------------------------------------------- +Mon Jan 3 20:58:55 CET 2005 - gekker@suse.de + +- Update to version 1.8.0 + +------------------------------------------------------------------- +Wed Dec 15 20:00:50 CET 2004 - gekker@suse.de + +- Update to version 1.7.0 + +------------------------------------------------------------------- +Wed Nov 17 16:27:37 CET 2004 - gekker@suse.de + +- Update version to 1.6.0. + +------------------------------------------------------------------- +Wed Oct 20 14:55:29 CEST 2004 - ro@suse.de + +- make specfile rpm-3-save + +------------------------------------------------------------------- +Thu Aug 26 02:05:45 CEST 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 12:10:39 CEST 2004 - sbrabec@suse.cz + +- Added ottest to devel package. + +------------------------------------------------------------------- +Tue Apr 27 12:41:22 CEST 2004 - sbrabec@suse.cz + +- Fixed pango64.patch. + +------------------------------------------------------------------- +Mon Apr 19 16:19:37 CEST 2004 - sbrabec@suse.cz + +- Strict aliasing fix. + +------------------------------------------------------------------- +Thu Apr 15 18:02:59 CEST 2004 - sbrabec@suse.cz + +- Updated to version 1.4.0 (GNOME 2.6). + +------------------------------------------------------------------- +Thu Mar 11 13:51:52 CET 2004 - sbrabec@suse.cz + +- Use SuSEconfig biarch wrapper and identical filename for all + platforms. +- Include README.SuSE about biarch problems. + +------------------------------------------------------------------- +Tue Mar 02 11:14:47 CET 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 14:17:33 CET 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 6 21:26:05 CET 2004 - adrian@suse.de + +- fix build + +------------------------------------------------------------------- +Mon Oct 6 14:14:18 CEST 2003 - kukuk@suse.de + +- Remove unused atk from neededforbuild + +------------------------------------------------------------------- +Mon Sep 08 11:58:47 CEST 2003 - sbrabec@suse.cz + +- Removed invalid %postun. + +------------------------------------------------------------------- +Fri Sep 05 15:27:42 CEST 2003 - sbrabec@suse.cz + +- Fixed rmdir in %postun. + +------------------------------------------------------------------- +Fri Sep 05 14:57:43 CEST 2003 - sbrabec@suse.cz + +- Remove orphan files from SuSE 8.2. + +------------------------------------------------------------------- +Thu Aug 28 15:42:32 CEST 2003 - sbrabec@suse.cz + +- Updated to version 1.2.5. + +------------------------------------------------------------------- +Tue Jul 15 10:17:51 CEST 2003 - sbrabec@suse.cz + +- GNOME prefix change to /opt/gnome. + +------------------------------------------------------------------- +Thu Jun 12 14:50:03 CEST 2003 - sbrabec@suse.cz + +- Branched pango-doc. +- Updated file list. +- Fixed calling of aclocal. + +------------------------------------------------------------------- +Wed Jun 11 19:13:24 CEST 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 13:23:29 CEST 2003 - sf@suse.de + +- added fontconfig* to neededforbuild, to compile pangoft2 + +------------------------------------------------------------------- +Fri Feb 21 08:21:28 CET 2003 - hhetter@suse.de + +- PreReq touch (Bug Id#23897) + +------------------------------------------------------------------- +Mon Feb 3 09:00:33 CET 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 12:18:25 CET 2003 - sbrabec@suse.cz + +- Added expat to neededforbuild (for new xft2). + +------------------------------------------------------------------- +Thu Jan 09 16:18:27 CET 2003 - sbrabec@suse.cz + +- Updated to version 1.2.0. + +------------------------------------------------------------------- +Thu Nov 7 14:35:15 CET 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 13:54:13 CEST 2002 - sbrabec@suse.cz + +- Remove obsolette install -d -m755 $RPM_BUILD_ROOT/var/adm/SuSEconfig. + +------------------------------------------------------------------- +Tue Sep 17 17:34:28 CEST 2002 - ro@suse.de + +- removed bogus self-provides + +------------------------------------------------------------------- +Tue Aug 20 11:34:16 CEST 2002 - hhetter@suse.de + +- added PreReq: filesystem + +------------------------------------------------------------------- +Tue Aug 13 09:57:22 CEST 2002 - hhetter@suse.de + +- disabled qt support (#17642) + +------------------------------------------------------------------- +Mon Aug 5 10:08:27 CEST 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 18:46:57 CEST 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 09:54:08 CEST 2002 - ro@suse.de + +- fix autotools sequence + +------------------------------------------------------------------- +Wed Jun 12 14:40:24 CEST 2002 - hhetter@suse.de + +- correctly touch the run-pango flag + +------------------------------------------------------------------- +Wed Jun 12 09:28:03 CEST 2002 - hhetter@suse.de + +- fix SuSEconfig script + +------------------------------------------------------------------- +Tue Jun 4 09:07:16 CEST 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 14:39:25 CEST 2002 - meissner@suse.de + +- %_lib fixes + +------------------------------------------------------------------- +Mon Apr 15 11:17:21 CEST 2002 - hhetter@suse.de + +- fix config script to work with correct path + +------------------------------------------------------------------- +Tue Apr 9 09:50:45 CEST 2002 - hhetter@suse.de + +- filelist correction + +------------------------------------------------------------------- +Tue Apr 9 08:54:52 CEST 2002 - hhetter@suse.de + +- updated to version 1.0.1 + +------------------------------------------------------------------- +Thu Jan 31 14:53:29 CET 2002 - hhetter@suse.de + +- updated to version 0.24 [GNOME desktop-alpha2] + +------------------------------------------------------------------- +Thu Jan 17 14:36:51 CET 2002 - hhetter@suse.de + +- delete SuSEconfig-run-flag after registering pango modules + +------------------------------------------------------------------- +Thu Jan 17 00:33:19 CET 2002 - ro@suse.de + +- re-added .so symlinks to devel filelist (without wildcards) + +------------------------------------------------------------------- +Wed Jan 16 11:53:54 CET 2002 - hhetter@suse.de + +- added SuSEconfig script to register the pango modules +- fixed filelist + +------------------------------------------------------------------- +Tue Jan 15 10:04:15 CET 2002 - hhetter@suse.de + +- fixed filelist + +------------------------------------------------------------------- +Fri Jan 11 11:15:54 CET 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 9 17:14:17 CET 2002 - hhetter@suse.de + +- enable freetype2 support + +------------------------------------------------------------------- +Tue Dec 11 17:28:39 CET 2001 - hhetter@suse.de + +- really build pangox and pango + +------------------------------------------------------------------- +Tue Dec 11 15:20:25 CET 2001 - hhetter@suse.de + +- added LIBRARY_PATH for broken libtool + +------------------------------------------------------------------- +Tue Nov 27 15:41:38 CET 2001 - hhetter@suse.de + +- initial SuSE package for GNOME 2.0 platform (pango 0.22) + diff --git a/pango.spec b/pango.spec new file mode 100644 index 0000000..f8cedc3 --- /dev/null +++ b/pango.spec @@ -0,0 +1,435 @@ +# +# spec file for package pango (Version 1.14.5) +# +# 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: GNU Library General Public License v. 2.0 and 2.1 (LGPL) +Group: System/Libraries +Autoreqprov: on +Version: 1.14.5 +Release: 25 +Summary: System for Layout and Rendering of Internationalised Text +Source: ftp://ftp.gnome.org/pub/GNOME/sources/pango/1.14/%{name}-%{version}.tar.bz2 +Source2: README.SuSE +Patch: pango64.patch +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 +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 + Changwoo Ryu + Sivaraj Doddannan + +%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 + Changwoo Ryu + Sivaraj Doddannan + +%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 + Changwoo Ryu + Sivaraj Doddannan + +%prep +%setup -q +%if "%_lib" == "lib64" +cp -a %{S:2} . +%patch +%endif +%patch2 -p1 + +%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 + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +/sbin/ldconfig +%if "%_lib" == "lib64" +usr/bin/pango-querymodules-64 \ + > etc/pango/pango64.modules +%else +usr/bin/pango-querymodules \ + > etc/pango/pango.modules +%endif + +%postun +%run_ldconfig +%if "%_lib" == "lib64" +if [ -x usr/bin/pango-querymodules-64 ] ; then + usr/bin/pango-querymodules-64 \ + > etc/pango/pango64.modules +fi +%else +if [ -x usr/bin/pango-querymodules ] ; then + 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 +%doc examples/HELLO.utf8 +%{_bindir}/pango-* +%dir %{_libdir}/pango +%dir %{_libdir}/pango/1.5.0 +%dir %{_libdir}/pango/1.5.0/modules +%{_libdir}/pango/1.5.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 -n pango +* 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) diff --git a/pango64.patch b/pango64.patch new file mode 100644 index 0000000..6c51055 --- /dev/null +++ b/pango64.patch @@ -0,0 +1,52 @@ +--- modules/Makefile.am ++++ modules/Makefile.am +@@ -30,10 +30,10 @@ + @if $(RUN_QUERY_MODULES_TEST) ; then \ + echo $(mkinstalldirs) $(DESTDIR)$(sysconfdir)/pango \&\& \ + $(top_builddir)/pango/pango-querymodules \ +- \> $(DESTDIR)$(sysconfdir)/pango/pango.modules ; \ ++ \> $(DESTDIR)$(sysconfdir)/pango/pango64.modules ; \ + $(mkinstalldirs) $(DESTDIR)$(sysconfdir)/pango && \ + $(top_builddir)/pango/pango-querymodules \ +- > $(DESTDIR)$(sysconfdir)/pango/pango.modules ; \ ++ > $(DESTDIR)$(sysconfdir)/pango/pango64.modules ; \ + else \ + echo "***" ; \ + echo "*** Warning: $(sysconfdir)/pango/pango.modules" ; \ +--- modules/pangorc ++++ modules/pangorc +@@ -5,4 +5,4 @@ + # + + [Pango] +-ModuleFiles = ../modules/pango.modules ++ModuleFiles = ../modules/pango64.modules +--- pango/modules.c ++++ pango/modules.c +@@ -309,7 +309,7 @@ + /* This is an entry put there by make install on the + * packager's system. On Windows a prebuilt Pango + * package can be installed in a random +- * location. The pango.modules file distributed in ++ * location. The pango64.modules file distributed in + * such a package contains paths from the package + * builder's machine. Replace the path with the real + * one on this machine. */ +@@ -489,7 +489,7 @@ + + if (!file_str) + file_str = g_build_filename (pango_get_sysconf_subdirectory (), +- "pango.modules", ++ "pango64.modules", + NULL); + + files = pango_split_file_list (file_str); +@@ -597,7 +597,7 @@ + if (!no_module_warning) + { + gchar *filename = g_build_filename (pango_get_sysconf_subdirectory (), +- "pango.modules", ++ "pango64.modules", + NULL); + g_warning ("No builtin or dynamically\n" + "loaded modules were found. Pango will not work correctly.\n" diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4