Skip to contentSkip to conversation

Update Cage, wlroots, and wayland

PATCH Superseded Adrian Perez de Castro 2 participants 25 messages May 13, 2021 – May 27, 2021 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

cover Update Cage, wlroots, and wayland

Hello!

This patch set updates Cage to 0.1.3, which by itself does not have functional changes over the previous version, but it pulls in wlroots 0.13.0 which does include a good number of improvements. The latter also needs a bump to the wayland package, so that gets updated as well.

Last but not least, wlroots can now libseat to broker sessions, so three of the patches deal with adding a package for it, installing the daemon init scripts (if the daemon is enabled, as it is optional), and arranging for wlroots to use libseat when available. I reckon that these three patches dealing with libseat could be split in a separate patch set, but I opted for including them in the series for context. It looks like libseat is gaining momentum in the Wayland ecosystem and for example Weston can also use it since half a year ago [1]. At any rate, let me know if you would rather have the libseat patches in a separate submission, and I will be happy to make it happen :)

Best regards,
-Adrian

[1] https://gitlab.freedesktop.org/wayland/weston/-/commit/6c4a993a999048a2054ec97e71d32839b312c642

Adrian Perez de Castro (6):
package/wayland: bump to version 1.19.0
package/wlroots: bump to version 0.13.0
package/seatd: new package
package/seatd: install init scripts
package/wlroots: use libseat when available
package/cage: bump to version 0.1.3

 package/Config.in                             |  1 +
 package/cage/cage.hash                        |  2 +-
 package/cage/cage.mk                          |  7 ++-
 ...pport-building-builtin-without-seatd.patch | 37 ++++++++++++
 package/seatd/Config.in                       | 48 ++++++++++++++++
 package/seatd/S70seatd                        | 38 +++++++++++++
 package/seatd/seatd.hash                      |  5 ++
 package/seatd/seatd.mk                        | 52 +++++++++++++++++
 ...01-build-add-option-to-disable-tests.patch | 25 ++++----
 .../0002-meson-do-not-check-for-c.patch       | 29 ----------
 ...002-meson-only-require-cpp-for-tests.patch | 57 +++++++++++++++++++
 package/wayland/wayland.hash                  |  8 +--
 package/wayland/wayland.mk                    |  2 +-
 package/wlroots/wlroots.hash                  |  4 +-
 package/wlroots/wlroots.mk                    | 12 ++--
 15 files changed, 268 insertions(+), 59 deletions(-)
 create mode 100644 package/seatd/0001-meson-Support-building-builtin-without-seatd.patch
 create mode 100644 package/seatd/Config.in
 create mode 100755 package/seatd/S70seatd
 create mode 100644 package/seatd/seatd.hash
 create mode 100644 package/seatd/seatd.mk
 delete mode 100644 package/wayland/0002-meson-do-not-check-for-c.patch
 create mode 100644 package/wayland/0002-meson-only-require-cpp-for-tests.patch
Signature · 1 line
2.31.1
#1 lore raw

PATCH 1/6 package/wayland: bump to version 1.19.0

Update wayland to version 1.19.0, which mostly includes bug fixes and is the minimum version required by wlroots 0.13.0

Patch "0001-build-add-option-to-disable-tests.patch" is updated to apply cleanly on top of the new release.

Patch "0002-meson-do-not-check-for-c.patch" is replaced by a newer one, "0002-meson-only-require-cpp-for-tests.patch" which was accepted by upstream as an improved version of it.

---
 ...01-build-add-option-to-disable-tests.patch | 25 ++++----
 .../0002-meson-do-not-check-for-c.patch       | 29 ----------
 ...002-meson-only-require-cpp-for-tests.patch | 57 +++++++++++++++++++
 package/wayland/wayland.hash                  |  8 +--
 package/wayland/wayland.mk                    |  2 +-
 5 files changed, 74 insertions(+), 47 deletions(-)
 delete mode 100644 package/wayland/0002-meson-do-not-check-for-c.patch
 create mode 100644 package/wayland/0002-meson-only-require-cpp-for-tests.patch
package/wayland/0001-build-add-option-to-disable-tests.patch +13 -12
index 6ab695e909..7b1fbeb871 100644
@@ -1,4 +1,4 @@
-From 283085496e06b5543771abe5cc746ff0b77cdd23 Mon Sep 17 00:00:00 2001
+From 4bbac166f50e962d2c79f9824db4af3174f69f43 Mon Sep 17 00:00:00 2001
 From: James Hilliard <[email protected]>
 Date: Tue, 3 Mar 2020 15:27:51 -0700
 Subject: [PATCH] build: add option to disable tests
@@ -15,6 +15,7 @@ Signed-off-by: Alexey Brodkin <[email protected]>
 Signed-off-by: James Hilliard <[email protected]>
 [Upstream status:
 https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/66]
+Signed-off-by: Adrian Perez de Castro <[email protected]>
 ---
  Makefile.am       | 2 ++
  configure.ac      | 9 +++++++++
@@ -23,7 +24,7 @@ https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/66]
  4 files changed, 18 insertions(+), 1 deletion(-)
 
 diff --git a/Makefile.am b/Makefile.am
-index cc87392..d5d43e3 100644
+index b9438b7..6e188de 100644
 --- a/Makefile.am
 +++ b/Makefile.am
 @@ -162,6 +162,7 @@ pkgconfig_DATA += egl/wayland-egl.pc
@@ -43,7 +44,7 @@ index cc87392..d5d43e3 100644
  EXTRA_DIST += tests/scanner-test.sh			\
  	protocol/tests.xml				\
 diff --git a/configure.ac b/configure.ac
-index dda5e48..99b7c96 100644
+index 7f2f393..cdff720 100644
 --- a/configure.ac
 +++ b/configure.ac
 @@ -77,6 +77,13 @@ AC_ARG_ENABLE([libraries],
@@ -70,10 +71,10 @@ index dda5e48..99b7c96 100644
  		     [  ICONDIR=$withval],
  		     [  ICONDIR=${datadir}/icons])
 diff --git a/meson.build b/meson.build
-index 5632f4e..b37bb7a 100644
+index 11c35fa..26d69ad 100644
 --- a/meson.build
 +++ b/meson.build
-@@ -83,7 +83,9 @@ subdir('src')
+@@ -91,7 +91,9 @@ subdir('src')
  if get_option('libraries')
  	subdir('cursor')
  	subdir('egl')
@@ -81,15 +82,15 @@ index 5632f4e..b37bb7a 100644
 +	if get_option('tests')
 +		subdir('tests')
 +	endif
- endif
- 
- if get_option('documentation')
+ 	if get_option('documentation')
+ 		subdir('doc')
+ 	endif
 diff --git a/meson_options.txt b/meson_options.txt
-index 76314f7..ab4be92 100644
+index de588d1..4433fa0 100644
 --- a/meson_options.txt
 +++ b/meson_options.txt
-@@ -2,6 +2,10 @@ option('libraries',
-   description: 'Compile Wayland libraries',
+@@ -6,6 +6,10 @@ option('scanner',
+   description: 'Compile wayland-scanner binary',
    type: 'boolean',
    value: 'true')
 +option('tests',
@@ -100,5 +101,5 @@ index 76314f7..ab4be92 100644
    description: 'Build the documentation (requires Doxygen, dot, xmlto, xsltproc)',
    type: 'boolean',
 -- 
-2.20.1
+2.31.1
 
package/wayland/0002-meson-do-not-check-for-c.patch deleted +0 -29
deleted file mode 100644
index c5819bf477..0000000000
@@ -1,29 +0,0 @@
-From 1df9b73db6541cbc483c6ee1b21dbe0cb6e5cbfa Mon Sep 17 00:00:00 2001
-From: Bernd Kuhls <[email protected]>
-Date: Wed, 29 Jul 2020 08:20:41 +0200
-Subject: [PATCH] meson: do not check for c++
-
-Wayland does not need c++, fixes building with toolchains lacking c++.
-
-Backported from upstream PR:
-https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/88
-
-Signed-off-by: Bernd Kuhls <[email protected]>
----
- meson.build | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/meson.build b/meson.build
-index b67b101..e47a52d 100644
---- a/meson.build
-+++ b/meson.build
-@@ -1,5 +1,5 @@
- project(
--	'wayland', 'c', 'cpp',
-+	'wayland', 'c',
- 	version: '1.18.0',
- 	license: 'MIT',
- 	meson_version: '>= 0.47.0',
--- 
-2.27.0
-
package/wayland/0002-meson-only-require-cpp-for-tests.patch new file +57 -0

57 lines not on this page · raw message

package/wayland/wayland.hash +3 -5
index abd8bcdf29..e9dcb63a90 100644
@@ -1,8 +1,6 @@
-# From https://lists.freedesktop.org/archives/wayland-devel/2020-February/041207.html
-md5  23317697b6e3ff2e1ac8c5ba3ed57b65  wayland-1.18.0.tar.xz
-sha1  33e5292b32a115e829458ea627201ed1e4ad4f45  wayland-1.18.0.tar.xz
-sha256  4675a79f091020817a98fd0484e7208c8762242266967f55a67776936c2e294d  wayland-1.18.0.tar.xz
-sha512  e30199e30c2bbd361ee695b4f3f7a4e264f10ed8f46f2c90762b5739fc578ae757dc39aa0258d8fbf0ed418553470bccd4b2730ed9705481cfccdab5de96a8fc  wayland-1.18.0.tar.xz
+# From https://lists.freedesktop.org/archives/wayland-devel/2021-January/041692.html
+sha256  baccd902300d354581cd5ad3cc49daa4921d55fb416a5883e218750fef166d15  wayland-1.19.0.tar.xz
+sha512  d8a86f5e23e4a88e7c84b82fdb51eb350419086afe462ecb2f4d5c3ba9290ede310cbbcffd60215219ddccf5bad4adec21a5ebfbef6577200f66ac7a1b64a5ef  wayland-1.19.0.tar.xz
 
 # Locally calculated
 sha256  6eefcb023622a463168a5c20add95fd24a38c7482622a9254a23b99b7c153061  COPYING
package/wayland/wayland.mk +1 -1
index 6cb4a50dbb..ecfe95d68a 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-WAYLAND_VERSION = 1.18.0
+WAYLAND_VERSION = 1.19.0
 WAYLAND_SITE = https://wayland.freedesktop.org/releases
 WAYLAND_SOURCE = wayland-$(WAYLAND_VERSION).tar.xz
 WAYLAND_LICENSE = MIT
Signature · 1 line
2.31.1
#2 lore raw

PATCH 1/6 package/wayland: bump to version 1.19.0

Adrian, All,

On 2021-05-13 19:33 +0300, Adrian Perez de Castro spake thusly:

Quoted 11 lines

Update wayland to version 1.19.0, which mostly includes bug fixes and is the minimum version required by wlroots 0.13.0

Patch "0001-build-add-option-to-disable-tests.patch" is updated to apply cleanly on top of the new release.

Patch "0002-meson-do-not-check-for-c.patch" is replaced by a newer one, "0002-meson-only-require-cpp-for-tests.patch" which was accepted by upstream as an improved version of it.

Applied to next, with the following changes:

- do actual backports of upstream patches now they've been merged
- consequently, drop the legacy autostuff hunks from first patch

Thanks!

Regards,
Yann E. MORIN.

Quoted 222 lines
---
 ...01-build-add-option-to-disable-tests.patch | 25 ++++----
 .../0002-meson-do-not-check-for-c.patch       | 29 ----------
 ...002-meson-only-require-cpp-for-tests.patch | 57 +++++++++++++++++++
 package/wayland/wayland.hash                  |  8 +--
 package/wayland/wayland.mk                    |  2 +-
 5 files changed, 74 insertions(+), 47 deletions(-)
 delete mode 100644 package/wayland/0002-meson-do-not-check-for-c.patch
 create mode 100644 package/wayland/0002-meson-only-require-cpp-for-tests.patch
package/wayland/0001-build-add-option-to-disable-tests.patch +13 -12
index 6ab695e909..7b1fbeb871 100644
@@ -1,4 +1,4 @@
-From 283085496e06b5543771abe5cc746ff0b77cdd23 Mon Sep 17 00:00:00 2001
+From 4bbac166f50e962d2c79f9824db4af3174f69f43 Mon Sep 17 00:00:00 2001
 From: James Hilliard <[email protected]>
 Date: Tue, 3 Mar 2020 15:27:51 -0700
 Subject: [PATCH] build: add option to disable tests
@@ -15,6 +15,7 @@ Signed-off-by: Alexey Brodkin <[email protected]>
 Signed-off-by: James Hilliard <[email protected]>
 [Upstream status:
 https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/66]
+Signed-off-by: Adrian Perez de Castro <[email protected]>
 ---
  Makefile.am       | 2 ++
  configure.ac      | 9 +++++++++
@@ -23,7 +24,7 @@ https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/66]
  4 files changed, 18 insertions(+), 1 deletion(-)
 
 diff --git a/Makefile.am b/Makefile.am
-index cc87392..d5d43e3 100644
+index b9438b7..6e188de 100644
 --- a/Makefile.am
 +++ b/Makefile.am
 @@ -162,6 +162,7 @@ pkgconfig_DATA += egl/wayland-egl.pc
@@ -43,7 +44,7 @@ index cc87392..d5d43e3 100644
  EXTRA_DIST += tests/scanner-test.sh			\
  	protocol/tests.xml				\
 diff --git a/configure.ac b/configure.ac
-index dda5e48..99b7c96 100644
+index 7f2f393..cdff720 100644
 --- a/configure.ac
 +++ b/configure.ac
 @@ -77,6 +77,13 @@ AC_ARG_ENABLE([libraries],
@@ -70,10 +71,10 @@ index dda5e48..99b7c96 100644
  		     [  ICONDIR=$withval],
  		     [  ICONDIR=${datadir}/icons])
 diff --git a/meson.build b/meson.build
-index 5632f4e..b37bb7a 100644
+index 11c35fa..26d69ad 100644
 --- a/meson.build
 +++ b/meson.build
-@@ -83,7 +83,9 @@ subdir('src')
+@@ -91,7 +91,9 @@ subdir('src')
  if get_option('libraries')
  	subdir('cursor')
  	subdir('egl')
@@ -81,15 +82,15 @@ index 5632f4e..b37bb7a 100644
 +	if get_option('tests')
 +		subdir('tests')
 +	endif
- endif
- 
- if get_option('documentation')
+ 	if get_option('documentation')
+ 		subdir('doc')
+ 	endif
 diff --git a/meson_options.txt b/meson_options.txt
-index 76314f7..ab4be92 100644
+index de588d1..4433fa0 100644
 --- a/meson_options.txt
 +++ b/meson_options.txt
-@@ -2,6 +2,10 @@ option('libraries',
-   description: 'Compile Wayland libraries',
+@@ -6,6 +6,10 @@ option('scanner',
+   description: 'Compile wayland-scanner binary',
    type: 'boolean',
    value: 'true')
 +option('tests',
@@ -100,5 +101,5 @@ index 76314f7..ab4be92 100644
    description: 'Build the documentation (requires Doxygen, dot, xmlto, xsltproc)',
    type: 'boolean',
 -- 
-2.20.1
+2.31.1
 
package/wayland/0002-meson-do-not-check-for-c.patch deleted +0 -29
deleted file mode 100644
index c5819bf477..0000000000
@@ -1,29 +0,0 @@
-From 1df9b73db6541cbc483c6ee1b21dbe0cb6e5cbfa Mon Sep 17 00:00:00 2001
-From: Bernd Kuhls <[email protected]>
-Date: Wed, 29 Jul 2020 08:20:41 +0200
-Subject: [PATCH] meson: do not check for c++
-
-Wayland does not need c++, fixes building with toolchains lacking c++.
-
-Backported from upstream PR:
-https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/88
-
-Signed-off-by: Bernd Kuhls <[email protected]>
----
- meson.build | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/meson.build b/meson.build
-index b67b101..e47a52d 100644
---- a/meson.build
-+++ b/meson.build
-@@ -1,5 +1,5 @@
- project(
--	'wayland', 'c', 'cpp',
-+	'wayland', 'c',
- 	version: '1.18.0',
- 	license: 'MIT',
- 	meson_version: '>= 0.47.0',
--- 
-2.27.0
-
package/wayland/0002-meson-only-require-cpp-for-tests.patch new file +57 -0
new file mode 100644
index 0000000000..bc1af23f22
@@ -0,0 +1,57 @@
+From 7672edbd84313d536a8ff4aa8a6855fcb46ce378 Mon Sep 17 00:00:00 2001
+From: James Hilliard <[email protected]>
+Date: Fri, 16 Apr 2021 02:32:38 -0600
+Subject: [PATCH] meson: only require cpp for tests
+
+Signed-off-by: James Hilliard <[email protected]>
+[Upstream status:
+https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/130]
+Signed-off-by: Adrian Perez de Castro <[email protected]>
+---
+ meson.build       |  2 +-
+ tests/meson.build | 16 +++++++++-------
+ 2 files changed, 10 insertions(+), 8 deletions(-)
+
+diff --git a/meson.build b/meson.build
+index 26d69ad..2c96d20 100644
+--- a/meson.build
++++ b/meson.build
+@@ -1,5 +1,5 @@
+ project(
+-	'wayland', 'c', 'cpp',
++	'wayland', 'c',
+ 	version: '1.19.0',
+ 	license: 'MIT',
+ 	meson_version: '>= 0.52.1',
+diff --git a/tests/meson.build b/tests/meson.build
+index a32ac50..2e11af4 100644
+--- a/tests/meson.build
++++ b/tests/meson.build
+@@ -64,15 +64,17 @@ executable(
+ 	dependencies: test_runner_dep
+ )
+ 
+-test(
+-	'cpp-compile-test',
+-	executable(
++if add_languages('cpp')
++	test(
+ 		'cpp-compile-test',
+-		'cpp-compile-test.cpp',
+-		wayland_server_protocol_h,
+-		include_directories: src_inc
++		executable(
++			'cpp-compile-test',
++			'cpp-compile-test.cpp',
++			wayland_server_protocol_h,
++			include_directories: src_inc
++		)
+ 	)
+-)
++endif
+ 
+ sed_path = find_program('sed').path()
+ 
+-- 
+2.31.1
+
package/wayland/wayland.hash +3 -5
index abd8bcdf29..e9dcb63a90 100644
@@ -1,8 +1,6 @@
-# From https://lists.freedesktop.org/archives/wayland-devel/2020-February/041207.html
-md5  23317697b6e3ff2e1ac8c5ba3ed57b65  wayland-1.18.0.tar.xz
-sha1  33e5292b32a115e829458ea627201ed1e4ad4f45  wayland-1.18.0.tar.xz
-sha256  4675a79f091020817a98fd0484e7208c8762242266967f55a67776936c2e294d  wayland-1.18.0.tar.xz
-sha512  e30199e30c2bbd361ee695b4f3f7a4e264f10ed8f46f2c90762b5739fc578ae757dc39aa0258d8fbf0ed418553470bccd4b2730ed9705481cfccdab5de96a8fc  wayland-1.18.0.tar.xz
+# From https://lists.freedesktop.org/archives/wayland-devel/2021-January/041692.html
+sha256  baccd902300d354581cd5ad3cc49daa4921d55fb416a5883e218750fef166d15  wayland-1.19.0.tar.xz
+sha512  d8a86f5e23e4a88e7c84b82fdb51eb350419086afe462ecb2f4d5c3ba9290ede310cbbcffd60215219ddccf5bad4adec21a5ebfbef6577200f66ac7a1b64a5ef  wayland-1.19.0.tar.xz
 
 # Locally calculated
 sha256  6eefcb023622a463168a5c20add95fd24a38c7482622a9254a23b99b7c153061  COPYING
package/wayland/wayland.mk +1 -1
index 6cb4a50dbb..ecfe95d68a 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-WAYLAND_VERSION = 1.18.0
+WAYLAND_VERSION = 1.19.0
 WAYLAND_SITE = https://wayland.freedesktop.org/releases
 WAYLAND_SOURCE = wayland-$(WAYLAND_VERSION).tar.xz
 WAYLAND_LICENSE = MIT
Signature · 6 lines
2.31.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#3 lore raw

PATCH 1/6 package/wayland: bump to version 1.19.0

Hi Yann, all,

Quoted 13 lines · On Sun, 16 May 2021 16:04:14 +0200 "Yann E. MORIN" <[email protected]>…

Adrian, All,

On 2021-05-13 19:33 +0300, Adrian Perez de Castro spake thusly:

Quoted 10 lines

Update wayland to version 1.19.0, which mostly includes bug fixes and is the minimum version required by wlroots 0.13.0

Patch "0001-build-add-option-to-disable-tests.patch" is updated to apply cleanly on top of the new release.

Patch "0002-meson-do-not-check-for-c.patch" is replaced by a newer one, "0002-meson-only-require-cpp-for-tests.patch" which was accepted by upstream as an improved version of it.

Quoted 8 lines
Quoted 1 line

Applied to next, with the following changes:

- do actual backports of upstream patches now they've been merged
- consequently, drop the legacy autostuff hunks from first patch

Thanks!

\o/

Given that this went into ?next?, I'll update the patch set and rebase it on top of ?next? for resubmission :)

Thanks for the review!
-Adrian

Quoted 218 lines
Quoted 218 lines
---
 ...01-build-add-option-to-disable-tests.patch | 25 ++++----
 .../0002-meson-do-not-check-for-c.patch       | 29 ----------
 ...002-meson-only-require-cpp-for-tests.patch | 57 +++++++++++++++++++
 package/wayland/wayland.hash                  |  8 +--
 package/wayland/wayland.mk                    |  2 +-
 5 files changed, 74 insertions(+), 47 deletions(-)
 delete mode 100644 package/wayland/0002-meson-do-not-check-for-c.patch
 create mode 100644 package/wayland/0002-meson-only-require-cpp-for-tests.patch
package/wayland/0001-build-add-option-to-disable-tests.patch +13 -12
index 6ab695e909..7b1fbeb871 100644
@@ -1,4 +1,4 @@
-From 283085496e06b5543771abe5cc746ff0b77cdd23 Mon Sep 17 00:00:00 2001
+From 4bbac166f50e962d2c79f9824db4af3174f69f43 Mon Sep 17 00:00:00 2001
 From: James Hilliard <[email protected]>
 Date: Tue, 3 Mar 2020 15:27:51 -0700
 Subject: [PATCH] build: add option to disable tests
@@ -15,6 +15,7 @@ Signed-off-by: Alexey Brodkin <[email protected]>
 Signed-off-by: James Hilliard <[email protected]>
 [Upstream status:
 https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/66]
+Signed-off-by: Adrian Perez de Castro <[email protected]>
 ---
  Makefile.am       | 2 ++
  configure.ac      | 9 +++++++++
@@ -23,7 +24,7 @@ https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/66]
  4 files changed, 18 insertions(+), 1 deletion(-)
 
 diff --git a/Makefile.am b/Makefile.am
-index cc87392..d5d43e3 100644
+index b9438b7..6e188de 100644
 --- a/Makefile.am
 +++ b/Makefile.am
 @@ -162,6 +162,7 @@ pkgconfig_DATA += egl/wayland-egl.pc
@@ -43,7 +44,7 @@ index cc87392..d5d43e3 100644
  EXTRA_DIST += tests/scanner-test.sh			\
  	protocol/tests.xml				\
 diff --git a/configure.ac b/configure.ac
-index dda5e48..99b7c96 100644
+index 7f2f393..cdff720 100644
 --- a/configure.ac
 +++ b/configure.ac
 @@ -77,6 +77,13 @@ AC_ARG_ENABLE([libraries],
@@ -70,10 +71,10 @@ index dda5e48..99b7c96 100644
  		     [  ICONDIR=$withval],
  		     [  ICONDIR=${datadir}/icons])
 diff --git a/meson.build b/meson.build
-index 5632f4e..b37bb7a 100644
+index 11c35fa..26d69ad 100644
 --- a/meson.build
 +++ b/meson.build
-@@ -83,7 +83,9 @@ subdir('src')
+@@ -91,7 +91,9 @@ subdir('src')
  if get_option('libraries')
  	subdir('cursor')
  	subdir('egl')
@@ -81,15 +82,15 @@ index 5632f4e..b37bb7a 100644
 +	if get_option('tests')
 +		subdir('tests')
 +	endif
- endif
- 
- if get_option('documentation')
+ 	if get_option('documentation')
+ 		subdir('doc')
+ 	endif
 diff --git a/meson_options.txt b/meson_options.txt
-index 76314f7..ab4be92 100644
+index de588d1..4433fa0 100644
 --- a/meson_options.txt
 +++ b/meson_options.txt
-@@ -2,6 +2,10 @@ option('libraries',
-   description: 'Compile Wayland libraries',
+@@ -6,6 +6,10 @@ option('scanner',
+   description: 'Compile wayland-scanner binary',
    type: 'boolean',
    value: 'true')
 +option('tests',
@@ -100,5 +101,5 @@ index 76314f7..ab4be92 100644
    description: 'Build the documentation (requires Doxygen, dot, xmlto, xsltproc)',
    type: 'boolean',
 -- 
-2.20.1
+2.31.1
 
package/wayland/0002-meson-do-not-check-for-c.patch deleted +0 -29
deleted file mode 100644
index c5819bf477..0000000000
@@ -1,29 +0,0 @@
-From 1df9b73db6541cbc483c6ee1b21dbe0cb6e5cbfa Mon Sep 17 00:00:00 2001
-From: Bernd Kuhls <[email protected]>
-Date: Wed, 29 Jul 2020 08:20:41 +0200
-Subject: [PATCH] meson: do not check for c++
-
-Wayland does not need c++, fixes building with toolchains lacking c++.
-
-Backported from upstream PR:
-https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/88
-
-Signed-off-by: Bernd Kuhls <[email protected]>
----
- meson.build | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/meson.build b/meson.build
-index b67b101..e47a52d 100644
---- a/meson.build
-+++ b/meson.build
-@@ -1,5 +1,5 @@
- project(
--	'wayland', 'c', 'cpp',
-+	'wayland', 'c',
- 	version: '1.18.0',
- 	license: 'MIT',
- 	meson_version: '>= 0.47.0',
--- 
-2.27.0
-
package/wayland/0002-meson-only-require-cpp-for-tests.patch new file +57 -0
new file mode 100644
index 0000000000..bc1af23f22
@@ -0,0 +1,57 @@
+From 7672edbd84313d536a8ff4aa8a6855fcb46ce378 Mon Sep 17 00:00:00 2001
+From: James Hilliard <[email protected]>
+Date: Fri, 16 Apr 2021 02:32:38 -0600
+Subject: [PATCH] meson: only require cpp for tests
+
+Signed-off-by: James Hilliard <[email protected]>
+[Upstream status:
+https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/130]
+Signed-off-by: Adrian Perez de Castro <[email protected]>
+---
+ meson.build       |  2 +-
+ tests/meson.build | 16 +++++++++-------
+ 2 files changed, 10 insertions(+), 8 deletions(-)
+
+diff --git a/meson.build b/meson.build
+index 26d69ad..2c96d20 100644
+--- a/meson.build
++++ b/meson.build
+@@ -1,5 +1,5 @@
+ project(
+-	'wayland', 'c', 'cpp',
++	'wayland', 'c',
+ 	version: '1.19.0',
+ 	license: 'MIT',
+ 	meson_version: '>= 0.52.1',
+diff --git a/tests/meson.build b/tests/meson.build
+index a32ac50..2e11af4 100644
+--- a/tests/meson.build
++++ b/tests/meson.build
+@@ -64,15 +64,17 @@ executable(
+ 	dependencies: test_runner_dep
+ )
+ 
+-test(
+-	'cpp-compile-test',
+-	executable(
++if add_languages('cpp')
++	test(
+ 		'cpp-compile-test',
+-		'cpp-compile-test.cpp',
+-		wayland_server_protocol_h,
+-		include_directories: src_inc
++		executable(
++			'cpp-compile-test',
++			'cpp-compile-test.cpp',
++			wayland_server_protocol_h,
++			include_directories: src_inc
++		)
+ 	)
+-)
++endif
+ 
+ sed_path = find_program('sed').path()
+ 
+-- 
+2.31.1
+
package/wayland/wayland.hash +3 -5
index abd8bcdf29..e9dcb63a90 100644
@@ -1,8 +1,6 @@
-# From https://lists.freedesktop.org/archives/wayland-devel/2020-February/041207.html
-md5  23317697b6e3ff2e1ac8c5ba3ed57b65  wayland-1.18.0.tar.xz
-sha1  33e5292b32a115e829458ea627201ed1e4ad4f45  wayland-1.18.0.tar.xz
-sha256  4675a79f091020817a98fd0484e7208c8762242266967f55a67776936c2e294d  wayland-1.18.0.tar.xz
-sha512  e30199e30c2bbd361ee695b4f3f7a4e264f10ed8f46f2c90762b5739fc578ae757dc39aa0258d8fbf0ed418553470bccd4b2730ed9705481cfccdab5de96a8fc  wayland-1.18.0.tar.xz
+# From https://lists.freedesktop.org/archives/wayland-devel/2021-January/041692.html
+sha256  baccd902300d354581cd5ad3cc49daa4921d55fb416a5883e218750fef166d15  wayland-1.19.0.tar.xz
+sha512  d8a86f5e23e4a88e7c84b82fdb51eb350419086afe462ecb2f4d5c3ba9290ede310cbbcffd60215219ddccf5bad4adec21a5ebfbef6577200f66ac7a1b64a5ef  wayland-1.19.0.tar.xz
 
 # Locally calculated
 sha256  6eefcb023622a463168a5c20add95fd24a38c7482622a9254a23b99b7c153061  COPYING
package/wayland/wayland.mk +1 -1
index 6cb4a50dbb..ecfe95d68a 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-WAYLAND_VERSION = 1.18.0
+WAYLAND_VERSION = 1.19.0
 WAYLAND_SITE = https://wayland.freedesktop.org/releases
 WAYLAND_SOURCE = wayland-$(WAYLAND_VERSION).tar.xz
 WAYLAND_LICENSE = MIT
Signature · 1 line
2.31.1
Quoted 16 lines
Quoted 4 lines

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

Signature · 10 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20210518/1f3412c5/attachment.asc>

#4 lore raw

PATCH 2/6 package/wlroots: bump to version 0.13.0

In reply to Adrian Perez de Castro

Update wlroots to version 0.13.0. This is a release which changes API/ABI, applications which use wlroots need to be rebuilt. Currently in Buildroot there is only cage, to be updated by a follow-up patch of the series.

Additionally, remove usage of the xcb-icccm build option, which is no longer available.

---
 package/wlroots/wlroots.hash | 4 ++--
 package/wlroots/wlroots.mk   | 9 +--------
 2 files changed, 3 insertions(+), 10 deletions(-)
package/wlroots/wlroots.hash +2 -2
index 2fab9b30b4..024ea93cae 100644
@@ -1,5 +1,5 @@
-# Generated locally, after checking https://github.com/swaywm/wlroots/releases/download/0.12.0/wlroots-0.12.0.tar.gz.sig
-sha256  c9e9f4f6d2f526d0b2886daf3ec37e64831773059aa669fb98a88522a1626bdb  wlroots-0.12.0.tar.gz
+# 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
 
 # Hashes for license files:
 sha256  ffd3737a478b83a8b51b42757d3bf909ef36694508355879722e11fc1fa6736b  LICENSE
package/wlroots/wlroots.mk +1 -8
index 0160b1aedb..95fadfef5e 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-WLROOTS_VERSION = 0.12.0
+WLROOTS_VERSION = 0.13.0
 WLROOTS_SITE = https://github.com/swaywm/wlroots/releases/download/$(WLROOTS_VERSION)
 WLROOTS_LICENSE = MIT
 WLROOTS_LICENSE_FILES = LICENSE
@@ -53,11 +53,4 @@ else
 WLROOTS_CONF_OPTS += -Dxwayland=disabled
 endif
 
-ifeq ($(BR2_PACKAGE_XCB_UTIL_WM),y)
-WLROOTS_CONF_OPTS += -Dxcb-icccm=enabled
-WLROOTS_DEPENDENCIES += xcb-util-wm
-else
-WLROOTS_CONF_OPTS += -Dxcb-icccm=disabled
-endif
-
 $(eval $(meson-package))
Signature · 1 line
2.31.1
#5 lore raw

PATCH 2/6 package/wlroots: bump to version 0.13.0

Adrian, All,

On 2021-05-13 19:33 +0300, Adrian Perez de Castro spake thusly:

Quoted 7 lines

Update wlroots to version 0.13.0. This is a release which changes API/ABI, applications which use wlroots need to be rebuilt. Currently in Buildroot there is only cage, to be updated by a follow-up patch of the series.

Additionally, remove usage of the xcb-icccm build option, which is no longer available.

Hmm... This one got me to look deeper, and it seems that, even though the option -Dxcb-icccm is no longer available, the dependency toward xcb-util-wm is now mandatory for the X11 backend. See upstream commit 565f67f805:

    https://github.com/swaywm/wlroots/commit/565f67f805a0d1077e63c16123cea16cee97d3e6

Even more, it seems that BR2_PACKAGE_WLROOTS_X11 should now select a few additional packages, namely:

BR2_PACKAGE_LIBXCB
BR2_PACKAGE_XCB_UTIL_RENDERUTIL
BR2_PACKAGE_XCB_UTIL_WM

Regards,
Yann E. MORIN.

Quoted 50 lines
---
 package/wlroots/wlroots.hash | 4 ++--
 package/wlroots/wlroots.mk   | 9 +--------
 2 files changed, 3 insertions(+), 10 deletions(-)
package/wlroots/wlroots.hash +2 -2
index 2fab9b30b4..024ea93cae 100644
@@ -1,5 +1,5 @@
-# Generated locally, after checking https://github.com/swaywm/wlroots/releases/download/0.12.0/wlroots-0.12.0.tar.gz.sig
-sha256  c9e9f4f6d2f526d0b2886daf3ec37e64831773059aa669fb98a88522a1626bdb  wlroots-0.12.0.tar.gz
+# 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
 
 # Hashes for license files:
 sha256  ffd3737a478b83a8b51b42757d3bf909ef36694508355879722e11fc1fa6736b  LICENSE
package/wlroots/wlroots.mk +1 -8
index 0160b1aedb..95fadfef5e 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-WLROOTS_VERSION = 0.12.0
+WLROOTS_VERSION = 0.13.0
 WLROOTS_SITE = https://github.com/swaywm/wlroots/releases/download/$(WLROOTS_VERSION)
 WLROOTS_LICENSE = MIT
 WLROOTS_LICENSE_FILES = LICENSE
@@ -53,11 +53,4 @@ else
 WLROOTS_CONF_OPTS += -Dxwayland=disabled
 endif
 
-ifeq ($(BR2_PACKAGE_XCB_UTIL_WM),y)
-WLROOTS_CONF_OPTS += -Dxcb-icccm=enabled
-WLROOTS_DEPENDENCIES += xcb-util-wm
-else
-WLROOTS_CONF_OPTS += -Dxcb-icccm=disabled
-endif
-
 $(eval $(meson-package))
Signature · 6 lines
2.31.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#6 lore raw

PATCH 2/6 package/wlroots: bump to version 0.13.0

Hi Yann, all,

Quoted 14 lines · On Sun, 16 May 2021 15:41:45 +0200 "Yann E. MORIN" <[email protected]>…

On 2021-05-13 19:33 +0300, Adrian Perez de Castro spake thusly:

Quoted 7 lines

Update wlroots to version 0.13.0. This is a release which changes API/ABI, applications which use wlroots need to be rebuilt. Currently in Buildroot there is only cage, to be updated by a follow-up patch of the series.

Additionally, remove usage of the xcb-icccm build option, which is no longer available.

Hmm... This one got me to look deeper, and it seems that, even though the option -Dxcb-icccm is no longer available, the dependency toward xcb-util-wm is now mandatory for the X11 backend. See upstream commit 565f67f805:

Quoted 8 lines
    https://github.com/swaywm/wlroots/commit/565f67f805a0d1077e63c16123cea16cee97d3e6

Even more, it seems that BR2_PACKAGE_WLROOTS_X11 should now select a few additional packages, namely:

BR2_PACKAGE_LIBXCB
BR2_PACKAGE_XCB_UTIL_RENDERUTIL
BR2_PACKAGE_XCB_UTIL_WM

You're absolutely right.

Provided that the X11 backend now will have a few dependencies more, which are a superset of the ones needed for XWayland, I think it is a good idea to derive the values for both ?-Dx11-backend=? and ?-Dxwayland=? from BR2_PACKAGE_WLROOTS_X11?I'll do that for v2 of the patch set.

Cheers,
-Adrian

Quoted 46 lines
Quoted 46 lines
---
 package/wlroots/wlroots.hash | 4 ++--
 package/wlroots/wlroots.mk   | 9 +--------
 2 files changed, 3 insertions(+), 10 deletions(-)
package/wlroots/wlroots.hash +2 -2
index 2fab9b30b4..024ea93cae 100644
@@ -1,5 +1,5 @@
-# Generated locally, after checking https://github.com/swaywm/wlroots/releases/download/0.12.0/wlroots-0.12.0.tar.gz.sig
-sha256  c9e9f4f6d2f526d0b2886daf3ec37e64831773059aa669fb98a88522a1626bdb  wlroots-0.12.0.tar.gz
+# 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
 
 # Hashes for license files:
 sha256  ffd3737a478b83a8b51b42757d3bf909ef36694508355879722e11fc1fa6736b  LICENSE
package/wlroots/wlroots.mk +1 -8
index 0160b1aedb..95fadfef5e 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-WLROOTS_VERSION = 0.12.0
+WLROOTS_VERSION = 0.13.0
 WLROOTS_SITE = https://github.com/swaywm/wlroots/releases/download/$(WLROOTS_VERSION)
 WLROOTS_LICENSE = MIT
 WLROOTS_LICENSE_FILES = LICENSE
@@ -53,11 +53,4 @@ else
 WLROOTS_CONF_OPTS += -Dxwayland=disabled
 endif
 
-ifeq ($(BR2_PACKAGE_XCB_UTIL_WM),y)
-WLROOTS_CONF_OPTS += -Dxcb-icccm=enabled
-WLROOTS_DEPENDENCIES += xcb-util-wm
-else
-WLROOTS_CONF_OPTS += -Dxcb-icccm=disabled
-endif
-
 $(eval $(meson-package))
Signature · 1 line
2.31.1
Quoted 12 lines
Quoted 4 lines

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

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20210518/f95721c7/attachment.asc>

#7 lore raw

PATCH 3/6 package/seatd: new package

In reply to Adrian Perez de Castro

Introduce a seatd package, which can be used by wlroots 0.12.0 and newer. The package includes both a library (always built) and an optional seat management daemon.

The library can use systemd-logind, the seatd daemon, or a simple builtin in-process mode. Build options are introduced for each of them. At least one backend needs to be built; if both logind and seatd are disabled the builtin backend will be enabled unconditionally.

---
 package/Config.in                             |  1 +
 ...pport-building-builtin-without-seatd.patch | 37 ++++++++++++++
 package/seatd/Config.in                       | 48 +++++++++++++++++++
 package/seatd/seatd.hash                      |  5 ++
 package/seatd/seatd.mk                        | 42 ++++++++++++++++
 5 files changed, 133 insertions(+)
 create mode 100644 package/seatd/0001-meson-Support-building-builtin-without-seatd.patch
 create mode 100644 package/seatd/Config.in
 create mode 100644 package/seatd/seatd.hash
 create mode 100644 package/seatd/seatd.mk
package/Config.in +1 -0
index 82b28d2835..d572d441f0 100644
@@ -2489,6 +2489,7 @@ menu "System tools"
 	source "package/scrub/Config.in"
 	source "package/scrypt/Config.in"
 	source "package/sdbusplus/Config.in"
+	source "package/seatd/Config.in"
 	source "package/smack/Config.in"
 	source "package/start-stop-daemon/Config.in"
 	source "package/supervisor/Config.in"
package/seatd/0001-meson-Support-building-builtin-without-seatd.patch new file +37 -0
new file mode 100644
index 0000000000..fcaa355dc4
@@ -0,0 +1,37 @@
+From 11bf7d5d11424749d549239540e5db06b8754bb5 Mon Sep 17 00:00:00 2001
+From: Kenny Levinsen <[email protected]>
+Date: Sun, 25 Apr 2021 20:16:19 +0200
+Subject: [PATCH] meson: Support building builtin without seatd
+
+The builtin backend relies on the seatd backend implementation. When
+builtin was enabled without seatd, compilation would fail due to the
+implementation not being included.
+
+Include the implementation if either seatd or builtin is enabled.
+
+Signed-off-by: Adrian Perez de Castro <[email protected]>
+Upstream-Status: backport [with adaptations]
+---
+ meson.build | 5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/meson.build b/meson.build
+index ff56845..8cb4fc6 100644
+--- a/meson.build
++++ b/meson.build
+@@ -105,8 +105,11 @@ server_files = [
+ 	'seatd/server.c',
+ ]
+ 
+-if get_option('seatd').enabled()
++if get_option('seatd').enabled() or get_option('builtin').enabled()
+ 	private_files += 'libseat/backend/seatd.c'
++endif
++
++if get_option('seatd').enabled()
+ 	add_project_arguments('-DSEATD_ENABLED=1', language: 'c')
+ endif
+ 
+-- 
+2.31.1
+
package/seatd/Config.in new file +48 -0

48 lines not on this page · raw message

package/seatd/seatd.hash new file +5 -0
new file mode 100644
index 0000000000..342079e958
@@ -0,0 +1,5 @@
+# Calculated locally
+sha256  274b56324fc81ca6002bc1cdd387668dee34a6e1063e5f3896805c3770948988  0.5.0.tar.gz
+
+# License files
+sha256  282a494803d666616bd726e0279636b5f6a31387ae19a707459074050f2600d3  LICENSE
package/seatd/seatd.mk new file +42 -0

42 lines not on this page · raw message

Signature · 1 line
2.31.1
#8 lore raw

PATCH 3/6 package/seatd: new package

Adrian, All,

On 2021-05-13 19:33 +0300, Adrian Perez de Castro spake thusly:

Quoted 10 lines

Introduce a seatd package, which can be used by wlroots 0.12.0 and newer. The package includes both a library (always built) and an optional seat management daemon.

The library can use systemd-logind, the seatd daemon, or a simple builtin in-process mode. Build options are introduced for each of them. At least one backend needs to be built; if both logind and seatd are disabled the builtin backend will be enabled unconditionally.

[--SNIP--]

Quoted 7 lines
package/seatd/Config.in new file +1 -0
new file mode 100644
index 0000000000..a921e0e01c
@@ -0,0 +1,48 @@
+menuconfig BR2_PACKAGE_SEATD

package/seatd/Config.in line 11

Quoted 10 lines
package/seatd/Config.in new file +10 -0
+	bool "seatd"
+	select BR2_PACKAGE_SEATD_LIBSEAT
+	help
+	  Seat management daemon and support library.
+
+	  https://git.sr.ht/~kennylevinsen/seatd
+
+if BR2_PACKAGE_SEATD
+
+config BR2_PACKAGE_SEATD_LIBSEAT

Why do you need a separate option BR2_PACKAGE_SEATD_LIBSEAT? If the package is not enabled, that option is not visible; if the package is enabled, that option is forcibly set... So, I fail to see a reason for it...

package/seatd/Config.in line 14

Quoted 3 lines
package/seatd/Config.in new file +3 -0
+	bool "libseat"
+	select BR2_PACKAGE_SEATD_LIBSEAT_BUILTIN \
+		if !BR2_PACKAGE_SEATD_LIBSEAT_LOGIND && !BR2_PACKAGE_SEATD_LIBSEAT_SEATD

... and the select it does can be moved to the main symbol without any issue, AFAICS...

package/seatd/Config.in line 20

Quoted 5 lines
package/seatd/Config.in new file +5 -0
+if BR2_PACKAGE_SEATD_LIBSEAT
+
+config BR2_PACKAGE_SEATD_LIBSEAT_LOGIND
+	bool "logind backend"
+	default y

We usually do not default y, unless there is a very good reason for it. In this case, I would even drop the option completely, and just enable the logind support in the makefile:

    ifeq ($(BR2_PACKAGE_SYSTEMD_LOGIND),y)
    SEATD_CONF_OPTS += -Dlogind=enabled
    else
    SEATD_CONF_OPTS += -Dlogind=disabled
    endif

Also, don't you need a "SEATD_DPENDENCIES += systemd" in that case?

package/seatd/Config.in line 33

Quoted 13 lines
package/seatd/Config.in new file +13 -0
+	depends on BR2_PACKAGE_SYSTEMD_LOGIND
+	help
+	  Support using logind for seat management.
+
+comment "logind backend needs systemd-logind"
+	depends on !BR2_PACKAGE_SYSTEMD_LOGIND
+
+config BR2_PACKAGE_SEATD_LIBSEAT_SEATD
+	bool "seatd backend"
+	default y
+	depends on BR2_PACKAGE_SEATD_SEATD
+	help
+	  Support using seatd for seat management.

Ditto: I would also drop the option and enable the seatd backend if the daemon is enabled.

package/seatd/Config.in line 41

Quoted 7 lines
package/seatd/Config.in new file +7 -0
+comment "seatd backend needs seatd daemon"
+	depends on !BR2_PACKAGE_SEATD_SEATD
+
+config BR2_PACKAGE_SEATD_LIBSEAT_BUILTIN
+	bool "builtin backend"
+	help
+	  Builtin in-process seatd implementation.

And thus, we'd just have this one option, which gets forcibly selected when neither systemd-logind nor the seatd daemone are enabled;

    config BR2_PACKAGE_SEATD
        bool "seatd"
        select BR2_PACKAGE_SEATD_LIBSEAT_BUILTIN \
            if !BR2_PACKAGE_SYSTEMD_LOGIND \
            && !BR2_PACKAGE_SEATD_SEATD

Regards,
Yann E. MORIN.

Quoted 72 lines
package/seatd/Config.in new file +6 -0
+endif
+
+config BR2_PACKAGE_SEATD_SEATD
+	bool "seatd daemon"
+
+endif
package/seatd/seatd.hash new file +5 -0
new file mode 100644
index 0000000000..342079e958
@@ -0,0 +1,5 @@
+# Calculated locally
+sha256  274b56324fc81ca6002bc1cdd387668dee34a6e1063e5f3896805c3770948988  0.5.0.tar.gz
+
+# License files
+sha256  282a494803d666616bd726e0279636b5f6a31387ae19a707459074050f2600d3  LICENSE
package/seatd/seatd.mk new file +42 -0
new file mode 100644
index 0000000000..45da53904f
@@ -0,0 +1,42 @@
+################################################################################
+#
+# seatd
+#
+################################################################################
+
+SEATD_VERSION = 0.5.0
+SEATD_SOURCE = $(SEATD_VERSION).tar.gz
+SEATD_SITE = https://git.sr.ht/~kennylevinsen/seatd/archive
+SEATD_LICENSE = MIT
+SEATD_LICENSE_FILES = LICENSE
+SEATD_INSTALL_STAGING = YES
+
+SEATD_CONF_OPTS += \
+	-Dman-pages=disabled \
+	-Dexamples=disabled
+
+ifeq ($(BR2_PACKAGE_SEATD_LIBSEAT_LOGIND),y)
+SEATD_CONF_OPTS += -Dlogind=enabled
+else
+SEATD_CONF_OPTS += -Dlogind=disabled
+endif
+
+ifeq ($(BR2_PACKAGE_SEATD_LIBSEAT_SEATD),y)
+SEATD_CONF_OPTS += -Dseatd=enabled
+else
+SEATD_CONF_OPTS += -Dseatd=disabled
+endif
+
+ifeq ($(BR2_PACKAGE_SEATD_LIBSEAT_BUILTIN),y)
+SEATD_CONF_OPTS += -Dbuiltin=enabled
+else
+SEATD_CONF_OPTS += -Dbuiltin=disabled
+endif
+
+ifeq ($(BR2_PACKAGE_SEATD_SEATD),y)
+SEATD_CONF_OPTS += -Dserver=enabled
+else
+SEATD_CONF_OPTS += -Dserver=disabled
+endif
+
+$(eval $(meson-package))
Signature · 6 lines
2.31.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#9 lore raw

PATCH 3/6 package/seatd: new package

Quoted 28 lines · On Sun, 16 May 2021 15:54:51 +0200 "Yann E. MORIN" <[email protected]>…

Adrian, All,

On 2021-05-13 19:33 +0300, Adrian Perez de Castro spake thusly:

Quoted 10 lines

Introduce a seatd package, which can be used by wlroots 0.12.0 and newer. The package includes both a library (always built) and an optional seat management daemon.

The library can use systemd-logind, the seatd daemon, or a simple builtin in-process mode. Build options are introduced for each of them. At least one backend needs to be built; if both logind and seatd are disabled the builtin backend will be enabled unconditionally.

[--SNIP--]

Quoted 14 lines
package/seatd/Config.in new file +8 -0
new file mode 100644
index 0000000000..a921e0e01c
@@ -0,0 +1,48 @@
+menuconfig BR2_PACKAGE_SEATD
+	bool "seatd"
+	select BR2_PACKAGE_SEATD_LIBSEAT
+	help
+	  Seat management daemon and support library.
+
+	  https://git.sr.ht/~kennylevinsen/seatd
+
Quoted 8 lines

package/seatd/Config.in line 11

Quoted 3 lines
package/seatd/Config.in new file +3 -0
+if BR2_PACKAGE_SEATD
+
+config BR2_PACKAGE_SEATD_LIBSEAT

Why do you need a separate option BR2_PACKAGE_SEATD_LIBSEAT? If the package is not enabled, that option is not visible; if the package is enabled, that option is forcibly set... So, I fail to see a reason for it...

As it turns out, right now I cannot remember why it was written this way. Let's go with the simplification. The auxiliary option can be brought back when there is some reason for it (if ever).

Quoted 6 lines

package/seatd/Config.in line 14

Quoted 3 lines
package/seatd/Config.in new file +3 -0
+	bool "libseat"
+	select BR2_PACKAGE_SEATD_LIBSEAT_BUILTIN \
+		if !BR2_PACKAGE_SEATD_LIBSEAT_LOGIND && !BR2_PACKAGE_SEATD_LIBSEAT_SEATD

... and the select it does can be moved to the main symbol without any issue, AFAICS...

Aye.

Quoted 10 lines

package/seatd/Config.in line 20

Quoted 5 lines
package/seatd/Config.in new file +5 -0
+if BR2_PACKAGE_SEATD_LIBSEAT
+
+config BR2_PACKAGE_SEATD_LIBSEAT_LOGIND
+	bool "logind backend"
+	default y

We usually do not default y, unless there is a very good reason for it. In this case, I would even drop the option completely, and just enable the logind support in the makefile:

Quoted 5 lines
    ifeq ($(BR2_PACKAGE_SYSTEMD_LOGIND),y)
    SEATD_CONF_OPTS += -Dlogind=enabled
    else
    SEATD_CONF_OPTS += -Dlogind=disabled
    endif

Sounds good to me.

Quoted 1 line

Also, don't you need a "SEATD_DPENDENCIES += systemd" in that case?

Indeed, good catch.

Quoted 8 lines
Quoted 8 lines
package/seatd/Config.in new file +8 -0
+	depends on BR2_PACKAGE_SYSTEMD_LOGIND
+	help
+	  Support using logind for seat management.
+
+comment "logind backend needs systemd-logind"
+	depends on !BR2_PACKAGE_SYSTEMD_LOGIND
+
+config BR2_PACKAGE_SEATD_LIBSEAT_SEATD
Quoted 8 lines

package/seatd/Config.in line 33

Quoted 5 lines
package/seatd/Config.in new file +5 -0
+	bool "seatd backend"
+	default y
+	depends on BR2_PACKAGE_SEATD_SEATD
+	help
+	  Support using seatd for seat management.

Ditto: I would also drop the option and enable the seatd backend if the daemon is enabled.

Sure.

Quoted 88 lines

package/seatd/Config.in line 41

Quoted 7 lines
package/seatd/Config.in new file +7 -0
+comment "seatd backend needs seatd daemon"
+	depends on !BR2_PACKAGE_SEATD_SEATD
+
+config BR2_PACKAGE_SEATD_LIBSEAT_BUILTIN
+	bool "builtin backend"
+	help
+	  Builtin in-process seatd implementation.

And thus, we'd just have this one option, which gets forcibly selected when neither systemd-logind nor the seatd daemone are enabled;

    config BR2_PACKAGE_SEATD
        bool "seatd"
        select BR2_PACKAGE_SEATD_LIBSEAT_BUILTIN \
            if !BR2_PACKAGE_SYSTEMD_LOGIND \
            && !BR2_PACKAGE_SEATD_SEATD

Regards,
Yann E. MORIN.

Quoted 68 lines
package/seatd/Config.in new file +6 -0
+endif
+
+config BR2_PACKAGE_SEATD_SEATD
+	bool "seatd daemon"
+
+endif
package/seatd/seatd.hash new file +5 -0
new file mode 100644
index 0000000000..342079e958
@@ -0,0 +1,5 @@
+# Calculated locally
+sha256  274b56324fc81ca6002bc1cdd387668dee34a6e1063e5f3896805c3770948988  0.5.0.tar.gz
+
+# License files
+sha256  282a494803d666616bd726e0279636b5f6a31387ae19a707459074050f2600d3  LICENSE
package/seatd/seatd.mk new file +42 -0
new file mode 100644
index 0000000000..45da53904f
@@ -0,0 +1,42 @@
+################################################################################
+#
+# seatd
+#
+################################################################################
+
+SEATD_VERSION = 0.5.0
+SEATD_SOURCE = $(SEATD_VERSION).tar.gz
+SEATD_SITE = https://git.sr.ht/~kennylevinsen/seatd/archive
+SEATD_LICENSE = MIT
+SEATD_LICENSE_FILES = LICENSE
+SEATD_INSTALL_STAGING = YES
+
+SEATD_CONF_OPTS += \
+	-Dman-pages=disabled \
+	-Dexamples=disabled
+
+ifeq ($(BR2_PACKAGE_SEATD_LIBSEAT_LOGIND),y)
+SEATD_CONF_OPTS += -Dlogind=enabled
+else
+SEATD_CONF_OPTS += -Dlogind=disabled
+endif
+
+ifeq ($(BR2_PACKAGE_SEATD_LIBSEAT_SEATD),y)
+SEATD_CONF_OPTS += -Dseatd=enabled
+else
+SEATD_CONF_OPTS += -Dseatd=disabled
+endif
+
+ifeq ($(BR2_PACKAGE_SEATD_LIBSEAT_BUILTIN),y)
+SEATD_CONF_OPTS += -Dbuiltin=enabled
+else
+SEATD_CONF_OPTS += -Dbuiltin=disabled
+endif
+
+ifeq ($(BR2_PACKAGE_SEATD_SEATD),y)
+SEATD_CONF_OPTS += -Dserver=enabled
+else
+SEATD_CONF_OPTS += -Dserver=disabled
+endif
+
+$(eval $(meson-package))
Signature · 1 line
2.31.1
Quoted 12 lines
Quoted 4 lines

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

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20210518/9537e543/attachment.asc>

#10 lore raw

PATCH 4/6 package/seatd: install init scripts

In reply to Adrian Perez de Castro

Add commands to the seatd package to install the systemd unit included in the source tarball and a SysV init script.

---
 package/seatd/S70seatd | 38 ++++++++++++++++++++++++++++++++++++++
 package/seatd/seatd.mk | 10 ++++++++++
 2 files changed, 48 insertions(+)
 create mode 100755 package/seatd/S70seatd
package/seatd/S70seatd new file +38 -0
new file mode 100755
index 0000000000..a91302c6c1
@@ -0,0 +1,38 @@
+#! /bin/sh
+#
+# Starts seatd
+#
+
+DAEMON=/usr/bin/seatd
+PIDFILE=/run/seatd.pid
+
+case "$1" in
+	start)
+		printf 'Starting seatd: '
+		if start-stop-daemon -S -x "$DAEMON" -p "$PIDFILE" -m -b -- -g video
+		then
+			echo OK
+		else
+			echo FAIL
+		fi
+		;;
+	stop)
+		if start-stop-daemon -K -x "$DAEMON" -p "$PIDFILE"
+		then
+			echo OK
+		else
+			echo FAIL
+		fi
+		;;
+	restart)
+		"$0" stop || true
+		sleep 1
+		"$0" start
+		;;
+	*)
+		echo "Usage: $0 {start|stop|restart}"
+		exit 1
+		;;
+esac
+
+exit 0
package/seatd/seatd.mk +10 -0
index 45da53904f..abb7cb888f 100644
@@ -39,4 +39,14 @@ else
 SEATD_CONF_OPTS += -Dserver=disabled
 endif
 
+define SEATD_INSTALL_INIT_SYSV
+	$(INSTALL) -m 0755 -D $(SEATD_PKGDIR)/S70seatd \
+		$(TARGET_DIR)/etc/init.d/S70seatd
+endef
+
+define SEATD_INSTALL_INIT_SYSTEMD
+	$(INSTALL) -m 0644 -D $(@D)/contrib/systemd/seatd.service \
+		$(TARGET_DIR)/usr/lib/systemd/system/seatd.service
+endef
+
 $(eval $(meson-package))
Signature · 1 line
2.31.1
#11 lore raw

PATCH 4/6 package/seatd: install init scripts

Adrian, All,

On 2021-05-13 19:33 +0300, Adrian Perez de Castro spake thusly:

Quoted 18 lines

Add commands to the seatd package to install the systemd unit included in the source tarball and a SysV init script.

---
 package/seatd/S70seatd | 38 ++++++++++++++++++++++++++++++++++++++
 package/seatd/seatd.mk | 10 ++++++++++
 2 files changed, 48 insertions(+)
 create mode 100755 package/seatd/S70seatd
package/seatd/S70seatd new file +2 -0
new file mode 100755
index 0000000000..a91302c6c1
@@ -0,0 +1,38 @@
+#! /bin/sh
+#

package/seatd/S70seatd line 12

Quoted 10 lines
package/seatd/S70seatd new file +10 -0
+# Starts seatd
+#
+
+DAEMON=/usr/bin/seatd
+PIDFILE=/run/seatd.pid
+
+case "$1" in
+	start)
+		printf 'Starting seatd: '
+		if start-stop-daemon -S -x "$DAEMON" -p "$PIDFILE" -m -b -- -g video

I guess this means using the 'video' group, right?

Currently, we do define the video group in the default skeleton, but I wonder if we should not ensure the group does exist:

define SEATD_USERS
- - video -1 - - - - -
endef

I have no strong feeling about it, though..

Regards,
Yann E. MORIN.

Quoted 52 lines
package/seatd/S70seatd new file +26 -0
+		then
+			echo OK
+		else
+			echo FAIL
+		fi
+		;;
+	stop)
+		if start-stop-daemon -K -x "$DAEMON" -p "$PIDFILE"
+		then
+			echo OK
+		else
+			echo FAIL
+		fi
+		;;
+	restart)
+		"$0" stop || true
+		sleep 1
+		"$0" start
+		;;
+	*)
+		echo "Usage: $0 {start|stop|restart}"
+		exit 1
+		;;
+esac
+
+exit 0
package/seatd/seatd.mk +10 -0
index 45da53904f..abb7cb888f 100644
@@ -39,4 +39,14 @@ else
 SEATD_CONF_OPTS += -Dserver=disabled
 endif
 
+define SEATD_INSTALL_INIT_SYSV
+	$(INSTALL) -m 0755 -D $(SEATD_PKGDIR)/S70seatd \
+		$(TARGET_DIR)/etc/init.d/S70seatd
+endef
+
+define SEATD_INSTALL_INIT_SYSTEMD
+	$(INSTALL) -m 0644 -D $(@D)/contrib/systemd/seatd.service \
+		$(TARGET_DIR)/usr/lib/systemd/system/seatd.service
+endef
+
 $(eval $(meson-package))
Signature · 6 lines
2.31.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#12 lore raw

PATCH 4/6 package/seatd: install init scripts

Quoted 25 lines · On Sun, 16 May 2021 16:00:36 +0200 "Yann E. MORIN" <[email protected]>…

Adrian, All,

On 2021-05-13 19:33 +0300, Adrian Perez de Castro spake thusly:

Quoted 22 lines

Add commands to the seatd package to install the systemd unit included in the source tarball and a SysV init script.

---
 package/seatd/S70seatd | 38 ++++++++++++++++++++++++++++++++++++++
 package/seatd/seatd.mk | 10 ++++++++++
 2 files changed, 48 insertions(+)
 create mode 100755 package/seatd/S70seatd
package/seatd/S70seatd new file +6 -0
new file mode 100755
index 0000000000..a91302c6c1
@@ -0,0 +1,38 @@
+#! /bin/sh
+#
+# Starts seatd
+#
+
+DAEMON=/usr/bin/seatd
Quoted 8 lines

package/seatd/S70seatd line 12

Quoted 6 lines
package/seatd/S70seatd new file +6 -0
+PIDFILE=/run/seatd.pid
+
+case "$1" in
+	start)
+		printf 'Starting seatd: '
+		if start-stop-daemon -S -x "$DAEMON" -p "$PIDFILE" -m -b -- -g video

I guess this means using the 'video' group, right?

Yes, it's the ?video? group.

Quoted 8 lines

Currently, we do define the video group in the default skeleton, but I wonder if we should not ensure the group does exist:

define SEATD_USERS
- - video -1 - - - - -
endef

I have no strong feeling about it, though..

I was not aware that more than one package can define the same user/group in FOO_USERS without it being a conflict. I'll add it, because I suppose it may be good to ensure it will always be created, even if for example someone is using a custom base skeleton.

Quoted 34 lines
Quoted 34 lines
package/seatd/S70seatd new file +26 -0
+		then
+			echo OK
+		else
+			echo FAIL
+		fi
+		;;
+	stop)
+		if start-stop-daemon -K -x "$DAEMON" -p "$PIDFILE"
+		then
+			echo OK
+		else
+			echo FAIL
+		fi
+		;;
+	restart)
+		"$0" stop || true
+		sleep 1
+		"$0" start
+		;;
+	*)
+		echo "Usage: $0 {start|stop|restart}"
+		exit 1
+		;;
+esac
+
+exit 0
package/seatd/seatd.mk +0 -0
index 45da53904f..abb7cb888f 100644
@@ -39,4 +39,14 @@ else
 SEATD_CONF_OPTS += -Dserver=disabled
 endif
 
Quoted 9 lines

package/seatd/seatd.mk else · line 50

Quoted 9 lines
package/seatd/seatd.mk +9 -0
+define SEATD_INSTALL_INIT_SYSV
+	$(INSTALL) -m 0755 -D $(SEATD_PKGDIR)/S70seatd \
+		$(TARGET_DIR)/etc/init.d/S70seatd
+endef
+
+define SEATD_INSTALL_INIT_SYSTEMD
+	$(INSTALL) -m 0644 -D $(@D)/contrib/systemd/seatd.service \
+		$(TARGET_DIR)/usr/lib/systemd/system/seatd.service
+endef

Also I just realized that the SEATD_INSTALL_INIT_* definitions should be done conditionally if the daemon is built. I will keep that in mind :)

Cheers,
-Adrian

Quoted 4 lines
Quoted 4 lines
package/seatd/seatd.mk +0 -0
 $(eval $(meson-package))
Signature · 1 line
2.31.1
Quoted 12 lines
Quoted 4 lines

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

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20210518/355df618/attachment.asc>

#13 lore raw

PATCH 5/6 package/wlroots: use libseat when available

In reply to Adrian Perez de Castro

Enable using libseat for seat management when possible.

---
 package/wlroots/wlroots.mk | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
package/wlroots/wlroots.mk +8 -1
index 95fadfef5e..f6ad8f9181 100644
@@ -22,7 +22,7 @@ WLROOTS_DEPENDENCIES = \
 	wayland \
 	wayland-protocols
 
-WLROOTS_CONF_OPTS = -Dexamples=false -Dxcb-errors=disabled -Dlibseat=disabled
+WLROOTS_CONF_OPTS = -Dexamples=false -Dxcb-errors=disabled
 
 ifeq ($(BR2_PACKAGE_FFMPEG),y)
 WLROOTS_DEPENDENCIES += ffmpeg
@@ -53,4 +53,11 @@ else
 WLROOTS_CONF_OPTS += -Dxwayland=disabled
 endif
 
+ifeq ($(BR2_PACKAGE_SEATD_LIBSEAT),y)
+WLROOTS_CONF_OPTS += -Dlibseat=enabled
+WLROOTS_DEPENDENCIES += seatd
+else
+WLROOTS_CONF_OPTS += -Dlibseat=disabled
+endif
+
 $(eval $(meson-package))
Signature · 1 line
2.31.1
#14 lore raw

PATCH 6/6 package/cage: bump to version 0.1.3

In reply to Adrian Perez de Castro

Update to version 0.1.3, which is a matenance release which does not add any new features but can be built against wlroots 0.13.0. A new build option to toggle man pages is set to always disabled.

---
 package/cage/cage.hash | 2 +-
 package/cage/cage.mk   | 7 ++++---
 2 files changed, 5 insertions(+), 4 deletions(-)
package/cage/cage.hash +1 -1
index 5cae952d72..6e312bbf5f 100644
@@ -1,5 +1,5 @@
 # Generated locally
-sha256 38a3e3968f00cc58fe1d9448e972cfac7d1efa30c48699f09032f264101a55ac  cage-0.1.2.1.tar.gz
+sha256 c28aa8230f937c89b564967748451c1eb15d8633a71a1ed6e22d532afa15462e  cage-0.1.3.tar.gz
 
 # Hashes for license files:
 sha256 e117104073335dbaf78596fb1bedf89dda63c71f60f0b665947b2d369c77ecee  LICENSE
package/cage/cage.mk +4 -3
index 9fc01d36c1..0950c70474 100644
@@ -4,16 +4,17 @@
 #
 ################################################################################
 
-CAGE_VERSION = 0.1.2.1
+CAGE_VERSION = 0.1.3
 CAGE_SITE = https://github.com/Hjdskes/cage/releases/download/v$(CAGE_VERSION)
 CAGE_LICENSE = MIT
 CAGE_LICENSE_FILES = LICENSE
 CAGE_DEPENDENCIES = host-pkgconf wlroots
+CAGE_CONF_OPTS = -Dman-pages=disabled
 
 ifeq ($(BR2_PACKAGE_XORG7),y)
-CAGE_CONF_OPTS = -Dxwayland=true
+CAGE_CONF_OPTS += -Dxwayland=true
 else
-CAGE_CONF_OPTS = -Dxwayland=false
+CAGE_CONF_OPTS += -Dxwayland=false
 endif
 
 $(eval $(meson-package))
Signature · 1 line
2.31.1
#15 lore raw

cover Update Cage, wlroots, and wayland

In reply to Adrian Perez de Castro

Adrian, All,

On 2021-05-13 19:33 +0300, Adrian Perez de Castro spake thusly:

Quoted 5 lines

This patch set updates Cage to 0.1.3, which by itself does not have functional changes over the previous version, but it pulls in wlroots 0.13.0 which does include a good number of improvements. The latter also needs a bump to the wayland package, so that gets updated as well.

Quoted 10 lines

Last but not least, wlroots can now libseat to broker sessions, so three of the patches deal with adding a package for it, installing the daemon init scripts (if the daemon is enabled, as it is optional), and arranging for wlroots to use libseat when available. I reckon that these three patches dealing with libseat could be split in a separate patch set, but I opted for including them in the series for context. It looks like libseat is gaining momentum in the Wayland ecosystem and for example Weston can also use it since half a year ago [1]. At any rate, let me know if you would rather have the libseat patches in a separate submission, and I will be happy to make it happen :)

No, this is perfectly fine to have in this series. I had a few comments about patches 2-onward, though, so I marked them changes-requested. Patch 1 got applied to next. Thanks!

Regards,
Yann E. MORIN.

Quoted 45 lines

Best regards,
-Adrian

[1] https://gitlab.freedesktop.org/wayland/weston/-/commit/6c4a993a999048a2054ec97e71d32839b312c642

Adrian Perez de Castro (6):
package/wayland: bump to version 1.19.0
package/wlroots: bump to version 0.13.0
package/seatd: new package
package/seatd: install init scripts
package/wlroots: use libseat when available
package/cage: bump to version 0.1.3

 package/Config.in                             |  1 +
 package/cage/cage.hash                        |  2 +-
 package/cage/cage.mk                          |  7 ++-
 ...pport-building-builtin-without-seatd.patch | 37 ++++++++++++
 package/seatd/Config.in                       | 48 ++++++++++++++++
 package/seatd/S70seatd                        | 38 +++++++++++++
 package/seatd/seatd.hash                      |  5 ++
 package/seatd/seatd.mk                        | 52 +++++++++++++++++
 ...01-build-add-option-to-disable-tests.patch | 25 ++++----
 .../0002-meson-do-not-check-for-c.patch       | 29 ----------
 ...002-meson-only-require-cpp-for-tests.patch | 57 +++++++++++++++++++
 package/wayland/wayland.hash                  |  8 +--
 package/wayland/wayland.mk                    |  2 +-
 package/wlroots/wlroots.hash                  |  4 +-
 package/wlroots/wlroots.mk                    | 12 ++--
 15 files changed, 268 insertions(+), 59 deletions(-)
 create mode 100644 package/seatd/0001-meson-Support-building-builtin-without-seatd.patch
 create mode 100644 package/seatd/Config.in
 create mode 100755 package/seatd/S70seatd
 create mode 100644 package/seatd/seatd.hash
 create mode 100644 package/seatd/seatd.mk
 delete mode 100644 package/wayland/0002-meson-do-not-check-for-c.patch
 create mode 100644 package/wayland/0002-meson-only-require-cpp-for-tests.patch
Signature · 6 lines
2.31.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#16 lore raw

v2 cover Update Cage, wlroots, and wayland

In reply to Adrian Perez de Castro

Hello!

This patch set updates Cage to 0.1.3, which by itself does not have functional changes over the previous version, but it pulls in wlroots 0.13.0 which does include a good number of improvements.

Last but not least, wlroots can now libseat to broker sessions, so three of the patches deal with adding a package for it, installing the daemon init scripts (if the daemon is enabled, as it is optional), and arranging for wlroots to use libseat when available. It looks like libseat is gaining momentum in the Wayland ecosystem and for example Weston can also use it since half a year ago [1].

Best regards,
-Adrian

[1] https://gitlab.freedesktop.org/wayland/weston/-/commit/6c4a993a999048a2054ec97e71d32839b312c642

Adrian Perez de Castro (5):
package/wlroots: bump to version 0.13.0
package/seatd: new package
package/seatd: install init scripts
package/wlroots: use libseat when available
package/cage: bump to version 0.1.3

 package/Config.in                             |  1 +
 package/cage/cage.hash                        |  2 +-
 package/cage/cage.mk                          |  7 +--
 ...pport-building-builtin-without-seatd.patch | 37 +++++++++++++
 package/seatd/Config.in                       | 22 ++++++++
 package/seatd/S70seatd                        | 38 ++++++++++++++
 package/seatd/seatd.hash                      |  5 ++
 package/seatd/seatd.mk                        | 52 +++++++++++++++++++
 package/wlroots/Config.in                     |  3 ++
 package/wlroots/wlroots.hash                  |  4 +-
 package/wlroots/wlroots.mk                    | 25 ++++-----
 11 files changed, 174 insertions(+), 22 deletions(-)
 create mode 100644 package/seatd/0001-meson-Support-building-builtin-without-seatd.patch
 create mode 100644 package/seatd/Config.in
 create mode 100755 package/seatd/S70seatd
 create mode 100644 package/seatd/seatd.hash
 create mode 100644 package/seatd/seatd.mk
Signature · 1 line
2.31.1
#17 lore raw

PATCH v2 1/5 package/wlroots: bump to version 0.13.0

Update wlroots to version 0.13.0. This is a release which changes API/ABI, applications which use wlroots need to be rebuilt. Currently in Buildroot there is only cage, to be updated by a follow-up patch of the series.

Additionally, remove usage of the xcb-icccm build option, which is no longer available and update the dependencies needed by the X11 support. Note that the dependencies neded by the X11 backend are a superset of the ones needed for XWayland support, so we can make toggle both Meson options at once.

---
Changes v1 -> v2:
- Add missing libxcb/xcb-util-{renderutil,wm} deps (suggested by

    Yann).

- Make BR2_PACKAGE_WLROOTS_X11 enable both the X11 backend and XWayland.

---
 package/wlroots/Config.in    |  3 +++
 package/wlroots/wlroots.hash |  4 ++--
 package/wlroots/wlroots.mk   | 22 ++++------------------
 3 files changed, 9 insertions(+), 20 deletions(-)
package/wlroots/Config.in +3 -0
index 694aa79de4..41f8986772 100644
@@ -33,6 +33,9 @@ if BR2_PACKAGE_WLROOTS
 config BR2_PACKAGE_WLROOTS_X11
 	bool "X11 backend"
 	depends on BR2_PACKAGE_XORG7
+	select BR2_PACKAGE_LIBXCB
+	select BR2_PACKAGE_XCB_UTIL_RENDERUTIL
+	select BR2_PACKAGE_XCB_UTIL_WM
 	select BR2_PACKAGE_XLIB_LIBX11
 	help
 	  Support Wayland sessions nested inside a X11 window
package/wlroots/wlroots.hash +2 -2
index 2fab9b30b4..024ea93cae 100644
@@ -1,5 +1,5 @@
-# Generated locally, after checking https://github.com/swaywm/wlroots/releases/download/0.12.0/wlroots-0.12.0.tar.gz.sig
-sha256  c9e9f4f6d2f526d0b2886daf3ec37e64831773059aa669fb98a88522a1626bdb  wlroots-0.12.0.tar.gz
+# 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
 
 # Hashes for license files:
 sha256  ffd3737a478b83a8b51b42757d3bf909ef36694508355879722e11fc1fa6736b  LICENSE
package/wlroots/wlroots.mk +4 -18
index 0160b1aedb..a20f6683a9 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-WLROOTS_VERSION = 0.12.0
+WLROOTS_VERSION = 0.13.0
 WLROOTS_SITE = https://github.com/swaywm/wlroots/releases/download/$(WLROOTS_VERSION)
 WLROOTS_LICENSE = MIT
 WLROOTS_LICENSE_FILES = LICENSE
@@ -40,24 +40,10 @@ WLROOTS_CONF_OPTS += -Dlogind=disabled
 endif
 
 ifeq ($(BR2_PACKAGE_WLROOTS_X11),y)
-WLROOTS_CONF_OPTS += -Dx11-backend=enabled
-WLROOTS_DEPENDENCIES += xlib_libX11
+WLROOTS_CONF_OPTS += -Dx11-backend=enabled -Dxwayland=enabled
+WLROOTS_DEPENDENCIES += libxcb xcb-util-wm xcb-util-renderutil xlib_libX11
 else
-WLROOTS_CONF_OPTS += -Dx11-backend=disabled
-endif
-
-ifeq ($(BR2_PACKAGE_LIBXCB),y)
-WLROOTS_CONF_OPTS += -Dxwayland=enabled
-WLROOTS_DEPENDENCIES += libxcb
-else
-WLROOTS_CONF_OPTS += -Dxwayland=disabled
-endif
-
-ifeq ($(BR2_PACKAGE_XCB_UTIL_WM),y)
-WLROOTS_CONF_OPTS += -Dxcb-icccm=enabled
-WLROOTS_DEPENDENCIES += xcb-util-wm
-else
-WLROOTS_CONF_OPTS += -Dxcb-icccm=disabled
+WLROOTS_CONF_OPTS += -Dx11-backend=disabled -Dxwayland=disabled
 endif
 
 $(eval $(meson-package))
Signature · 1 line
2.31.1
#18 lore raw

PATCH v2 2/5 package/seatd: new package

In reply to Adrian Perez de Castro

Introduce a seatd package, which can be used by wlroots 0.12.0 and newer. The package includes both a library (always built) and an optional seat management daemon.

The library can use systemd-logind, the seatd daemon, or a simple builtin in-process mode. Build options are introduced for the daemon and the built-in mode, as to allow selecting the built-in mode as default when both the daemon and systemd-logind are not being built.

---
Changes v1 -> v2:
- Remove unneeded BR2_PACKAGE_SEATD_LIBSEAT config option (suggested by Yann).
- Simplify to only have config options BR2_PACKAGE_SEATD_BUILTIN and BR2_PACKAGE_SEATD_DAEMON, with the support for systemd-logind checked directly from BR2_PACKAGE_SYSTEMD_LOGIND (suggested by Yann)
- Add missing "systemd" dependency if systemd-logind support is enabled (suggested by Yann)

---
 package/Config.in                             |  1 +
 ...pport-building-builtin-without-seatd.patch | 37 +++++++++++++++++++
 package/seatd/Config.in                       | 22 +++++++++++
 package/seatd/seatd.hash                      |  5 +++
 package/seatd/seatd.mk                        | 37 +++++++++++++++++++
 5 files changed, 102 insertions(+)
 create mode 100644 package/seatd/0001-meson-Support-building-builtin-without-seatd.patch
 create mode 100644 package/seatd/Config.in
 create mode 100644 package/seatd/seatd.hash
 create mode 100644 package/seatd/seatd.mk
package/Config.in +1 -0
index 45d75c71d0..1616b2f283 100644
@@ -2490,6 +2490,7 @@ menu "System tools"
 	source "package/scrub/Config.in"
 	source "package/scrypt/Config.in"
 	source "package/sdbusplus/Config.in"
+	source "package/seatd/Config.in"
 	source "package/smack/Config.in"
 	source "package/start-stop-daemon/Config.in"
 	source "package/supervisor/Config.in"
package/seatd/0001-meson-Support-building-builtin-without-seatd.patch new file +37 -0
new file mode 100644
index 0000000000..fcaa355dc4
@@ -0,0 +1,37 @@
+From 11bf7d5d11424749d549239540e5db06b8754bb5 Mon Sep 17 00:00:00 2001
+From: Kenny Levinsen <[email protected]>
+Date: Sun, 25 Apr 2021 20:16:19 +0200
+Subject: [PATCH] meson: Support building builtin without seatd
+
+The builtin backend relies on the seatd backend implementation. When
+builtin was enabled without seatd, compilation would fail due to the
+implementation not being included.
+
+Include the implementation if either seatd or builtin is enabled.
+
+Signed-off-by: Adrian Perez de Castro <[email protected]>
+Upstream-Status: backport [with adaptations]
+---
+ meson.build | 5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/meson.build b/meson.build
+index ff56845..8cb4fc6 100644
+--- a/meson.build
++++ b/meson.build
+@@ -105,8 +105,11 @@ server_files = [
+ 	'seatd/server.c',
+ ]
+ 
+-if get_option('seatd').enabled()
++if get_option('seatd').enabled() or get_option('builtin').enabled()
+ 	private_files += 'libseat/backend/seatd.c'
++endif
++
++if get_option('seatd').enabled()
+ 	add_project_arguments('-DSEATD_ENABLED=1', language: 'c')
+ endif
+ 
+-- 
+2.31.1
+
package/seatd/Config.in new file +22 -0
new file mode 100644
index 0000000000..2c2efcb04e
@@ -0,0 +1,22 @@
+menuconfig BR2_PACKAGE_SEATD
+	bool "seatd"
+	select BR2_PACKAGE_SEATD_BUILTIN \
+		if !BR2_PACKAGE_SYSTEMD_LOGIND && !BR2_PACKAGE_SEATD_DAEMON
+	help
+	  Seat management daemon and support library.
+
+	  https://git.sr.ht/~kennylevinsen/seatd
+
+if BR2_PACKAGE_SEATD
+
+config BR2_PACKAGE_SEATD_BUILTIN
+	bool "builtin backend"
+	help
+	  Builtin in-process seatd implementation inside libseat.
+
+config BR2_PACKAGE_SEATD_DAEMON
+	bool "seatd daemon"
+	help
+	  Build the seatd daemon and support for it inside libseat.
+
+endif
package/seatd/seatd.hash new file +5 -0
new file mode 100644
index 0000000000..342079e958
@@ -0,0 +1,5 @@
+# Calculated locally
+sha256  274b56324fc81ca6002bc1cdd387668dee34a6e1063e5f3896805c3770948988  0.5.0.tar.gz
+
+# License files
+sha256  282a494803d666616bd726e0279636b5f6a31387ae19a707459074050f2600d3  LICENSE
package/seatd/seatd.mk new file +37 -0
new file mode 100644
index 0000000000..2e90270555
@@ -0,0 +1,37 @@
+################################################################################
+#
+# seatd
+#
+################################################################################
+
+SEATD_VERSION = 0.5.0
+SEATD_SOURCE = $(SEATD_VERSION).tar.gz
+SEATD_SITE = https://git.sr.ht/~kennylevinsen/seatd/archive
+SEATD_LICENSE = MIT
+SEATD_LICENSE_FILES = LICENSE
+SEATD_INSTALL_STAGING = YES
+
+SEATD_CONF_OPTS += \
+	-Dman-pages=disabled \
+	-Dexamples=disabled
+
+ifeq ($(BR2_PACKAGE_SYSTEMD_LOGIND),y)
+SEATD_CONF_OPTS += -Dlogind=enabled
+SEATD_DEPENDENCIES += systemd
+else
+SEATD_CONF_OPTS += -Dlogind=disabled
+endif
+
+ifeq ($(BR2_PACKAGE_SEATD_BUILTIN),y)
+SEATD_CONF_OPTS += -Dbuiltin=enabled
+else
+SEATD_CONF_OPTS += -Dbuiltin=disabled
+endif
+
+ifeq ($(BR2_PACKAGE_SEATD_DAEMON),y)
+SEATD_CONF_OPTS += -Dseatd=enabled -Dserver=enabled
+else
+SEATD_CONF_OPTS += -Dseatd=disabled -Dserver=disabled
+endif
+
+$(eval $(meson-package))
Signature · 1 line
2.31.1
#19 lore raw

PATCH v2 3/5 package/seatd: install init scripts

In reply to Adrian Perez de Castro

Add commands to the seatd package to install the systemd unit included in the source tarball and a SysV init script, and ensure that the "video" group gets created.

---
Changes v1 -> v2:
- Add SEATD_USERS (suggested by Yann)
- Only install init scripts if BR2_PACKAGE_SEATD_DAEMON is enabled.

---
 package/seatd/S70seatd | 38 ++++++++++++++++++++++++++++++++++++++
 package/seatd/seatd.mk | 15 +++++++++++++++
 2 files changed, 53 insertions(+)
 create mode 100755 package/seatd/S70seatd
package/seatd/S70seatd new file +38 -0
new file mode 100755
index 0000000000..a91302c6c1
@@ -0,0 +1,38 @@
+#! /bin/sh
+#
+# Starts seatd
+#
+
+DAEMON=/usr/bin/seatd
+PIDFILE=/run/seatd.pid
+
+case "$1" in
+	start)
+		printf 'Starting seatd: '
+		if start-stop-daemon -S -x "$DAEMON" -p "$PIDFILE" -m -b -- -g video
+		then
+			echo OK
+		else
+			echo FAIL
+		fi
+		;;
+	stop)
+		if start-stop-daemon -K -x "$DAEMON" -p "$PIDFILE"
+		then
+			echo OK
+		else
+			echo FAIL
+		fi
+		;;
+	restart)
+		"$0" stop || true
+		sleep 1
+		"$0" start
+		;;
+	*)
+		echo "Usage: $0 {start|stop|restart}"
+		exit 1
+		;;
+esac
+
+exit 0
package/seatd/seatd.mk +15 -0
index 2e90270555..2abcefbfaa 100644
@@ -30,6 +30,21 @@ endif
 
 ifeq ($(BR2_PACKAGE_SEATD_DAEMON),y)
 SEATD_CONF_OPTS += -Dseatd=enabled -Dserver=enabled
+
+define SEATD_USERS
+	- - video -1 - - - - -
+endef
+
+define SEATD_INSTALL_INIT_SYSV
+	$(INSTALL) -m 0755 -D $(SEATD_PKGDIR)/S70seatd \
+		$(TARGET_DIR)/etc/init.d/S70seatd
+endef
+
+define SEATD_INSTALL_INIT_SYSTEMD
+	$(INSTALL) -m 0644 -D $(@D)/contrib/systemd/seatd.service \
+		$(TARGET_DIR)/usr/lib/systemd/system/seatd.service
+endef
+
 else
 SEATD_CONF_OPTS += -Dseatd=disabled -Dserver=disabled
 endif
Signature · 1 line
2.31.1
#20 lore raw

PATCH v2 4/5 package/wlroots: use libseat when available

In reply to Adrian Perez de Castro

Enable using libseat for seat management when possible.

---
Changes v1 -> v2:
- No changes.

---
 package/wlroots/wlroots.mk | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
package/wlroots/wlroots.mk +8 -1
index a20f6683a9..38ddba743d 100644
@@ -22,7 +22,7 @@ WLROOTS_DEPENDENCIES = \
 	wayland \
 	wayland-protocols
 
-WLROOTS_CONF_OPTS = -Dexamples=false -Dxcb-errors=disabled -Dlibseat=disabled
+WLROOTS_CONF_OPTS = -Dexamples=false -Dxcb-errors=disabled
 
 ifeq ($(BR2_PACKAGE_FFMPEG),y)
 WLROOTS_DEPENDENCIES += ffmpeg
@@ -46,4 +46,11 @@ else
 WLROOTS_CONF_OPTS += -Dx11-backend=disabled -Dxwayland=disabled
 endif
 
+ifeq ($(BR2_PACKAGE_SEATD_LIBSEAT),y)
+WLROOTS_CONF_OPTS += -Dlibseat=enabled
+WLROOTS_DEPENDENCIES += seatd
+else
+WLROOTS_CONF_OPTS += -Dlibseat=disabled
+endif
+
 $(eval $(meson-package))
Signature · 1 line
2.31.1
#21 lore raw

PATCH v2 5/5 package/cage: bump to version 0.1.3

In reply to Adrian Perez de Castro

Update to version 0.1.3, which is a matenance release which does not add any new features but can be built against wlroots 0.13.0. A new build option to toggle man pages is set to always disabled.

---
Changes v1 -> v2:
- No changes

---
 package/cage/cage.hash | 2 +-
 package/cage/cage.mk   | 7 ++++---
 2 files changed, 5 insertions(+), 4 deletions(-)
package/cage/cage.hash +1 -1
index 5cae952d72..6e312bbf5f 100644
@@ -1,5 +1,5 @@
 # Generated locally
-sha256 38a3e3968f00cc58fe1d9448e972cfac7d1efa30c48699f09032f264101a55ac  cage-0.1.2.1.tar.gz
+sha256 c28aa8230f937c89b564967748451c1eb15d8633a71a1ed6e22d532afa15462e  cage-0.1.3.tar.gz
 
 # Hashes for license files:
 sha256 e117104073335dbaf78596fb1bedf89dda63c71f60f0b665947b2d369c77ecee  LICENSE
package/cage/cage.mk +4 -3
index 9fc01d36c1..0950c70474 100644
@@ -4,16 +4,17 @@
 #
 ################################################################################
 
-CAGE_VERSION = 0.1.2.1
+CAGE_VERSION = 0.1.3
 CAGE_SITE = https://github.com/Hjdskes/cage/releases/download/v$(CAGE_VERSION)
 CAGE_LICENSE = MIT
 CAGE_LICENSE_FILES = LICENSE
 CAGE_DEPENDENCIES = host-pkgconf wlroots
+CAGE_CONF_OPTS = -Dman-pages=disabled
 
 ifeq ($(BR2_PACKAGE_XORG7),y)
-CAGE_CONF_OPTS = -Dxwayland=true
+CAGE_CONF_OPTS += -Dxwayland=true
 else
-CAGE_CONF_OPTS = -Dxwayland=false
+CAGE_CONF_OPTS += -Dxwayland=false
 endif
 
 $(eval $(meson-package))
Signature · 1 line
2.31.1
#22 lore raw

v2 cover Update Cage, wlroots, and wayland

In reply to Adrian Perez de Castro
Quoted 5 lines · On Tue, 18 May 2021 16:54:18 +0300 Adrian Perez de Castro <[email protected]>…

Hello!

This patch set updates Cage to 0.1.3, which by itself does not have functional changes over the previous version, but it pulls in wlroots 0.13.0 which does include a good number of improvements.

Ah, I forgot to add in the subject line that this is for the ?next? branch; it should read ?[PATCH next v2 x/5]? O:-)

Quoted 29 lines

Last but not least, wlroots can now libseat to broker sessions, so three of the patches deal with adding a package for it, installing the daemon init scripts (if the daemon is enabled, as it is optional), and arranging for wlroots to use libseat when available. It looks like libseat is gaining momentum in the Wayland ecosystem and for example Weston can also use it since half a year ago [1].

Best regards,
-Adrian

[1] https://gitlab.freedesktop.org/wayland/weston/-/commit/6c4a993a999048a2054ec97e71d32839b312c642

Adrian Perez de Castro (5):
package/wlroots: bump to version 0.13.0
package/seatd: new package
package/seatd: install init scripts
package/wlroots: use libseat when available
package/cage: bump to version 0.1.3

 package/Config.in                             |  1 +
 package/cage/cage.hash                        |  2 +-
 package/cage/cage.mk                          |  7 +--
 ...pport-building-builtin-without-seatd.patch | 37 +++++++++++++
 package/seatd/Config.in                       | 22 ++++++++
 package/seatd/S70seatd                        | 38 ++++++++++++++
 package/seatd/seatd.hash                      |  5 ++
 package/seatd/seatd.mk                        | 52 +++++++++++++++++++
 package/wlroots/Config.in                     |  3 ++
Quoted 16 lines
 package/wlroots/wlroots.hash                  |  4 +-
 package/wlroots/wlroots.mk                    | 25 ++++-----
 11 files changed, 174 insertions(+), 22 deletions(-)
 create mode 100644 package/seatd/0001-meson-Support-building-builtin-without-seatd.patch
 create mode 100644 package/seatd/Config.in
 create mode 100755 package/seatd/S70seatd
 create mode 100644 package/seatd/seatd.hash
 create mode 100644 package/seatd/seatd.mk
Signature · 6 lines
2.31.1

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20210518/79d2eb4b/attachment.asc>

#23 lore raw

v2 cover Update Cage, wlroots, and wayland

In reply to Adrian Perez de Castro

Adrian, All,

On 2021-05-18 16:54 +0300, Adrian Perez de Castro spake thusly:

Quoted 6 lines

Hello!

This patch set updates Cage to 0.1.3, which by itself does not have functional changes over the previous version, but it pulls in wlroots 0.13.0 which does include a good number of improvements.

Quoted 6 lines

Last but not least, wlroots can now libseat to broker sessions, so three of the patches deal with adding a package for it, installing the daemon init scripts (if the daemon is enabled, as it is optional), and arranging for wlroots to use libseat when available. It looks like libseat is gaining momentum in the Wayland ecosystem and for example Weston can also use it since half a year ago [1].

Waiting for a patch series, then! ;-]

Quoted 6 lines

Best regards,
-Adrian

[1] https://gitlab.freedesktop.org/wayland/weston/-/commit/6c4a993a999048a2054ec97e71d32839b312c642

Quoted 6 lines

Adrian Perez de Castro (5):
package/wlroots: bump to version 0.13.0
package/seatd: new package
package/seatd: install init scripts
package/wlroots: use libseat when available
package/cage: bump to version 0.1.3

Whole series applied to next, thanks.

Regards,
Yann E. MORIN.

Quoted 25 lines
 package/Config.in                             |  1 +
 package/cage/cage.hash                        |  2 +-
 package/cage/cage.mk                          |  7 +--
 ...pport-building-builtin-without-seatd.patch | 37 +++++++++++++
 package/seatd/Config.in                       | 22 ++++++++
 package/seatd/S70seatd                        | 38 ++++++++++++++
 package/seatd/seatd.hash                      |  5 ++
 package/seatd/seatd.mk                        | 52 +++++++++++++++++++
 package/wlroots/Config.in                     |  3 ++
 package/wlroots/wlroots.hash                  |  4 +-
 package/wlroots/wlroots.mk                    | 25 ++++-----
 11 files changed, 174 insertions(+), 22 deletions(-)
 create mode 100644 package/seatd/0001-meson-Support-building-builtin-without-seatd.patch
 create mode 100644 package/seatd/Config.in
 create mode 100755 package/seatd/S70seatd
 create mode 100644 package/seatd/seatd.hash
 create mode 100644 package/seatd/seatd.mk
Signature · 6 lines
2.31.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#24 lore raw

v2 cover Update Cage, wlroots, and wayland

Hello Yann, all,

Quoted 9 lines · On Tue, 18 May 2021 19:11:33 +0200 "Yann E. MORIN" <[email protected]>…

Adrian, All,

On 2021-05-18 16:54 +0300, Adrian Perez de Castro spake thusly:

Quoted 6 lines

Hello!

This patch set updates Cage to 0.1.3, which by itself does not have functional changes over the previous version, but it pulls in wlroots 0.13.0 which does include a good number of improvements.

Quoted 8 lines
Quoted 6 lines

Last but not least, wlroots can now libseat to broker sessions, so three of the patches deal with adding a package for it, installing the daemon init scripts (if the daemon is enabled, as it is optional), and arranging for wlroots to use libseat when available. It looks like libseat is gaining momentum in the Wayland ecosystem and for example Weston can also use it since half a year ago [1].

Waiting for a patch series, then! ;-]

Your wish has been granted, sir!

https://patchwork.ozlabs.org/project/buildroot/patch/20210527133503.412330-1-aperez at igalia.com/

Quoted 6 lines
Quoted 6 lines

Best regards,
-Adrian

[1] https://gitlab.freedesktop.org/wayland/weston/-/commit/6c4a993a999048a2054ec97e71d32839b312c642

Quoted 8 lines
Quoted 6 lines

Adrian Perez de Castro (5):
package/wlroots: bump to version 0.13.0
package/seatd: new package
package/seatd: install init scripts
package/wlroots: use libseat when available
package/cage: bump to version 0.1.3

Whole series applied to next, thanks.

A small mistake slipped in, currently the check for seatd in ?wlroots.mk? is using the wrong variable. Here goes a patch to fix it:

https://patchwork.ozlabs.org/project/buildroot/patch/20210527133752.413075-1-aperez at igalia.com/

Cheers,
-Adrian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20210527/b3ad607a/attachment.asc>