pango.patch 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. Index: pango/mini-fribidi/fribidi.c
  2. --- pango/mini-fribidi/fribidi.c.orig 2004-03-02 01:59:01 +0100
  3. +++ pango/mini-fribidi/fribidi.c 2004-12-17 09:08:59 +0100
  4. @@ -455,7 +455,7 @@
  5. while (pp)
  6. {
  7. fprintf (stderr, "%d:l%d(%s)[%d] ",
  8. - pp->pos, pp->len, fribidi_type_name (pp->type), pp->level);
  9. + pp->pos, pp->len, _pango_fribidi_type_name (pp->type), pp->level);
  10. pp = pp->next;
  11. }
  12. fprintf (stderr, "\n");
  13. Index: pango/mini-fribidi/fribidi_types.c
  14. --- pango/mini-fribidi/fribidi_types.c.orig 2004-06-21 20:25:26 +0200
  15. +++ pango/mini-fribidi/fribidi_types.c 2004-12-17 09:08:59 +0100
  16. @@ -77,7 +77,7 @@
  17. };
  18. char *
  19. -fribidi_type_name (FriBidiCharType c)
  20. +_pango_fribidi_type_name (FriBidiCharType c)
  21. {
  22. #define _FRIBIDI_CASE(type) case FRIBIDI_TYPE_##type: return #type
  23. switch (c)
  24. Index: pango/mini-fribidi/fribidi_types.h
  25. --- pango/mini-fribidi/fribidi_types.h.orig 2003-11-20 06:34:45 +0100
  26. +++ pango/mini-fribidi/fribidi_types.h 2004-12-17 09:08:59 +0100
  27. @@ -31,7 +31,7 @@
  28. typedef gint32 FriBidiMaskType;
  29. typedef FriBidiMaskType FriBidiCharType;
  30. - gchar *fribidi_type_name (FriBidiCharType c);
  31. + gchar *_pango_fribidi_type_name (FriBidiCharType c);
  32. /* The following type is used by fribidi_utils */
  33. typedef struct
  34. Index: pango/Makefile.in
  35. --- pango/Makefile.in.orig 2004-12-16 17:44:43 +0100
  36. +++ pango/Makefile.in 2004-12-17 09:08:59 +0100
  37. @@ -281,7 +281,7 @@
  38. BUILT_SOURCES = pango-enum-types.h pango-enum-types.c
  39. -pangoincludedir = $(includedir)/pango-1.0/pango
  40. +pangoincludedir = $(includedir)/pango-1.0
  41. @PLATFORM_WIN32_TRUE@no_undefined = -no-undefined
  42. Index: examples/Makefile.in
  43. --- examples/Makefile.in.orig 2004-12-16 17:44:40 +0100
  44. +++ examples/Makefile.in 2004-12-17 09:08:59 +0100
  45. @@ -263,6 +263,7 @@
  46. pangoft2topgm_LDADD = \
  47. ../pango/libpango-$(PANGO_API_VERSION).la \
  48. + ../pango/libpangox-$(PANGO_API_VERSION).la \
  49. ../pango/libpangoft2-$(PANGO_API_VERSION).la \
  50. $(FREETYPE_LIBS)
  51. Index: pango.pc.in
  52. --- pango.pc.in.orig 2004-06-21 18:10:31 +0200
  53. +++ pango.pc.in 2004-12-17 09:09:29 +0100
  54. @@ -10,5 +10,5 @@
  55. Version: @VERSION@
  56. Requires: glib-2.0,gobject-2.0,gmodule-2.0
  57. Libs: -L${libdir} -lpango-@PANGO_API_VERSION@ @PKGCONFIG_MATH_LIBS@
  58. -Cflags: -I${includedir}/pango-1.0
  59. +Cflags: -I${includedir}/pango-1.0 -I${includedir}
  60. Index: pangoft2.pc.in
  61. --- pangoft2.pc.in.orig 2002-06-06 21:28:19 +0200
  62. +++ pangoft2.pc.in 2004-12-17 09:08:59 +0100
  63. @@ -8,5 +8,5 @@
  64. Version: @VERSION@
  65. Requires: pango
  66. Libs: -L${libdir} -lpangoft2-@PANGO_API_VERSION@ @PKGCONFIG_FREETYPE_LIBS@
  67. -Cflags: -I${includedir}/pango-1.0 @FONTCONFIG_CFLAGS@ @FREETYPE_CFLAGS@
  68. +Cflags: -I${includedir}/pango-1.0 -I${includedir} @FONTCONFIG_CFLAGS@ @FREETYPE_CFLAGS@
  69. Index: pangox.pc.in
  70. --- pangox.pc.in.orig 2002-03-05 18:20:57 +0100
  71. +++ pangox.pc.in 2004-12-17 09:08:59 +0100
  72. @@ -8,5 +8,5 @@
  73. Version: @VERSION@
  74. Requires: pango
  75. Libs: -L${libdir} -lpangox-@PANGO_API_VERSION@ @PKGCONFIG_X_LIBS@
  76. -Cflags: -I${includedir}/pango-1.0 @X_CFLAGS@
  77. +Cflags: -I${includedir}/pango-1.0 -I${includedir} @X_CFLAGS@
  78. Index: pangoxft.pc.in
  79. --- pangoxft.pc.in.orig 2002-06-04 18:14:16 +0200
  80. +++ pangoxft.pc.in 2004-12-17 09:08:59 +0100
  81. @@ -6,6 +6,6 @@
  82. Name: Pango Xft
  83. Description: Xft font support for Pango
  84. Version: @VERSION@
  85. -Requires: pango
  86. +Requires: pango,pangoft2
  87. Libs: -L${libdir} -lpangoxft-@PANGO_API_VERSION@ @PKGCONFIG_XFT_LIBS@
  88. -Cflags: -I${includedir}/pango-1.0 @XFT_CFLAGS@
  89. +Cflags: -I${includedir}/pango-1.0 -I${includedir} @XFT_CFLAGS@