Skip to contentSkip to conversation

package/sway: needs pcre2 instead of pcre

PATCH Applied Bernd Kuhls 2 participants 3 messages Apr 3 – Apr 14

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/sway: needs pcre2 instead of pcre

Buildroot commit 0645cb39e0ce3af743190e587812a5bd4c1f4b24 bumped the package from 1.7 to 1.81.

Upstream included commit
https://github.com/swaywm/sway/commit/f614f35e7354980bf4f0a66ca99be9b5f3a7ac90
in version 1.8 to switch from pcre to pcre2 but the buildroot package was not updated accordingly.

Pcre2 was already selected by pango -> libglib2 -> pcre2 so this bug was never noticed.

---
 package/sway/Config.in | 2 +-
 package/sway/sway.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/sway/Config.in +1 -1
index 1e4c8bfd3e..c89c0607d3 100644
@@ -14,7 +14,7 @@ config BR2_PACKAGE_SWAY
 	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # pango
 	select BR2_PACKAGE_WLROOTS
 	select BR2_PACKAGE_JSON_C
-	select BR2_PACKAGE_PCRE
+	select BR2_PACKAGE_PCRE2
 	select BR2_PACKAGE_CAIRO
 	select BR2_PACKAGE_CAIRO_PNG
 	select BR2_PACKAGE_PANGO
package/sway/sway.mk +1 -1
index f27d147852..a497a2cbe7 100644
@@ -8,7 +8,7 @@ SWAY_VERSION = 1.11
 SWAY_SITE = https://github.com/swaywm/sway/releases/download/$(SWAY_VERSION)
 SWAY_LICENSE = MIT
 SWAY_LICENSE_FILES = LICENSE
-SWAY_DEPENDENCIES = systemd host-pkgconf wlroots json-c pcre cairo pango
+SWAY_DEPENDENCIES = systemd host-pkgconf wlroots json-c pcre2 cairo pango
 SWAY_CONF_OPTS = \
 	-Dwerror=false \
 	-Dzsh-completions=false \
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 8 lines · Bernd Kuhls

Buildroot commit 0645cb39e0ce3af743190e587812a5bd4c1f4b24 bumped the package from 1.7 to 1.81.

Upstream included commit
https://github.com/swaywm/sway/commit/f614f35e7354980bf4f0a66ca99be9b5f3a7ac90
in version 1.8 to switch from pcre to pcre2 but the buildroot package was not updated accordingly.

Quoted 4 lines

Pcre2 was already selected by pango -> libglib2 -> pcre2 so this bug was never noticed.

Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#2 lore raw
In reply to Bernd Kuhls

In reply of:

Quoted 8 lines

Buildroot commit 0645cb39e0ce3af743190e587812a5bd4c1f4b24 bumped the package from 1.7 to 1.81.

Upstream included commit
https://github.com/swaywm/sway/commit/f614f35e7354980bf4f0a66ca99be9b5f3a7ac90
in version 1.8 to switch from pcre to pcre2 but the buildroot package was not updated accordingly.

Quoted 4 lines

Pcre2 was already selected by pango -> libglib2 -> pcre2 so this bug was never noticed.

Applied to 2025.02.x & 2026.02.x. Thanks

Quoted 38 lines
---
 package/sway/Config.in | 2 +-
 package/sway/sway.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/sway/Config.in +1 -1
index 1e4c8bfd3e..c89c0607d3 100644
@@ -14,7 +14,7 @@ config BR2_PACKAGE_SWAY
 	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # pango
 	select BR2_PACKAGE_WLROOTS
 	select BR2_PACKAGE_JSON_C
-	select BR2_PACKAGE_PCRE
+	select BR2_PACKAGE_PCRE2
 	select BR2_PACKAGE_CAIRO
 	select BR2_PACKAGE_CAIRO_PNG
 	select BR2_PACKAGE_PANGO
package/sway/sway.mk +1 -1
index f27d147852..a497a2cbe7 100644
@@ -8,7 +8,7 @@ SWAY_VERSION = 1.11
 SWAY_SITE = https://github.com/swaywm/sway/releases/download/$(SWAY_VERSION)
 SWAY_LICENSE = MIT
 SWAY_LICENSE_FILES = LICENSE
-SWAY_DEPENDENCIES = systemd host-pkgconf wlroots json-c pcre cairo pango
+SWAY_DEPENDENCIES = systemd host-pkgconf wlroots json-c pcre2 cairo pango
 SWAY_CONF_OPTS = \
 	-Dwerror=false \
 	-Dzsh-completions=false \
Signature · 6 lines
2.47.3

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

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