Skip to contentSkip to conversation

weston-init: remove misleading comment about udev rule

PATCH New Otavio Salvador 1 participant 4 messages Sep 9, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 weston-init: remove misleading comment about udev rule

The udev rule has been removed but the comment has kept, by mistake. Remove it.

Fixes dd83fb40f7 ("weston-init: Stop running weston as root")

---

 meta/recipes-graphics/wayland/weston-init.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-graphics/wayland/weston-init.bb +1 -1
index 1884b5d440..024e400665 100644
@@ -36,7 +36,7 @@ do_install() {
 		sed -i 's#ROOTHOME#${ROOT_HOME}#' ${D}/${sysconfdir}/init.d/weston
 	fi
 
-	# Install Weston systemd service and accompanying udev rule
+	# Install Weston systemd service
 	if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
 		install -D -p -m0644 ${WORKDIR}/weston.service ${D}${systemd_system_unitdir}/weston.service
 		install -D -p -m0644 ${WORKDIR}/weston.socket ${D}${systemd_system_unitdir}/weston.socket
Signature · 1 line
2.41.0
#1 lore raw

PATCH 2/4 weston-init: fix init code indentation

---

 meta/recipes-graphics/wayland/weston-init/init | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-graphics/wayland/weston-init/init +1 -1
index d3b0d1873e..a5c54e001e 100644
@@ -30,7 +30,7 @@ done
 case "$1" in
   start)
         . /etc/profile
-	export HOME=ROOTHOME
+	      export HOME=ROOTHOME
 
         WESTON_USER=weston weston-start $OPTARGS &
   ;;
Signature · 1 line
2.41.0
#2 lore raw

PATCH 3/4 weston: Upgrade version 12.0.1 -> 12.0.2

In reply to Otavio Salvador

From: Luan Rafael Carneiro <[email protected]>

This is a bug fix release for 12.0 version. Full commit history bellow:

Derek Foreman (1):
data-device: Don't make a weston_coord with no valid space

Leandro Ribeiro (3):
drm: drop disable_planes being false as a condition to support writeback
drm: do not pull writeback task if KMS atomic API is not supported
tests: assert that capture info was received before trying screenshot

Liu, Kai1 (1):
xwm: WM_TRANSIENT_FOR should not point to override-redirect window

Marius Vlad (3):
backend-drm: Make DRM_CAP_ATOMIC_ASYNC_PAGE_FLIP inert backend-drm/meson.build: Require at least mesa 21.1.1
build: bump to version 12.0.2 for the point release

Michael Olbrich (1):

      backend-wayland: fix --fullscreen

Pekka Paalanen (1):

      man: make --wait-for-debugger findable

Philipp Zabel (2):
backend-rdp: extract weston_output_set_single_mode()
backend-vnc: use weston_output_set_single_mode()

---

 .../wayland/{weston_12.0.1.bb => weston_12.0.2.bb}              | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-graphics/wayland/{weston_12.0.1.bb => weston_12.0.2.bb} (98%)
meta/recipes-graphics/wayland/weston_12.0.2.bb renamed from meta/recipes-graphics/wayland/weston_12.0.1.bb +1 -1
similarity index 98%
rename from meta/recipes-graphics/wayland/weston_12.0.1.bb
rename to meta/recipes-graphics/wayland/weston_12.0.2.bb
index 8c2438cdaa..cc7f95eea8 100644
@@ -13,7 +13,7 @@ SRC_URI = "https://gitlab.freedesktop.org/wayland/weston/-/releases/${PV}/downlo
            file://systemd-notify.weston-start \
            "
 
-SRC_URI[sha256sum] = "b18591eab278bc191720f6c09158040b795e7118af1d5ddca6acd9a8e2039535"
+SRC_URI[sha256sum] = "eb686a7cf00992a23b17f192fca9a887313e92c346ee35d8575196983d656b4a"
 
 UPSTREAM_CHECK_URI = "https://wayland.freedesktop.org/releases.html"
 UPSTREAM_CHECK_REGEX = "weston-(?P<pver>\d+\.\d+\.(?!9\d+)\d+)"
Signature · 1 line
2.41.0
#3 lore raw

PATCH 4/4 weston: Add sysconfdir to FILES:${PN}

In reply to Otavio Salvador

From: Luan Rafael Carneiro <[email protected]>

When enabling the vnc feature as backend, the weston-remote-access is installed from meson inside the /etc/pam.d directory.

---

 meta/recipes-graphics/wayland/weston_12.0.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-graphics/wayland/weston_12.0.2.bb +1 -1
index cc7f95eea8..5a179e6770 100644
@@ -132,7 +132,7 @@ PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', '${PN}-xwayland',
              libweston-${WESTON_MAJOR_VERSION} ${PN}-examples"
 
 FILES:${PN}-dev += "${libdir}/${BPN}/libexec_weston.so"
-FILES:${PN} = "${bindir}/weston ${bindir}/weston-terminal ${bindir}/weston-info ${bindir}/weston-launch ${bindir}/wcap-decode ${libexecdir} ${libdir}/${BPN}/*.so* ${datadir}"
+FILES:${PN} = "${sysconfdir} ${bindir}/weston ${bindir}/weston-terminal ${bindir}/weston-info ${bindir}/weston-launch ${bindir}/wcap-decode ${libexecdir} ${libdir}/${BPN}/*.so* ${datadir}"
 
 FILES:libweston-${WESTON_MAJOR_VERSION} = "${libdir}/lib*${SOLIBS} ${libdir}/libweston-${WESTON_MAJOR_VERSION}/*.so"
 SUMMARY:libweston-${WESTON_MAJOR_VERSION} = "Helper library for implementing 'wayland window managers'."
Signature · 1 line
2.41.0