All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/3] Update cage and its dependendencies
@ 2021-08-11 11:11 Adrian Perez de Castro
  2021-08-11 11:11 ` [Buildroot] [PATCH 1/3] package/wayland-protocols: bump to version 1.21 Adrian Perez de Castro
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Adrian Perez de Castro @ 2021-08-11 11:11 UTC (permalink / raw)
  To: buildroot; +Cc: Adrian Perez de Castro, Yann E . MORIN, Thomas Petazzoni

Hi all!

This patch set updates Cage and wlroots to their latest versions. The
compositor itself is unchanged and the release only includes support for
the wlroots 0.14.x--where the "juicy" updates are, and in particular a
new rendering architecture which, in my limited experience works as well
as before on an i.MX8 board I have around, and definitely better on the
Raspberry Pi 3B. I think it is not unreasonable to expect improvements
in other boards as well :-)

Best regards,
-Adrian


Adrian Perez de Castro (3):
  package/wayland-protocols: bump to version 1.21
  package/wlroots: bump to version 0.14.1
  package/cage: bump to version 0.1.4

 package/cage/cage.hash                        |  4 ++--
 package/cage/cage.mk                          |  2 +-
 .../wayland-protocols/wayland-protocols.hash  |  8 ++++----
 .../wayland-protocols/wayland-protocols.mk    |  2 +-
 package/wlroots/Config.in                     |  1 +
 package/wlroots/wlroots.hash                  |  4 ++--
 package/wlroots/wlroots.mk                    | 19 +++----------------
 7 files changed, 14 insertions(+), 26 deletions(-)

-- 
2.32.0

_______________________________________________
buildroot mailing list
buildroot@busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH 1/3] package/wayland-protocols: bump to version 1.21
  2021-08-11 11:11 [Buildroot] [PATCH 0/3] Update cage and its dependendencies Adrian Perez de Castro
@ 2021-08-11 11:11 ` Adrian Perez de Castro
  2021-08-13 13:18   ` Thomas Petazzoni
  2021-08-11 11:11 ` [Buildroot] [PATCH 2/3] package/wlroots: bump to version 0.14.1 Adrian Perez de Castro
  2021-08-11 11:11 ` [Buildroot] [PATCH 3/3] package/cage: bump to version 0.1.4 Adrian Perez de Castro
  2 siblings, 1 reply; 7+ messages in thread
From: Adrian Perez de Castro @ 2021-08-11 11:11 UTC (permalink / raw)
  To: buildroot; +Cc: Adrian Perez de Castro, Yann E . MORIN, Thomas Petazzoni

Update to version 1.21, which is required by newer wlroots releases.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
---
 package/wayland-protocols/wayland-protocols.hash | 8 ++++----
 package/wayland-protocols/wayland-protocols.mk   | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/package/wayland-protocols/wayland-protocols.hash b/package/wayland-protocols/wayland-protocols.hash
index 321fc62de5..fd6b9925eb 100644
--- a/package/wayland-protocols/wayland-protocols.hash
+++ b/package/wayland-protocols/wayland-protocols.hash
@@ -1,5 +1,5 @@
-# From https://lists.freedesktop.org/archives/wayland-devel/2020-February/041269.html
-md5  b0836533a3f2dc6585b1dae00341157f  wayland-protocols-1.20.tar.xz
-sha1  e78c739a3a85477ed524b81e8bb75efe7f8bf4df  wayland-protocols-1.20.tar.xz
-sha256  9782b7a1a863d82d7c92478497d13c758f52e7da4f197aa16443f73de77e4de7  wayland-protocols-1.20.tar.xz
+# From https://lists.freedesktop.org/archives/wayland-devel/2021-April/041815.html
+md5  8196416baac07cd833bcb86b69da41a7  wayland-protocols-1.21.tar.xz
+sha1  6e0e2a05edb43d32e3b2e3f681ef266a287a186e  wayland-protocols-1.21.tar.xz
+sha256  b99945842d8be18817c26ee77dafa157883af89268e15f4a5a1a1ff3ffa4cde5  wayland-protocols-1.21.tar.xz
 sha256  f1a2b233e8a9a71c40f4aa885be08a0842ac85bb8588703c1dd7e6e6502e3124  COPYING
diff --git a/package/wayland-protocols/wayland-protocols.mk b/package/wayland-protocols/wayland-protocols.mk
index 84028b97d5..3d7a0e472d 100644
--- a/package/wayland-protocols/wayland-protocols.mk
+++ b/package/wayland-protocols/wayland-protocols.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-WAYLAND_PROTOCOLS_VERSION = 1.20
+WAYLAND_PROTOCOLS_VERSION = 1.21
 WAYLAND_PROTOCOLS_SITE = https://wayland.freedesktop.org/releases
 WAYLAND_PROTOCOLS_SOURCE = wayland-protocols-$(WAYLAND_PROTOCOLS_VERSION).tar.xz
 WAYLAND_PROTOCOLS_LICENSE = MIT
-- 
2.32.0

_______________________________________________
buildroot mailing list
buildroot@busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH 2/3] package/wlroots: bump to version 0.14.1
  2021-08-11 11:11 [Buildroot] [PATCH 0/3] Update cage and its dependendencies Adrian Perez de Castro
  2021-08-11 11:11 ` [Buildroot] [PATCH 1/3] package/wayland-protocols: bump to version 1.21 Adrian Perez de Castro
@ 2021-08-11 11:11 ` Adrian Perez de Castro
  2021-08-13 13:18   ` Thomas Petazzoni
  2021-08-11 11:11 ` [Buildroot] [PATCH 3/3] package/cage: bump to version 0.1.4 Adrian Perez de Castro
  2 siblings, 1 reply; 7+ messages in thread
From: Adrian Perez de Castro @ 2021-08-11 11:11 UTC (permalink / raw)
  To: buildroot; +Cc: Adrian Perez de Castro, Yann E . MORIN, Thomas Petazzoni

Update to version 0.14.1, and adapt to upstream changes:

- seatd/libseat is now used unconditionally, the logind/elogind build
  options have been removed (which can be used through seatd, no
  functionality is lost).
- Now wlroots includes a software-based renderer (which uses pixman),
  and the OpenGL ES one is optional. For now it is left always enabled
  (as it was before) but this could be changed in the future.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
---
 package/wlroots/Config.in    |  1 +
 package/wlroots/wlroots.hash |  4 ++--
 package/wlroots/wlroots.mk   | 19 +++----------------
 3 files changed, 6 insertions(+), 18 deletions(-)

diff --git a/package/wlroots/Config.in b/package/wlroots/Config.in
index 41f8986772..8d485992f5 100644
--- a/package/wlroots/Config.in
+++ b/package/wlroots/Config.in
@@ -20,6 +20,7 @@ config BR2_PACKAGE_WLROOTS
 	select BR2_PACKAGE_LIBINPUT
 	select BR2_PACKAGE_LIBXKBCOMMON
 	select BR2_PACKAGE_PIXMAN
+	select BR2_PACKAGE_SEATD
 	select BR2_PACKAGE_WAYLAND
 	select BR2_PACKAGE_WAYLAND_PROTOCOLS
 	help
diff --git a/package/wlroots/wlroots.hash b/package/wlroots/wlroots.hash
index 024ea93cae..fdebe1ef68 100644
--- a/package/wlroots/wlroots.hash
+++ b/package/wlroots/wlroots.hash
@@ -1,5 +1,5 @@
-# Generated locally, after checking https://github.com/swaywm/wlroots/releases/download/0.13.0/wlroots-0.13.0.tar.gz.sig
-sha256  f6bea37fd4a6f5e5f552b83d61adae8c73e64b0bcb9ae0ab464ebcd9309d3cf3  wlroots-0.13.0.tar.gz
+# Generated locally, after checking https://github.com/swaywm/wlroots/releases/download/0.14.1/wlroots-0.14.1.tar.gz.sig
+sha256  448a83d579ac280357c8a4e902b9477bacbab81cc4d9c140e443642d458869db  wlroots-0.14.1.tar.gz
 
 # Hashes for license files:
 sha256  ffd3737a478b83a8b51b42757d3bf909ef36694508355879722e11fc1fa6736b  LICENSE
diff --git a/package/wlroots/wlroots.mk b/package/wlroots/wlroots.mk
index 0696d037df..89d5024176 100644
--- a/package/wlroots/wlroots.mk
+++ b/package/wlroots/wlroots.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-WLROOTS_VERSION = 0.13.0
+WLROOTS_VERSION = 0.14.1
 WLROOTS_SITE = https://github.com/swaywm/wlroots/releases/download/$(WLROOTS_VERSION)
 WLROOTS_LICENSE = MIT
 WLROOTS_LICENSE_FILES = LICENSE
@@ -18,11 +18,12 @@ WLROOTS_DEPENDENCIES = \
 	libegl \
 	libgles \
 	pixman \
+	seatd \
 	udev \
 	wayland \
 	wayland-protocols
 
-WLROOTS_CONF_OPTS = -Dexamples=false -Dxcb-errors=disabled
+WLROOTS_CONF_OPTS = -Dexamples=false -Dxcb-errors=disabled -Drenderers=gles2
 
 ifeq ($(BR2_PACKAGE_FFMPEG),y)
 WLROOTS_DEPENDENCIES += ffmpeg
@@ -32,13 +33,6 @@ ifeq ($(BR2_PACKAGE_LIBPNG),y)
 WLROOTS_DEPENDENCIES += libpng
 endif
 
-ifeq ($(BR2_PACKAGE_SYSTEMD_LOGIND),y)
-WLROOTS_CONF_OPTS += -Dlogind=enabled -Dlogind-provider=systemd
-WLROOTS_DEPENDENCIES += systemd
-else
-WLROOTS_CONF_OPTS += -Dlogind=disabled
-endif
-
 ifeq ($(BR2_PACKAGE_WLROOTS_X11),y)
 WLROOTS_CONF_OPTS += -Dx11-backend=enabled -Dxwayland=enabled
 WLROOTS_DEPENDENCIES += libxcb xcb-util-wm xcb-util-renderutil xlib_libX11
@@ -46,11 +40,4 @@ else
 WLROOTS_CONF_OPTS += -Dx11-backend=disabled -Dxwayland=disabled
 endif
 
-ifeq ($(BR2_PACKAGE_SEATD),y)
-WLROOTS_CONF_OPTS += -Dlibseat=enabled
-WLROOTS_DEPENDENCIES += seatd
-else
-WLROOTS_CONF_OPTS += -Dlibseat=disabled
-endif
-
 $(eval $(meson-package))
-- 
2.32.0

_______________________________________________
buildroot mailing list
buildroot@busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH 3/3] package/cage: bump to version 0.1.4
  2021-08-11 11:11 [Buildroot] [PATCH 0/3] Update cage and its dependendencies Adrian Perez de Castro
  2021-08-11 11:11 ` [Buildroot] [PATCH 1/3] package/wayland-protocols: bump to version 1.21 Adrian Perez de Castro
  2021-08-11 11:11 ` [Buildroot] [PATCH 2/3] package/wlroots: bump to version 0.14.1 Adrian Perez de Castro
@ 2021-08-11 11:11 ` Adrian Perez de Castro
  2 siblings, 0 replies; 7+ messages in thread
From: Adrian Perez de Castro @ 2021-08-11 11:11 UTC (permalink / raw)
  To: buildroot; +Cc: Adrian Perez de Castro, Yann E . MORIN, Thomas Petazzoni

Update Cage to version 0.1.4, which is a bug fix release that
supports using wlroots 0.14.x.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
---
 package/cage/cage.hash | 4 ++--
 package/cage/cage.mk   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/package/cage/cage.hash b/package/cage/cage.hash
index 6e312bbf5f..31ae25bacc 100644
--- a/package/cage/cage.hash
+++ b/package/cage/cage.hash
@@ -1,5 +1,5 @@
-# Generated locally
-sha256 c28aa8230f937c89b564967748451c1eb15d8633a71a1ed6e22d532afa15462e  cage-0.1.3.tar.gz
+# Generated locally after checking GPG signature
+sha256 dfe27fb0c7d43db72d6c82f01e2736580a0791a23ba69d7b56285d08af98ad90  cage-0.1.4.tar.gz
 
 # Hashes for license files:
 sha256 e117104073335dbaf78596fb1bedf89dda63c71f60f0b665947b2d369c77ecee  LICENSE
diff --git a/package/cage/cage.mk b/package/cage/cage.mk
index 0950c70474..a661857a95 100644
--- a/package/cage/cage.mk
+++ b/package/cage/cage.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-CAGE_VERSION = 0.1.3
+CAGE_VERSION = 0.1.4
 CAGE_SITE = https://github.com/Hjdskes/cage/releases/download/v$(CAGE_VERSION)
 CAGE_LICENSE = MIT
 CAGE_LICENSE_FILES = LICENSE
-- 
2.32.0

_______________________________________________
buildroot mailing list
buildroot@busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/3] package/wayland-protocols: bump to version 1.21
  2021-08-11 11:11 ` [Buildroot] [PATCH 1/3] package/wayland-protocols: bump to version 1.21 Adrian Perez de Castro
@ 2021-08-13 13:18   ` Thomas Petazzoni
  0 siblings, 0 replies; 7+ messages in thread
From: Thomas Petazzoni @ 2021-08-13 13:18 UTC (permalink / raw)
  To: Adrian Perez de Castro; +Cc: Yann E . MORIN, buildroot

On Wed, 11 Aug 2021 14:11:56 +0300
Adrian Perez de Castro <aperez@igalia.com> wrote:

> Update to version 1.21, which is required by newer wlroots releases.
> 
> Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
> ---
>  package/wayland-protocols/wayland-protocols.hash | 8 ++++----
>  package/wayland-protocols/wayland-protocols.mk   | 2 +-
>  2 files changed, 5 insertions(+), 5 deletions(-)

All three applied to next, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 2/3] package/wlroots: bump to version 0.14.1
  2021-08-11 11:11 ` [Buildroot] [PATCH 2/3] package/wlroots: bump to version 0.14.1 Adrian Perez de Castro
@ 2021-08-13 13:18   ` Thomas Petazzoni
  2021-08-16  7:42     ` Adrian Perez de Castro
  0 siblings, 1 reply; 7+ messages in thread
From: Thomas Petazzoni @ 2021-08-13 13:18 UTC (permalink / raw)
  To: Adrian Perez de Castro; +Cc: Yann E . MORIN, buildroot

On Wed, 11 Aug 2021 14:11:57 +0300
Adrian Perez de Castro <aperez@igalia.com> wrote:

> Update to version 0.14.1, and adapt to upstream changes:
> 
> - seatd/libseat is now used unconditionally, the logind/elogind build
>   options have been removed (which can be used through seatd, no
>   functionality is lost).
> - Now wlroots includes a software-based renderer (which uses pixman),
>   and the OpenGL ES one is optional. For now it is left always enabled
>   (as it was before) but this could be changed in the future.

I think it would be nice to support the pixman-based software rendered,
as there are quite a few embedded platforms that don't have a GPU.

Thanks!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 2/3] package/wlroots: bump to version 0.14.1
  2021-08-13 13:18   ` Thomas Petazzoni
@ 2021-08-16  7:42     ` Adrian Perez de Castro
  0 siblings, 0 replies; 7+ messages in thread
From: Adrian Perez de Castro @ 2021-08-16  7:42 UTC (permalink / raw)
  To: Thomas Petazzoni; +Cc: Yann E . MORIN, buildroot


[-- Attachment #1.1: Type: text/plain, Size: 1402 bytes --]

On Fri, 13 Aug 2021 15:18:39 +0200 Thomas Petazzoni <thomas.petazzoni@bootlin.com> wrote:
> On Wed, 11 Aug 2021 14:11:57 +0300
> Adrian Perez de Castro <aperez@igalia.com> wrote:
> 
> > Update to version 0.14.1, and adapt to upstream changes:
> > 
> > - seatd/libseat is now used unconditionally, the logind/elogind build
> >   options have been removed (which can be used through seatd, no
> >   functionality is lost).
> > - Now wlroots includes a software-based renderer (which uses pixman),
> >   and the OpenGL ES one is optional. For now it is left always enabled
> >   (as it was before) but this could be changed in the future.
> 
> I think it would be nice to support the pixman-based software rendered,
> as there are quite a few embedded platforms that don't have a GPU.

Agreed! Currently the pixman renderer is always built into wlroots, and the
GLES one is optional. I have a half-baked patch locally to build wlroots
without the GLES renderer and I just verified that the Cage compositor works
fine with the pixman renderer being the only one built into wlroots [1], so
I will be sending a patch in the next days.
 
Cheers,
-Adrian


---
[1] Some compositors explicitly try to use the GLES renderer, and because so
    far Cage is the only one in the tree that depends on wlroots, I wanted to
    make sure adding the option to disable building the GLES one will work as
    intended :)

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

[-- Attachment #2: Type: text/plain, Size: 145 bytes --]

_______________________________________________
buildroot mailing list
buildroot@busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

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

end of thread, other threads:[~2021-08-16  7:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-11 11:11 [Buildroot] [PATCH 0/3] Update cage and its dependendencies Adrian Perez de Castro
2021-08-11 11:11 ` [Buildroot] [PATCH 1/3] package/wayland-protocols: bump to version 1.21 Adrian Perez de Castro
2021-08-13 13:18   ` Thomas Petazzoni
2021-08-11 11:11 ` [Buildroot] [PATCH 2/3] package/wlroots: bump to version 0.14.1 Adrian Perez de Castro
2021-08-13 13:18   ` Thomas Petazzoni
2021-08-16  7:42     ` Adrian Perez de Castro
2021-08-11 11:11 ` [Buildroot] [PATCH 3/3] package/cage: bump to version 0.1.4 Adrian Perez de Castro

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.