yad: fix libgtk2 related dependency error
PATCH 1/2 yad: fix libgtk2 related dependency error
In reply to a message not in the archiveHi Gustavo,
Quoted 17 lines · Gustavo Zacarias
package/yad/Config.in config BR2_PACKAGE_YAD · line 8
Quoted 10 lines · Ricardo Martincoski
package/yad/Config.in +1
-0@@ -2,6 +2,7 @@ config BR2_PACKAGE_YAD bool "yad" depends on BR2_PACKAGE_XORG7 depends on BR2_PACKAGE_LIBGTK2 || BR2_PACKAGE_LIBGTK3 + select BR2_PACKAGE_LIBGTK3_X11 if BR2_PACKAGE_LIBGTK3 help YAD (yet another dialog) is a tool for create graphical dialogs from shell scripts.Hi.
This logic is severely broken, you can't force X11 if someone is using gtk3 with say broadway or wayland.
Not to mentionBR2_PACKAGE_LIBGTK3_X11depends on xorg being selected.
Thank you for your explanation.
I marked my patch as Superseded by yours
http://patchwork.ozlabs.org/patch/577916/
yad: fix libgtk3 dependency
Quoted 6 lines
package/yad/Config.in
Quoted 3 lines
package/yad/Config.in +1
-1-ifeq ($(BR2_PACKAGE_LIBGTK3_X11),y) +ifeq ($(BR2_PACKAGE_LIBGTK3),y)This isn't accurate either, you first say it needs x11 by selecting it, but you then basically say no?
My intent was to let the dependency to x11 be handled at config time. But I see now the way it currently is on the master branch is better.
Regards,
Ricardo