pango.patch 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  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. @@ -8,4 +6,4 @@
  82. Version: @VERSION@
  83. Requires: pango pangoft2
  84. Libs: -L${libdir} -lpangoxft-@PANGO_API_VERSION@ @PKGCONFIG_XFT_LIBS@
  85. -Cflags: -I${includedir}/pango-1.0 @XFT_CFLAGS@
  86. +Cflags: -I${includedir}/pango-1.0 -I${includedir} @XFT_CFLAGS@
  87. Index: pango/opentype/Makefile.in
  88. --- pango/opentype/Makefile.in.orig 2005-08-20 13:19:38 +0200
  89. +++ pango/opentype/Makefile.in 2005-08-20 13:21:47 +0200
  90. @@ -283,7 +283,6 @@
  91. libpango_ot_la_LIBADD = \
  92. $(x_ldflags) \
  93. $(x_libs) \
  94. - $(GLIB_LIBS) \
  95. -lm
  96. Index: Makefile.in
  97. --- Makefile.in.orig 2005-08-20 16:09:38 +0200
  98. +++ Makefile.in 2005-08-20 16:13:38 +0200
  99. @@ -252,7 +252,7 @@
  100. AUTOMAKE_OPTIONS = 1.7
  101. -SUBDIRS = pango modules examples docs tools tests
  102. +SUBDIRS = pango modules docs tools tests
  103. EXTRA_DIST = \
  104. pango.pc.in \