[OE-core] [PATCH] xorg-xserver : Disabled BlankTime, StandbyTime, SuspendTime and OffTime in X default for QEMU images

2024-04-12 Thread K Sanjay Nayak
Fixes [YOCTO #15436]

This fix addresses the issue of Xserver screensaver blanking being enabled on 
QEMU images by
disabling BlankTime, StandbyTime, SuspendTime, and OffTime in the Xorg default 
settings for QEMU images.

Reference : https://www.x.org/archive/X11R6.8.0/doc/xorg.conf.5.html

Reported-by   : Richard Purdie 
Signed-off-by: K Sanjay Nayak 
---
 .../xorg-xserver/xserver-xf86-config/qemuarm/xorg.conf| 4 
 .../xorg-xserver/xserver-xf86-config/qemuppc/xorg.conf| 4 
 .../xorg-xserver/xserver-xf86-config/qemush4/xorg.conf| 4 
 .../xorg-xserver/xserver-xf86-config/qemux86-64/xorg.conf | 4 
 .../xorg-xserver/xserver-xf86-config/qemux86/xorg.conf| 4 
 5 files changed, 20 insertions(+)

diff --git 
a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuarm/xorg.conf 
b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuarm/xorg.conf
index f4cd139e8d..3eb380a0a4 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuarm/xorg.conf
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuarm/xorg.conf
@@ -35,4 +35,8 @@ Section "ServerLayout"
 Identifier"Default Layout"
 Screen"Default Screen"
 Option "AllowEmptyInput" "no"
+Option"BlankTime" "0"
+Option"StandbyTime" "0"
+Option"SuspendTime" "0"
+Option"OffTime" "0"
 EndSection
diff --git 
a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuppc/xorg.conf 
b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuppc/xorg.conf
index f4cd139e8d..3eb380a0a4 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuppc/xorg.conf
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuppc/xorg.conf
@@ -35,4 +35,8 @@ Section "ServerLayout"
 Identifier"Default Layout"
 Screen"Default Screen"
 Option "AllowEmptyInput" "no"
+Option"BlankTime" "0"
+Option"StandbyTime" "0"
+Option"SuspendTime" "0"
+Option"OffTime" "0"
 EndSection
diff --git 
a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemush4/xorg.conf 
b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemush4/xorg.conf
index f4cd139e8d..3eb380a0a4 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemush4/xorg.conf
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemush4/xorg.conf
@@ -35,4 +35,8 @@ Section "ServerLayout"
 Identifier"Default Layout"
 Screen"Default Screen"
 Option "AllowEmptyInput" "no"
+Option"BlankTime" "0"
+Option"StandbyTime" "0"
+Option"SuspendTime" "0"
+Option"OffTime" "0"
 EndSection
diff --git 
a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86-64/xorg.conf 
b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86-64/xorg.conf
index c12d92c201..c01c3331c5 100644
--- 
a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86-64/xorg.conf
+++ 
b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86-64/xorg.conf
@@ -30,4 +30,8 @@ Section "ServerLayout"
 Identifier"Default Layout"
 Screen"Default Screen"
 Option "AllowEmptyInput" "no"
+Option"BlankTime" "0"
+Option"StandbyTime" "0"
+Option"SuspendTime" "0"
+Option"OffTime" "0"
 EndSection
diff --git 
a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86/xorg.conf 
b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86/xorg.conf
index c12d92c201..c01c3331c5 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86/xorg.conf
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86/xorg.conf
@@ -30,4 +30,8 @@ Section "ServerLayout"
 Identifier"Default Layout"
 Screen"Default Screen"
 Option "AllowEmptyInput" "no"
+Option"BlankTime" "0"
+Option"StandbyTime" "0"
+Option"SuspendTime" "0"
+Option"OffTime" "0"
 EndSection
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#198184): 
https://lists.openembedded.org/g/openembedded-core/message/198184
Mute This Topic: https://lists.openembedded.org/mt/105488284/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH] Replaced :append with += in multiple recipe files under meta layer.

2024-04-12 Thread K Sanjay Nayak
Fixes [YOCTO #2951]

Conditional operator is preferred over the append operation,
hence modified multiple recipes under the meta-layer.

Reported-by : Christopher Larson 
Signed-off-by: K Sanjay Nayak 
---
 meta/recipes-bsp/grub/grub-efi_2.12.bb  | 2 +-
 meta/recipes-core/initscripts/initscripts_1.0.bb| 2 +-
 meta/recipes-core/sysvinit/sysvinit_3.04.bb | 2 +-
 .../baremetal-example/baremetal-helloworld_git.bb   | 2 +-
 meta/recipes-extended/less/less_643.bb  | 2 +-
 meta/recipes-gnome/librsvg/librsvg_2.57.1.bb| 2 +-
 meta/recipes-graphics/waffle/waffle_1.7.2.bb| 2 +-
 meta/recipes-support/libgpg-error/libgpg-error_1.48.bb  | 2 +-
 meta/recipes-support/ptest-runner/ptest-runner_2.4.3.bb | 2 +-
 9 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/meta/recipes-bsp/grub/grub-efi_2.12.bb 
b/meta/recipes-bsp/grub/grub-efi_2.12.bb
index 9857e8e036..4cd1c696f4 100644
--- a/meta/recipes-bsp/grub/grub-efi_2.12.bb
+++ b/meta/recipes-bsp/grub/grub-efi_2.12.bb
@@ -4,7 +4,7 @@ require conf/image-uefi.conf
 
 GRUBPLATFORM = "efi"
 
-DEPENDS:append = " grub-native"
+DEPENDS += " grub-native"
 RDEPENDS:${PN} = "grub-common virtual-grub-bootconf"
 
 SRC_URI += " \
diff --git a/meta/recipes-core/initscripts/initscripts_1.0.bb 
b/meta/recipes-core/initscripts/initscripts_1.0.bb
index e61ac554f3..2ad4d0b0b0 100644
--- a/meta/recipes-core/initscripts/initscripts_1.0.bb
+++ b/meta/recipes-core/initscripts/initscripts_1.0.bb
@@ -42,7 +42,7 @@ SRC_URI:append:armeb = " file://alignment.sh"
 
 KERNEL_VERSION = ""
 
-DEPENDS:append = " update-rc.d-native"
+DEPENDS += " update-rc.d-native"
 PACKAGE_WRITE_DEPS:append = " 
${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd-systemctl-native','',d)}"
 
 PACKAGES =+ "${PN}-functions ${PN}-sushell"
diff --git a/meta/recipes-core/sysvinit/sysvinit_3.04.bb 
b/meta/recipes-core/sysvinit/sysvinit_3.04.bb
index 6a612468f3..2dee7bc3ce 100644
--- a/meta/recipes-core/sysvinit/sysvinit_3.04.bb
+++ b/meta/recipes-core/sysvinit/sysvinit_3.04.bb
@@ -28,7 +28,7 @@ SRC_URI[sha256sum] = 
"2a621fe6e4528bc91308b74867ddaaebbdf7753f02395c0c5bae817bd2
 S = "${WORKDIR}/sysvinit-${PV}"
 
 inherit update-alternatives features_check
-DEPENDS:append = " update-rc.d-native base-passwd virtual/crypt"
+DEPENDS += " update-rc.d-native base-passwd virtual/crypt"
 do_package_setscene[depends] = "${MLPREFIX}base-passwd:do_populate_sysroot"
 
 PACKAGECONFIG[psplash-text-updates] = ",,"
diff --git 
a/meta/recipes-extended/baremetal-example/baremetal-helloworld_git.bb 
b/meta/recipes-extended/baremetal-example/baremetal-helloworld_git.bb
index 6832ccc541..f66581cca3 100644
--- a/meta/recipes-extended/baremetal-example/baremetal-helloworld_git.bb
+++ b/meta/recipes-extended/baremetal-example/baremetal-helloworld_git.bb
@@ -25,7 +25,7 @@ inherit baremetal-image
 
 
 # startup code for x86 uses NASM syntax
-DEPENDS:qemux86:append = " nasm-native"
+DEPENDS:qemux86 += " nasm-native"
 
 # These parameters are app specific for this example
 # This will be translated automatically to the architecture and
diff --git a/meta/recipes-extended/less/less_643.bb 
b/meta/recipes-extended/less/less_643.bb
index 67834bdd58..5c17571768 100644
--- a/meta/recipes-extended/less/less_643.bb
+++ b/meta/recipes-extended/less/less_643.bb
@@ -55,7 +55,7 @@ do_install_ptest () {
 cp -r ${S}/lesstest/lt ${D}${PTEST_PATH}
 }
 
-RDEPENDS:${PN}-ptest:append = " perl-module-getopt-std perl-module-cwd 
locale-base-en-us"
+RDEPENDS:${PN}-ptest += " perl-module-getopt-std perl-module-cwd 
locale-base-en-us"
 
 ALTERNATIVE:${PN} = "less"
 ALTERNATIVE_PRIORITY = "100"
diff --git a/meta/recipes-gnome/librsvg/librsvg_2.57.1.bb 
b/meta/recipes-gnome/librsvg/librsvg_2.57.1.bb
index 4b52d4062b..b774fe8c47 100644
--- a/meta/recipes-gnome/librsvg/librsvg_2.57.1.bb
+++ b/meta/recipes-gnome/librsvg/librsvg_2.57.1.bb
@@ -30,7 +30,7 @@ UPSTREAM_CHECK_REGEX = 
"librsvg-(?P\d+\.\d+\.(?!9\d+)\d+)"
 # librsvg is still autotools-based, but is calling cargo from its 
automake-driven makefiles
 # so we cannot use cargo class directly, but still need bits and pieces from 
it 
 # for cargo to be happy
-BASEDEPENDS:append = " cargo-native"
+BASEDEPENDS += " cargo-native"
 
 export RUST_BACKTRACE = "full"
 export RUSTFLAGS
diff --git a/meta/recipes-graphics/waffle/waffle_1.7.2.bb 
b/meta/recipes-graphics/waffle/waffle_1.7.2.bb
index cb917d8894..84f2f70ab2 100644
--- a/meta/recipes-graphics/waffle/waffle_1.7.2.bb
+++ b/meta/recipes-graphics/waffle/waffle_1.7.2.bb
@@ -18,7 +18,7 @@ S = "${WORKDIR}/git"
 
 inherit meson features_check lib_package

[OE-core] [PATCH] xorg-xserver : Disabling Screensaver blanking for QEMU images

2024-04-09 Thread K Sanjay Nayak
Fixes [YOCTO #15436]

This fix addresses the issue of Xserver screensaver blanking
being enabled on QEMU images by disabling BlankTime, StandbyTime,
SuspendTime, and OffTime in the Xorg default settings for QEMU images.

Reference : https://www.x.org/archive/X11R6.8.0/doc/xorg.conf.5.html

Reported-by   : Richard Purdie 
Signed-off-by: K Sanjay Nayak 
---
 .../xorg-xserver/xserver-xf86-config/qemuarm/xorg.conf| 4 
 .../xorg-xserver/xserver-xf86-config/qemuppc/xorg.conf| 4 
 .../xorg-xserver/xserver-xf86-config/qemush4/xorg.conf| 4 
 .../xorg-xserver/xserver-xf86-config/qemux86-64/xorg.conf | 4 
 .../xorg-xserver/xserver-xf86-config/qemux86/xorg.conf| 4 
 5 files changed, 20 insertions(+)

diff --git 
a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuarm/xorg.conf 
b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuarm/xorg.conf
index f4cd139e8d..3eb380a0a4 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuarm/xorg.conf
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuarm/xorg.conf
@@ -35,4 +35,8 @@ Section "ServerLayout"
 Identifier"Default Layout"
 Screen"Default Screen"
 Option "AllowEmptyInput" "no"
+Option"BlankTime" "0"
+Option"StandbyTime" "0"
+Option"SuspendTime" "0"
+Option"OffTime" "0"
 EndSection
diff --git 
a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuppc/xorg.conf 
b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuppc/xorg.conf
index f4cd139e8d..3eb380a0a4 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuppc/xorg.conf
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuppc/xorg.conf
@@ -35,4 +35,8 @@ Section "ServerLayout"
 Identifier"Default Layout"
 Screen"Default Screen"
 Option "AllowEmptyInput" "no"
+Option"BlankTime" "0"
+Option"StandbyTime" "0"
+Option"SuspendTime" "0"
+Option"OffTime" "0"
 EndSection
diff --git 
a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemush4/xorg.conf 
b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemush4/xorg.conf
index f4cd139e8d..3eb380a0a4 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemush4/xorg.conf
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemush4/xorg.conf
@@ -35,4 +35,8 @@ Section "ServerLayout"
 Identifier"Default Layout"
 Screen"Default Screen"
 Option "AllowEmptyInput" "no"
+Option"BlankTime" "0"
+Option"StandbyTime" "0"
+Option"SuspendTime" "0"
+Option"OffTime" "0"
 EndSection
diff --git 
a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86-64/xorg.conf 
b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86-64/xorg.conf
index c12d92c201..c01c3331c5 100644
--- 
a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86-64/xorg.conf
+++ 
b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86-64/xorg.conf
@@ -30,4 +30,8 @@ Section "ServerLayout"
 Identifier"Default Layout"
 Screen"Default Screen"
 Option "AllowEmptyInput" "no"
+Option"BlankTime" "0"
+Option"StandbyTime" "0"
+Option"SuspendTime" "0"
+Option"OffTime" "0"
 EndSection
diff --git 
a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86/xorg.conf 
b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86/xorg.conf
index c12d92c201..c01c3331c5 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86/xorg.conf
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86/xorg.conf
@@ -30,4 +30,8 @@ Section "ServerLayout"
 Identifier"Default Layout"
 Screen"Default Screen"
 Option "AllowEmptyInput" "no"
+Option"BlankTime" "0"
+Option"StandbyTime" "0"
+Option"SuspendTime" "0"
+Option"OffTime" "0"
 EndSection
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#198060): 
https://lists.openembedded.org/g/openembedded-core/message/198060
Mute This Topic: https://lists.openembedded.org/mt/105418709/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH] xorg-xserver : Disabled BlankTime, StandbyTime, SuspendTime and OffTime in X default for QEMU images

2024-04-09 Thread K Sanjay Nayak
Fixes [YOCTO #15436]

This fix addresses the issue of Xserver screensaver blanking being enabled on 
QEMU images by
disabling BlankTime, StandbyTime, SuspendTime, and OffTime in the Xorg default 
settings for QEMU images.

Reference : https://www.x.org/archive/X11R6.8.0/doc/xorg.conf.5.html

Reported-by   : Richard Purdie 
Signed-off-by: K Sanjay Nayak 
---
 .../xorg-xserver/xserver-xf86-config/qemuarm/xorg.conf| 4 
 .../xorg-xserver/xserver-xf86-config/qemuppc/xorg.conf| 4 
 .../xorg-xserver/xserver-xf86-config/qemush4/xorg.conf| 4 
 .../xorg-xserver/xserver-xf86-config/qemux86-64/xorg.conf | 4 
 .../xorg-xserver/xserver-xf86-config/qemux86/xorg.conf| 4 
 5 files changed, 20 insertions(+)

diff --git 
a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuarm/xorg.conf 
b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuarm/xorg.conf
index f4cd139e8d..3eb380a0a4 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuarm/xorg.conf
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuarm/xorg.conf
@@ -35,4 +35,8 @@ Section "ServerLayout"
 Identifier"Default Layout"
 Screen"Default Screen"
 Option "AllowEmptyInput" "no"
+Option"BlankTime" "0"
+Option"StandbyTime" "0"
+Option"SuspendTime" "0"
+Option"OffTime" "0"
 EndSection
diff --git 
a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuppc/xorg.conf 
b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuppc/xorg.conf
index f4cd139e8d..3eb380a0a4 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuppc/xorg.conf
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuppc/xorg.conf
@@ -35,4 +35,8 @@ Section "ServerLayout"
 Identifier"Default Layout"
 Screen"Default Screen"
 Option "AllowEmptyInput" "no"
+Option"BlankTime" "0"
+Option"StandbyTime" "0"
+Option"SuspendTime" "0"
+Option"OffTime" "0"
 EndSection
diff --git 
a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemush4/xorg.conf 
b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemush4/xorg.conf
index f4cd139e8d..3eb380a0a4 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemush4/xorg.conf
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemush4/xorg.conf
@@ -35,4 +35,8 @@ Section "ServerLayout"
 Identifier"Default Layout"
 Screen"Default Screen"
 Option "AllowEmptyInput" "no"
+Option"BlankTime" "0"
+Option"StandbyTime" "0"
+Option"SuspendTime" "0"
+Option"OffTime" "0"
 EndSection
diff --git 
a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86-64/xorg.conf 
b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86-64/xorg.conf
index c12d92c201..c01c3331c5 100644
--- 
a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86-64/xorg.conf
+++ 
b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86-64/xorg.conf
@@ -30,4 +30,8 @@ Section "ServerLayout"
 Identifier"Default Layout"
 Screen"Default Screen"
 Option "AllowEmptyInput" "no"
+Option"BlankTime" "0"
+Option"StandbyTime" "0"
+Option"SuspendTime" "0"
+Option"OffTime" "0"
 EndSection
diff --git 
a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86/xorg.conf 
b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86/xorg.conf
index c12d92c201..c01c3331c5 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86/xorg.conf
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86/xorg.conf
@@ -30,4 +30,8 @@ Section "ServerLayout"
 Identifier"Default Layout"
 Screen"Default Screen"
 Option "AllowEmptyInput" "no"
+Option"BlankTime" "0"
+Option"StandbyTime" "0"
+Option"SuspendTime" "0"
+Option"OffTime" "0"
 EndSection
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#198056): 
https://lists.openembedded.org/g/openembedded-core/message/198056
Mute This Topic: https://lists.openembedded.org/mt/105418183/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-