From patchwork Thu Oct 3 15:50:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 49925 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id C1297CF34B8 for ; Thu, 3 Oct 2024 15:50:47 +0000 (UTC) Received: from mail-oi1-f170.google.com (mail-oi1-f170.google.com [209.85.167.170]) by mx.groups.io with SMTP id smtpd.web10.96.1727970638780892274 for ; Thu, 03 Oct 2024 08:50:38 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Pflx3oz/; spf=pass (domain: gmail.com, ip: 209.85.167.170, mailfrom: raj.khem@gmail.com) Received: by mail-oi1-f170.google.com with SMTP id 5614622812f47-3e28ac7b12bso693390b6e.3 for ; Thu, 03 Oct 2024 08:50:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727970638; x=1728575438; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=x4KwjywYRp5UhjBTIKspB1aVBWDsDVb9mKlEDUABVYc=; b=Pflx3oz/IZ32jC7l+VXfxrHK8YmN7wgTU3MwmMcsqx/yitdBQEVqkqC7SjOtZtQm+A WA1c12kuXPTm2uIsrtBizd9BgIcqMuCmTiMo2O5MulKWC3baEb98lhPyW+NVBkmYJcUc V8mUbCIAU9uGmQzstRbsvDj9M7W7XQ+D6Z9RSrIr1sj1Qt/5hooO3ttn3XkETaAKxKCY kqA2WBx/x9saG9U8rNblhZ3T9YtAO+APSx5260rEsoDP1yEJoD+cQ2hl6Yw2SbL2uNfi q67Xw1/QESU4v+u21s8lgIrpcsjTjSIJq4kjHoifZ05lRUB+eEUQKLSUc2lohfugcwxl G7Wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727970638; x=1728575438; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=x4KwjywYRp5UhjBTIKspB1aVBWDsDVb9mKlEDUABVYc=; b=Ot+6wmtMBx/ygcIT12CP4V26okfE+llrDxxJtqlVmBLtg8vAPOCOBllNoi9FB02wmQ BQUya2ZAKgWwfpuJst45MdE7RDIYSuVmHC9D2gKmT8XN5WxxyUSSAAnPcqivQdmoBJHb L7I1P0dRHHTVOFuvx9xQcmQ7n/5+XBdV5LE5pULW2GDifqMKbyFM8oTM0XVMGECBf+9X hpuPxOPaByhKBgoQU0JPJSTk9GXOQPB4/SrP5Cnah8ujFhcZZ6FajwXSsyMdBBYvdEQR U+FCSu9BhtrVsJWbLzkOObV4nTjtuU9dvPoB0CntA9zWjwbtm1iL/1Q33XQGl9OOs84h Hn6g== X-Gm-Message-State: AOJu0YyPA++thK2Vvqlu1+d8NH+HuKxAw6NrEy49oX2N28JlPd9mxroj sWNQMPAxXxGg7ce5oxUHJw9skuC4D+b0sUV4YPqSf/cvod9yEJPHbBTWeJ33 X-Google-Smtp-Source: AGHT+IGXDw+zlTIDKuzvQOpVgOLay3gFJwtVW8V07w//Jl50h9q4E1Q1A3vEzhyHBwYsf58hW1CsYA== X-Received: by 2002:a05:6808:3009:b0:3e0:5c45:454c with SMTP id 5614622812f47-3e3b416a707mr6185022b6e.29.1727970637838; Thu, 03 Oct 2024 08:50:37 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9d80:4380::1340]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7e9dbcf0a73sm983311a12.10.2024.10.03.08.50.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2024 08:50:37 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 1/2] webkitgtk3: Always use -g1 for debug flags Date: Thu, 3 Oct 2024 08:50:34 -0700 Message-ID: <20241003155035.1070562-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.46.2 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 03 Oct 2024 15:50:47 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/112650 Ensures that debugging symbols do not explode modeled on oe-core commit [1] [1] https://git.openembedded.org/openembedded-core/commit/?id=9badf68d78d995f7d5d4cf27e045f029fc6d4044 Signed-off-by: Khem Raj --- meta-oe/recipes-support/webkitgtk/webkitgtk3_2.44.3.bb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.44.3.bb b/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.44.3.bb index 9493d86422..0dadf570e2 100644 --- a/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.44.3.bb +++ b/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.44.3.bb @@ -93,9 +93,8 @@ EXTRA_OECMAKE = " \ -DENABLE_MINIBROWSER=ON \ -DCMAKE_EXPORT_COMPILE_COMMANDS=OFF \ " -# Unless DEBUG_BUILD is enabled, pass -g1 to massively reduce the size of the -# debug symbols (4.3GB to 700M at time of writing) -DEBUG_FLAGS:append = "${@oe.utils.vartrue('DEBUG_BUILD', '', ' -g1', d)}" +# pass -g1 to massively reduce the size of the debug symbols (4.3GB to 700M at time of writing) +DEBUG_LEVELFLAG = "-g1" # Javascript JIT is not supported on ARC EXTRA_OECMAKE:append:arc = " -DENABLE_JIT=OFF " From patchwork Thu Oct 3 15:50:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 49924 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id C12C8CF34B9 for ; Thu, 3 Oct 2024 15:50:47 +0000 (UTC) Received: from mail-oi1-f176.google.com (mail-oi1-f176.google.com [209.85.167.176]) by mx.groups.io with SMTP id smtpd.web11.109.1727970639513366132 for ; Thu, 03 Oct 2024 08:50:39 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=K4n48nIl; spf=pass (domain: gmail.com, ip: 209.85.167.176, mailfrom: raj.khem@gmail.com) Received: by mail-oi1-f176.google.com with SMTP id 5614622812f47-3e0719668e8so574850b6e.0 for ; Thu, 03 Oct 2024 08:50:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727970638; x=1728575438; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ZPUNfEEQI/qQXg7Dac1Rfik4tv3vqL6wIDqCso/rBng=; b=K4n48nIlnQZuWgJFuoCbPCkCFM3jsz4j20fMS7fHmupNmPQBORUZpDi5OomqhkpcJS fVlof27QU0JhOGW4hUFo6Hib+W8Na4+DAKlSSYNqaY2c/dtzvi4k7CbS75nRbunmqVzh aheRPG0LGsm7VrjVp75lJBfS8dCt6m/GCEK0tHSyBj4Vs0A8UXlBR8FmfH5hQdfSFnSX EtMkQfebVIHeJLh+ItDCatzAoMKUxhcTGoUQATlvFaGHHTqDOTIXHEAOhODe7422gKeN yT6In3hr1xgLMnMH8yN9MpJRabhB4TTzwCXaB23fimVt3etLuWKoJCUJFHkoqDCY+aLg 6weg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727970638; x=1728575438; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZPUNfEEQI/qQXg7Dac1Rfik4tv3vqL6wIDqCso/rBng=; b=fG/HJsDZRVAHRrD4Ltkft9DQE8JhiQJgKvG7mKSLqGcqqFyvSN09UH9KMkPGv79Cho uAnK1fg6WwbnKtjT5BnZwgBhgIDrbL/9vFiE0CRlrfubxbabv2lzKYhPmDf83Aob0rvY lPxmHgraoNps+d9TK6lS2nUiEKocISB+SphDSoQXWL4WG7cY0fhNI6/sHGRDZ7X/LhBr B5XkJ/8psiTLW5An/zpOjBLc6iSuSKqn6wSmYystztMmn4/H6jyZUuadowEJXKPaWjG2 uolpnk30FhYXX26ksG0GKvOYAcmlOqkm0BgQ8Le0cTU7fcthloCcMF/S4oOoVrqMuvTd 4sUQ== X-Gm-Message-State: AOJu0YxO2+Bi93PmmULPApcINf8tvlWVcO9AD59/wHB67L/dWQe0SLyF OCzsewpB+r9TDOm2FFdt7B+DOX9ZKzAEuOCsYXA1SBNczLoWL/FaiB4FtC4K X-Google-Smtp-Source: AGHT+IFHc2zgFgg2N4FrdYZdMsZyNRn28Xt2mc+Fq2HxljUn620OuCGLpWX0ucghtHxHIwi+97sG+Q== X-Received: by 2002:a05:6808:1806:b0:3e3:8be6:c4f5 with SMTP id 5614622812f47-3e3b417b5cemr5116159b6e.45.1727970638605; Thu, 03 Oct 2024 08:50:38 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9d80:4380::1340]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7e9dbcf0a73sm983311a12.10.2024.10.03.08.50.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2024 08:50:38 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 2/2] webkitgtk3: Fix build break with latest gir Date: Thu, 3 Oct 2024 08:50:35 -0700 Message-ID: <20241003155035.1070562-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.46.2 In-Reply-To: <20241003155035.1070562-1-raj.khem@gmail.com> References: <20241003155035.1070562-1-raj.khem@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 03 Oct 2024 15:50:47 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/112651 Reported with clang-19 Signed-off-by: Khem Raj --- ...b1773bff2ef7c3b867ab019d69faa36c010d.patch | 33 +++++++++++++++++++ .../webkitgtk/webkitgtk3_2.44.3.bb | 1 + 2 files changed, 34 insertions(+) create mode 100644 meta-oe/recipes-support/webkitgtk/webkitgtk3/fff1b1773bff2ef7c3b867ab019d69faa36c010d.patch diff --git a/meta-oe/recipes-support/webkitgtk/webkitgtk3/fff1b1773bff2ef7c3b867ab019d69faa36c010d.patch b/meta-oe/recipes-support/webkitgtk/webkitgtk3/fff1b1773bff2ef7c3b867ab019d69faa36c010d.patch new file mode 100644 index 0000000000..3d76aa4e4d --- /dev/null +++ b/meta-oe/recipes-support/webkitgtk/webkitgtk3/fff1b1773bff2ef7c3b867ab019d69faa36c010d.patch @@ -0,0 +1,33 @@ +From fff1b1773bff2ef7c3b867ab019d69faa36c010d Mon Sep 17 00:00:00 2001 +From: Michael Catanzaro +Date: Wed, 3 Jul 2024 13:36:54 -0700 +Subject: [PATCH] WebKitDOMEventTarget.h:95: Warning: WebKit2WebExtension: + invalid "scope" annotation: only valid on callback parameters + https://bugs.webkit.org/show_bug.cgi?id=276180 + +Unreviewed build fix. + +Emmanuele recommends using (type gpointer) for the GCallback parameter +of webkit_dom_event_target_remove_event_listener, since it won't be +called and is therefore not functioning as a callback. + +* Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMEventTarget.h: + +Canonical link: https://commits.webkit.org/280639@main +Upstream-Status: Backport [https://github.com/WebKit/WebKit/commit/fff1b1773bff2ef7c3b867ab019d69faa36c010d] +Signed-off-by: Khem Raj +--- + .../InjectedBundle/API/gtk/DOM/WebKitDOMEventTarget.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMEventTarget.h ++++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMEventTarget.h +@@ -92,7 +92,7 @@ WEBKIT_DEPRECATED gboolean webkit_dom_e + * webkit_dom_event_target_remove_event_listener: + * @target: A #WebKitDOMEventTarget + * @event_name: A #gchar +- * @handler: (scope call): A #GCallback ++ * @handler: (type gpointer): A #GCallback + * @use_capture: A #gboolean + * + * Returns: a #gboolean diff --git a/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.44.3.bb b/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.44.3.bb index 0dadf570e2..01eefe13de 100644 --- a/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.44.3.bb +++ b/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.44.3.bb @@ -16,6 +16,7 @@ SRC_URI = "https://www.webkitgtk.org/releases/webkitgtk-${PV}.tar.xz \ file://0001-LowLevelInterpreter.cpp-339-21-error-t6-was-not-decl.patch \ file://30e1d5e22213fdaca2a29ec3400c927d710a37a8.patch \ file://0001-Fix-build-issues-with-latest-Clang.patch \ + file://fff1b1773bff2ef7c3b867ab019d69faa36c010d.patch \ " SRC_URI[sha256sum] = "dc82d042ecaca981a4852357c06e5235743319cf10a94cd36ad41b97883a0b54"