libei: import recipe from meta-oe
One thing I have just seen. If not using systemd the libei recipe will depend on the external sd-bus library 'basu' which is also not available in oe-core. How do you want to deal with this?
Also include basu or make this recipe systemd only by default?
Quoted 59 lines · Markus Volk
Libei has been the multi-year effort by Red Hat's Peter Hutterer on emulated input handling for Wayland. Libei consists of a client side library and EIS as the "Emulated Input Server" for this Wayland-focused emulated input device solution.
Signed-off-by Markus Volk <[email protected] <mailto:[email protected]>>--- meta/recipes-graphics/wayland/libei_1.2.1.bb | 25 ++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 meta/recipes-graphics/wayland/libei_1.2.1.bbmeta/recipes-graphics/wayland/libei_1.2.1.bb new file +1
-0@@ -0,0 +1,25 @@ +SUMMARY = "libei is a library for Emulated Input, primarily aimed atthe Wayland stack."
meta/recipes-graphics/wayland/libei_1.2.1.bb new file +5
-0+HOMEPAGE = "<https://gitlab.freedesktop.org/libinput/libei>" +SECTION = "graphics" +LICENSE = "MIT" + +LIC_FILES_CHKSUM ="file://COPYING;md5=a98fa76460f96f41696611d6f07e8d49" <file://copying;md5=a98fa76460f96f41696611d6f07e8d49/>
meta/recipes-graphics/wayland/libei_1.2.1.bb new file +8
-0+ +DEPENDS = " \ + libxkbcommon \ + libevdev \ + libxslt-native \ + python3-attrs-native \ + python3-jinja2-native \ + ${@bb.utils.contains<mailto:${@bb.utils.contains>('DISTRO_FEATURES', 'systemd', 'systemd', 'basu', d)} \
+"meta/recipes-graphics/wayland/libei_1.2.1.bb new file +2
-0+ +SRC_URI ="
git://gitlab.freedesktop.org/libinput/libei.git;protocol=https;branch=main"meta/recipes-graphics/wayland/libei_1.2.1.bb new file +8
-1+ +S = "${WORKDIR}/git" +SRCREV = "08f1d41085a6ae4bac7bc52abe2955d3354342cb" + +inherit meson pkgconfig + +EXTRA_OEMESON = "-Dtests=disabled" + --2.44.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#198228): <https://lists.openembedded.org/g/openembedded-core/message/198228>
Mute This Topic: <https://lists.openembedded.org/mt/105533281/3618223>
Group Owner: [email protected] <mailto:[email protected]>
Unsubscribe: <https://lists.openembedded.org/g/openembedded-core/unsub> [[email protected] <mailto:[email protected]>]
-=-=-=-=-=-=-=-=-=-=-=-
Wait. Something doesn't compute here. Where is the libei dependency introduced in commit history? I'm not seeing it:
https://gitlab.freedesktop.org/xorg/xserver/-/commits/xwayland-23.2
Alex
Quoted 13 lines · Markus Volk
One thing I have just seen. If not using systemd the libei recipe will depend on the external sd-bus library 'basu' which is also not available in oe-core. How do you want to deal with this?
Also include basu or make this recipe systemd only by default?
On Mon, Apr 15 2024 at 12:59:10 PM +02:00:00, Markus Volk <[email protected]> wrote:
Libei has been the multi-year effort by Red Hat's Peter Hutterer on emulated input handling for Wayland. Libei consists of a client side library and EIS as the "Emulated Input Server" for this Wayland-focused emulated input device solution. Signed-off-by: Markus Volk <[email protected]> --- meta/recipes-graphics/wayland/libei_1.2.1.bb | 25 ++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 meta/recipes-graphics/wayland/libei_1.2.1.bb diff --git a/meta/recipes-graphics/wayland/libei_1.2.1.bb b/meta/recipes-graphics/wayland/libei_1.2.1.bb new file mode 100644 index 0000000000..807dcea1ed ---
/dev/null+++ b/meta/recipes-graphics/wayland/libei_1.2.1.bb @@ -0,0 +1,25 @@ +SUMMARY = "libei is a library for Emulated Input, primarily aimed at the Wayland stack." +HOMEPAGE = "https://gitlab.freedesktop.org/libinput/libei" +SECTION = "graphics" +LICENSE = "MIT" + +LIC_FILES_CHKSUM = "file://COPYING;md5=a98fa76460f96f41696611d6f07e8d49" + +DEPENDS = " \ + libxkbcommon \ + libevdev \ + libxslt-native \ + python3-attrs-native \ + python3-jinja2-native \ + ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', 'basu', d)} \ +" + +SRC_URI = "git://gitlab.freedesktop.org/libinput/libei.git;protocol=https;branch=main" + +S = "${WORKDIR}/git" +SRCREV = "08f1d41085a6ae4bac7bc52abe2955d3354342cb" + +inherit meson pkgconfig + +EXTRA_OEMESON = "-Dtests=disabled" + --
2.44.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#198228): https://lists.openembedded.org/g/openembedded-core/message/198228 Mute This Topic: https://lists.openembedded.org/mt/105533281/3618223 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
Quoted 3 lines · Alexander Kanavin
This means we need a new set of PACKAGECONFIG options for
xwayland_ei, and pick the one that sets it to to false by default. Similar toXORG_CRYPTOin that recipe.
Thank you for the review. I have made these changes and verified that all three options work. Great :)