gentoo-ebuilds/media-sound/audacious/files/audacious-4.5.1-rm_gdk_symbols.patch
Nicolas PARLANT 55bd8adbe7
media-sound/audacious: add 4.5.1
add github repo in metadata

enable the test
add missing bdeps gettext (msgfmt) and gdbus-codegen
move the skin gentoo_ice for Winamp into audacious-plugins like other skins

Winamp is only usable with X11/XWayland :
patch to avoid superfluous handling for X11/Wayland for gtk+, warn in
pkg_postinst instead

Closes: https://bugs.gentoo.org/965338
Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/44670
Signed-off-by: Sam James <sam@gentoo.org>
2025-12-04 12:16:21 +00:00

12 lines
584 B
Diff

Avoid superfluous handling for X11/Wayland with gtk+, warn in pkg_postinst intead.
--- a/src/libaudgui/init.cc
+++ b/src/libaudgui/init.cc
@@ -342,7 +342,7 @@ EXPORT void audgui_init ()
if (init_count ++)
return;
-#if defined(GDK_WINDOWING_WAYLAND) && defined(GDK_WINDOWING_X11)
+#if 0 /// Avoid handling X11/Wayland just for that. Warn in pkg_postinst instead
// Use X11/XWayland by default, but allow to overwrite it.
// Especially the Winamp interface is not usable yet on Wayland
// due to limitations regarding application-side window positioning.