[Buildroot] [git commit] package/netsurf: drop support for gtk frontend
Arnout Vandecappelle
arnout at rnout.be
Thu Sep 11 20:11:32 UTC 2025
commit: https://git.buildroot.net/buildroot/commit/?id=cdc7ca446fdf639ae1398318e6cc5788192f0ced
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
As we're about to remove the libgtk2 package, let's drop the gtk
frontend from netsurf. It is worth mentioning that the gtk3 frontend
remains in place as an alternative.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
Signed-off-by: Arnout Vandecappelle <arnout at rnout.be>
---
Config.in.legacy | 8 ++++++++
package/netsurf/Config.in | 6 ------
package/netsurf/netsurf.mk | 7 -------
3 files changed, 8 insertions(+), 13 deletions(-)
diff --git a/Config.in.legacy b/Config.in.legacy
index 6abd11924c..d68106d8c1 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -146,6 +146,14 @@ endif
comment "Legacy options removed in 2025.11"
+config BR2_PACKAGE_NETSURF_GTK
+ bool "gtk frontend of netsurf has been removed"
+ select BR2_LEGACY
+ help
+ Due to the removal of libgtk2, the gtk frontend of netsurf
+ has been removed. The gtk3 frontend can be used instead for
+ example.
+
config BR2_PACKAGE_METACITY
bool "metacity has been removed"
select BR2_LEGACY
diff --git a/package/netsurf/Config.in b/package/netsurf/Config.in
index 394befcf28..dd37d876f6 100644
--- a/package/netsurf/Config.in
+++ b/package/netsurf/Config.in
@@ -40,12 +40,6 @@ config BR2_PACKAGE_NETSURF_SDL
help
Select SDL 1.2 frontend.
-config BR2_PACKAGE_NETSURF_GTK
- bool "gtk2 frontend"
- depends on BR2_PACKAGE_LIBGTK2
- help
- Select GTK+ 2 frontend.
-
config BR2_PACKAGE_NETSURF_GTK3
bool "gtk3 frontend"
depends on BR2_PACKAGE_LIBGTK3
diff --git a/package/netsurf/netsurf.mk b/package/netsurf/netsurf.mk
index 574c1423df..383cd8ab9d 100644
--- a/package/netsurf/netsurf.mk
+++ b/package/netsurf/netsurf.mk
@@ -25,17 +25,10 @@ define NETSURF_DUKTAPE_CONFIGURE_CMDS
endef
endif
-ifeq ($(BR2_PACKAGE_NETSURF_GTK),y)
-NETSURF_DEPENDENCIES += libgtk2
-NETSURF_FRONTEND = gtk2
-endif
-
ifeq ($(BR2_PACKAGE_NETSURF_GTK3),y)
NETSURF_DEPENDENCIES += libgtk3
NETSURF_FRONTEND = gtk3
-endif
-ifeq ($(BR2_PACKAGE_NETSURF_GTK)$(BR2_PACKAGE_NETSURF_GTK3),y)
ifeq ($(BR2_PACKAGE_LIBRSVG),y)
NETSURF_DEPENDENCIES += librsvg
define NETSURF_SVG_CONFIGURE_CMDS
More information about the buildroot
mailing list