Skip to contentSkip to conversation

Added config option to expose browser remote control on the D-Bus system bus

PATCH New Adrian Sweet 2 participants 2 messages Mar 16, 2021

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 Added config option to expose browser remote control on the D-Bus system bus

---
 package/cog/Config.in | 5 +++++
 package/cog/cog.mk    | 6 ++++++
 2 files changed, 11 insertions(+)
package/cog/Config.in +5 -0
index a9ca7473a9..534d3adebc 100644
@@ -47,6 +47,11 @@ config BR2_PACKAGE_COG_PLATFORM_DRM
 	  with video drivers that support kernel mode-setting (KMS)
 	  via the DRM user-space API.
 
+config BR2_PACKAGE_COG_USE_SYSTEM_DBUS
+       bool "Use D-Bus system bus"
+       help
+         Expose remote control interface on system bus
+
 comment "DRM platform needs mesa3d w/ EGL driver and GBM"
 	depends on !BR2_PACKAGE_MESA3D_OPENGL_EGL
 
package/cog/cog.mk +6 -0
index c7fc5e6fee..86bdf935d2 100644
@@ -31,4 +31,10 @@ else
 COG_CONF_OPTS += -DCOG_PLATFORM_DRM=OFF
 endif
 
+ifeq ($(BR2_PACKAGE_COG_USE_SYSTEM_DBUS),y)
+COG_CONF_OPTS += -DCOG_DBUS_SYSTEM_BUS=ON
+else
+COG_CONF_OPTS += -DCOG_DBUS_SYSTEM_BUS=OFF
+endif
+
 $(eval $(cmake-package))
Signature · 1 line
2.25.1
#1 lore raw

PATCH v2 1/1 Added config option to expose browser remote control on the D-Bus system bus

Hello Adrian,

Quoted 5 lines · On Tue, 16 Mar 2021 09:47:27 +0000 Adrian Sweet <[email protected]>…
---
 package/cog/Config.in | 5 +++++
 package/cog/cog.mk    | 6 ++++++
 2 files changed, 11 insertions(+)

Thanks a lot, I have applied your patch. There were a few minor issues
though: the indentation in the Config.in file was not correct (this is spotted by running "make check-package") and the commit title was missing the package name as a prefix. I fixed that up when applying.

Thanks again!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com