dev-cpp/gtkmm: Restrict <gtkmm-4.20:4 to <gtk-4.20

Bumping gtk to 4.20.1 exposed a compilation error caused by
conflicting C++ alias declarations in gtk/src/iconpaintable.h:

  using GtkIconPaintable = struct _GtkIconPaintable;
  using GtkIconPaintableClass = struct _GtkIconPaintableClass;

Specifically, the build fails with errors like:

  error: conflicting declaration
  using GtkIconPaintableClass = struct _GtkIconPaintableClass;

These aliases were introduced in commit 04ab9653 (probably) and later
removed in commit 94959145, which fixed the conflict.

Bug: https://bugs.gentoo.org/963805
Signed-off-by: Lukas Schmelting <lschmelting@posteo.com>
Part-of: https://github.com/gentoo/gentoo/pull/44106
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Lukas Schmelting
2025-10-09 11:09:17 +02:00
committed by Sam James
parent dfcc49bd5d
commit 8e33c8d330
2 changed files with 2 additions and 0 deletions

View File

@@ -19,6 +19,7 @@ RESTRICT="!test? ( test )"
RDEPEND="
>=dev-cpp/glibmm-2.68.0:2.68[gtk-doc?]
>=gui-libs/gtk-4.14.0:4
<gui-libs/gtk-4.20:4
>=dev-cpp/cairomm-1.15.4:1.16[gtk-doc?]
>=dev-cpp/pangomm-2.50.0:2.48[gtk-doc?]
>=x11-libs/gdk-pixbuf-2.35.5:2

View File

@@ -19,6 +19,7 @@ RESTRICT="!test? ( test )"
RDEPEND="
>=dev-cpp/glibmm-2.75.0:2.68[gtk-doc?]
>=gui-libs/gtk-4.17.5:4
<gui-libs/gtk-4.20:4
>=dev-cpp/cairomm-1.15.4:1.16[gtk-doc?]
>=dev-cpp/pangomm-2.50.0:2.48[gtk-doc?]
>=x11-libs/gdk-pixbuf-2.35.5:2