Openembedded Core Discussions
 help / color / mirror / Atom feed
* [oe-core][RFC 0/3] Display manager proposal for x11 and wayland
@ 2025-03-14  0:29 rs
  2025-03-14  0:29 ` [PATCH] Revert "gettext: fix a parallel build issue" rs
                   ` (7 more replies)
  0 siblings, 8 replies; 19+ messages in thread
From: rs @ 2025-03-14  0:29 UTC (permalink / raw)
  To: otavio.salvador, alex.kanavin
  Cc: richard.purdie, ross.burton, alex, otavio, kexin.hao, afd,
	detheridge, denis, reatmon, openembedded-core, vijayp

From: Randolph Sapp <rs@ti.com>

Example implementation of emptty for weston-init following the request on the
previous RFC [1] and previous example [2]. This variant is applicable to master.

This packages emptty and a default configuration for emptty as "emptty" and
"emptty-conf" respectively. This allows the existing init packages to override
the configuration similar to the way grub boot configs are handled.

The weston-init package still handles the weston config and weston user setup as
it always has. The only real difference from a consumer standpoint is that the
autologin group for the weston user changed from "wayland" to the more generic
"nopasswdlogin".

[1] https://lists.openembedded.org/g/openembedded-core/message/212640
[2] https://lists.openembedded.org/g/openembedded-core/message/212785 

Randolph Sapp (3):
  emptty: add version 0.13.0
  weston-init: convert to virtual-emptty-conf
  default-providers: set virtual-emptty-conf

 .../conf/distro/include/default-providers.inc |  1 +
 meta/recipes-graphics/emptty/emptty/init      | 26 ++++++
 meta/recipes-graphics/emptty/emptty/pamconf   | 10 +++
 meta/recipes-graphics/emptty/emptty_0.13.0.bb | 80 +++++++++++++++++++
 meta/recipes-graphics/wayland/weston-init.bb  | 61 +++-----------
 .../wayland/weston-init/emptty.conf           | 77 ++++++++++++++++++
 .../recipes-graphics/wayland/weston-init/init | 54 -------------
 .../wayland/weston-init/weston-autologin      | 11 ---
 .../wayland/weston-init/weston-socket.sh      | 20 -----
 .../wayland/weston-init/weston.env            |  0
 .../wayland/weston-init/weston.service        | 71 ----------------
 .../wayland/weston-init/weston.socket         | 14 ----
 12 files changed, 206 insertions(+), 219 deletions(-)
 create mode 100644 meta/recipes-graphics/emptty/emptty/init
 create mode 100644 meta/recipes-graphics/emptty/emptty/pamconf
 create mode 100644 meta/recipes-graphics/emptty/emptty_0.13.0.bb
 create mode 100644 meta/recipes-graphics/wayland/weston-init/emptty.conf
 delete mode 100644 meta/recipes-graphics/wayland/weston-init/init
 delete mode 100644 meta/recipes-graphics/wayland/weston-init/weston-autologin
 delete mode 100755 meta/recipes-graphics/wayland/weston-init/weston-socket.sh
 delete mode 100644 meta/recipes-graphics/wayland/weston-init/weston.env
 delete mode 100644 meta/recipes-graphics/wayland/weston-init/weston.service
 delete mode 100644 meta/recipes-graphics/wayland/weston-init/weston.socket

-- 
2.48.1



^ permalink raw reply	[flat|nested] 19+ messages in thread
* [oe-core][PATCH] bzip2: add libbz2.so.1.0 link for compat
@ 2024-03-16  0:19 rs
  2024-03-16 16:52 ` Alexander Kanavin
  2024-03-17  9:28 ` Richard Purdie
  0 siblings, 2 replies; 19+ messages in thread
From: rs @ 2024-03-16  0:19 UTC (permalink / raw)
  To: richard.purdie, reatmon, denys; +Cc: openembedded-core

From: Randolph Sapp <rs@ti.com>

Add a link from libbz2.so.1.0 to libbz2.so.${PV} for compatibility with
other distributions.

A handfull of distributions are still using the "Makefile-libbz2_so" to
generate libbz2 and bzip2-shared. This creates a library with a soname
of "libbz2.so.1.0". This library link is not provide by default in
autotools builds so add one here as Gentoo does now [1].

This has been addressed upstream already, but there hasn't been a stable
release since then [2].

[1] https://bugs.gentoo.org/338321
[2] https://gitlab.com/bzip2/bzip2/-/merge_requests/42

Signed-off-by: Randolph Sapp <rs@ti.com>
---
 meta/recipes-extended/bzip2/bzip2_1.0.8.bb | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meta/recipes-extended/bzip2/bzip2_1.0.8.bb b/meta/recipes-extended/bzip2/bzip2_1.0.8.bb
index 4e3a06f240..4453171701 100644
--- a/meta/recipes-extended/bzip2/bzip2_1.0.8.bb
+++ b/meta/recipes-extended/bzip2/bzip2_1.0.8.bb
@@ -62,6 +62,11 @@ do_install_ptest () {
 	sed -i -e "s|^Makefile:|_Makefile:|" ${D}${PTEST_PATH}/Makefile
 }
 
+# add the following link for cross-distro compatibility
+do_install:append () {
+	ln -s libbz2.so.${PV} "${D}${libdir}/libbz2.so.1.0"
+}
+
 FILES:libbz2 = "${libdir}/lib*${SOLIBS}"
 
 RDEPENDS:${PN}-ptest += "make bash"
-- 
2.44.0



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

end of thread, other threads:[~2025-03-15  0:36 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-14  0:29 [oe-core][RFC 0/3] Display manager proposal for x11 and wayland rs
2025-03-14  0:29 ` [PATCH] Revert "gettext: fix a parallel build issue" rs
2025-03-14 18:13   ` Ross Burton
2025-03-14 18:32     ` Randolph Sapp
2025-03-14  0:29 ` [PATCH] bzip2: add libbz2.so.1.0 link for compat rs
2025-03-14  0:29 ` [oe-core][RFC 1/3] emptty: add version 0.13.0 rs
2025-03-14  0:29 ` [oe-core][RFC 2/3] weston-init: convert to virtual-emptty-conf rs
2025-03-14  0:48   ` Patchtest results for " patchtest
2025-03-14  0:29 ` [oe-core][RFC 3/3] default-providers: set virtual-emptty-conf rs
     [not found] ` <182C83EE5DCDDC9F.6194@lists.openembedded.org>
2025-03-14  0:39   ` [OE-core] [PATCH] Revert "gettext: fix a parallel build issue" Randolph Sapp
     [not found] ` <182C83EDE0EF5771.27055@lists.openembedded.org>
2025-03-14  0:40   ` [OE-core] [PATCH] bzip2: add libbz2.so.1.0 link for compat Randolph Sapp
2025-03-14  9:14 ` [oe-core][RFC 0/3] Display manager proposal for x11 and wayland Alexander Kanavin
2025-03-14 19:14   ` Randolph Sapp
2025-03-15  0:36     ` Randolph Sapp
  -- strict thread matches above, loose matches on Subject: below --
2024-03-16  0:19 [oe-core][PATCH] bzip2: add libbz2.so.1.0 link for compat rs
2024-03-16 16:52 ` Alexander Kanavin
2024-03-18 19:15   ` Randolph Sapp
2024-03-17  9:28 ` Richard Purdie
2024-03-18 19:13   ` Randolph Sapp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox