Skip to contentSkip to conversation

package/weston: install to staging

PATCH In review James Hilliard 3 participants 5 messages Sep 9, 2022 – Sep 17, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 package/weston: install to staging

We need to install weston to staging so that applications like cog can use weston-direct-display.

---
 package/weston/weston.mk | 1 +
 1 file changed, 1 insertion(+)
package/weston/weston.mk +1 -0
index e6c54ee7aa..5e71473640 100644
@@ -10,6 +10,7 @@ WESTON_SOURCE = weston-$(WESTON_VERSION).tar.xz
 WESTON_LICENSE = MIT
 WESTON_LICENSE_FILES = COPYING
 WESTON_CPE_ID_VENDOR = wayland
+WESTON_INSTALL_STAGING = YES
 
 WESTON_DEPENDENCIES = host-pkgconf wayland wayland-protocols \
 	libxkbcommon pixman libpng udev cairo libinput libdrm
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH 2/2 package/cog: add weston direct display support

Enable optional weston direct display support when weston is available.

---
 package/cog/cog.mk | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
package/cog/cog.mk +7 -1
index 5f7abcab1f..1f24bebee4 100644
@@ -14,11 +14,17 @@ COG_LICENSE_FILES = COPYING
 COG_CONF_OPTS = \
 	-DCOG_BUILD_PROGRAMS=ON \
 	-DCOG_PLATFORM_HEADLESS=ON \
-	-DCOG_WESTON_DIRECT_DISPLAY=OFF \
 	-DINSTALL_MAN_PAGES=OFF \
 	-DCOG_HOME_URI='$(call qstrip,$(BR2_PACKAGE_COG_PROGRAMS_HOME_URI))' \
 	-DUSE_SOUP2=ON
 
+ifeq ($(BR2_PACKAGE_WESTON),y)
+COG_CONF_OPTS += -DCOG_WESTON_DIRECT_DISPLAY=ON
+COG_DEPENDENCIES += weston
+else
+COG_CONF_OPTS += -DCOG_WESTON_DIRECT_DISPLAY=OFF
+endif
+
 ifeq ($(BR2_PACKAGE_COG_PLATFORM_FDO),y)
 COG_CONF_OPTS += -DCOG_PLATFORM_WL=ON
 COG_DEPENDENCIES += libxkbcommon wayland-protocols
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Reviewed-by on v1 2/2
#2 lore raw

Re: [Buildroot] [PATCH 2/2] package/cog: add weston direct display support

Hi,

Patch set LGTM.

Quoted 4 lines · On Thu, 08 Sep 2022 23:08:00 -0600 James Hilliard <[email protected]>…

Enable optional weston direct display support when weston is available.

Quoted 35 lines
---
 package/cog/cog.mk | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
package/cog/cog.mk +7 -1
index 5f7abcab1f..1f24bebee4 100644
@@ -14,11 +14,17 @@ COG_LICENSE_FILES = COPYING
 COG_CONF_OPTS = \
 	-DCOG_BUILD_PROGRAMS=ON \
 	-DCOG_PLATFORM_HEADLESS=ON \
-	-DCOG_WESTON_DIRECT_DISPLAY=OFF \
 	-DINSTALL_MAN_PAGES=OFF \
 	-DCOG_HOME_URI='$(call qstrip,$(BR2_PACKAGE_COG_PROGRAMS_HOME_URI))' \
 	-DUSE_SOUP2=ON
 
+ifeq ($(BR2_PACKAGE_WESTON),y)
+COG_CONF_OPTS += -DCOG_WESTON_DIRECT_DISPLAY=ON
+COG_DEPENDENCIES += weston
+else
+COG_CONF_OPTS += -DCOG_WESTON_DIRECT_DISPLAY=OFF
+endif
+
 ifeq ($(BR2_PACKAGE_COG_PLATFORM_FDO),y)
 COG_CONF_OPTS += -DCOG_PLATFORM_WL=ON
 COG_DEPENDENCIES += libxkbcommon wayland-protocols
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

Cheers,
—Adrián

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

Reviewed-by on v1 1/2
#3 lore raw
In reply to James Hilliard

Hi,

Patch set LGTM.

Quoted 4 lines · On Thu, 08 Sep 2022 23:07:59 -0600 James Hilliard <[email protected]>…

We need to install weston to staging so that applications like cog can use weston-direct-display.

Quoted 20 lines
---
 package/weston/weston.mk | 1 +
 1 file changed, 1 insertion(+)
package/weston/weston.mk +1 -0
index e6c54ee7aa..5e71473640 100644
@@ -10,6 +10,7 @@ WESTON_SOURCE = weston-$(WESTON_VERSION).tar.xz
 WESTON_LICENSE = MIT
 WESTON_LICENSE_FILES = COPYING
 WESTON_CPE_ID_VENDOR = wayland
+WESTON_INSTALL_STAGING = YES
 
 WESTON_DEPENDENCIES = host-pkgconf wayland wayland-protocols \
 	libxkbcommon pixman libpng udev cairo libinput libdrm
Signature · 1 line
2.34.1

Cheers,
—Adrián

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#4 lore raw
In reply to James Hilliard
Quoted 7 lines · On Thu, 8 Sep 2022 23:07:59 -0600 James Hilliard <[email protected]>…

We need to install weston to staging so that applications like cog can use weston-direct-display.

---
 package/weston/weston.mk | 1 +
 1 file changed, 1 insertion(+)

Both applied, thanks! And thanks Adrian for the review!

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot