All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC][oe-core][PATCHv2 1/2] libei: import recipe from meta-oe
@ 2024-04-15 10:59 Markus Volk
  0 siblings, 0 replies; 4+ messages in thread
From: Markus Volk @ 2024-04-15 10:59 UTC (permalink / raw)
  To: openembedded-core

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 <f_l_k@t-online.de>
---
 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



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [RFC][oe-core][PATCHv2 1/2] libei: import recipe from meta-oe
       [not found] <17C66EFC7A908A1D.10598@lists.openembedded.org>
@ 2024-04-15 11:07 ` Markus Volk
  2024-04-15 11:25   ` Alexander Kanavin
  0 siblings, 1 reply; 4+ messages in thread
From: Markus Volk @ 2024-04-15 11:07 UTC (permalink / raw)
  To: Markus Volk; +Cc: Alexander Kanavin, openembedded-core

[-- Attachment #1: Type: text/plain, Size: 2530 bytes --]

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 
<f_l_k@t-online.de> 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 <f_l_k@t-online.de 
> <mailto:f_l_k@t-online.de>>
> ---
>  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" 
> <file://copying;md5=a98fa76460f96f41696611d6f07e8d49/>
> +
> +DEPENDS = " \
> +	libxkbcommon \
> +	libevdev \
> +	libxslt-native \
> +	python3-attrs-native \
> +	python3-jinja2-native \
> +	${@bb.utils.contains 
> <mailto:${@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: openembedded-core+owner@lists.openembedded.org 
> <mailto:openembedded-core+owner@lists.openembedded.org>
> Unsubscribe: 
> <https://lists.openembedded.org/g/openembedded-core/unsub> 
> [f_l_k@t-online.de <mailto:f_l_k@t-online.de>]
> -=-=-=-=-=-=-=-=-=-=-=-
> 


[-- Attachment #2: Type: text/html, Size: 3034 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [RFC][oe-core][PATCHv2 1/2] libei: import recipe from meta-oe
  2024-04-15 11:07 ` [RFC][oe-core][PATCHv2 1/2] libei: import recipe from meta-oe Markus Volk
@ 2024-04-15 11:25   ` Alexander Kanavin
       [not found]     ` <S9FZBS.32DDJ2ORYUB6@t-online.de>
  0 siblings, 1 reply; 4+ messages in thread
From: Alexander Kanavin @ 2024-04-15 11:25 UTC (permalink / raw)
  To: Markus Volk; +Cc: openembedded-core

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


On Mon, 15 Apr 2024 at 13:07, Markus Volk <f_l_k@t-online.de> wrote:
>
> 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 <f_l_k@t-online.de> 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 <f_l_k@t-online.de> --- 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: openembedded-core+owner@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [f_l_k@t-online.de] -=-=-=-=-=-=-=-=-=-=-=-


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [RFC][oe-core][PATCHv2 1/2] libei: import recipe from meta-oe
       [not found]       ` <CANNYZj9dv1AEOiQdg7xOB9uUwCoW_C_sS5RLmDNX0-WVZ0z=iA@mail.gmail.com>
@ 2024-04-15 12:22         ` Markus Volk
  0 siblings, 0 replies; 4+ messages in thread
From: Markus Volk @ 2024-04-15 12:22 UTC (permalink / raw)
  To: Alexander Kanavin, openembedded-core; +Cc: Markus Volk

[-- Attachment #1: Type: text/plain, Size: 373 bytes --]

On Mon, Apr 15 2024 at 01:54:48 PM +02:00:00, Alexander Kanavin 
<alex.kanavin@gmail.com> wrote:
> 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 to
> XORG_CRYPTO in that recipe.

Thank you for the review. I have made these changes and verified that 
all three options work.
Great :)


[-- Attachment #2: Type: text/html, Size: 556 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-04-15 12:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <17C66EFC7A908A1D.10598@lists.openembedded.org>
2024-04-15 11:07 ` [RFC][oe-core][PATCHv2 1/2] libei: import recipe from meta-oe Markus Volk
2024-04-15 11:25   ` Alexander Kanavin
     [not found]     ` <S9FZBS.32DDJ2ORYUB6@t-online.de>
     [not found]       ` <CANNYZj9dv1AEOiQdg7xOB9uUwCoW_C_sS5RLmDNX0-WVZ0z=iA@mail.gmail.com>
2024-04-15 12:22         ` Markus Volk
2024-04-15 10:59 Markus Volk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.