package/netsurf: drop support for gtk frontend

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@bootlin.com>
Signed-off-by: Arnout Vandecappelle <arnout@rnout.be>
This commit is contained in:
Thomas Petazzoni
2025-09-10 23:32:23 +02:00
committed by Arnout Vandecappelle
parent 86d698091f
commit cdc7ca446f
3 changed files with 8 additions and 13 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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