Cool. Also need to get rid of the references in

meta-oe/conf/include/ptest-packagelists-meta-oe.inc

and

meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb

On Mon, Sep 18, 2023 at 2:52 PM Markus Volk <[email protected]> wrote:
>
> It was moved to oe-core
>
> Signed-off-by: Markus Volk <[email protected]>
> ---
>  ...xb-selftest.c-hardcode-G_TEST_SRCDIR.patch | 35 -------------------
>  .../recipes-gnome/libxmlb/libxmlb/run-ptest   |  3 --
>  .../recipes-gnome/libxmlb/libxmlb_0.3.14.bb   | 25 -------------
>  3 files changed, 63 deletions(-)
>  delete mode 100644 
> meta-oe/recipes-gnome/libxmlb/libxmlb/0001-xb-selftest.c-hardcode-G_TEST_SRCDIR.patch
>  delete mode 100644 meta-oe/recipes-gnome/libxmlb/libxmlb/run-ptest
>  delete mode 100644 meta-oe/recipes-gnome/libxmlb/libxmlb_0.3.14.bb
>
> diff --git 
> a/meta-oe/recipes-gnome/libxmlb/libxmlb/0001-xb-selftest.c-hardcode-G_TEST_SRCDIR.patch
>  
> b/meta-oe/recipes-gnome/libxmlb/libxmlb/0001-xb-selftest.c-hardcode-G_TEST_SRCDIR.patch
> deleted file mode 100644
> index da8ce68df..000000000
> --- 
> a/meta-oe/recipes-gnome/libxmlb/libxmlb/0001-xb-selftest.c-hardcode-G_TEST_SRCDIR.patch
> +++ /dev/null
> @@ -1,35 +0,0 @@
> -From dc208bafc57c1ccaa0ca260f99c8b4c976271ebc Mon Sep 17 00:00:00 2001
> -From: Markus Volk <[email protected]>
> -Date: Sat, 16 Sep 2023 14:02:57 +0200
> -Subject: [PATCH] xb-self-test.c: hardcode G_TEST_SRCDIR
> -
> -This avoids:
> - libxmlb-0.3.14-r0 do_package_qa: QA Issue: File
> - /usr/libexec/installed-tests/libxmlb/xb-self-test in package libxmlb-ptest
> - contains reference to TMPDIR [buildpaths]
> -
> -and also fixes the runtime for the ptest.
> -
> -Upstream-Status: Inappropriate [oe-specific]
> -
> -Signed-off-by: Markus Volk <[email protected]>
> ----
> - src/xb-self-test.c | 2 +-
> - 1 file changed, 1 insertion(+), 1 deletion(-)
> -
> -diff --git a/src/xb-self-test.c b/src/xb-self-test.c
> -index 47d9728..8b3dd0e 100644
> ---- a/src/xb-self-test.c
> -+++ b/src/xb-self-test.c
> -@@ -2870,7 +2870,7 @@ xb_speed_func(void)
> - int
> - main(int argc, char **argv)
> - {
> --      g_setenv("G_TEST_SRCDIR", SRCDIR, FALSE);
> -+      g_setenv("G_TEST_SRCDIR", "/usr/libexec/installed-tests/libxmlb", 
> FALSE);
> -
> -       g_test_init(&argc, &argv, NULL);
> -
> ---
> -2.41.0
> -
> diff --git a/meta-oe/recipes-gnome/libxmlb/libxmlb/run-ptest 
> b/meta-oe/recipes-gnome/libxmlb/libxmlb/run-ptest
> deleted file mode 100644
> index 6d0bb95d3..000000000
> --- a/meta-oe/recipes-gnome/libxmlb/libxmlb/run-ptest
> +++ /dev/null
> @@ -1,3 +0,0 @@
> -#! /bin/sh
> -
> -gnome-desktop-testing-runner libxmlb
> diff --git a/meta-oe/recipes-gnome/libxmlb/libxmlb_0.3.14.bb 
> b/meta-oe/recipes-gnome/libxmlb/libxmlb_0.3.14.bb
> deleted file mode 100644
> index 1d3b0de29..000000000
> --- a/meta-oe/recipes-gnome/libxmlb/libxmlb_0.3.14.bb
> +++ /dev/null
> @@ -1,25 +0,0 @@
> -SUMMARY = "A library to help create and query binary XML blobs"
> -HOMEPAGE = "https://github.com/hughsie/libxmlb";
> -LICENSE = "LGPL-2.1-only"
> -LIC_FILES_CHKSUM = "file://LICENSE;md5=1803fa9c2c3ce8cb06b4861d75310742"
> -
> -SRC_URI = " \
> -       git://github.com/hughsie/libxmlb.git;branch=main;protocol=https \
> -       file://0001-xb-selftest.c-hardcode-G_TEST_SRCDIR.patch \
> -       file://run-ptest \
> -"
> -SRCREV = "aa577b276adc66564f5777f9a522ca3bf0bfa65e"
> -S = "${WORKDIR}/git"
> -
> -DEPENDS = "glib-2.0 xz zstd"
> -
> -inherit gobject-introspection gtk-doc meson ptest-gnome lib_package pkgconfig
> -
> -PACKAGECONFIG ??= "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', 
> d)}"
> -PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false"
> -
> -GTKDOC_MESON_OPTION = "gtkdoc"
> -
> -FILES:${PN} += "${datadir}"
> -
> -BBCLASSEXTEND = "native"
> --
> 2.41.0
>
>
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#104945): 
https://lists.openembedded.org/g/openembedded-devel/message/104945
Mute This Topic: https://lists.openembedded.org/mt/101444173/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to