Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-gtk for openSUSE:Factory checked in at 2024-06-21 16:02:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-gtk (Old) and /work/SRC/openSUSE:Factory/.python-gtk.new.18349 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-gtk" Fri Jun 21 16:02:24 2024 rev:46 rq:1181909 version:2.24.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-gtk/python-gtk.changes 2023-11-28 22:19:07.341164789 +0100 +++ /work/SRC/openSUSE:Factory/.python-gtk.new.18349/python-gtk.changes 2024-06-21 16:02:25.152335088 +0200 @@ -1,0 +2,6 @@ +Wed Jun 19 14:26:15 UTC 2024 - Martin Jambor <[email protected]> + +- Add pygtk2-c99.patch to fix C99 violations that prevent building of + the package with GCC 14 [boo#1225916]. + +------------------------------------------------------------------- New: ---- pygtk2-c99.patch BETA DEBUG BEGIN: New: - Add pygtk2-c99.patch to fix C99 violations that prevent building of the package with GCC 14 [boo#1225916]. BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-gtk.spec ++++++ --- /var/tmp/diff_new_pack.X4MySW/_old 2024-06-21 16:02:25.660353727 +0200 +++ /var/tmp/diff_new_pack.X4MySW/_new 2024-06-21 16:02:25.664353873 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-gtk # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -31,6 +31,9 @@ Patch0: pygtk-2.22.0-capsule.patch # PATCH-FIX-UPSTREAM pygtk-Drop-the-PangoFont-find_shaper-virtual-method.patch [email protected] -- Drop the PangoFont find_shaper virtual method Patch1: https://raw.githubusercontent.com/flathub/org.glimpse_editor.Glimpse/master/patches/pygtk-Drop-the-PangoFont-find_shaper-virtual-method.patch +# Patch to fix C99 violations [boo#1225916] +# originally from https://bugzilla.redhat.com/show_bug.cgi?id=2190017 +Patch2: pygtk2-c99.patch BuildRequires: fdupes # Only for directory ownership: BuildRequires: gtk-doc ++++++ pygtk2-c99.patch ++++++ diff --git a/pango.override b/pango.override index afe43aba3a6ebe81..3e33e1b598322096 100644 --- a/pango.override +++ b/pango.override @@ -27,6 +27,12 @@ headers #include <pygobject.h> #include <pango/pango.h> +/* These internal functions are still exported, so just declare them + here. There does not seem to be a simple way to ween pygtk2 off + them. */ +PangoFontMetrics *pango_font_metrics_new (void); +const char *pango_font_map_get_shape_engine_type (PangoFontMap *); + typedef struct { PyObject *func, *data; } PyGtkCustomNotify;
