summaryrefslogtreecommitdiff
path: root/source/l/pygtk/pygtk-Drop-the-PangoFont-find_shaper-virtual-method.patch
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2021-01-17 23:48:59 +0000
committerEric Hameleers <alien@slackware.com>2021-01-18 08:59:51 +0100
commit16c4108efdee84a002fc181f54191cc5a98e82fc (patch)
treef0eb8d3e0657384d5f9c17c66f98d551607e85c4 /source/l/pygtk/pygtk-Drop-the-PangoFont-find_shaper-virtual-method.patch
parentcdbbea4bb74a0bfd04f1484609c725d222b40abd (diff)
downloadcurrent-16c4108efdee84a002fc181f54191cc5a98e82fc.tar.gz
Sun Jan 17 23:48:59 UTC 202120210117234859
a/kernel-generic-5.10.8-x86_64-1.txz: Upgraded. a/kernel-huge-5.10.8-x86_64-1.txz: Upgraded. a/kernel-modules-5.10.8-x86_64-1.txz: Upgraded. a/mkinitrd-1.4.11-x86_64-17.txz: Rebuilt. Upgraded to busybox-1.32.1. ap/sc-im-20200904_bdd936a-x86_64-1.txz: Upgraded. d/kernel-headers-5.10.8-x86-1.txz: Upgraded. d/python-setuptools-51.3.1-x86_64-1.txz: Upgraded. k/kernel-source-5.10.8-noarch-1.txz: Upgraded. l/libical-3.0.9-x86_64-1.txz: Upgraded. l/pulseaudio-14.2-x86_64-1.txz: Upgraded. n/ModemManager-1.14.10-x86_64-1.txz: Upgraded. n/iptables-1.8.7-x86_64-1.txz: Upgraded. n/libnftnl-1.1.9-x86_64-1.txz: Upgraded. xfce/garcon-4.16.1-x86_64-1.txz: Upgraded. xfce/xfce4-whiskermenu-plugin-2.5.2-x86_64-1.txz: Upgraded. isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to 'source/l/pygtk/pygtk-Drop-the-PangoFont-find_shaper-virtual-method.patch')
-rw-r--r--source/l/pygtk/pygtk-Drop-the-PangoFont-find_shaper-virtual-method.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/source/l/pygtk/pygtk-Drop-the-PangoFont-find_shaper-virtual-method.patch b/source/l/pygtk/pygtk-Drop-the-PangoFont-find_shaper-virtual-method.patch
new file mode 100644
index 00000000..ba4141e3
--- /dev/null
+++ b/source/l/pygtk/pygtk-Drop-the-PangoFont-find_shaper-virtual-method.patch
@@ -0,0 +1,39 @@
+From 877164b6b70780468a31d8211f29421b6f34b0c8 Mon Sep 17 00:00:00 2001
+From: Mathieu Bridon <bochecha@daitauha.fr>
+Date: Thu, 24 Oct 2019 22:58:36 +0200
+Subject: [PATCH] Drop the PangoFont find_shaper virtual method
+
+This API has been removed from Pango 1.44.6, because it was completely
+unused by anything.
+
+However, PyGTK tries to bind everything, even unused API.
+
+Removing this from PyGTK means we can build it against the latest Pango
+again.
+---
+ pango.defs | 9 ---------
+ 1 file changed, 9 deletions(-)
+
+diff --git a/pango.defs b/pango.defs
+index 2a79ecc..862667a 100644
+--- a/pango.defs
++++ b/pango.defs
+@@ -1391,15 +1391,6 @@
+ )
+ )
+
+-(define-virtual find_shaper
+- (of-object "PangoFont")
+- (return-type "PangoEngineShape*")
+- (parameters
+- '("PangoLanguage*" "lang")
+- '("guint32" "ch")
+- )
+-)
+-
+ (define-virtual get_glyph_extents
+ (of-object "PangoFont")
+ (return-type "none")
+--
+2.21.0
+