[Buildroot] [PATCH 03/23] package/gkrellm: remove package, needs libgtk2

Arnout Vandecappelle arnout at rnout.be
Thu Sep 11 19:36:06 UTC 2025



On 10/09/2025 23:32, Thomas Petazzoni via buildroot wrote:
> The gkrellm client needs libgtk2, which we are about to drop from
> Buildroot.
> 
> Even though gkrellm has a somewhat active upstream at
> https://git.srcbox.net/gkrellm/gkrellm, it isn't clear whether it is
> compatible with Gtk 3 or not.
> 
> Since building just the server isn't very useful, this commit drops
> the gkrellm package entirely, which is anyway not fitting well within
> the scope of Buildroot, which doesn't include building a full desktop
> environment: gkrellm is unlikely to be useful in typical embedded
> use-cases.
> 
> Cc: Bernd Kuhls <bernd at kuhls.net>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>

  Replaced by Bernd's patch.

  Regards,
  Arnout

> ---
>   Config.in.legacy             |  8 +++++
>   DEVELOPERS                   |  1 -
>   package/Config.in            |  1 -
>   package/gkrellm/Config.in    | 43 --------------------------
>   package/gkrellm/gkrellm.hash |  4 ---
>   package/gkrellm/gkrellm.mk   | 60 ------------------------------------
>   6 files changed, 8 insertions(+), 109 deletions(-)
>   delete mode 100644 package/gkrellm/Config.in
>   delete mode 100644 package/gkrellm/gkrellm.hash
>   delete mode 100644 package/gkrellm/gkrellm.mk
> 
> diff --git a/Config.in.legacy b/Config.in.legacy
> index 4bb160c4a3..5badcfe259 100644
> --- a/Config.in.legacy
> +++ b/Config.in.legacy
> @@ -146,6 +146,14 @@ endif
>   
>   comment "Legacy options removed in 2025.11"
>   
> +config BR2_PACKAGE_GKRELLM
> +	bool "gkrellm has been removed"
> +	select BR2_LEGACY
> +	help
> +	  The gkrellm package has been removed, as its client required
> +	  libgtk2, which was removed from Buildroot, and just the
> +	  gkrellm server isn't that useful.
> +
>   config BR2_PACKAGE_CWIID_WMGUI
>   	bool "cwiid wmgui has been removed"
>   	select BR2_LEGACY
> diff --git a/DEVELOPERS b/DEVELOPERS
> index 16d9ee892b..7374e389fe 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -381,7 +381,6 @@ F:	package/freetype/
>   F:	package/fstrcmp/
>   F:	package/ghostscript/
>   F:	package/giflib/
> -F:	package/gkrellm/
>   F:	package/gpsd/
>   F:	package/gptfdisk/
>   F:	package/hddtemp/
> diff --git a/package/Config.in b/package/Config.in
> index 5ac6dc6972..1b740c02f5 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -2870,7 +2870,6 @@ menu "System tools"
>   	source "package/fluent-bit/Config.in"
>   	source "package/ftop/Config.in"
>   	source "package/getent/Config.in"
> -	source "package/gkrellm/Config.in"
>   	source "package/htop/Config.in"
>   	source "package/hwclock-initscript/Config.in"
>   	source "package/ibm-sw-tpm2/Config.in"
> diff --git a/package/gkrellm/Config.in b/package/gkrellm/Config.in
> deleted file mode 100644
> index e957c058de..0000000000
> --- a/package/gkrellm/Config.in
> +++ /dev/null
> @@ -1,43 +0,0 @@
> -config BR2_PACKAGE_GKRELLM
> -	bool "gkrellm"
> -	depends on BR2_USE_WCHAR # libglib2
> -	depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
> -	depends on BR2_USE_MMU # libglib2
> -	select BR2_PACKAGE_GKRELLM_SERVER if !BR2_PACKAGE_GKRELLM_CLIENT
> -	select BR2_PACKAGE_LIBGLIB2
> -	help
> -	  GKrellM is a single process stack of system monitors which
> -	  supports applying themes to match its appearance to your
> -	  window manager, Gtk, or any other theme.
> -
> -	  http://gkrellm.srcbox.net/
> -
> -if BR2_PACKAGE_GKRELLM
> -
> -config BR2_PACKAGE_GKRELLM_SERVER
> -	bool "server"
> -	help
> -	  Enable gkrellm server.
> -
> -config BR2_PACKAGE_GKRELLM_CLIENT
> -	bool "client"
> -	depends on BR2_PACKAGE_XORG7 # libgtk2
> -	depends on BR2_INSTALL_LIBSTDCPP # libgtk2
> -	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libgtk2
> -	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # libgtk2
> -	select BR2_PACKAGE_LIBGTK2
> -	select BR2_PACKAGE_XLIB_LIBSM
> -	help
> -	  Enable gkrellm client.
> -
> -comment "client needs a toolchain w/ C++, gcc >= 4.8"
> -	depends on BR2_TOOLCHAIN_HAS_SYNC_4
> -	depends on BR2_PACKAGE_XORG7
> -	depends on !BR2_INSTALL_LIBSTDCPP || \
> -		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
> -
> -endif # BR2_PACKAGE_GKRELLM
> -
> -comment "gkrellm needs a toolchain w/ wchar, threads"
> -	depends on BR2_USE_MMU
> -	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
> diff --git a/package/gkrellm/gkrellm.hash b/package/gkrellm/gkrellm.hash
> deleted file mode 100644
> index 27ba276efa..0000000000
> --- a/package/gkrellm/gkrellm.hash
> +++ /dev/null
> @@ -1,4 +0,0 @@
> -# Locally computed
> -sha256  6f83665760b936ad4b55f9182b1ec7601faf38a0f25ea1e4bddc9965088f032d  gkrellm-2.4.0.tar.bz2
> -sha256  691de85c3c6eeda5b6982c751548575344739ce4b4418d78905e599359f6c435  COPYING
> -sha256  a4bb0b604fe7d40ca4469ffd5e2e2de70ff8ece43e47980ab2c8962d5e913330  COPYRIGHT
> diff --git a/package/gkrellm/gkrellm.mk b/package/gkrellm/gkrellm.mk
> deleted file mode 100644
> index 165b71c7c8..0000000000
> --- a/package/gkrellm/gkrellm.mk
> +++ /dev/null
> @@ -1,60 +0,0 @@
> -################################################################################
> -#
> -# gkrellm
> -#
> -################################################################################
> -
> -GKRELLM_VERSION = 2.4.0
> -GKRELLM_SITE = http://gkrellm.srcbox.net/releases
> -GKRELLM_SOURCE = gkrellm-$(GKRELLM_VERSION).tar.bz2
> -GKRELLM_LICENSE = GPL-3.0+
> -GKRELLM_LICENSE_FILES = COPYING COPYRIGHT
> -GKRELLM_DEPENDENCIES = host-pkgconf libglib2 $(TARGET_NLS_DEPENDENCIES)
> -GKRELLM_BUILD_OPTS = \
> -	STRIP="" \
> -	SYS_LIBS="$(GKRELLM_SYS_LIBS)"
> -
> -GKRELLM_SYS_LIBS = $(TARGET_NLS_LIBS)
> -
> -ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
> -GKRELLM_SYS_LIBS += -latomic
> -endif
> -
> -ifeq ($(BR2_PACKAGE_LM_SENSORS),y)
> -GKRELLM_DEPENDENCIES += lm-sensors
> -else
> -GKRELLM_BUILD_OPTS += without-libsensors=yes
> -endif
> -
> -ifeq ($(BR2_SYSTEM_ENABLE_NLS),y)
> -GKRELLM_BUILD_OPTS += enable_nls=1
> -else
> -GKRELLM_BUILD_OPTS += enable_nls=0
> -endif
> -
> -ifeq ($(BR2_PACKAGE_GKRELLM_SERVER)$(BR2_PACKAGE_GKRELLM_CLIENT),yy)
> -GKRELLM_BUILD_DIR = $(@D)
> -else ifeq ($(BR2_PACKAGE_GKRELLM_SERVER),y)
> -GKRELLM_BUILD_DIR = $(@D)/server
> -else
> -GKRELLM_BUILD_DIR = $(@D)/src
> -endif
> -
> -ifeq ($(BR2_PACKAGE_GKRELLM_CLIENT),y)
> -GKRELLM_DEPENDENCIES += libgtk2 xlib_libSM
> -GKRELLM_BUILD_OPTS += X11_LIBS="-lX11 -lSM -lICE"
> -GKRELLM_LICENSE += GPL (base64.c), Public Domain (md5.h, md5c.c)
> -endif
> -
> -define GKRELLM_BUILD_CMDS
> -	$(TARGET_CONFIGURE_OPTS) $(TARGET_MAKE_ENV) $(MAKE) \
> -		-C $(GKRELLM_BUILD_DIR) $(GKRELLM_BUILD_OPTS)
> -endef
> -
> -define GKRELLM_INSTALL_TARGET_CMDS
> -	$(TARGET_CONFIGURE_OPTS) $(TARGET_MAKE_ENV) $(MAKE) \
> -		-C $(GKRELLM_BUILD_DIR) $(GKRELLM_BUILD_OPTS) \
> -		INSTALLROOT=$(TARGET_DIR)/usr install
> -endef
> -
> -$(eval $(generic-package))



More information about the buildroot mailing list