[Buildroot] [PATCH 15/23] package/netsurf: drop support for gtk backend
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Wed Sep 10 21:32:23 UTC 2025
As we're about to remove the libgtk2 package, let's drop the gtk
backend from netsurf. It is worth mentioning that the gtk3 backend
remains in place as an alternative.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
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 5c3b289688..e1fe008cf5 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 backend of netsurf has been removed"
+ select BR2_LEGACY
+ help
+ Due to the removal of libgtk2, the gtk backend of netsurf
+ has been removed. The gtk3 backend 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
--
2.51.0
More information about the buildroot
mailing list