]> git.draconx.ca Git - gentoo-fixes.git/blob - dev-python/pygtk/files/pygtk-2.24.0-pango-1.44.patch
Resurrect dev-python/pygtk.
[gentoo-fixes.git] / dev-python / pygtk / files / pygtk-2.24.0-pango-1.44.patch
1 From 4aaa48eb80c6802aec6d03e5695d2a0ff20e0fc2 Mon Sep 17 00:00:00 2001
2 From: Jordan Petridis <jpetridis@gnome.org>
3 Date: Thu, 24 Oct 2019 22:58:36 +0200
4 Subject: [PATCH] Drop the PangoFont find_shaper virtual method
5
6 This API has been removed from Pango 1.44.6, because it was completely
7 unused by anything.
8
9 However, PyGTK tries to bind everything, even unused API.
10
11 Removing this from PyGTK means we can build it against the latest Pango
12 again.
13
14 https://gitlab.gnome.org/GNOME/pango/issues/417
15 ---
16  pango.defs | 9 ---------
17  1 file changed, 9 deletions(-)
18
19 diff --git a/pango.defs b/pango.defs
20 index 6935c964..da968f58 100644
21 --- a/pango.defs
22 +++ b/pango.defs
23 @@ -1391,15 +1391,6 @@
24    )
25  )
26  
27 -(define-virtual find_shaper
28 -  (of-object "PangoFont")
29 -  (return-type "PangoEngineShape*")
30 -  (parameters
31 -    '("PangoLanguage*" "lang")
32 -    '("guint32" "ch")
33 -  )
34 -)
35 -
36  (define-virtual get_glyph_extents
37    (of-object "PangoFont")
38    (return-type "none")
39 -- 
40 2.24.1
41