commit python-gtk for openSUSE:Factory
Hello community, here is the log from the commit of package python-gtk for openSUSE:Factory checked in at 2019-11-29 16:00:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-gtk (Old) and /work/SRC/openSUSE:Factory/.python-gtk.new.26869 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-gtk" Fri Nov 29 16:00:24 2019 rev:41 rq:751421 version:2.24.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-gtk/python-gtk.changes 2019-08-27 15:20:25.312869988 +0200 +++ /work/SRC/openSUSE:Factory/.python-gtk.new.26869/python-gtk.changes 2019-11-29 16:03:28.944791511 +0100 @@ -1,0 +2,8 @@ +Wed Nov 27 14:21:38 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org> + +- Add pygtk-Drop-the-PangoFont-find_shaper-virtual-method.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. + +------------------------------------------------------------------- New: ---- pygtk-Drop-the-PangoFont-find_shaper-virtual-method.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-gtk.spec ++++++ --- /var/tmp/diff_new_pack.fks5PW/_old 2019-11-29 16:03:29.396791325 +0100 +++ /var/tmp/diff_new_pack.fks5PW/_new 2019-11-29 16:03:29.400791324 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-gtk # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -29,6 +29,8 @@ Source: http://ftp.gnome.org/pub/GNOME/sources/pygtk/2.24/pygtk-%{version}.tar.bz2 # PATCH-FIX-UPSTREAM pygtk-2.22.0-capsule.patch bgo#623965 bnc#669802 jmatejek@novell.com -- Conditionally use the new Capsule API instead of PyCObject Patch0: pygtk-2.22.0-capsule.patch +# pygtk-Drop-the-PangoFont-find_shaper-virtual-method.patch -- Drop the PangoFont find_shaper virtual method +Patch1: https://raw.githubusercontent.com/flathub/org.glimpse_editor.Glimpse/master/... BuildRequires: fdupes # Only for directory ownership: BuildRequires: gtk-doc @@ -74,6 +76,7 @@ %prep %setup -q -n pygtk-%{version} %patch0 -p1 +%patch1 -p1 find examples -type f -name "*.py" -exec sed -i "s|#!%{_bindir}/env python|#!%{_bindir}/python2|" {} \; find examples -type f -name "*.py" -exec sed -i "s|#! %{_bindir}/env python|#!%{_bindir}/python2|" {} \; ++++++ pygtk-Drop-the-PangoFont-find_shaper-virtual-method.patch ++++++
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
participants (1)
-
root