From 92f2af09b172c00a7fa2030e6628df5752cee951 Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Sat, 5 Sep 2026 15:49:39 +0200 Subject: [PATCH] evolution-data-server: don't pull webkitgtk by default The oauth PACKAGECONFIG only controls the embedded webview of the built-in OAuth2 credentials prompter (ENABLE_OAUTH2_WEBKITGTK4, guarded by WITH_WEBKITGTK in e-credentials-prompter-impl-oauth2.c). OAuth2 support itself does not depend on it: json-glib is a hard requirement of the build and without WebKit the prompter offers the authentication URI for opening in the default browser, receiving the response over the org.gnome.evolution.dataserver.OAuth2Response D-Bus service. Drop oauth from the default PACKAGECONFIG so that webkitgtk is not pulled into every build that needs evolution-data-server. The option stays available for those who want the in-dialog browser. Signed-off-by: Markus Volk Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01HiauLCu6cken5wf44PijzQ Signed-off-by: Khem Raj --- .../evolution-data-server/evolution-data-server.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.bb b/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.bb index c3c4e3eae5..8ed111b334 100644 --- a/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.bb +++ b/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.bb @@ -39,7 +39,7 @@ EXTRA_OECMAKE = " \ EXTRA_OECMAKE:append:class-target = " -DG_IR_COMPILER=${STAGING_BINDIR}/g-ir-compiler-wrapper" EXTRA_OECMAKE:append:class-target = " -DG_IR_SCANNER=${STAGING_BINDIR}/g-ir-scanner-wrapper" -PACKAGECONFIG ?= "goa oauth" +PACKAGECONFIG ?= "goa" PACKAGECONFIG[canberra] = "-DENABLE_CANBERRA=ON,-DENABLE_CANBERRA=OFF,libcanberra" PACKAGECONFIG[oauth] = "-DENABLE_OAUTH2_WEBKITGTK4=ON -DENABLE_OAUTH2_WEBKITGTK=ON,-DENABLE_OAUTH2_WEBKITGTK4=OFF -DENABLE_OAUTH2_WEBKITGTK=OFF,webkitgtk json-glib"