Skip to contentSkip to conversation

package/sway: bump to version 1.10

PATCH In review Raphael Pavlidis 2 participants 7 messages Nov 24, 2024 – Dec 4, 2024

lore
Share & tools
lore
#0 lore raw

cover package/sway: bump to version 1.10

To bump sway to 1.10, we need to bump wlroots to 0.18.1. To bump wlroots to 0.18.1, we need to bump libxkbcommon 1.7.0.

Also, if wlroots is bumped to 0.18.1, we need to bump cage.

Raphael Pavlidis (4):
package/libxkbcommon: bump version to 1.7.0
package/wlroots: bump to version 0.18.1
package/cage: bump to version 0.2.0
package/sway: bump to version 1.10

 package/cage/cage.hash                        |   6 +-
 package/cage/cage.mk                          |   8 +-
 package/libxkbcommon/libxkbcommon.hash        |   4 +-
 package/libxkbcommon/libxkbcommon.mk          |   2 +-
 package/sway/sway.hash                        |   6 +-
 package/sway/sway.mk                          |   8 +-
 ...1-Add-feature-macros-to-more-C-files.patch | 181 ------------------
 package/wlroots/Config.in                     |   1 +
 package/wlroots/wlroots.hash                  |   6 +-
 package/wlroots/wlroots.mk                    |   3 +-
 10 files changed, 20 insertions(+), 205 deletions(-)
 delete mode 100644 package/wlroots/0001-Add-feature-macros-to-more-C-files.patch
Signature · 6 lines
2.47.0

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

PATCH 1/4 package/libxkbcommon: bump version to 1.7.0

Changelog:
https://lists.freedesktop.org/archives/wayland-devel/2024-March/043539.html

---
 package/libxkbcommon/libxkbcommon.hash | 4 ++--
 package/libxkbcommon/libxkbcommon.mk   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
package/libxkbcommon/libxkbcommon.hash +2 -2
index fff2b7a943..cab2587dca 100644
@@ -1,5 +1,5 @@
-# From https://lists.freedesktop.org/archives/wayland-devel/2022-February/042104.html
-sha256  106cec5263f9100a7e79b5f7220f889bc78e7d7ffc55d2b6fdb1efefb8024031  libxkbcommon-1.4.0.tar.xz
+# From https://lists.freedesktop.org/archives/wayland-devel/2024-March/043539.html
+sha256  65782f0a10a4b455af9c6baab7040e2f537520caa2ec2092805cdfd36863b247 libxkbcommon-1.7.0.tar.xz
 
 # License file:
 sha256  086caee279449369d41c1157911ec7696e707b93feba7280de757d3c470b2dfb  LICENSE
package/libxkbcommon/libxkbcommon.mk +1 -1
index 882791b917..c60580ef84 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBXKBCOMMON_VERSION = 1.4.0
+LIBXKBCOMMON_VERSION = 1.7.0
 LIBXKBCOMMON_SITE = https://xkbcommon.org/download
 LIBXKBCOMMON_SOURCE = libxkbcommon-$(LIBXKBCOMMON_VERSION).tar.xz
 LIBXKBCOMMON_LICENSE = MIT/X11
Signature · 6 lines
2.47.0

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

PATCH 2/4 package/wlroots: bump to version 0.18.1

In reply to Raphael Pavlidis

Changelog:
https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/0.18.1
https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/0.18.0
https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/0.17.4
https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/0.17.2
https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/0.17.1
https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/0.17.0

---
 ...1-Add-feature-macros-to-more-C-files.patch | 181 ------------------
 package/wlroots/Config.in                     |   1 +
 package/wlroots/wlroots.hash                  |   6 +-
 package/wlroots/wlroots.mk                    |   3 +-
 4 files changed, 7 insertions(+), 184 deletions(-)
 delete mode 100644 package/wlroots/0001-Add-feature-macros-to-more-C-files.patch
package/wlroots/0001-Add-feature-macros-to-more-C-files.patch deleted +0 -181
deleted file mode 100644
index 9467318b31..0000000000
@@ -1,181 +0,0 @@
-From 7854cd141f6f4c896afdc86229671d443ca7ba10 Mon Sep 17 00:00:00 2001
-From: Paul Cercueil <[email protected]>
-Date: Thu, 18 Feb 2021 22:31:39 +0000
-Subject: [PATCH] Add feature macros to more C files
-
-These source files use "struct timespec", which is POSIX 1993.09.
-
-Upstream: Rejected (Upstream does not want these workarounds)
-see: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/2493
-
-Signed-off-by: Paul Cercueil <[email protected]>
-[Retrieved from: https://github.com/swaywm/wlroots/pull/2493]
-Signed-off-by: Fabrice Fontaine <[email protected]>
-[Julien: refreshed the patch to be applied with fuzz factor 0]
-Signed-off-by: Julien Olivain <[email protected]>
----
- backend/wayland/output.c                  | 1 +
- types/data_device/wlr_data_device.c       | 1 +
- types/data_device/wlr_drag.c              | 1 +
- types/wlr_export_dmabuf_v1.c              | 1 +
- types/wlr_idle.c                          | 1 +
- types/wlr_keyboard_shortcuts_inhibit_v1.c | 1 +
- types/wlr_pointer_constraints_v1.c        | 1 +
- types/wlr_primary_selection.c             | 1 +
- types/wlr_relative_pointer_v1.c           | 1 +
- types/wlr_screencopy_v1.c                 | 1 +
- types/wlr_virtual_pointer_v1.c            | 1 +
- types/wlr_xdg_decoration_v1.c             | 1 +
- types/xdg_shell/wlr_xdg_popup.c           | 1 +
- types/xdg_shell/wlr_xdg_positioner.c      | 1 +
- types/xdg_shell/wlr_xdg_shell.c           | 1 +
- types/xdg_shell/wlr_xdg_surface.c         | 1 +
- 16 files changed, 16 insertions(+)
-
-diff --git a/backend/wayland/output.c b/backend/wayland/output.c
-index c4b95e1..d5699d3 100644
---- a/backend/wayland/output.c
-+++ b/backend/wayland/output.c
-@@ -1,3 +1,4 @@
-+#define _POSIX_C_SOURCE 199309L
- #include <assert.h>
- #include <stdint.h>
- #include <stdio.h>
-diff --git a/types/data_device/wlr_data_device.c b/types/data_device/wlr_data_device.c
-index 7e67479..2db13a6 100644
---- a/types/data_device/wlr_data_device.c
-+++ b/types/data_device/wlr_data_device.c
-@@ -1,3 +1,4 @@
-+#define _POSIX_C_SOURCE 199309L
- #include <assert.h>
- #include <stdlib.h>
- #include <string.h>
-diff --git a/types/data_device/wlr_drag.c b/types/data_device/wlr_drag.c
-index c1fa801..8981ea0 100644
---- a/types/data_device/wlr_drag.c
-+++ b/types/data_device/wlr_drag.c
-@@ -1,3 +1,4 @@
-+#define _POSIX_C_SOURCE 199309L
- #include <assert.h>
- #include <stdlib.h>
- #include <string.h>
-diff --git a/types/wlr_export_dmabuf_v1.c b/types/wlr_export_dmabuf_v1.c
-index c1d26e6..cd06615 100644
---- a/types/wlr_export_dmabuf_v1.c
-+++ b/types/wlr_export_dmabuf_v1.c
-@@ -1,3 +1,4 @@
-+#define _POSIX_C_SOURCE 199309L
- #include <assert.h>
- #include <stdlib.h>
- #include <unistd.h>
-diff --git a/types/wlr_idle.c b/types/wlr_idle.c
-index cb3a1cc..5f1fa95 100644
---- a/types/wlr_idle.c
-+++ b/types/wlr_idle.c
-@@ -1,3 +1,4 @@
-+#define _POSIX_C_SOURCE 199309L
- #include <assert.h>
- #include <stdlib.h>
- #include <string.h>
-diff --git a/types/wlr_keyboard_shortcuts_inhibit_v1.c b/types/wlr_keyboard_shortcuts_inhibit_v1.c
-index cc9bac1..3924893 100644
---- a/types/wlr_keyboard_shortcuts_inhibit_v1.c
-+++ b/types/wlr_keyboard_shortcuts_inhibit_v1.c
-@@ -1,3 +1,4 @@
-+#define _POSIX_C_SOURCE 199309L
- #include <assert.h>
- #include <stdlib.h>
- #include <wlr/types/wlr_compositor.h>
-diff --git a/types/wlr_pointer_constraints_v1.c b/types/wlr_pointer_constraints_v1.c
-index 7a8d209..70b0984 100644
---- a/types/wlr_pointer_constraints_v1.c
-+++ b/types/wlr_pointer_constraints_v1.c
-@@ -1,3 +1,4 @@
-+#define _POSIX_C_SOURCE 199309L
- #include <assert.h>
- #include <limits.h>
- #include <pixman.h>
-diff --git a/types/wlr_primary_selection.c b/types/wlr_primary_selection.c
-index d576bf0..bac4daa 100644
---- a/types/wlr_primary_selection.c
-+++ b/types/wlr_primary_selection.c
-@@ -1,3 +1,4 @@
-+#define _POSIX_C_SOURCE 199309L
- #include <assert.h>
- #include <stdlib.h>
- #include <wlr/types/wlr_primary_selection.h>
-diff --git a/types/wlr_relative_pointer_v1.c b/types/wlr_relative_pointer_v1.c
-index 44da791..f6925b8 100644
---- a/types/wlr_relative_pointer_v1.c
-+++ b/types/wlr_relative_pointer_v1.c
-@@ -1,3 +1,4 @@
-+#define _POSIX_C_SOURCE 199309L
- #include <assert.h>
- #include <inttypes.h>
- #include <stdlib.h>
-diff --git a/types/wlr_screencopy_v1.c b/types/wlr_screencopy_v1.c
-index 4ca659a..76c582e 100644
---- a/types/wlr_screencopy_v1.c
-+++ b/types/wlr_screencopy_v1.c
-@@ -1,3 +1,4 @@
-+#define _POSIX_C_SOURCE 199309L
- #include <assert.h>
- #include <stdlib.h>
- #include <drm_fourcc.h>
-diff --git a/types/wlr_virtual_pointer_v1.c b/types/wlr_virtual_pointer_v1.c
-index b452ff5..661e613 100644
---- a/types/wlr_virtual_pointer_v1.c
-+++ b/types/wlr_virtual_pointer_v1.c
-@@ -1,3 +1,4 @@
-+#define _POSIX_C_SOURCE 199309L
- #include <assert.h>
- #include <stdlib.h>
- #include <wlr/interfaces/wlr_pointer.h>
-diff --git a/types/wlr_xdg_decoration_v1.c b/types/wlr_xdg_decoration_v1.c
-index fcd97a5..1850665 100644
---- a/types/wlr_xdg_decoration_v1.c
-+++ b/types/wlr_xdg_decoration_v1.c
-@@ -1,3 +1,4 @@
-+#define _POSIX_C_SOURCE 199309L
- #include <assert.h>
- #include <stdbool.h>
- #include <stdlib.h>
-diff --git a/types/xdg_shell/wlr_xdg_popup.c b/types/xdg_shell/wlr_xdg_popup.c
-index fa99acd..8361eef 100644
---- a/types/xdg_shell/wlr_xdg_popup.c
-+++ b/types/xdg_shell/wlr_xdg_popup.c
-@@ -1,3 +1,4 @@
-+#define _POSIX_C_SOURCE 199309L
- #include <assert.h>
- #include <stdlib.h>
- #include <string.h>
-diff --git a/types/xdg_shell/wlr_xdg_positioner.c b/types/xdg_shell/wlr_xdg_positioner.c
-index 6a991bb..dae879b 100644
---- a/types/xdg_shell/wlr_xdg_positioner.c
-+++ b/types/xdg_shell/wlr_xdg_positioner.c
-@@ -1,3 +1,4 @@
-+#define _POSIX_C_SOURCE 199309L
- #include <assert.h>
- #include <stdlib.h>
- #include <wlr/util/edges.h>
-diff --git a/types/xdg_shell/wlr_xdg_shell.c b/types/xdg_shell/wlr_xdg_shell.c
-index 70b777d..16d275a 100644
---- a/types/xdg_shell/wlr_xdg_shell.c
-+++ b/types/xdg_shell/wlr_xdg_shell.c
-@@ -1,3 +1,4 @@
-+#define _POSIX_C_SOURCE 199309L
- #include <assert.h>
- #include <stdlib.h>
- #include "types/wlr_xdg_shell.h"
-diff --git a/types/xdg_shell/wlr_xdg_surface.c b/types/xdg_shell/wlr_xdg_surface.c
-index a03b90a..a6267cf 100644
---- a/types/xdg_shell/wlr_xdg_surface.c
-+++ b/types/xdg_shell/wlr_xdg_surface.c
-@@ -1,3 +1,4 @@
-+#define _POSIX_C_SOURCE 199309L
- #include <assert.h>
- #include <stdlib.h>
- #include <string.h>
--- 
-2.45.2
-
package/wlroots/Config.in +1 -0
index d81506c375..b29176480b 100644
@@ -18,6 +18,7 @@ config BR2_PACKAGE_WLROOTS
 	select BR2_PACKAGE_HWDATA
 	select BR2_PACKAGE_HWDATA_PNP_IDS
 	select BR2_PACKAGE_LIBDRM
+	select BR2_PACKAGE_LIBDISPLAY_INFO
 	select BR2_PACKAGE_LIBINPUT
 	select BR2_PACKAGE_LIBXKBCOMMON
 	select BR2_PACKAGE_PIXMAN
package/wlroots/wlroots.hash +4 -2
index 8ab05393b1..2e1736c0ea 100644
@@ -1,5 +1,7 @@
-# Generated locally, after checking https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/0.16.2/downloads/wlroots-0.16.2.tar.gz.sig
-sha256  83e9a11605f23d4bf781ab1947089483d9ec3f7e9ba65398e0609593b77d44aa  wlroots-0.16.2.tar.gz
+# Locally calculated after checking pgp signature
+# https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/0.18.1/downloads/wlroots-0.18.1.tar.gz.sig
+# with key 34FF9526CFEF0E97A340E2E40FDE7BE0E88F5E48 "emersion <[email protected]>"
+sha256  b9c4bfef4123fe9f8662280b851e3c5741927457174315826827bfbb70612878  wlroots-0.18.1.tar.gz
 
 # Hashes for license files:
 sha256  ffd3737a478b83a8b51b42757d3bf909ef36694508355879722e11fc1fa6736b  LICENSE
package/wlroots/wlroots.mk +2 -1
index fdd2fb8250..8fa7408717 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-WLROOTS_VERSION = 0.16.2
+WLROOTS_VERSION = 0.18.1
 WLROOTS_SITE = https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/$(WLROOTS_VERSION)/downloads
 WLROOTS_LICENSE = MIT
 WLROOTS_LICENSE_FILES = LICENSE
@@ -14,6 +14,7 @@ WLROOTS_DEPENDENCIES = \
 	host-pkgconf \
 	host-wayland \
 	hwdata \
+	libdisplay-info \
 	libinput \
 	libxkbcommon \
 	libegl \
Signature · 6 lines
2.47.0

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

PATCH 3/4 package/cage: bump to version 0.2.0

In reply to Raphael Pavlidis

Changelog:
https://github.com/cage-kiosk/cage/releases/tag/v0.2.0

---
 package/cage/cage.hash | 6 ++++--
 package/cage/cage.mk   | 8 +-------
 2 files changed, 5 insertions(+), 9 deletions(-)
package/cage/cage.hash +4 -2
index d5517bd918..e7c971ea26 100644
@@ -1,5 +1,7 @@
-# Generated locally after checking GPG signature from https://github.com/cage-kiosk/cage/releases/download/v0.1.5/cage-0.1.5.tar.gz.sig
-sha256  ece0312e559289df0238289ea6c60e9fed32d27fe3ae8a8f83eeff26ddc239e1  cage-0.1.5.tar.gz
+# Locally calculated after checking pgp signature
+# https://github.com/cage-kiosk/cage/releases/download/v0.2.0/cage-0.2.0.tar.gz.sig
+# with key 34FF9526CFEF0E97A340E2E40FDE7BE0E88F5E48 "emersion <[email protected]>"
+sha256  557c194d18af7202a9ec2e8be6dd7129f6c16d0f4528f4079ba26ccd57b6ef88  cage-0.2.0.tar.gz
 
 # Hashes for license files:
 sha256  e117104073335dbaf78596fb1bedf89dda63c71f60f0b665947b2d369c77ecee  LICENSE
package/cage/cage.mk +1 -7
index 119950bc00..79c8c50276 100644
@@ -4,17 +4,11 @@
 #
 ################################################################################
 
-CAGE_VERSION = 0.1.5
+CAGE_VERSION = 0.2.0
 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_WLROOTS_X11),y)
-CAGE_CONF_OPTS += -Dxwayland=true
-else
-CAGE_CONF_OPTS += -Dxwayland=false
-endif
-
 $(eval $(meson-package))
Signature · 6 lines
2.47.0

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

PATCH 4/4 package/sway: bump to version 1.10

In reply to Raphael Pavlidis

Changelog:
https://github.com/swaywm/sway/releases/tag/1.10
https://github.com/swaywm/sway/releases/tag/1.9

---
 package/sway/sway.hash | 6 ++++--
 package/sway/sway.mk   | 8 +-------
 2 files changed, 5 insertions(+), 9 deletions(-)
package/sway/sway.hash +4 -2
index 86b6581f1c..379180b0de 100644
@@ -1,3 +1,5 @@
-# Locally computed, tarball verified with GPG signature
-sha256  73f08fd2cf7948e8af900709efe44eae412ae11c5773960e25c9aa09f73bad41  sway-1.8.1.tar.gz
+# Locally calculated after checking pgp signature
+# https://github.com/swaywm/sway/releases/download/1.10/sway-1.10.tar.gz.sig
+# with key 34FF9526CFEF0E97A340E2E40FDE7BE0E88F5E48 "emersion <[email protected]>"
+sha256  7472a7f11150212e0bed0bd0af9f591c9caac9f9ea87c35486e475a21f5ce81f  sway-1.10.tar.gz
 sha256  bd35722bff46327f5eded1d211207277bbe043d2a22048b282c42ef801593b8b  LICENSE
package/sway/sway.mk +1 -7
index 0aad9de712..74614b0c7f 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-SWAY_VERSION = 1.8.1
+SWAY_VERSION = 1.10
 SWAY_SITE = https://github.com/swaywm/sway/releases/download/$(SWAY_VERSION)
 SWAY_LICENSE = MIT
 SWAY_LICENSE_FILES = LICENSE
@@ -16,12 +16,6 @@ SWAY_CONF_OPTS = \
 	-Dman-pages=disabled \
 	-Dsd-bus-provider=libsystemd
 
-ifeq ($(BR2_PACKAGE_WLROOTS_X11),y)
-SWAY_CONF_OPTS += -Dxwayland=enabled
-else
-SWAY_CONF_OPTS += -Dxwayland=disabled
-endif
-
 ifeq ($(BR2_PACKAGE_GDK_PIXBUF),y)
 SWAY_CONF_OPTS += -Dgdk-pixbuf=enabled
 SWAY_DEPENDENCIES += gdk-pixbuf
Signature · 6 lines
2.47.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#5 lore raw
In reply to Raphael Pavlidis

Hi Raphael,

Quoted 4 lines · Raphael Pavlidis

To bump sway to 1.10, we need to bump wlroots to 0.18.1. To bump wlroots to 0.18.1, we need to bump libxkbcommon 1.7.0.

Also, if wlroots is bumped to 0.18.1, we need to bump cage.

I applied this series to the branch "next". While doing my review, I did few reworks (minor fixups, and adding info in commit logs). See:
https://gitlab.com/buildroot.org/buildroot/-/commit/ae0e6d14d547c0d71cf68c75c821f4b2c1d367dd
https://gitlab.com/buildroot.org/buildroot/-/commit/a6a92a08b35ccecd1ed70feae97a247c7a8bb8aa
https://gitlab.com/buildroot.org/buildroot/-/commit/2f47195d540f63543728fd4982f2e6ae8aac2b2b
https://gitlab.com/buildroot.org/buildroot/-/commit/24bad65295ff697e83fc90fcebb8278e880e407d

Best regards,

Julien.

Quoted 20 lines

Raphael Pavlidis (4):
package/libxkbcommon: bump version to 1.7.0
package/wlroots: bump to version 0.18.1
package/cage: bump to version 0.2.0
package/sway: bump to version 1.10

 package/cage/cage.hash                        |   6 +-
 package/cage/cage.mk                          |   8 +-
 package/libxkbcommon/libxkbcommon.hash        |   4 +-
 package/libxkbcommon/libxkbcommon.mk          |   2 +-
 package/sway/sway.hash                        |   6 +-
 package/sway/sway.mk                          |   8 +-
 ...1-Add-feature-macros-to-more-C-files.patch | 181 ------------------
 package/wlroots/Config.in                     |   1 +
 package/wlroots/wlroots.hash                  |   6 +-
 package/wlroots/wlroots.mk                    |   3 +-
 10 files changed, 20 insertions(+), 205 deletions(-)
 delete mode 100644 

package/wlroots/0001-Add-feature-macros-to-more-C-files.patch

Quoted 7 lines

--
2.47.0

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

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

#6 lore raw

Hi Julien,

On 12/1/24 18:51, Julien Olivain wrote:
[SNIP]

Quoted 2 lines

I applied this series to the branch "next". While doing my review, I did few reworks (minor fixups, and adding info in commit logs). See:

Thanks for the fixups. I next time I will be more carefully.

[SNIP]

Quoted 6 lines
Quoted 6 lines

Raphael Pavlidis (4):
  package/libxkbcommon: bump version to 1.7.0
  package/wlroots: bump to version 0.18.1
  package/cage: bump to version 0.2.0
  package/sway: bump to version 1.10

[SNIP]

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