[Buildroot] [PATCH 22/23] package/yad: drop support for gtk2
Arnout Vandecappelle
arnout at rnout.be
Thu Sep 11 21:14:20 UTC 2025
On 10/09/2025 23:32, Thomas Petazzoni via buildroot wrote:
> As we're about to remove libgtk2, we need to first drop support for
> gtk2 in yad. It continues to support gtk3.
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
> ---
> package/yad/Config.in | 8 +++-----
> package/yad/yad.mk | 3 ---
> 2 files changed, 3 insertions(+), 8 deletions(-)
>
> diff --git a/package/yad/Config.in b/package/yad/Config.in
> index 300525ee3c..4a140f63d7 100644
> --- a/package/yad/Config.in
> +++ b/package/yad/Config.in
> @@ -1,13 +1,11 @@
> config BR2_PACKAGE_YAD
> bool "yad"
> - depends on BR2_PACKAGE_XORG7
> - depends on BR2_PACKAGE_LIBGTK2 || BR2_PACKAGE_LIBGTK3_X11
> + depends on BR2_PACKAGE_LIBGTK3_X11
> help
> YAD (yet another dialog) is a tool for create graphical
> dialogs from shell scripts.
>
> http://sourceforge.net/projects/yad-dialog/
>
> -comment "yad needs libgtk2 or libgtk3 w/ X11 backend"
> - depends on BR2_PACKAGE_XORG7
> - depends on !BR2_PACKAGE_LIBGTK2 && !BR2_PACKAGE_LIBGTK3_X11
> +comment "yad needs libgtk3 w/ X11 backend"
> + depends on !BR2_PACKAGE_LIBGTK3_X11
> diff --git a/package/yad/yad.mk b/package/yad/yad.mk
> index 15788efac0..fdddb6523d 100644
> --- a/package/yad/yad.mk
> +++ b/package/yad/yad.mk
> @@ -16,9 +16,6 @@ YAD_CONF_OPTS = --enable-html=no
> ifeq ($(BR2_PACKAGE_LIBGTK3_X11),y)
Since this condition is always true, the code can be simplified to
unconditional dependencies and conf opts.
Applied to master with that changed, thanks.
Regards,
Arnout
> YAD_DEPENDENCIES += libgtk3
> YAD_CONF_OPTS += --with-gtk=gtk3
> -else
> -YAD_DEPENDENCIES += libgtk2
> -YAD_CONF_OPTS += --with-gtk=gtk2
> endif
>
> $(eval $(autotools-package))
More information about the buildroot
mailing list