From patchwork Wed May 3 17:23:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 23352 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 3F305C7EE26 for ; Wed, 3 May 2023 17:24:11 +0000 (UTC) Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) by mx.groups.io with SMTP id smtpd.web11.26074.1683134642174715332 for ; Wed, 03 May 2023 10:24:02 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=Gyy65Z13; spf=pass (domain: gmail.com, ip: 209.85.221.50, mailfrom: martin.jansa@gmail.com) Received: by mail-wr1-f50.google.com with SMTP id ffacd0b85a97d-2f6401ce8f8so3488124f8f.3 for ; Wed, 03 May 2023 10:24:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683134640; x=1685726640; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=wHPKUUBfZRSfVlFuo303CvK5y3hdtqYFnnu1EN8xjes=; b=Gyy65Z13HVm+tVFBSWu7zSs4GM5jXGo3HEAnc5rEIcuvyQamq2Q37yvhv4HDZ2zIxm eBHIAYWdQh/1y6rxWG7kT8rUg+6Bs7N4tcQUAmpGaZ1rr+DRtuvzH7wgpaoCTLkzYUUL g80vXbqx5t1K8lJBg7Go/O+KWzMvh3yMnj0KXfCBF719elwrZzvSQBeEcgBcxMQClrGo 6bVFN2BFBGy9KHPeFLEBToZQmAVE362h+IGEu0VWHKZy2owZeyeor4J4nOcrbB1hBK/E LF/Rjd8EyJFX21h9U1WRT5o0+JiwE8NMskzNDGGsTiTRz9g+w9/B95s1k65GqFRyQgWE CNkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683134640; x=1685726640; 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=wHPKUUBfZRSfVlFuo303CvK5y3hdtqYFnnu1EN8xjes=; b=jUgBEFoEtpb4d78rrx6KQ7qIDC+svZpHKGwr7PgMAArRO8+vD8Gwa53qrwk9Lgv6o8 z4pV7qYwm96YlLMiysXTwTJWK9QIHoZjL8xBc1VoLOUbBMRynZB0n9F9eU/7zPxMS+Kf vvqxcHr8mGcwcomVwgyFvBqXvygsV19cNiNdlsFZYbm8QllQ3oZzP8yiKKODY23WM9Rl Ozl1OZguoAGlRk500cxMp384B4oet4FhYx8KnsoBhuj4V96er8A9EUHwDhuGAZZ7ekd5 UioYYmYxRXz6y7d/96f2JSdeEVNX/YtiSnwe2iHWcMKKOo6TpYhpsIPzWQcFJqTvjc16 y5FA== X-Gm-Message-State: AC+VfDzYRUiaSgJcOVrfSZyn/VNJup2t2whiaAJuuZWhcDHyDogGQIat VP+Jmy2HZq0Uf2tOkV5Uzo3HKT1Pp3Q= X-Google-Smtp-Source: ACHHUZ4dWCKtpdJN5ftYcjeoWLOH8XAjuiAkvZMJwYTCvq77ETVRhgY8fRHVKs7r/dFnMIPcydkYqw== X-Received: by 2002:adf:f205:0:b0:306:36ef:2e3b with SMTP id p5-20020adff205000000b0030636ef2e3bmr615215wro.70.1683134640419; Wed, 03 May 2023 10:24:00 -0700 (PDT) Received: from localhost (ip-109-238-218-228.aim-net.cz. [109.238.218.228]) by smtp.gmail.com with ESMTPSA id b9-20020adfee89000000b002f777345d21sm34256252wro.95.2023.05.03.10.23.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 May 2023 10:24:00 -0700 (PDT) From: Martin Jansa X-Google-Original-From: Martin Jansa To: openembedded-devel@lists.openembedded.org Cc: Martin Jansa Subject: [meta-oe][PATCH 1/7] libreport: add dependency on libarchive Date: Wed, 3 May 2023 19:23:48 +0200 Message-Id: <20230503172354.1439352-1-Martin.Jansa@gmail.com> X-Mailer: git-send-email 2.40.1 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 ; Wed, 03 May 2023 17:24:11 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/102291 * it's often pulled by elfutils when debuginfod is in DISTRO_FEATURES, but when it isn't, it fails with: http://errors.yoctoproject.org/Errors/Details/702773/ checking for libarchive... no configure: error: Package requirements (libarchive) were not met: No package 'libarchive' found Signed-off-by: Martin Jansa --- meta-oe/recipes-extended/libreport/libreport_2.17.8.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-extended/libreport/libreport_2.17.8.bb b/meta-oe/recipes-extended/libreport/libreport_2.17.8.bb index a8d1db65bf..1f2c55c699 100644 --- a/meta-oe/recipes-extended/libreport/libreport_2.17.8.bb +++ b/meta-oe/recipes-extended/libreport/libreport_2.17.8.bb @@ -4,7 +4,7 @@ SUMMARY = "Generic library for reporting various problems" HOMEPAGE = "https://abrt.readthedocs.org/" LICENSE = "GPL-2.0-or-later" DEPENDS = "xmlrpc-c xmlrpc-c-native intltool-native \ - json-c libtar libnewt libproxy rpm \ + json-c libarchive libtar libnewt libproxy rpm \ augeas satyr systemd \ " From patchwork Wed May 3 17:23:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 23351 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 4025AC7EE29 for ; Wed, 3 May 2023 17:24:11 +0000 (UTC) Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) by mx.groups.io with SMTP id smtpd.web10.26201.1683134642865359545 for ; Wed, 03 May 2023 10:24:03 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=fCGgAiJX; spf=pass (domain: gmail.com, ip: 209.85.221.50, mailfrom: martin.jansa@gmail.com) Received: by mail-wr1-f50.google.com with SMTP id ffacd0b85a97d-2fddb442d47so5167125f8f.2 for ; Wed, 03 May 2023 10:24:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683134641; x=1685726641; 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=YdPgmCfy1GsYYrPPzT+kkKWReAwWItEV1BJf6fo+R0g=; b=fCGgAiJXweesbwrM/AOgIC7t27AHmRHzyliAYzPGGkzZrhL6YVgfLWLLiul78ZBKW/ lo+pPsHgO+6TQIfDnhKN9LabWrQCoMehT4QfHn0Fo44w4U86jVBUxNr8/Iiyq4krwuBJ F6q1HaxymIWeGUZqMRvag8Lw0/+iyw4v+XJl590S9mx2yh5QcAzPCdB0/sMoUOpKR/yT ELnquKtq/odFbnMHD2/Ut2uHHh1bLuiPcZnp7SBsbtIO5TmXqQBKiFNXBH/oD0TrZ13/ r8oxZCWqyUKRhTdrL9HS6TzSozEKqdEOxeL/eEjtJezshvp3A8H8fhmNHUqOwKv1LFph o4+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683134641; x=1685726641; 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=YdPgmCfy1GsYYrPPzT+kkKWReAwWItEV1BJf6fo+R0g=; b=UelRt1Vt4nGM4+D4iKHX6nU+sWyRrfnf8ni4jGupvsnsXZCVPub+qxwx9leuYUjcTn /9NWk/9c2pReKs16tmiBqEulXduhTUXzx1+XsFojRSIyVbMUIcJGtNOuhN9iGls7vFDw cyXxfHEaIqjQx0UscrSAYHlsbDxyI2sUJkys9OuaFs+RmzPD2RxC01EDjcrPNy4nNt8h YG+PjfiPJ8dAEdDyhclTZhP2qggg0dNe283SC661IeWFbrgl27zVegZV0SgEH0gT3zvM QmT6GCYP1rsdWcMDHkZMKQKFjFH2v++vE1Jy+8ZJrp091oPV9lRj15S5NyQTYvydwEJn mLhA== X-Gm-Message-State: AC+VfDy4bfBht5YpXlWGozVui5yd2kl2gepd4nITj/OwA+JD6BjCLDlp AfRmcYdEHGNLEI0OOUGsxB29XHhtYPw= X-Google-Smtp-Source: ACHHUZ7DDSPkyMWvP63/JL3pk3+nEPr6C1ItNoEc9+A8NMi34H033YoU06CuG1yjjEoNvpLD1BFoyw== X-Received: by 2002:a05:6000:1363:b0:306:2cf5:79dc with SMTP id q3-20020a056000136300b003062cf579dcmr615708wrz.35.1683134641112; Wed, 03 May 2023 10:24:01 -0700 (PDT) Received: from localhost (ip-109-238-218-228.aim-net.cz. [109.238.218.228]) by smtp.gmail.com with ESMTPSA id k10-20020a5d428a000000b00306337e5464sm6496945wrq.44.2023.05.03.10.24.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 May 2023 10:24:00 -0700 (PDT) From: Martin Jansa X-Google-Original-From: Martin Jansa To: openembedded-devel@lists.openembedded.org Cc: Martin Jansa Subject: [meta-oe][PATCH 2/7] libxmlb: add missing dependency on glib-2.0 and xz Date: Wed, 3 May 2023 19:23:49 +0200 Message-Id: <20230503172354.1439352-2-Martin.Jansa@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230503172354.1439352-1-Martin.Jansa@gmail.com> References: <20230503172354.1439352-1-Martin.Jansa@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 ; Wed, 03 May 2023 17:24:11 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/102292 * without gobject-introspection-data in DISTRO_FEATURES it fails with: http://errors.yoctoproject.org/Errors/Details/702774/ Run-time dependency gio-2.0 found: NO (tried pkgconfig) ../git/meson.build:119:0: ERROR: Dependency gio-2.0 not found, tried pkgconfig and http://errors.yoctoproject.org/Errors/Details/702777/ Run-time dependency liblzma found: NO (tried pkgconfig) ../git/meson.build:121:0: ERROR: Dependency liblzma not found, tried pkgconfig Signed-off-by: Martin Jansa --- meta-oe/recipes-gnome/libxmlb/libxmlb_0.3.10.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-oe/recipes-gnome/libxmlb/libxmlb_0.3.10.bb b/meta-oe/recipes-gnome/libxmlb/libxmlb_0.3.10.bb index 3366b7e7f9..61abd07fda 100644 --- a/meta-oe/recipes-gnome/libxmlb/libxmlb_0.3.10.bb +++ b/meta-oe/recipes-gnome/libxmlb/libxmlb_0.3.10.bb @@ -8,6 +8,8 @@ SRC_URI = "git://github.com/hughsie/libxmlb.git;branch=main;protocol=https \ SRCREV = "a6cac6a715d57c393bbddee4d0381ad943341af9" S = "${WORKDIR}/git" +DEPENDS = "glib-2.0 xz" + inherit gobject-introspection gtk-doc meson ptest-gnome lib_package PACKAGECONFIG ??= "\ From patchwork Wed May 3 17:23:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 23356 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 4E80FC7EE2D for ; Wed, 3 May 2023 17:24:11 +0000 (UTC) Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) by mx.groups.io with SMTP id smtpd.web11.26076.1683134643483445777 for ; Wed, 03 May 2023 10:24:03 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=cNjFU6yF; spf=pass (domain: gmail.com, ip: 209.85.128.51, mailfrom: martin.jansa@gmail.com) Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-3f18335a870so34397845e9.0 for ; Wed, 03 May 2023 10:24:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683134642; x=1685726642; 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=rJyMsw7dWMbci8VaDEaQ0PeEmTNYYTIYm3zwNKBSRZw=; b=cNjFU6yF/VcQaftcignsGvD+e1dMTnTs5at4UczdUqy4auzI9OuFn/gl5o29yNox8F Ei69J8RpY+oE8Ix9eWwGAUt9Tc/FfBNV//FVQJ9Iw0NBqnIs6n0Qd5wMTRKqEfpY8//7 ZFqARkzq9h8sxZVyfkArYwcSk6gtDyfFB+Snp9QTDFAD8424Dj6LdDp3y1l8GcCDaU3u lbl1tuVAvNDyHCGYKa8Z9cXiTLZcSmDjDfguLzEx7VLdOM0ScrZHcn06/XN7cr49kf4d JpL4RqK7GkWNHhABuk55PUOuHBWs/Hav7Bh8/RXf/IqJp4fnvTXVmS2pC3RGER0xWJCT oyIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683134642; x=1685726642; 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=rJyMsw7dWMbci8VaDEaQ0PeEmTNYYTIYm3zwNKBSRZw=; b=gGC2yjbLMPSXx3Em8IZGWah99f6A4wcwcreGocC5ktpbWu0+o3ASUcJO2tPmB5VruP vCVNXe9F14nPGKtUZCpYBu83ROtPT3Bs0HRHruvnUGMxfB0KSFOOtvtEYmT1sCRRBV37 X2zywAyyouwV1rmvBX9vkpjCP8BzWwNZFuzTdTM4w0FBYDT5b1C9wYcCPO8JS4eDV356 N4yta8kEActiduMXC1L88PC2Zggw04wtAen9PdYPacdqzcgQLam4UX/0/0gsKFT7UQk5 0K6CsGCZ+Hs9mAJh6zEYDU84m/C0xX9TV9R7QovAxmAwtufv1zVG77dR9sX2IsxfX42O EvTw== X-Gm-Message-State: AC+VfDxwKotwbxllo+uj0FCQXdy/KR25A+Ec8ElMQ35tS98HPW//UnAE xow4edtP2nr3L6VvfMyhrNSP4KCAxgY= X-Google-Smtp-Source: ACHHUZ5gJcUbiiPNiPCliVm/mvYoDqxV6s2mzqEmsImAI907hncz6PCJENb0pnwdNypA6Hu2K214Lw== X-Received: by 2002:a05:600c:22d2:b0:3f1:6fef:9862 with SMTP id 18-20020a05600c22d200b003f16fef9862mr15485013wmg.13.1683134641762; Wed, 03 May 2023 10:24:01 -0700 (PDT) Received: from localhost (ip-109-238-218-228.aim-net.cz. [109.238.218.228]) by smtp.gmail.com with ESMTPSA id y10-20020a7bcd8a000000b003f16fc33fbesm2452964wmj.17.2023.05.03.10.24.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 May 2023 10:24:01 -0700 (PDT) From: Martin Jansa X-Google-Original-From: Martin Jansa To: openembedded-devel@lists.openembedded.org Cc: Martin Jansa Subject: [meta-oe][PATCH 3/7] geoclue: fix build without gobject-introspection-data Date: Wed, 3 May 2023 19:23:50 +0200 Message-Id: <20230503172354.1439352-3-Martin.Jansa@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230503172354.1439352-1-Martin.Jansa@gmail.com> References: <20230503172354.1439352-1-Martin.Jansa@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 ; Wed, 03 May 2023 17:24:11 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/102293 Signed-off-by: Martin Jansa --- ...-try-to-use-g-ir-scanner-when-intros.patch | 30 +++++++++++++++++++ .../geoclue/geoclue_2.7.0.bb | 4 ++- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-navigation/geoclue/geoclue/0001-libgeoclue-don-t-try-to-use-g-ir-scanner-when-intros.patch diff --git a/meta-oe/recipes-navigation/geoclue/geoclue/0001-libgeoclue-don-t-try-to-use-g-ir-scanner-when-intros.patch b/meta-oe/recipes-navigation/geoclue/geoclue/0001-libgeoclue-don-t-try-to-use-g-ir-scanner-when-intros.patch new file mode 100644 index 0000000000..18e7185649 --- /dev/null +++ b/meta-oe/recipes-navigation/geoclue/geoclue/0001-libgeoclue-don-t-try-to-use-g-ir-scanner-when-intros.patch @@ -0,0 +1,30 @@ +From 6c434bdd31d674f85a82cb83248571813c7a37ff Mon Sep 17 00:00:00 2001 +From: Martin Jansa +Date: Wed, 3 May 2023 18:06:46 +0200 +Subject: [PATCH] libgeoclue: don't try to use g-ir-scanner when introspection + isn't enabled + +* it finds target g-ir-scanner, so gir is found(), but when it tries to call it, it fails: + http://errors.yoctoproject.org/Errors/Details/702778/ + geoclue/2.7.0-r0/recipe-sysroot/usr/bin/g-ir-scanner-wrapper: line 5: g-ir-scanner: command not found + +Signed-off-by: Martin Jansa +--- +Upstream-Status: Pending + + libgeoclue/meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libgeoclue/meson.build b/libgeoclue/meson.build +index 5f05dad..7ed06a1 100644 +--- a/libgeoclue/meson.build ++++ b/libgeoclue/meson.build +@@ -77,7 +77,7 @@ gir_sources = [ libgeoclue_sources, + libgeoclue_headers, + libgeoclue_public_api_gen_sources[1] ] + +-if gir.found() ++if gir.found() and get_option('introspection') + geo_gir = gnome.generate_gir(libgeoclue, + sources: gir_sources, + namespace: 'Geoclue', diff --git a/meta-oe/recipes-navigation/geoclue/geoclue_2.7.0.bb b/meta-oe/recipes-navigation/geoclue/geoclue_2.7.0.bb index f7039b5916..d05a309455 100644 --- a/meta-oe/recipes-navigation/geoclue/geoclue_2.7.0.bb +++ b/meta-oe/recipes-navigation/geoclue/geoclue_2.7.0.bb @@ -13,7 +13,9 @@ DEPENDS = "glib-2.0 dbus json-glib libsoup-3.0 intltool-native" inherit meson pkgconfig gtk-doc gobject-introspection vala useradd SRCREV = "bbfb6289dedb88cb8155d9f6868787d5432e1f90" -SRC_URI = "git://gitlab.freedesktop.org/geoclue/geoclue.git;protocol=https;nobranch=1" +SRC_URI = "git://gitlab.freedesktop.org/geoclue/geoclue.git;protocol=https;nobranch=1 \ + file://0001-libgeoclue-don-t-try-to-use-g-ir-scanner-when-intros.patch \ +" S = "${WORKDIR}/git" From patchwork Wed May 3 17:23:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 23353 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 4D034C7EE21 for ; Wed, 3 May 2023 17:24:11 +0000 (UTC) Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) by mx.groups.io with SMTP id smtpd.web10.26202.1683134644158756162 for ; Wed, 03 May 2023 10:24:04 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=TKn04WEj; spf=pass (domain: gmail.com, ip: 209.85.128.51, mailfrom: martin.jansa@gmail.com) Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-3f19ab994ccso56680795e9.2 for ; Wed, 03 May 2023 10:24:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683134642; x=1685726642; 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=fHO65dUebySbJGGVKSP2ByuOSoq9b8tMZkMCE9rax1E=; b=TKn04WEjuYsDgLycuQfpOl2jwGTEz+ax43dZCKmIdmdlKkNIOuXOVCGqGTxBV5B93K lkYb/IIK9i+tK4PX4jHb5p4An/qcifIKPZhHb7HcrMUqoeU6PSLEQap/yCBzkEG6KroN T3e47sASUJjaxPKMJTjDacDBIZdfXYobC39UGZeLRz1MoWxXNSKQr5ER4Z73o9YPnjHy 9DR8XEe7JOQo7OVznSOJai2IA9dI5qYqIWJ7vrhuAbua2jvwBRCzjnQptOG8kQcEfaMK g+GGVriljEnZgRqVvac710zePyX0xebW6qhbuQ94rgybP7wUZ7UPVm2NFurxaOSw08vr vMUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683134642; x=1685726642; 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=fHO65dUebySbJGGVKSP2ByuOSoq9b8tMZkMCE9rax1E=; b=BPSobvc4+WmZJ8kt7XDkGJ1UUo+pHLLjrOA6Pk2P+V3HQLLUORWHT6wzX+MdveouW4 r7vlqU0FEr4fzHDFQg8rP29ipnu/EyWiMJMfV7mn4eZJma1AIqnhmGEMytQrxCsb9zMf uH0uP1F8tWJh2MJKBAoDamsO+i9OKsGqkNo7/x0RRPO0GvncTs11lAvrq4SWjNLeX6QM Gihn2MDpJSQ0NFKanPlbxA6OaBc7QdTBAqR6mmNPmbpCMYdYQXVGOwga2aXwBFexaOye nBiKaAx82V86uDVQxIrwCgYtv4KiUxOAUl5FfKzQIKZ1jJWPKlJaBkKp9Z3wZbVBt6jX 8e9Q== X-Gm-Message-State: AC+VfDynEa3IYc8oEhUJJ9GpA/sHMJa8FE3KrJA/2/L/qQFTrqgwT5Jm iakD98LWziqtOKHnWUEyqVG/jrbr9qk= X-Google-Smtp-Source: ACHHUZ5H8DRpTLSi7rCIJlxd3GSGlR5b72v+KGkoOHQ4tVni96Ro49kmovgPKo9aOYyR/5yWvHVDUQ== X-Received: by 2002:a05:600c:2285:b0:3f2:4f33:4897 with SMTP id 5-20020a05600c228500b003f24f334897mr15506699wmf.28.1683134642560; Wed, 03 May 2023 10:24:02 -0700 (PDT) Received: from localhost (ip-109-238-218-228.aim-net.cz. [109.238.218.228]) by smtp.gmail.com with ESMTPSA id f8-20020a5d4dc8000000b002f9e04459desm34277384wru.109.2023.05.03.10.24.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 May 2023 10:24:02 -0700 (PDT) From: Martin Jansa X-Google-Original-From: Martin Jansa To: openembedded-devel@lists.openembedded.org Cc: Martin Jansa Subject: [meta-oe][PATCH 4/7] appstream: fix build without gobject-introspection-data Date: Wed, 3 May 2023 19:23:51 +0200 Message-Id: <20230503172354.1439352-4-Martin.Jansa@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230503172354.1439352-1-Martin.Jansa@gmail.com> References: <20230503172354.1439352-1-Martin.Jansa@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 ; Wed, 03 May 2023 17:24:11 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/102294 * there is a meson option to disable introspection, it's just called 'gir' fix GIR_MESON_OPTION to resolve: http://errors.yoctoproject.org/Errors/Details/702780/ Run-time dependency gobject-introspection-1.0 found: NO (tried pkgconfig) ../AppStream-0.16.1/meson.build:173:4: ERROR: Dependency "gobject-introspection-1.0" not found, tried pkgconfig Signed-off-by: Martin Jansa --- meta-oe/recipes-support/appstream/appstream_0.16.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-support/appstream/appstream_0.16.1.bb b/meta-oe/recipes-support/appstream/appstream_0.16.1.bb index 50d8cdb4c2..b8cecec41f 100644 --- a/meta-oe/recipes-support/appstream/appstream_0.16.1.bb +++ b/meta-oe/recipes-support/appstream/appstream_0.16.1.bb @@ -21,7 +21,7 @@ DEPENDS = " \ inherit meson gobject-introspection gettext gtk-doc pkgconfig vala -GIR_MESON_OPTION = "" +GIR_MESON_OPTION = "gir" SRC_URI = "https://www.freedesktop.org/software/appstream/releases/AppStream-${PV}.tar.xz" SRC_URI:append:class-target = " file://0001-fix-crosscompile.patch" From patchwork Wed May 3 17:23:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 23357 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 6ADFDC7EE2E for ; Wed, 3 May 2023 17:24:11 +0000 (UTC) Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) by mx.groups.io with SMTP id smtpd.web11.26077.1683134644930206481 for ; Wed, 03 May 2023 10:24:05 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=jRKp4Elq; spf=pass (domain: gmail.com, ip: 209.85.128.41, mailfrom: martin.jansa@gmail.com) Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-3f178da21afso37528545e9.1 for ; Wed, 03 May 2023 10:24:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683134643; x=1685726643; 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=EFl0bMwfz9CPu2SQe6GBs9aCHS8ffwzBHlE+0QCUIT0=; b=jRKp4ElqcuJnNFLg0MbOeOZ2dYoH+/OPLwu7ZfsiHDYT7KsTKZvBQRAajVMAVxz1wb NtMwVSw5VEx9KoZT7NviMtIZ5St/OGw+QA59AwiBFGCIrHBL6y/oOxidoF4Lhb9qS5gA FRNXAkpeqReM3JJqPz4pDiG33/3LeV4jnu9u7TKM6PuX6N2N9x6eAXPPjsTB1ZPSNhhA uMyfIGaxwvhx6lguBVKTsO4QOWqPF06hofcO1TtGKrpB6JsBdmfttztj//V6hLHqOOHS 0DHFpHwRSS/e8TlOSYgibuuZhTrBuznzqiEJJ1lZ5k8VVePSU6T6kVwo/5kON8IP9uc4 n4kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683134643; x=1685726643; 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=EFl0bMwfz9CPu2SQe6GBs9aCHS8ffwzBHlE+0QCUIT0=; b=Is2g8eWOjCT4ylBBNk9EjhK5wtV/sUZWOwECdfPX24Rla/hbIMxI1wAUOwvHCZc6Sz FPL6pCSJxQ0IcYlp9zbft33FLPL5TxyffzUwN3uyKlU0vSzzg/f+tAVnl6hDv+LoBo6W snTTI7HX9eUGLGQGbtrBahb3UMYDMnAcbOGJZBqmEqjxUPjaWe3v4vfXisChS0HQmwpW U3kOfSeOXDYb0f06zmpq7AhkSWxPtk9z2mQ9MwLvqOz7rZSVlo+gx8xvt78tkIoriWGJ aMFouSH9Byj1nL+catv3vcamib9nQolGDkOlTH5muxn8Vx/xQpMt82KHVIPwJOcgWTlD 76wg== X-Gm-Message-State: AC+VfDwzncjcQzYXj5+aXMfypAbiNHqkYdbtQkaBwlEgQnR3ImV/UL9t wSg7wPaFhi7V1m3NyPi5Q4Ej47jmEBw= X-Google-Smtp-Source: ACHHUZ55H0FwY0LzT15omgD/cKlMixmo2USdaUPwadk1c5LCkeJRlYkq7UNYuSYdEHnJGi+6oOuFQg== X-Received: by 2002:a1c:4c03:0:b0:3ef:acf6:f815 with SMTP id z3-20020a1c4c03000000b003efacf6f815mr15638051wmf.32.1683134643218; Wed, 03 May 2023 10:24:03 -0700 (PDT) Received: from localhost (ip-109-238-218-228.aim-net.cz. [109.238.218.228]) by smtp.gmail.com with ESMTPSA id q7-20020a1cf307000000b003f18b52c73asm2438912wmq.24.2023.05.03.10.24.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 May 2023 10:24:02 -0700 (PDT) From: Martin Jansa X-Google-Original-From: Martin Jansa To: openembedded-devel@lists.openembedded.org Cc: Martin Jansa Subject: [meta-oe][PATCH 5/7] ostree: fix build without gobject-introspection-data Date: Wed, 3 May 2023 19:23:52 +0200 Message-Id: <20230503172354.1439352-5-Martin.Jansa@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230503172354.1439352-1-Martin.Jansa@gmail.com> References: <20230503172354.1439352-1-Martin.Jansa@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 ; Wed, 03 May 2023 17:24:11 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/102295 * add --disable-introspection to UNKNOWN_CONFIGURE_OPT_IGNORE to fix: http://errors.yoctoproject.org/Errors/Details/702779/ ERROR: QA Issue: ostree: configure was passed unrecognised options: --disable-introspection [unknown-configure-option] * add glib-2.0-native to DEPENDS to fix: http://errors.yoctoproject.org/Errors/Details/702787/ glib-mkenums \ --template ../libostree-2023.2/src/libostree/ostree-enumtypes.h.template \ ../libostree-2023.2/src/libostree/ostree-fetcher.h > src/libostree/ostree-enumtypes.h.tmp && mv src/libostree/ostree-enumtypes.h.tmp src/libostree/ostree-enumtypes.h /bin/bash: line 2: glib-mkenums: command not found make: *** [Makefile:9990: src/libostree/ostree-enumtypes.h] Error 127 Signed-off-by: Martin Jansa --- meta-oe/recipes-extended/ostree/ostree_2023.2.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-oe/recipes-extended/ostree/ostree_2023.2.bb b/meta-oe/recipes-extended/ostree/ostree_2023.2.bb index 2990122959..7eeb77474f 100644 --- a/meta-oe/recipes-extended/ostree/ostree_2023.2.bb +++ b/meta-oe/recipes-extended/ostree/ostree_2023.2.bb @@ -9,6 +9,7 @@ LICENSE = "LGPL-2.1-only" LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2" DEPENDS = " \ + glib-2.0-native \ glib-2.0 \ e2fsprogs \ libcap \ @@ -28,6 +29,8 @@ S = "${WORKDIR}/libostree-${PV}" inherit autotools bash-completion gobject-introspection github-releases gtk-doc manpages pkgconfig ptest-gnome systemd +UNKNOWN_CONFIGURE_OPT_IGNORE = "--disable-introspection --enable-introspection" + # Workaround compile failure: # |../git/src/libotutil/zbase32.c:37:1: error: function returns an aggregate [-Werror=aggregate-return] # so remove -Og and use -O2 as workaround From patchwork Wed May 3 17:23:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 23354 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 3C2CEC77B78 for ; Wed, 3 May 2023 17:24:11 +0000 (UTC) Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) by mx.groups.io with SMTP id smtpd.web10.26204.1683134645399275998 for ; Wed, 03 May 2023 10:24:05 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=msWnPG6y; spf=pass (domain: gmail.com, ip: 209.85.221.50, mailfrom: martin.jansa@gmail.com) Received: by mail-wr1-f50.google.com with SMTP id ffacd0b85a97d-3062b101ae1so2862316f8f.2 for ; Wed, 03 May 2023 10:24:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683134644; x=1685726644; 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=Itq8s7nvXxSR6duwcOL7DYmTk9Kqfg8pPMUyaqWaOdk=; b=msWnPG6y9bH/Q95WatAZZMB1ZDD1/9/VXKmJRylfz3fiOjv0zejFVUkS+y5MZHTz4g jqZyac2kafxHbZ/gZsg4xGpQYwEwkFUl6wWDAGbqXCKRMbJTDy5kNUNpp6qit3wJw11J gF+9JGL9UZN1PQCYsBrLyfYZOMk1Za90Rujl0SfrBfBK3t2e8Px/1PywpFKqELGBEFJ7 k6REhQKMOeBMuW8fPVmKN4qL86//VtPcor3ODRWlULSdSC04vVOPVyz7wzUNI6gN90cJ Tt562Ev18HyHpM+t40L2jg/Ws53+maRzrmpMbUxqHOeAVsyHHwdmDY+HOOaodxVmqZQY 8wHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683134644; x=1685726644; 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=Itq8s7nvXxSR6duwcOL7DYmTk9Kqfg8pPMUyaqWaOdk=; b=cLE/LR8DgTTFval2YmVD+KXvOgsRexgyQsK6CCRiSvnHSlU7m34/0m0gU/TKvyILku ImtLAQXT/QktSOx3/VP2j8uEKtemGHkW23XAnjn2fBrCZpvq34Oo1QyUFSt6SsLcKpgX c+V4eFqkcn+aZAMf47NQa8GQT3jR6ZI/dInTyVF3DCVPCYJvz+IHMY8X9rQMAQ8tw9pV E/G2ps1pWdVPykhXGM34ULmReEsFGQc0SzusZzMSg06GQCxk+iDG4FsFwyzfZO0lPTuD j7WCYe07emjdplpROuzKeGheI1/GvhnDYZc6SiClznVWlCKQ1clxS2XLG734MDaxSwkr kDog== X-Gm-Message-State: AC+VfDxEL1CK1HJXTTzZ0ETsxOGkiaRMFmmleJtnbda1YQ49WxiuEa4W Ek6TsRzTBdFZK63Demi13zs52ewbfH0= X-Google-Smtp-Source: ACHHUZ5bEgIlB3TmZOqoRtC0eKOJJEQ0RPF6biIMlWMfkr5MQCi336m9I+pF8YtVivo+3CBKAGRSlw== X-Received: by 2002:adf:f250:0:b0:306:37a5:447a with SMTP id b16-20020adff250000000b0030637a5447amr586988wrp.60.1683134643929; Wed, 03 May 2023 10:24:03 -0700 (PDT) Received: from localhost (ip-109-238-218-228.aim-net.cz. [109.238.218.228]) by smtp.gmail.com with ESMTPSA id u19-20020a7bc053000000b003f09d7b6e20sm2481519wmc.2.2023.05.03.10.24.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 May 2023 10:24:03 -0700 (PDT) From: Martin Jansa X-Google-Original-From: Martin Jansa To: openembedded-devel@lists.openembedded.org Cc: Martin Jansa Subject: [meta-oe][PATCH 6/7] rdfind: fix build with -Werror=return-type Date: Wed, 3 May 2023 19:23:53 +0200 Message-Id: <20230503172354.1439352-6-Martin.Jansa@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230503172354.1439352-1-Martin.Jansa@gmail.com> References: <20230503172354.1439352-1-Martin.Jansa@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 ; Wed, 03 May 2023 17:24:11 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/102296 Signed-off-by: Martin Jansa --- ...-configure.ac-fix-C-11-support-check.patch | 37 +++++++++++++++++++ .../recipes-support/rdfind/rdfind_1.5.0.bb | 1 + 2 files changed, 38 insertions(+) create mode 100644 meta-oe/recipes-support/rdfind/rdfind/0001-configure.ac-fix-C-11-support-check.patch diff --git a/meta-oe/recipes-support/rdfind/rdfind/0001-configure.ac-fix-C-11-support-check.patch b/meta-oe/recipes-support/rdfind/rdfind/0001-configure.ac-fix-C-11-support-check.patch new file mode 100644 index 0000000000..815939b82d --- /dev/null +++ b/meta-oe/recipes-support/rdfind/rdfind/0001-configure.ac-fix-C-11-support-check.patch @@ -0,0 +1,37 @@ +From 9070bc210b2ecff641b73e4ade30040c1461969c Mon Sep 17 00:00:00 2001 +From: Martin Jansa +Date: Wed, 3 May 2023 18:31:57 +0200 +Subject: [PATCH] configure.ac: fix C++11 support check + +* with -Werror=return-type in CFLAGS this test fails with: + + configure:4290: checking for C++11 support or better + configure:4303: x86_64-webos-linux-g++ -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -Werror=return-type --sysroot=/OE/lge/build/webos/mickledore/BUILD/work/qemux86_64-webos-linux/rdfind/1.5.0-r0/recipe-sysroot -c -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/OE/lge/build/webos/mickledore/BUILD/work/qemux86_64-webos-linux/rdfind/1.5.0-r0/rdfind-1.5.0=/usr/src/debug/rdfind/1.5.0-r0 -fdebug-prefix-map=/OE/lge/build/webos/mickledore/BUILD/work/qemux86_64-webos-linux/rdfind/1.5.0-r0/rdfind-1.5.0=/usr/src/debug/rdfind/1.5.0-r0 -fmacro-prefix-map=/OE/lge/build/webos/mickledore/BUILD/work/qemux86_64-webos-linux/rdfind/1.5.0-r0/build=/usr/src/debug/rdfind/1.5.0-r0 -fdebug-prefix-map=/OE/lge/build/webos/mickledore/BUILD/work/qemux86_64-webos-linux/rdfind/1.5.0-r0/build=/usr/src/debug/rdfind/1.5.0-r0 -fdebug-prefix-map=/OE/lge/build/webos/mickledore/BUILD/work/qemux86_64-webos-linux/rdfind/1.5.0-r0/recipe-sysroot= -fmacro-prefix-map=/OE/lge/build/webos/mickledore/BUILD/work/qemux86_64-webos-linux/rdfind/1.5.0-r0/recipe-sysroot= -fdebug-prefix-map=/OE/lge/build/webos/mickledore/BUILD/work/qemux86_64-webos-linux/rdfind/1.5.0-r0/recipe-sysroot-native= -fvisibility-inlines-hidden conftest.cpp >&5 + conftest.cpp: In function 'int f()': + conftest.cpp:22:20: error: no return statement in function returning non-void [-Werror=return-type] + 22 | int f() { auto a=1;} | ^ + cc1plus: some warnings being treated as errors + ... + configure:4308: error: no c++11 support, please set CXXFLAGS properly + +* fix the test to pass + +Signed-off-by: Martin Jansa +Upstream-Status: Submitted [https://github.com/pauldreik/rdfind/pull/132] +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index be1b2fd..9c3513c 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -64,7 +64,7 @@ AC_SYS_LARGEFILE + + dnl make sure we have c++11 or better, + AC_MSG_CHECKING([for C++11 support or better]) +-AC_COMPILE_IFELSE([AC_LANG_PROGRAM([int f() { auto a=1;}])], ++AC_COMPILE_IFELSE([AC_LANG_PROGRAM([int f() { auto a=1;return a;}])], + [AC_MSG_RESULT([yes])], + [AC_MSG_ERROR([no c++11 support, please set CXXFLAGS properly])]) + diff --git a/meta-oe/recipes-support/rdfind/rdfind_1.5.0.bb b/meta-oe/recipes-support/rdfind/rdfind_1.5.0.bb index 8f2c5e8852..dab66c3827 100644 --- a/meta-oe/recipes-support/rdfind/rdfind_1.5.0.bb +++ b/meta-oe/recipes-support/rdfind/rdfind_1.5.0.bb @@ -8,6 +8,7 @@ DEPENDS = "nettle autoconf-archive" SRC_URI = "https://rdfind.pauldreik.se/${BP}.tar.gz \ file://0001-configure-Fix-check-for-AC_CHECK_LIB.patch \ file://0001-include-standard-headers-limits-and-cstdint.patch \ + file://0001-configure.ac-fix-C-11-support-check.patch \ " SRC_URI[sha256sum] = "4150ed1256f7b12b928c65113c485761552b9496c433778aac3f9afc3e767080" From patchwork Wed May 3 17:23:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 23355 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 4F138C7EE2A for ; Wed, 3 May 2023 17:24:11 +0000 (UTC) Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) by mx.groups.io with SMTP id smtpd.web10.26206.1683134646161703808 for ; Wed, 03 May 2023 10:24:06 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=DzTgOHvE; spf=pass (domain: gmail.com, ip: 209.85.128.49, mailfrom: martin.jansa@gmail.com) Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-3f18dacd392so35233475e9.0 for ; Wed, 03 May 2023 10:24:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683134644; x=1685726644; 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=3t4LDF4mf+RShlb3NtiAFabsZyP/pFAORBFzRLxwTBg=; b=DzTgOHvEEz+PEPLG7gIMDhZeCykPA/EdWGbuLnpKUFtk5wx0M5Pn9LabpYyB1T7Hdx +t0oSW6RihVDYTG/gJ2wRV75FO9j4KSo+/b7oOIp9LpR+e228LdJ6DqcQJr5bORYakbm dXwulq7cSHP/vb2Qhmh1i2qBWwaqqU8PLk2ayWnbKJT91sVNU206PNKfeMGPD5FIJDbb s4/3jAdD47qMI9DJVXI/pyun5C8ztVZeHRdUEI2Nzg4tq41uMDcr5V9W7Adkv8OZ1EoC QjiChWPKEIqda/379d03UPH7KNqVB4XxYEkTzFuMlzOCqxffc1kRUWqOEfv2Bc5bXuyf ZXnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683134644; x=1685726644; 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=3t4LDF4mf+RShlb3NtiAFabsZyP/pFAORBFzRLxwTBg=; b=c0AHc0bAlI+5mRIGUzU8dJ8d6HcYXDI1Cqx/2CFe0pf09ijmulLl4muCLCUmIFEQpq ovV8Og/V6FluHV0VvCzvG6UDal4fD6wXy4HRt2Mx64IJN195bmo6XPifayxJOdoIEzR9 CRzRFta7IjQT5QZ4Q+hc6ZOPfS6/uQEmZ6xQFAGOO+N9Onhaeb6jrZpYuc+uRL5/uGIm rMTbklIDWnzaG72qOQr51LdIzE2pkrEPfodu6vLNViRyLNXAiaqhYZYtm1aGc99t8dkU LeXC2WeABgTKLqhCu9vyk9a0/PaUFx6iaZ7ZaF+4HrJO3/ipO6rQhK4b2ESZEU/hNrxR 8H5Q== X-Gm-Message-State: AC+VfDzvmq5hCu1klgFjMccXyVzTAlR0zYcagVtlsR+Xy2CKu3FZuDUh +Y0KhS33KAkYlhof7+8ZBLlsm+l15bU= X-Google-Smtp-Source: ACHHUZ42Ndt/n0ER2nw/7/4k6y115gAZxVtCLsXwXz+8GnNwA+Snn13qekWmULVAFntHrYslJOOM4Q== X-Received: by 2002:a05:600c:2183:b0:3ed:ec34:f1 with SMTP id e3-20020a05600c218300b003edec3400f1mr14921852wme.35.1683134644621; Wed, 03 May 2023 10:24:04 -0700 (PDT) Received: from localhost (ip-109-238-218-228.aim-net.cz. [109.238.218.228]) by smtp.gmail.com with ESMTPSA id l2-20020a1ced02000000b003f19b3d89e9sm2473046wmh.33.2023.05.03.10.24.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 May 2023 10:24:04 -0700 (PDT) From: Martin Jansa X-Google-Original-From: Martin Jansa To: openembedded-devel@lists.openembedded.org Cc: Martin Jansa Subject: [meta-oe][PATCH 7/7] spice-gtk: respect gobject-introspection-data Date: Wed, 3 May 2023 19:23:54 +0200 Message-Id: <20230503172354.1439352-7-Martin.Jansa@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230503172354.1439352-1-Martin.Jansa@gmail.com> References: <20230503172354.1439352-1-Martin.Jansa@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 ; Wed, 03 May 2023 17:24:11 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/102297 * without gobject-introspection-data in DISTRO_FEATURES the bbclass correctly disables it: $ bitbake-getvar -r spice-gtk EXTRA_OEMESON # # $EXTRA_OEMESON [6 operations] # :append /OE/build/oe-core/openembedded-core/meta/classes-recipe/meson.bbclass:44 # " ${PACKAGECONFIG_CONFARGS}" # :prepend[class-target] /OE/build/oe-core/openembedded-core/meta/classes-recipe/gobject-introspection.bbclass:28 # "${@['', '${GIRMESONTARGET}'][d.getVar('GIR_MESON_OPTION') != '']}" # :prepend[class-native] /OE/build/oe-core/openembedded-core/meta/classes-recipe/gobject-introspection.bbclass:33 # "${@['', '${GIRMESONBUILD}'][d.getVar('GIR_MESON_OPTION') != '']}" # :prepend[class-nativesdk] /OE/build/oe-core/openembedded-core/meta/classes-recipe/gobject-introspection.bbclass:34 # "${@['', '${GIRMESONBUILD}'][d.getVar('GIR_MESON_OPTION') != '']}" # set /OE/build/oe-core/meta-openembedded/meta-networking/recipes-support/spice/spice-gtk_0.42.bb:49 # "-Dpie=true -Dvapi=enabled" # :append[libc-musl] /OE/build/oe-core/meta-openembedded/meta-networking/recipes-support/spice/spice-gtk_0.42.bb:50 # " -Dcoroutine=libucontext" # pre-expansion value: # "${@['', '${GIRMESONTARGET}'][d.getVar('GIR_MESON_OPTION') != '']}-Dpie=true -Dvapi=enabled ${PACKAGECONFIG_CONFARGS}" EXTRA_OEMESON="-Dintrospection=false -Dpie=true -Dvapi=enabled " and prevents build failure: http://errors.yoctoproject.org/Errors/Details/702789/ Run-time dependency gobject-introspection-1.0 found: NO (tried pkgconfig) ../git/meson.build:346:0: ERROR: Dependency "gobject-introspection-1.0" not found, tried pkgconfig * it just needs GIR_MESON_*_FLAG to be set to avoid: meson.build:4:0: ERROR: Value "false" (of type "string") for combo option "Check for GObject instrospection requirements" is not one of the choices. Possible choices are (as string): "enabled", "disabled", "auto". * and enable vapi only when introspection is enabled, use PACKAGECONFIG for that to avoid: meson.build:358:4: ERROR: Problem encountered: VAPI support requested without introspection Signed-off-by: Martin Jansa --- meta-networking/recipes-support/spice/spice-gtk_0.42.bb | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/meta-networking/recipes-support/spice/spice-gtk_0.42.bb b/meta-networking/recipes-support/spice/spice-gtk_0.42.bb index 2d1b64967e..542ddb69b7 100644 --- a/meta-networking/recipes-support/spice/spice-gtk_0.42.bb +++ b/meta-networking/recipes-support/spice/spice-gtk_0.42.bb @@ -46,8 +46,13 @@ inherit meson pkgconfig vala gobject-introspection features_check REQUIRED_DISTRO_FEATURES = "opengl" -EXTRA_OEMESON = "-Dpie=true -Dvapi=enabled -Dintrospection=enabled" -EXTRA_OEMESON:append:libc-musl = " -Dcoroutine=libucontext" +GIR_MESON_ENABLE_FLAG = 'enabled' +GIR_MESON_DISABLE_FLAG = 'disabled' + +PACKAGECONFIG ??= "${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'vapi', '', d)}" +PACKAGECONFIG[vapi] = "-Dvapi=enabled,-Dvapi=disabled" +EXTRA_OEMESON = "-Dpie=true" +EXTRA_OEMESON:append:libc-musl = " -Dcoroutine=libucontext" FILES:${PN} += "${datadir}"