Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/1] matchbox-panel-2: add sysfs support
@ 2024-10-20 11:39 Dixit Parmar
  2024-10-21 10:31 ` [OE-core] " Alexander Kanavin
  0 siblings, 1 reply; 3+ messages in thread
From: Dixit Parmar @ 2024-10-20 11:39 UTC (permalink / raw)
  To: openembedded-core; +Cc: Dixit Parmar

This configures matchbox-panel-2 to use sysfs based
mechanism to retrieve power_supply information.
Kept previous options(acpi, apm) as it is because the
configure.ac allows only single configuration at a time.

Signed-off-by: Dixit Parmar <dixitparmar19@gmail.com>
---
 meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_2.11.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_2.11.bb b/meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_2.11.bb
index 3dec68b963..a0e7110534 100644
--- a/meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_2.11.bb
+++ b/meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_2.11.bb
@@ -30,6 +30,7 @@ SRC_URI = "git://git.yoctoproject.org/${BPN};branch=master \
 EXTRA_OECONF = "--enable-startup-notification --enable-dbus"
 EXTRA_OECONF += " ${@bb.utils.contains("MACHINE_FEATURES", "acpi", "--with-battery=acpi", "",d)}"
 EXTRA_OECONF += " ${@bb.utils.contains("MACHINE_FEATURES", "apm", "--with-battery=apm", "",d)}"
+EXTRA_OECONF += "--with-battery=sysfs"
 
 S = "${WORKDIR}/git"
 
-- 
2.43.0



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

* Re: [OE-core] [PATCH 1/1] matchbox-panel-2: add sysfs support
  2024-10-20 11:39 [PATCH 1/1] matchbox-panel-2: add sysfs support Dixit Parmar
@ 2024-10-21 10:31 ` Alexander Kanavin
  2024-10-21 11:58   ` Dixit Parmar
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Kanavin @ 2024-10-21 10:31 UTC (permalink / raw)
  To: dixitparmar19; +Cc: openembedded-core

Does this need support fo sysfs to land in the matchbox-panel
repository first? If so, then it needs to happen, and this should
include the matching SRCREV update.

Alex

On Sun, 20 Oct 2024 at 13:40, Dixit Parmar via lists.openembedded.org
<dixitparmar19=gmail.com@lists.openembedded.org> wrote:
>
> This configures matchbox-panel-2 to use sysfs based
> mechanism to retrieve power_supply information.
> Kept previous options(acpi, apm) as it is because the
> configure.ac allows only single configuration at a time.
>
> Signed-off-by: Dixit Parmar <dixitparmar19@gmail.com>
> ---
>  meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_2.11.bb | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_2.11.bb b/meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_2.11.bb
> index 3dec68b963..a0e7110534 100644
> --- a/meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_2.11.bb
> +++ b/meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_2.11.bb
> @@ -30,6 +30,7 @@ SRC_URI = "git://git.yoctoproject.org/${BPN};branch=master \
>  EXTRA_OECONF = "--enable-startup-notification --enable-dbus"
>  EXTRA_OECONF += " ${@bb.utils.contains("MACHINE_FEATURES", "acpi", "--with-battery=acpi", "",d)}"
>  EXTRA_OECONF += " ${@bb.utils.contains("MACHINE_FEATURES", "apm", "--with-battery=apm", "",d)}"
> +EXTRA_OECONF += "--with-battery=sysfs"
>
>  S = "${WORKDIR}/git"
>
> --
> 2.43.0
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#206091): https://lists.openembedded.org/g/openembedded-core/message/206091
> Mute This Topic: https://lists.openembedded.org/mt/109113250/1686489
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alex.kanavin@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>


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

* Re: [PATCH 1/1] matchbox-panel-2: add sysfs support
  2024-10-21 10:31 ` [OE-core] " Alexander Kanavin
@ 2024-10-21 11:58   ` Dixit Parmar
  0 siblings, 0 replies; 3+ messages in thread
From: Dixit Parmar @ 2024-10-21 11:58 UTC (permalink / raw)
  To: openembedded-core

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

Hi Alex,
Thank you for pointing out the SRCREV, I will update it once the matchbox-panel-2 component's changes get accepted. Thanks

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

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

end of thread, other threads:[~2024-10-21 11:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-20 11:39 [PATCH 1/1] matchbox-panel-2: add sysfs support Dixit Parmar
2024-10-21 10:31 ` [OE-core] " Alexander Kanavin
2024-10-21 11:58   ` Dixit Parmar

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