summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-gnome
diff options
context:
space:
mode:
authorMarkus Volk <f_l_k@t-online.de>2024-12-16 23:23:03 +0100
committerKhem Raj <raj.khem@gmail.com>2024-12-19 09:41:21 -0800
commitd89fc6ffbdf8f947643def51b804052bb5e7ac97 (patch)
treeb22dbdf3a831ffde7e58515489a7543a132a1254 /meta-oe/recipes-gnome
parent1bf9854163b2e09a570dd863449f1959bea242b0 (diff)
downloadmeta-openembedded-d89fc6ffbdf8f947643def51b804052bb5e7ac97.tar.gz
libpeas: add recipe for 2.0.5
- Drop 0001-Remove-builddir-and-srcdir-paths-from-test-binaries.patch peas-demo is not built anymore - Add patch to disable the broken check for lgi lgi does not support pkgconfig but it hasn't changed version since 2017 - Remove gtk+3 from depends and dont inherit gtk-icon-cache to not pull it in again indirectly - g-i is not required anymore and will be built depending on DISTRO_FEATURES - Dont package the loaders into separate packages to reduce required RDEPENDS. If a loader is not wanted on target it will be better to remove the according PACKAGECONFIG option to also remove the dependencies? - Move libpeas recipe to meta-gnome Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-gnome')
-rw-r--r--meta-oe/recipes-gnome/libpeas/libpeas/0001-Remove-builddir-and-srcdir-paths-from-test-binaries.patch82
-rw-r--r--meta-oe/recipes-gnome/libpeas/libpeas_1.36.0.bb28
2 files changed, 0 insertions, 110 deletions
diff --git a/meta-oe/recipes-gnome/libpeas/libpeas/0001-Remove-builddir-and-srcdir-paths-from-test-binaries.patch b/meta-oe/recipes-gnome/libpeas/libpeas/0001-Remove-builddir-and-srcdir-paths-from-test-binaries.patch
deleted file mode 100644
index 6bb48777ec..0000000000
--- a/meta-oe/recipes-gnome/libpeas/libpeas/0001-Remove-builddir-and-srcdir-paths-from-test-binaries.patch
+++ /dev/null
@@ -1,82 +0,0 @@
1From d798af685e9e1166400acbdab082c17b02dad85b Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 18 May 2023 23:28:10 -0700
4Subject: [PATCH] Remove builddir and srcdir paths from test binaries
5
6Encoding buildtime paths is not needed since if these tests are to be
7run they will be run on target where builddir structure most certainly
8wont be available.
9
10Fixes
11WARNING: libpeas-1.36.0-r0 do_package_qa: QA Issue: File /usr/bin/peas-demo in package libpeas-demo contains reference to TMPDIR [buildpaths]
12
13Upstream-Status: Inappropriate [Cross-compile specific]
14Signed-off-by: Khem Raj <raj.khem@gmail.com>
15---
16 peas-demo/meson.build | 2 +-
17 tests/libpeas-gtk/testing/meson.build | 4 ++--
18 tests/libpeas/testing/meson.build | 4 ++--
19 tests/testing-util/meson.build | 4 ++--
20 4 files changed, 7 insertions(+), 7 deletions(-)
21
22diff --git a/peas-demo/meson.build b/peas-demo/meson.build
23index a3ec53b..855ebf2 100644
24--- a/peas-demo/meson.build
25+++ b/peas-demo/meson.build
26@@ -9,7 +9,7 @@ peas_demo_c = [
27
28 peas_demo_c_args = [
29 '-DHAVE_CONFIG_H',
30- '-DPEAS_BUILDDIR="@0@"'.format(builddir),
31+ '-DPEAS_BUILDDIR="/usr/src/debug/libpeas"',
32 '-DPEAS_PREFIX="@0@"'.format(prefix),
33 '-DPEAS_LIBDIR="@0@"'.format(libdir),
34 ]
35diff --git a/tests/libpeas-gtk/testing/meson.build b/tests/libpeas-gtk/testing/meson.build
36index 646f42d..fd9a692 100644
37--- a/tests/libpeas-gtk/testing/meson.build
38+++ b/tests/libpeas-gtk/testing/meson.build
39@@ -19,8 +19,8 @@ libpeas_gtk_testing_deps = [
40
41 libpeas_gtk_testing_c_args = [
42 '-DHAVE_CONFIG_H',
43- '-DBUILDDIR="@0@"'.format(builddir),
44- '-DSRCDIR="@0@"'.format(srcdir),
45+ '-DBUILDDIR="/usr/src/debug/libpeas"',
46+ '-DSRCDIR="/usr/src/debug/libpeas"',
47 ]
48
49 libpeas_gtk_testing_lib = library(
50diff --git a/tests/libpeas/testing/meson.build b/tests/libpeas/testing/meson.build
51index 74ba7b1..084daa9 100644
52--- a/tests/libpeas/testing/meson.build
53+++ b/tests/libpeas/testing/meson.build
54@@ -21,8 +21,8 @@ libpeas_testing_deps = [
55
56 libpeas_testing_c_args = [
57 '-DHAVE_CONFIG_H',
58- '-DBUILDDIR="@0@"'.format(builddir),
59- '-DSRCDIR="@0@"'.format(srcdir),
60+ '-DBUILDDIR="/usr/src/debug/libpeas"',
61+ '-DSRCDIR="/usr/src/debug/libpeas"',
62 ]
63
64 libpeas_testing_lib = library(
65diff --git a/tests/testing-util/meson.build b/tests/testing-util/meson.build
66index 1c40740..83ad059 100644
67--- a/tests/testing-util/meson.build
68+++ b/tests/testing-util/meson.build
69@@ -17,8 +17,8 @@ libtesting_util_deps = [
70
71 libtesting_util_c_args = [
72 '-DHAVE_CONFIG_H',
73- '-DBUILDDIR="@0@"'.format(builddir),
74- '-DSRCDIR="@0@"'.format(srcdir),
75+ '-DBUILDDIR="/usr/src/debug/libpeas"',
76+ '-DSRCDIR="/usr/src/debug/libpeas"',
77 '-UG_DISABLE_ASSERT',
78 '-UG_DISABLE_CAST_CHECKS',
79 ]
80--
812.40.1
82
diff --git a/meta-oe/recipes-gnome/libpeas/libpeas_1.36.0.bb b/meta-oe/recipes-gnome/libpeas/libpeas_1.36.0.bb
deleted file mode 100644
index 016981f04d..0000000000
--- a/meta-oe/recipes-gnome/libpeas/libpeas_1.36.0.bb
+++ /dev/null
@@ -1,28 +0,0 @@
1SUMMARY = "libpeas is a gobject-based plugins engine"
2HOMEPAGE = "https://wiki.gnome.org/Projects/Libpeas"
3LICENSE = "LGPL-2.1-or-later"
4LIC_FILES_CHKSUM = "file://COPYING;md5=4b54a1fd55a448865a0b32d41598759d"
5
6DEPENDS = "gtk+3"
7
8GTKDOC_MESON_OPTION = "gtk_doc"
9
10inherit gnomebase gobject-introspection gi-docgen gtk-icon-cache features_check
11
12ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
13# FIXME: When upgrading to libpeas 2, g-i is no longer needed.
14REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
15
16SRC_URI += "file://0001-Remove-builddir-and-srcdir-paths-from-test-binaries.patch"
17SRC_URI[archive.sha256sum] = "297cb9c2cccd8e8617623d1a3e8415b4530b8e5a893e3527bbfd1edd13237b4c"
18
19PACKAGECONFIG[python3] = "-Dpython3=true,-Dpython3=false,python3-pygobject"
20
21PACKAGES =+ "${PN}-demo ${PN}-python3"
22FILES:${PN}-demo = " \
23 ${bindir}/peas-demo \
24 ${libdir}/peas-demo \
25"
26
27RDEPENDS:${PN}-python3 = "python3-pygobject"
28FILES:${PN}-python3 = "${libdir}/libpeas-1.0/loaders/libpython3loader.so"