]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/pango/pango-1.2.5/ft2.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / pango / pango-1.2.5 / ft2.patch
1 --- pango-1.2.5/modules/indic/indic-ot.h        Fri Aug  8 12:05:01 2003
2 +++ pango-1.2.5-new/modules/indic/indic-ot.h    Thu Dec 18 14:38:44 2003
3 @@ -9,7 +9,8 @@
4  #ifndef __INDIC_OT_H__
5  #define __INDIC_OT_H__
6  
7 -#include <freetype/freetype.h>
8 +#include <ft2build.h>
9 +#include FT_FREETYPE_H
10  #include <pango/pango-glyph.h>
11  #include <pango/pango-types.h>
12  #include "mprefixups.h"
13 --- pango-1.2.5/pango/opentype/ftxopen.h        Fri Aug  8 12:05:10 2003
14 +++ pango-1.2.5-new/pango/opentype/ftxopen.h    Thu Dec 18 14:38:41 2003
15 @@ -22,7 +22,8 @@
16  #ifndef FTXOPEN_H
17  #define FTXOPEN_H
18  
19 -#include <freetype/freetype.h>
20 +#include <ft2build.h>
21 +#include FT_FREETYPE_H
22  
23  #ifdef __cplusplus
24  extern "C" {
25 --- pango-1.2.5/pango/opentype/pango-ot-info.c  Wed Apr 16 16:48:20 2003
26 +++ pango-1.2.5-new/pango/opentype/pango-ot-info.c      Thu Dec 18 13:48:40 2003
27 @@ -21,8 +21,9 @@
28  
29  #include "pango-ot-private.h"
30  #include "fterrcompat.h"
31 +
32  #include <freetype/internal/ftobjs.h>
33 -#include <freetype/ftmodule.h>
34 +//#include <freetype/config/ftmodule.h>
35  
36  static void pango_ot_info_class_init (GObjectClass *object_class);
37  static void pango_ot_info_finalize   (GObject *object);
38 --- pango-1.2.5/pango/opentype/pango-ot-private.h       Tue Dec 19 22:41:36 2000
39 +++ pango-1.2.5-new/pango/opentype/pango-ot-private.h   Wed Dec 17 20:53:02 2003
40 @@ -22,7 +22,8 @@
41  #ifndef __PANGO_OT_PRIVATE_H__
42  #define __PANGO_OT_PRIVATE_H__
43  
44 -#include <freetype/freetype.h>
45 +#include <ft2build.h>
46 +#include FT_FREETYPE_H
47  
48  #include <glib-object.h>
49  
50 --- pango-1.2.5/pango/pango-enum-types.c        Thu Jul 24 14:12:13 2003
51 +++ pango-1.2.5-new/pango/pango-enum-types.c    Wed Dec 31 18:00:00 1969
52 @@ -1,236 +0,0 @@
53 -
54 -/* Generated data (by glib-mkenums) */
55 -
56 -#include <pango.h>
57 -
58 -/* enumerations from "pango-attributes.h" */
59 -GType
60 -pango_attr_type_get_type (void)
61 -{
62 -  static GType etype = 0;
63 -  if (etype == 0) {
64 -    static const GEnumValue values[] = {
65 -      { PANGO_ATTR_INVALID, "PANGO_ATTR_INVALID", "invalid" },
66 -      { PANGO_ATTR_LANGUAGE, "PANGO_ATTR_LANGUAGE", "language" },
67 -      { PANGO_ATTR_FAMILY, "PANGO_ATTR_FAMILY", "family" },
68 -      { PANGO_ATTR_STYLE, "PANGO_ATTR_STYLE", "style" },
69 -      { PANGO_ATTR_WEIGHT, "PANGO_ATTR_WEIGHT", "weight" },
70 -      { PANGO_ATTR_VARIANT, "PANGO_ATTR_VARIANT", "variant" },
71 -      { PANGO_ATTR_STRETCH, "PANGO_ATTR_STRETCH", "stretch" },
72 -      { PANGO_ATTR_SIZE, "PANGO_ATTR_SIZE", "size" },
73 -      { PANGO_ATTR_FONT_DESC, "PANGO_ATTR_FONT_DESC", "font-desc" },
74 -      { PANGO_ATTR_FOREGROUND, "PANGO_ATTR_FOREGROUND", "foreground" },
75 -      { PANGO_ATTR_BACKGROUND, "PANGO_ATTR_BACKGROUND", "background" },
76 -      { PANGO_ATTR_UNDERLINE, "PANGO_ATTR_UNDERLINE", "underline" },
77 -      { PANGO_ATTR_STRIKETHROUGH, "PANGO_ATTR_STRIKETHROUGH", "strikethrough" },
78 -      { PANGO_ATTR_RISE, "PANGO_ATTR_RISE", "rise" },
79 -      { PANGO_ATTR_SHAPE, "PANGO_ATTR_SHAPE", "shape" },
80 -      { PANGO_ATTR_SCALE, "PANGO_ATTR_SCALE", "scale" },
81 -      { 0, NULL, NULL }
82 -    };
83 -    etype = g_enum_register_static ("PangoAttrType", values);
84 -  }
85 -  return etype;
86 -}
87 -
88 -GType
89 -pango_underline_get_type (void)
90 -{
91 -  static GType etype = 0;
92 -  if (etype == 0) {
93 -    static const GEnumValue values[] = {
94 -      { PANGO_UNDERLINE_NONE, "PANGO_UNDERLINE_NONE", "none" },
95 -      { PANGO_UNDERLINE_SINGLE, "PANGO_UNDERLINE_SINGLE", "single" },
96 -      { PANGO_UNDERLINE_DOUBLE, "PANGO_UNDERLINE_DOUBLE", "double" },
97 -      { PANGO_UNDERLINE_LOW, "PANGO_UNDERLINE_LOW", "low" },
98 -      { 0, NULL, NULL }
99 -    };
100 -    etype = g_enum_register_static ("PangoUnderline", values);
101 -  }
102 -  return etype;
103 -}
104 -
105 -
106 -/* enumerations from "pango-coverage.h" */
107 -GType
108 -pango_coverage_level_get_type (void)
109 -{
110 -  static GType etype = 0;
111 -  if (etype == 0) {
112 -    static const GEnumValue values[] = {
113 -      { PANGO_COVERAGE_NONE, "PANGO_COVERAGE_NONE", "none" },
114 -      { PANGO_COVERAGE_FALLBACK, "PANGO_COVERAGE_FALLBACK", "fallback" },
115 -      { PANGO_COVERAGE_APPROXIMATE, "PANGO_COVERAGE_APPROXIMATE", "approximate" },
116 -      { PANGO_COVERAGE_EXACT, "PANGO_COVERAGE_EXACT", "exact" },
117 -      { 0, NULL, NULL }
118 -    };
119 -    etype = g_enum_register_static ("PangoCoverageLevel", values);
120 -  }
121 -  return etype;
122 -}
123 -
124 -
125 -/* enumerations from "pango-font.h" */
126 -GType
127 -pango_style_get_type (void)
128 -{
129 -  static GType etype = 0;
130 -  if (etype == 0) {
131 -    static const GEnumValue values[] = {
132 -      { PANGO_STYLE_NORMAL, "PANGO_STYLE_NORMAL", "normal" },
133 -      { PANGO_STYLE_OBLIQUE, "PANGO_STYLE_OBLIQUE", "oblique" },
134 -      { PANGO_STYLE_ITALIC, "PANGO_STYLE_ITALIC", "italic" },
135 -      { 0, NULL, NULL }
136 -    };
137 -    etype = g_enum_register_static ("PangoStyle", values);
138 -  }
139 -  return etype;
140 -}
141 -
142 -GType
143 -pango_variant_get_type (void)
144 -{
145 -  static GType etype = 0;
146 -  if (etype == 0) {
147 -    static const GEnumValue values[] = {
148 -      { PANGO_VARIANT_NORMAL, "PANGO_VARIANT_NORMAL", "normal" },
149 -      { PANGO_VARIANT_SMALL_CAPS, "PANGO_VARIANT_SMALL_CAPS", "small-caps" },
150 -      { 0, NULL, NULL }
151 -    };
152 -    etype = g_enum_register_static ("PangoVariant", values);
153 -  }
154 -  return etype;
155 -}
156 -
157 -GType
158 -pango_weight_get_type (void)
159 -{
160 -  static GType etype = 0;
161 -  if (etype == 0) {
162 -    static const GEnumValue values[] = {
163 -      { PANGO_WEIGHT_ULTRALIGHT, "PANGO_WEIGHT_ULTRALIGHT", "ultralight" },
164 -      { PANGO_WEIGHT_LIGHT, "PANGO_WEIGHT_LIGHT", "light" },
165 -      { PANGO_WEIGHT_NORMAL, "PANGO_WEIGHT_NORMAL", "normal" },
166 -      { PANGO_WEIGHT_BOLD, "PANGO_WEIGHT_BOLD", "bold" },
167 -      { PANGO_WEIGHT_ULTRABOLD, "PANGO_WEIGHT_ULTRABOLD", "ultrabold" },
168 -      { PANGO_WEIGHT_HEAVY, "PANGO_WEIGHT_HEAVY", "heavy" },
169 -      { 0, NULL, NULL }
170 -    };
171 -    etype = g_enum_register_static ("PangoWeight", values);
172 -  }
173 -  return etype;
174 -}
175 -
176 -GType
177 -pango_stretch_get_type (void)
178 -{
179 -  static GType etype = 0;
180 -  if (etype == 0) {
181 -    static const GEnumValue values[] = {
182 -      { PANGO_STRETCH_ULTRA_CONDENSED, "PANGO_STRETCH_ULTRA_CONDENSED", "ultra-condensed" },
183 -      { PANGO_STRETCH_EXTRA_CONDENSED, "PANGO_STRETCH_EXTRA_CONDENSED", "extra-condensed" },
184 -      { PANGO_STRETCH_CONDENSED, "PANGO_STRETCH_CONDENSED", "condensed" },
185 -      { PANGO_STRETCH_SEMI_CONDENSED, "PANGO_STRETCH_SEMI_CONDENSED", "semi-condensed" },
186 -      { PANGO_STRETCH_NORMAL, "PANGO_STRETCH_NORMAL", "normal" },
187 -      { PANGO_STRETCH_SEMI_EXPANDED, "PANGO_STRETCH_SEMI_EXPANDED", "semi-expanded" },
188 -      { PANGO_STRETCH_EXPANDED, "PANGO_STRETCH_EXPANDED", "expanded" },
189 -      { PANGO_STRETCH_EXTRA_EXPANDED, "PANGO_STRETCH_EXTRA_EXPANDED", "extra-expanded" },
190 -      { PANGO_STRETCH_ULTRA_EXPANDED, "PANGO_STRETCH_ULTRA_EXPANDED", "ultra-expanded" },
191 -      { 0, NULL, NULL }
192 -    };
193 -    etype = g_enum_register_static ("PangoStretch", values);
194 -  }
195 -  return etype;
196 -}
197 -
198 -GType
199 -pango_font_mask_get_type (void)
200 -{
201 -  static GType etype = 0;
202 -  if (etype == 0) {
203 -    static const GFlagsValue values[] = {
204 -      { PANGO_FONT_MASK_FAMILY, "PANGO_FONT_MASK_FAMILY", "family" },
205 -      { PANGO_FONT_MASK_STYLE, "PANGO_FONT_MASK_STYLE", "style" },
206 -      { PANGO_FONT_MASK_VARIANT, "PANGO_FONT_MASK_VARIANT", "variant" },
207 -      { PANGO_FONT_MASK_WEIGHT, "PANGO_FONT_MASK_WEIGHT", "weight" },
208 -      { PANGO_FONT_MASK_STRETCH, "PANGO_FONT_MASK_STRETCH", "stretch" },
209 -      { PANGO_FONT_MASK_SIZE, "PANGO_FONT_MASK_SIZE", "size" },
210 -      { 0, NULL, NULL }
211 -    };
212 -    etype = g_flags_register_static ("PangoFontMask", values);
213 -  }
214 -  return etype;
215 -}
216 -
217 -
218 -/* enumerations from "pango-layout.h" */
219 -GType
220 -pango_alignment_get_type (void)
221 -{
222 -  static GType etype = 0;
223 -  if (etype == 0) {
224 -    static const GEnumValue values[] = {
225 -      { PANGO_ALIGN_LEFT, "PANGO_ALIGN_LEFT", "left" },
226 -      { PANGO_ALIGN_CENTER, "PANGO_ALIGN_CENTER", "center" },
227 -      { PANGO_ALIGN_RIGHT, "PANGO_ALIGN_RIGHT", "right" },
228 -      { 0, NULL, NULL }
229 -    };
230 -    etype = g_enum_register_static ("PangoAlignment", values);
231 -  }
232 -  return etype;
233 -}
234 -
235 -GType
236 -pango_wrap_mode_get_type (void)
237 -{
238 -  static GType etype = 0;
239 -  if (etype == 0) {
240 -    static const GEnumValue values[] = {
241 -      { PANGO_WRAP_WORD, "PANGO_WRAP_WORD", "word" },
242 -      { PANGO_WRAP_CHAR, "PANGO_WRAP_CHAR", "char" },
243 -      { PANGO_WRAP_WORD_CHAR, "PANGO_WRAP_WORD_CHAR", "word-char" },
244 -      { 0, NULL, NULL }
245 -    };
246 -    etype = g_enum_register_static ("PangoWrapMode", values);
247 -  }
248 -  return etype;
249 -}
250 -
251 -
252 -/* enumerations from "pango-tabs.h" */
253 -GType
254 -pango_tab_align_get_type (void)
255 -{
256 -  static GType etype = 0;
257 -  if (etype == 0) {
258 -    static const GEnumValue values[] = {
259 -      { PANGO_TAB_LEFT, "PANGO_TAB_LEFT", "left" },
260 -      { 0, NULL, NULL }
261 -    };
262 -    etype = g_enum_register_static ("PangoTabAlign", values);
263 -  }
264 -  return etype;
265 -}
266 -
267 -
268 -/* enumerations from "pango-types.h" */
269 -GType
270 -pango_direction_get_type (void)
271 -{
272 -  static GType etype = 0;
273 -  if (etype == 0) {
274 -    static const GEnumValue values[] = {
275 -      { PANGO_DIRECTION_LTR, "PANGO_DIRECTION_LTR", "ltr" },
276 -      { PANGO_DIRECTION_RTL, "PANGO_DIRECTION_RTL", "rtl" },
277 -      { PANGO_DIRECTION_TTB_LTR, "PANGO_DIRECTION_TTB_LTR", "ttb-ltr" },
278 -      { PANGO_DIRECTION_TTB_RTL, "PANGO_DIRECTION_TTB_RTL", "ttb-rtl" },
279 -      { 0, NULL, NULL }
280 -    };
281 -    etype = g_enum_register_static ("PangoDirection", values);
282 -  }
283 -  return etype;
284 -}
285 -
286 -
287 -/* Generated data ends here */
288 -
289 --- pango-1.2.5/pango/pango-enum-types.h        Thu Jul 24 14:11:58 2003
290 +++ pango-1.2.5-new/pango/pango-enum-types.h    Wed Dec 31 18:00:00 1969
291 @@ -1,64 +0,0 @@
292 -
293 -/* Generated data (by glib-mkenums) */
294 -
295 -#ifndef __PANGO_ENUM_TYPES_H__
296 -#define __PANGO_ENUM_TYPES_H__
297 -
298 -#include <glib-object.h>
299 -
300 -G_BEGIN_DECLS
301 -
302 -/* enumerations from "pango-attributes.h" */
303 -
304 -GType pango_attr_type_get_type (void);
305 -#define PANGO_TYPE_ATTR_TYPE (pango_attr_type_get_type())
306 -
307 -GType pango_underline_get_type (void);
308 -#define PANGO_TYPE_UNDERLINE (pango_underline_get_type())
309 -
310 -/* enumerations from "pango-coverage.h" */
311 -
312 -GType pango_coverage_level_get_type (void);
313 -#define PANGO_TYPE_COVERAGE_LEVEL (pango_coverage_level_get_type())
314 -
315 -/* enumerations from "pango-font.h" */
316 -
317 -GType pango_style_get_type (void);
318 -#define PANGO_TYPE_STYLE (pango_style_get_type())
319 -
320 -GType pango_variant_get_type (void);
321 -#define PANGO_TYPE_VARIANT (pango_variant_get_type())
322 -
323 -GType pango_weight_get_type (void);
324 -#define PANGO_TYPE_WEIGHT (pango_weight_get_type())
325 -
326 -GType pango_stretch_get_type (void);
327 -#define PANGO_TYPE_STRETCH (pango_stretch_get_type())
328 -
329 -GType pango_font_mask_get_type (void);
330 -#define PANGO_TYPE_FONT_MASK (pango_font_mask_get_type())
331 -
332 -/* enumerations from "pango-layout.h" */
333 -
334 -GType pango_alignment_get_type (void);
335 -#define PANGO_TYPE_ALIGNMENT (pango_alignment_get_type())
336 -
337 -GType pango_wrap_mode_get_type (void);
338 -#define PANGO_TYPE_WRAP_MODE (pango_wrap_mode_get_type())
339 -
340 -/* enumerations from "pango-tabs.h" */
341 -
342 -GType pango_tab_align_get_type (void);
343 -#define PANGO_TYPE_TAB_ALIGN (pango_tab_align_get_type())
344 -
345 -/* enumerations from "pango-types.h" */
346 -
347 -GType pango_direction_get_type (void);
348 -#define PANGO_TYPE_DIRECTION (pango_direction_get_type())
349 -
350 -G_END_DECLS
351 -
352 -#endif /* __PANGO_ENUM_TYPES_H__ */
353 -
354 -/* Generated data ends here */
355 -
356 --- pango-1.2.5/pango/pango-ot.h        Mon Jun  3 19:20:47 2002
357 +++ pango-1.2.5-new/pango/pango-ot.h    Thu Dec 18 14:37:56 2003
358 @@ -22,7 +22,8 @@
359  #ifndef __PANGO_OT_H__
360  #define __PANGO_OT_H__
361  
362 -#include <freetype/freetype.h>
363 +#include <ft2build.h>
364 +#include FT_FREETYPE_H
365  #include <pango/pango-glyph.h>
366  
367  G_BEGIN_DECLS
368 --- pango-1.2.5/pango/pangoft2.c        Fri Aug  8 12:05:05 2003
369 +++ pango-1.2.5-new/pango/pangoft2.c    Thu Dec 18 14:34:50 2003
370 @@ -28,7 +28,8 @@
371  #include <glib.h>
372  #include <glib/gprintf.h>
373  
374 -#include <freetype/freetype.h>
375 +#include <ft2build.h>
376 +#include FT_FREETYPE_H
377  
378  #include "pango-utils.h"
379  #include "pangoft2.h"
380 --- pango-1.2.5/pango/pangoft2.h        Wed Jul  3 17:30:36 2002
381 +++ pango-1.2.5-new/pango/pangoft2.h    Thu Dec 18 14:36:12 2003
382 @@ -23,7 +23,8 @@
383  #ifndef __PANGOFT2_H__
384  #define __PANGOFT2_H__
385  
386 -#include <freetype/freetype.h>
387 +#include <ft2build.h>
388 +#include FT_FREETYPE_H
389  
390  #include <fontconfig/fontconfig.h>
391