summarylogtreecommitdiffstats
path: root/0001-no-unconditional-xft-please.all.patch
blob: 40ee76828563eeb2f30ca1f9e8b506ed842fe064 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
--- pango-1.30.0/docs/pango.types.in.orig	2012-04-03 09:28:11 +0400
+++ pango-1.30.0/docs/pango.types.in	2012-04-03 09:27:43 +0400
@@ -0,0 +1,77 @@
+#include <pango/pango-attributes.h>
+#include <pango/pango-context.h>
+#include <pango/pango-engine.h>
+#include <pango/pango-enum-types.h>
+#include <pango/pango-font.h>
+#include <pango/pango-fontmap.h>
+#include <pango/pango-fontset.h>
+#include <pango/pango-glyph-item.h>
+#include <pango/pango-glyph.h>
+#include <pango/pango-item.h>
+#include <pango/pango-language.h>
+#include <pango/pango-layout.h>
+#include <pango/pango-matrix.h>
+#include <pango/pango-ot.h>
+#include <pango/pango-renderer.h>
+#include <pango/pango-tabs.h>
+#include <pango/pangocairo-fc.h>
+#include <pango/pangocairo.h>
+#include <pango/pangofc-decoder.h>
+#include <pango/pangofc-font.h>
+#include <pango/pangofc-fontmap.h>
+#include <pango/pangoft2.h>
+@PANGO_INCLUDE_XFT@
+
+pango_alignment_get_type
+pango_attr_list_get_type
+pango_attr_type_get_type
+pango_bidi_type_get_type
+pango_cairo_fc_font_map_get_type
+pango_cairo_font_get_type
+pango_cairo_font_map_get_type
+pango_color_get_type
+pango_context_get_type
+pango_coverage_level_get_type
+pango_direction_get_type
+pango_ellipsize_mode_get_type
+pango_engine_get_type
+pango_engine_lang_get_type
+pango_engine_shape_get_type
+pango_fc_decoder_get_type
+pango_fc_font_get_type
+pango_fc_font_map_get_type
+pango_font_description_get_type
+pango_font_face_get_type
+pango_font_family_get_type
+pango_font_get_type
+pango_font_map_get_type
+pango_font_mask_get_type
+pango_font_metrics_get_type
+pango_fontset_get_type
+pango_fontset_simple_get_type
+pango_ft2_font_map_get_type
+pango_glyph_item_get_type
+pango_glyph_item_iter_get_type
+pango_glyph_string_get_type
+pango_gravity_get_type
+pango_gravity_hint_get_type
+pango_item_get_type
+pango_language_get_type
+pango_layout_get_type
+pango_layout_iter_get_type
+pango_layout_line_get_type
+pango_matrix_get_type
+pango_ot_info_get_type
+pango_ot_ruleset_get_type
+pango_render_part_get_type
+pango_renderer_get_type
+pango_script_get_type
+pango_stretch_get_type
+pango_style_get_type
+pango_tab_align_get_type
+pango_tab_array_get_type
+pango_underline_get_type
+pango_variant_get_type
+pango_weight_get_type
+pango_wrap_mode_get_type
+@PANGO_XFT_TYPES@
\ No newline at end of file
--- pango-1.32.6/configure.ac.orig	2013-01-19 18:11:30 +0400
+++ pango-1.32.6/configure.ac	2013-01-19 18:13:05 +0400
@@ -257,6 +257,8 @@
 # Checks for Xft/XRender
 #
 have_xft=false
+pango_include_xft=
+pango_xft_types=
 AC_ARG_WITH(xft,
   AS_HELP_STRING([--with-xft], [build xft backend]),
   [], [with_xft=yes])
@@ -265,8 +267,15 @@
 fi
 if test "x$with_xft" = xyes && $have_xft ; then
   AC_DEFINE(HAVE_XFT, 1, [Have Xft library])
+  pango_include_xft="#include <pango/pangoxft-render.h>
+#include <pango/pangoxft.h>"
+  psnho_xft_types="pango_xft_font_get_type
+pango_xft_font_map_get_type
+pango_xft_renderer_get_type"
 fi
 AM_CONDITIONAL(HAVE_XFT, test "x$with_xft" = xyes && $have_xft )
+AC_SUBST(PANGO_INCLUDE_XFT, $pango_include_xft)
+AC_SUBST(PANGO_XFT_TYPES, $pango_xft_types)
 
 #
 # Checks for Win32 GDI
@@ -935,6 +944,7 @@
 win32/vs12/Makefile
 win32/vs14/Makefile
 win32/vs15/Makefile
+docs/pango.types
 pango.pc
 pangowin32.pc
 pangoft2.pc