[Buildroot] [PATCH 04/23] package/gtk2-engines: remove package, needs libgtk2

Arnout Vandecappelle arnout at rnout.be
Thu Sep 11 19:43:58 UTC 2025



On 10/09/2025 23:32, Thomas Petazzoni via buildroot wrote:
> As we're about to remove libgtk2, let's drop gtk2-engines, which
> obviously relies on libgtk2.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>

  Applied to master, thanks.

  Regards,
  Arnout

> ---
>   Config.in.legacy                       |  7 ++
>   package/Config.in                      |  3 -
>   package/gtk2-engines/Config.in         |  5 --
>   package/gtk2-engines/gtk2-engines.hash |  4 --
>   package/gtk2-engines/gtk2-engines.mk   | 88 --------------------------
>   5 files changed, 7 insertions(+), 100 deletions(-)
>   delete mode 100644 package/gtk2-engines/Config.in
>   delete mode 100644 package/gtk2-engines/gtk2-engines.hash
>   delete mode 100644 package/gtk2-engines/gtk2-engines.mk
> 
> diff --git a/Config.in.legacy b/Config.in.legacy
> index 5badcfe259..ea23ae1b2c 100644
> --- a/Config.in.legacy
> +++ b/Config.in.legacy
> @@ -146,6 +146,13 @@ endif
>   
>   comment "Legacy options removed in 2025.11"
>   
> +config BR2_PACKAGE_GTK2_ENGINES
> +	bool "gtk2-engines has been removed"
> +	select BR2_LEGACY
> +	help
> +	  The gtk2-engines package has been removed, as libgtk2 has
> +	  been removed as well.
> +
>   config BR2_PACKAGE_GKRELLM
>   	bool "gkrellm has been removed"
>   	select BR2_LEGACY
> diff --git a/package/Config.in b/package/Config.in
> index 1b740c02f5..e42ef67d7d 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -279,9 +279,6 @@ comment "Sounds"
>   	source "package/sound-theme-borealis/Config.in"
>   	source "package/sound-theme-freedesktop/Config.in"
>   
> -comment "Themes"
> -	source "package/gtk2-engines/Config.in"
> -
>   endmenu
>   
>   menu "Games"
> diff --git a/package/gtk2-engines/Config.in b/package/gtk2-engines/Config.in
> deleted file mode 100644
> index 756a7d00f1..0000000000
> --- a/package/gtk2-engines/Config.in
> +++ /dev/null
> @@ -1,5 +0,0 @@
> -config BR2_PACKAGE_GTK2_ENGINES
> -	bool "gtk engines"
> -	depends on BR2_PACKAGE_LIBGTK2
> -	help
> -	  A collection of basic theme engines for GTK+.
> diff --git a/package/gtk2-engines/gtk2-engines.hash b/package/gtk2-engines/gtk2-engines.hash
> deleted file mode 100644
> index 71a0ecd213..0000000000
> --- a/package/gtk2-engines/gtk2-engines.hash
> +++ /dev/null
> @@ -1,4 +0,0 @@
> -# From https://download.gnome.org/sources/gtk-engines/2.20/gtk-engines-2.20.2.sha256sum
> -sha256  15b680abca6c773ecb85253521fa100dd3b8549befeecc7595b10209d62d66b5  gtk-engines-2.20.2.tar.bz2
> -# Locally computed
> -sha256  a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861  COPYING
> diff --git a/package/gtk2-engines/gtk2-engines.mk b/package/gtk2-engines/gtk2-engines.mk
> deleted file mode 100644
> index ea41bccaea..0000000000
> --- a/package/gtk2-engines/gtk2-engines.mk
> +++ /dev/null
> @@ -1,88 +0,0 @@
> -################################################################################
> -#
> -# gtk2-engines
> -#
> -################################################################################
> -
> -GTK2_ENGINES_VERSION_MAJOR = 2.20
> -GTK2_ENGINES_VERSION = $(GTK2_ENGINES_VERSION_MAJOR).2
> -GTK2_ENGINES_SOURCE = gtk-engines-$(GTK2_ENGINES_VERSION).tar.bz2
> -GTK2_ENGINES_SITE = https://download.gnome.org/sources/gtk-engines/$(GTK2_ENGINES_VERSION_MAJOR)
> -GTK2_ENGINES_DEPENDENCIES = libgtk2 host-intltool
> -GTK2_ENGINES_LICENSE = LGPL-2.1+
> -GTK2_ENGINES_LICENSE_FILES = COPYING
> -
> -GTK2_ENGINES_CONF_ENV = \
> -	ac_cv_func_posix_getpwuid_r=yes \
> -	glib_cv_stack_grows=no \
> -	glib_cv_uscore=no \
> -	ac_cv_func_strtod=yes \
> -	ac_fsusage_space=yes \
> -	fu_cv_sys_stat_statfs2_bsize=yes \
> -	ac_cv_func_closedir_void=no \
> -	ac_cv_func_getloadavg=no \
> -	ac_cv_lib_util_getloadavg=no \
> -	ac_cv_lib_getloadavg_getloadavg=no \
> -	ac_cv_func_getgroups=yes \
> -	ac_cv_func_getgroups_works=yes \
> -	ac_cv_func_chown_works=yes \
> -	ac_cv_have_decl_euidaccess=no \
> -	ac_cv_func_euidaccess=no \
> -	ac_cv_have_decl_strnlen=yes \
> -	ac_cv_func_strnlen_working=yes \
> -	ac_cv_func_lstat_dereferences_slashed_symlink=yes \
> -	ac_cv_func_lstat_empty_string_bug=no \
> -	ac_cv_func_stat_empty_string_bug=no \
> -	vb_cv_func_rename_trailing_slash_bug=no \
> -	ac_cv_have_decl_nanosleep=yes \
> -	jm_cv_func_nanosleep_works=yes \
> -	gl_cv_func_working_utimes=yes \
> -	ac_cv_func_utime_null=yes \
> -	ac_cv_have_decl_strerror_r=yes \
> -	ac_cv_func_strerror_r_char_p=no \
> -	jm_cv_func_svid_putenv=yes \
> -	ac_cv_func_getcwd_null=yes \
> -	ac_cv_func_getdelim=yes \
> -	ac_cv_func_mkstemp=yes \
> -	utils_cv_func_mkstemp_limitations=no \
> -	utils_cv_func_mkdir_trailing_slash_bug=no \
> -	jm_cv_func_gettimeofday_clobber=no \
> -	gl_cv_func_working_readdir=yes \
> -	jm_ac_cv_func_link_follows_symlink=no \
> -	utils_cv_localtime_cache=no \
> -	ac_cv_struct_st_mtim_nsec=no \
> -	gl_cv_func_tzset_clobber=no \
> -	gl_cv_func_getcwd_null=yes \
> -	gl_cv_func_getcwd_path_max=yes \
> -	ac_cv_func_fnmatch_gnu=yes \
> -	am_getline_needs_run_time_check=no \
> -	am_cv_func_working_getline=yes \
> -	gl_cv_func_mkdir_trailing_slash_bug=no \
> -	gl_cv_func_mkstemp_limitations=no \
> -	ac_cv_func_working_mktime=yes \
> -	jm_cv_func_working_re_compile_pattern=yes \
> -	ac_use_included_regex=no \
> -	gl_cv_c_restrict=no \
> -	ac_cv_path_CUPS_CONFIG=no
> -
> -GTK2_ENGINES_CONF_OPTS = \
> -	--with-x \
> -	--x-includes=$(STAGING_DIR)/usr/include/X11 \
> -	--x-libraries=$(STAGING_DIR)/usr/lib \
> -	--disable-glibtest \
> -	--enable-explicit-deps=no \
> -	--enable-clearlooks \
> -	--disable-crux \
> -	--disable-hc \
> -	--disable-industrial \
> -	--disable-mist \
> -	--disable-redmond \
> -	--disable-smooth \
> -	--disable-glide \
> -	--disable-thinice \
> -	--enable-animation \
> -	--disable-development \
> -	--disable-paranoia \
> -	--disable-deprecated
> -
> -$(eval $(autotools-package))



More information about the buildroot mailing list